mycoms 2024-03-19
240319 김하영
@932bc853a0713929ac7238a87e1686ebfce64d50
resources/css/common.css
--- resources/css/common.css
+++ resources/css/common.css
@@ -390,6 +390,9 @@
 .mb10 {
     margin-bottom: 10px;
 }
+.mb15 {
+    margin-bottom: 15px;
+}
 
 .mb20 {
     margin-bottom: 20px;
resources/css/reset.css
--- resources/css/reset.css
+++ resources/css/reset.css
@@ -19,6 +19,7 @@
 body {
     min-width: 1200px;
     background-color: #f7f6fb;
+    
 }
 
 
resources/css/style.css
--- resources/css/style.css
+++ resources/css/style.css
@@ -1,1 +1,248 @@
 @charset "utf-8";
+
+#header.active {
+    background-color: #213f99;
+}
+
+.text-event {
+    position: relative;
+    z-index: 3;
+
+}
+
+.text-event::before {
+    content: "";
+    position: absolute;
+    left: 0;
+    bottom: 0px;
+    width: 0px;
+    height: 23px;
+    z-index: -1;
+    margin: 5px 0 0;
+    transition: all 0.4s ease-in-out;
+    transition-duration: 0.3s;
+    opacity: 0;
+    background-color: #fce5bf;
+}
+
+
+.text-event.active::before {
+    width: 100%;
+    opacity: 1;
+
+}
+
+.sub-text {
+    opacity: 0;
+}
+
+.sub-text.active {
+    opacity: 1;
+    -webkit-animation: focus-in-contract 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
+    animation: focus-in-contract 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
+    animation-delay: 0.5s;
+}
+
+.solution-text {
+    font-size: 4.5rem;
+    font-weight: 900;
+    opacity: 0;
+}
+
+.solution-text.active {
+
+    -webkit-animation: tracking-in-contract 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
+    animation: tracking-in-contract 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
+
+    
+}
+.solution-sub-text{
+    opacity: 0;
+}
+.solution-sub-text.active{
+    -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
+    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
+    animation-delay: 0.5s;
+}
+
+
+.solution-box {
+    flex-wrap: nowrap;
+    gap: 40px;
+    width: 100%;
+    height: 320px;
+    text-align: left;
+}
+
+.pink-box img,
+.blue-box img,
+.yellow-box img,
+.purple-box img,
+.ivory-box img {
+    object-fit: contain;
+    width: 100%;
+    height: calc(320px - 145px);
+    text-align: center;
+}
+
+.pink-box div p:nth-child(1),
+.yellow-box div p:nth-child(1),
+.blue-box div p:nth-child(1),
+.purple-box div p:nth-child(1),
+.ivory-box div p:nth-child(1) {
+    font-weight: 700;
+    font-size: 2rem;
+}
+
+.pink-box div p:nth-child(2),
+.yellow-box div p:nth-child(2),
+.blue-box div p:nth-child(2),
+.purple-box div p:nth-child(2),
+.ivory-box div p:nth-child(2) {
+    font-size: 1.5rem;
+}
+
+.pink-box {
+    width: 200px;
+    padding: 15px;
+    background-color: #ffe2e4;
+    border-radius: 20px;
+}
+
+.pink-box div p:nth-child(1) {
+    color: #fa665d;
+    font-weight: 700;
+
+}
+
+.yellow-box {
+    width: 200px;
+    padding: 15px;
+    background-color: #f9f9e9;
+    border-radius: 20px;
+    transform: translateY(30px);
+}
+
+.yellow-box div p:nth-child(1) {
+    color: #a2a185;
+}
+
+
+.blue-box {
+    width: 200px;
+    padding: 15px;
+    background-color: #d2e9ff;
+    border-radius: 20px;
+}
+
+.blue-box div p:nth-child(1) {
+    color: #386ea5;
+}
+
+.purple-box {
+    width: 200px;
+    padding: 15px;
+    background-color: #e9ebff;
+    border-radius: 20px;
+    transform: translateY(30px);
+}
+
+.purple-box div p:nth-child(1) {
+    color: #80649b;
+}
+
+.ivory-box {
+    width: 200px;
+    padding: 15px;
+    background-color: #f8f9fa;
+    border-radius: 20px;
+}
+
+.ivory-box div p:nth-child(1) {
+    color: #242a30;
+}
+
+.hvr-grow {
+    display: inline-block;
+    vertical-align: middle;
+    /* -webkit-transform: perspective(1px) translateZ(0); */
+    /* transform: perspective(1px) translateZ(0); */
+    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
+    -webkit-transition-duration: 0.3s;
+    transition-duration: 0.3s;
+    -webkit-transition-property: transform;
+    transition-property: transform;
+}
+
+.hvr-grow:hover,
+.hvr-grow:focus,
+.hvr-grow:active {
+    -webkit-transform: scale(1.1);
+    transform: scale(1.1);
+}
+
+.focus-in-contract {
+    -webkit-animation: focus-in-contract 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
+    animation: focus-in-contract 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
+}
+
+
+@keyframes focus-in-contract {
+    0% {
+        letter-spacing: 1em;
+        -webkit-filter: blur(12px);
+        filter: blur(12px);
+        opacity: 0;
+    }
+
+    100% {
+        -webkit-filter: blur(0px);
+        filter: blur(0px);
+        opacity: 1;
+    }
+}
+
+@keyframes tracking-in-expand {
+    0% {
+      letter-spacing: -0.5em;
+      opacity: 0;
+    }
+    40% {
+      opacity: 0.6;
+    }
+    100% {
+      opacity: 1;
+    }
+  }
+  @keyframes tracking-in-contract {
+    0% {
+      letter-spacing: 1em;
+      opacity: 0;
+    }
+    40% {
+      opacity: 0.6;
+    }
+    100% {
+      letter-spacing: normal;
+      opacity: 1;
+    }
+  }
+  
+
+
+  .swiper2{
+    width: 100%;
+    height: 100%;
+  }
+
+  .swiper2 .swiper-slide {
+    
+    text-align: center;
+    font-size: 18px;
+    background: #fff;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+    border: 1px solid red;
+  }
+
resources/img/common/mobility.png (Binary)
--- resources/img/common/mobility.png
+++ resources/img/common/mobility.png
Binary file is not shown
views/layout/Header.html
--- views/layout/Header.html
+++ views/layout/Header.html
@@ -19,16 +19,16 @@
 </body>
 <style>
     #header {
-        background-color: #213F99;
+        background-color: transparent;
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
     }
     .header-area{
-        width: 1200px;
+        width: 100%;
         margin: 0 auto;
-        padding: 20px 0 15px 0;
+        padding: 20px 30px 15px 30px;
     }
    
 
views/main.html
--- views/main.html
+++ views/main.html
@@ -12,6 +12,7 @@
     <link rel="stylesheet" href="../../resources/css/component.css">
     <link rel="stylesheet" href="../../resources/css/common.css">
     <link rel="stylesheet" href="../../resources/css/responsive.css">
+
     <title>TAKENSOFT</title>
 </head>
 
@@ -23,63 +24,63 @@
             <div class="swiper-slide">
                 <div class="slide-wrap">
                     <div class="main-wrap">
-                        <div class="text-area flex align-end">
-                            <h2>우리의 AI 기술로 <span>실현되는</span><br> 당신의 <span>비전</span></h2>
+                        <div class="text-area flex align-end ">
+                            <h2 class="focus-in-contract">우리의 AI 기술로 <span>실현되는</span><br> 당신의 <span>비전</span></h2>
                         </div>
                     </div>
                 </div>
             </div>
             <div class="swiper-slide">
-                <div class="slide-wrap ">
+                <div class="slide-wrap pt60">
                     <div class="text-area slide-section">
                         <p class="text-main mb60">테이큰소프트는 <span>데이터</span>와 <span>AI 기술</span>을 통해 <br> 일상을 <span
                                 class="text-event">혁신으로 선도</span>합니다.</p>
-                        <p>테이큰소프트는 AI 기반 솔루션을 제공하고 나아가 새로운 미래의 ICT 산업을 열어가겠습니다.</p>
+                        <p class="sub-text">테이큰소프트는 AI 기반 솔루션을 제공하고 나아가 새로운 미래의 ICT 산업을 열어가겠습니다.</p>
                     </div>
                 </div>
             </div>
             <div class="swiper-slide">
-                <div class="slide-wrap slide-solution">
-                    <div class="text-area ">
-                        <div style="width: 100%;" class="mb70">
+                <div class="slide-wrap pt60 slide-solution">
+                    <div class="text-area flex align-center">
+                        <div style="width: 100%;" class="pb40">
                             <p class=" solution-text pb30">테이큰 소프트는 ...</p>
-                            <p>AI 서비스,데이터 관리,UI 인포그래픽 분야에서 핵심 솔루션을 보유하고 있으며 <br>
+                            <p class=" solution-sub-text">AI 서비스,데이터 관리,UI 인포그래픽 분야에서 핵심 솔루션을 보유하고 있으며 <br>
                                 스마트시티,스마트팩토리,모빌리티,헬스케어 분야 등에서 AI 솔루션을 제공하고 있습니다.
                             </p>
                         </div>
-                        <div class="flex solution-box pd15">
-                            <div class="pink-box flex-column">
-                                <img src="../resources/img/common/DATA.png" alt="">
+                        <div class="flex solution-box ">
+                            <div class="pink-box hvr-grow cursor">
+                                <img class="mb30" src="../resources/img/common/DATA.png" alt="">
                                 <div>
-                                    <p>데이터관리분야</p>
-                                    <p>데이터 관리 솔루현 Taken BI Manager</p>
+                                    <p class="mb15">데이터관리분야</p>
+                                    <p>데이터 관리 솔루션 Taken BI Manager</p>
                                 </div>
                             </div>
-                            <div class="yellow-box flex-column">
-                                <img src="../resources/img/common/smartCity.png" alt="">
+                            <div class="yellow-box hvr-grow cursor">
+                                <img class="mb30" src="../resources/img/common/smartCity.png" alt="">
                                 <div>
-                                    <p>스마트시티 분야</p>
+                                    <p class="mb15">스마트시티 분야</p>
                                     <p>대구광역시 AI 안전 통합 횡단보도 플랫폼</p>
                                 </div>
                             </div>
-                            <div class="blue-box flex-column">
-                                <img src="../resources/img/common/mobility.png" alt="">
+                            <div class="blue-box hvr-grow cursor">
+                                <img class="mb30" src="../resources/img/common/mobility.png" alt="">
                                 <div>
-                                    <p>모빌리티 분야</p>
-                                    <p>AI 기반의 스마트 객체인식을 위한 CCTY</p>
+                                    <p class="mb15">모빌리티 분야</p>
+                                    <p>AI 기반의 스마트 객체인식을 위한 CCTV</p>
                                 </div>
                             </div>
-                            <div class="purple-box flex-column">
-                                <img src="../resources/img/common/smartFactory.png" alt="">
+                            <div class="purple-box hvr-grow cursor">
+                                <img class="mb30" src="../resources/img/common/smartFactory.png" alt="">
                                 <div>
-                                    <p>스마트팩토리 분야</p>
+                                    <p class="mb15">스마트팩토리 분야</p>
                                     <p>제조기업 공정 관리 모니터링 서비스</p>
                                 </div>
                             </div>
-                            <div class="ivory-box flex-column">
-                                <img src="../resources/img/common/healthCare.png" alt="">
+                            <div class="ivory-box hvr-grow cursor">
+                                <img class="mb30" src="../resources/img/common/healthCare.png" alt="">
                                 <div>
-                                    <p>헬스케어 분야</p>
+                                    <p class="mb15">헬스케어 분야</p>
                                     <p>시니어 스마트 케어 모니터링 플랫폼</p>
                                 </div>
                             </div>
@@ -89,8 +90,25 @@
                 </div>
             </div>
             <div class="swiper-slide">
-                <div class="slide-wrap">
-                    <p>POTRFOLIO</p>
+                <div class="slide-wrap pt60">
+                    <div>
+                        <div class="text-area">
+                            <p>POTRFOLIO</p>
+                        </div>
+                        <div>
+                            <div class="swiper-container swiper2">
+                                <div class="swiper-wrapper">
+                                    <div class="swiper-slide">sddf</div>
+                                    <div class="swiper-slide">sdf</div>
+                                    <div class="swiper-slide">sdfsdf</div>
+                                    <div class="swiper-slide">asdgdg</div>
+                                    <div class="swiper-slide">asadfsaf</div>
+                                </div>
+                            
+                            
+                            </div>
+                        </div>
+                    </div>
 
                 </div>
             </div>
@@ -112,22 +130,56 @@
         direction: "vertical",
         slidesPerView: 1,
         spaceBetween: 30,
+        speed: 700,
         mousewheel: true,
         pagination: {
             el: ".swiper-pagination",
             clickable: true,
         }, on: {
+
             reachEnd: function () {
                 swiper.mousewheel.disable();
                 $("#footer").show();
-            }
+            },
+            fromEdge: function () {
+                swiper.mousewheel.enable();
+                $("#footer").hide();
+            },
+            slideChange: function () {
+                var currentIndex = this.realIndex;
+                if (currentIndex === 0) {
+                    $('#header').removeClass('active');
+                } else {
+                    $('#header').addClass('active');
+                }
+            },
+
+            slideChangeTransitionEnd: function () {
+                if (this.activeIndex === 1) {
+                    $('.text-event').addClass('active');
+                    $('.sub-text').addClass('active');
+                } else {
+                    $('.text-event').removeClass('active');
+                    $('.sub-text').removeClass('active');
+                }
+                if (this.activeIndex === 2) {
+                    $('.solution-text').addClass('active');
+                    $('.solution-sub-text').addClass('active');
+                } else {
+                    $('.solution-text').removeClass('active');
+                    $('.solution-sub-text').removeClass('active');
+                }
+            },
+
+
         }
     });
 
+
     window.addEventListener('wheel', function (event) {
-        if (event.deltaY < 1) {
+        if (event.deltaY < 3) {
             swiper.mousewheel.enable();
-        } else if (event.deltaY > 1) {
+        } else if (event.deltaY > 3) {
         }
     });
 
@@ -138,11 +190,27 @@
         $("#footer").hide();
     });
 
+
+    var swiper = new Swiper(".swiper2", {
+      spaceBetween: 30,
+    //   centeredSlides: true,
+      autoplay: {
+        delay: 2000,
+        disableOnInteraction: false,
+      },
+     
+    });
+
 </script>
 
 
 
+
 <style scoped>
+    #footer {
+        display: none;
+    }
+
     html,
     body {
         position: relative;
@@ -155,14 +223,6 @@
         display: none;
     }
 
-    body {
-        background: #eee;
-        font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
-        font-size: 14px;
-        color: #000;
-        margin: 0;
-        padding: 0;
-    }
 
     .swiper {
         width: 100%;
@@ -178,12 +238,6 @@
         align-items: center;
     }
 
-    .swiper-slide img {
-        display: block;
-        width: 100%;
-        height: 100%;
-        object-fit: cover;
-    }
 
     #header {
         position: fixed;
@@ -194,7 +248,6 @@
     .slide-wrap {
         width: 100%;
         height: 100%;
-        padding: 59px 0 0 0;
     }
 
     .main-wrap {
@@ -245,83 +298,12 @@
 
     }
 
-    .text-event {
-        position: relative;
-        z-index: 3;
-    }
-
-    .text-event::before {
-        content: '';
-        position: absolute;
-        bottom: 0;
-        left: 0;
-        width: 100%;
-        height: 20px;
-        background-color: #fce5bf;
-        z-index: -1;
-    }
 
     .slide-solution {
-        padding-top: 235px;
+        padding: 235px 0 200px;
         font-family: 'Pretendard';
 
     }
-
-
-
-    .solution-text {
-        font-size: 4.5rem;
-        font-weight: 900;
-
-    }
-
-    .solution-box {
-        flex-wrap: nowrap;
-        gap: 40px;
-        width: 100%;
-        
-    }
-    .pink-box{
-        width: 200px;
-        padding: 15px;
-        height: 320px;
-        background-color: #ffe2e4;
-        border-radius: 20px;
-     
-    }
-    .pink-box img , .blue-box img , .yellow-box img ,.purple-box img,.ivory-box img{
-        object-fit: contain;
-     }
-    .yellow-box{
-        width: 200px;
-        height: 320px;
-        padding: 15px;
-        background-color: #f9f9e9;
-        border-radius: 20px;
-    }
-    
-    .blue-box{
-        width: 200px;
-        height: 320px;
-        padding: 15px;
-        background-color: #d2e9ff;
-        border-radius: 20px;
-    }
-   
-     .purple-box{
-        width: 200px;
-        height: 320px;
-        padding: 15px;
-        background-color: #e9ebff;
-        border-radius: 20px;
-     }
-     .ivory-box{
-        width: 200px;
-        height: 320px;
-        padding: 15px;
-        background-color: #f8f9fa;
-        border-radius: 20px;
-     }
 </style>
 
 </html>
(No newline at end of file)
Add a comment
List