mycoms 2024-03-27
240327 김하영
@90afc404060f02c3254714b32f4e07f137199687
resources/css/style.css
--- resources/css/style.css
+++ resources/css/style.css
@@ -1,9 +1,21 @@
 @charset "utf-8";
 
 #header.active {
-    background-color: #213f99;
+border-bottom: 1px solid #ced4da;
+background-color: white;
 }
+#header.active .header nav li a{
+    color: #333;
 
+}
+#header.active .header .logo{
+    background: url(../img/component/logo-color.png) no-repeat;
+    width: 200px;
+    background-size: contain;
+    height: 25px;
+
+   
+}
 .text-event {
     position: relative;
     z-index: 3;
@@ -71,7 +83,8 @@
     gap: 40px;
     width: 100%;
     height: 320px;
-    text-align: left;
+    text-align: center;
+    
 }
 
 .pink-box img,
@@ -80,7 +93,7 @@
 .purple-box img,
 .ivory-box img {
     object-fit: contain;
-    width: 100%;
+    width: 197px;
     height: calc(320px - 145px);
     text-align: center;
 }
@@ -103,10 +116,11 @@
 }
 
 .pink-box {
-    width: 200px;
-    padding: 15px;
-    background-color: #ffe2e4;
-    border-radius: 20px;
+    background: url(../img/common/box2.png) no-repeat;
+    width: 208px;
+    height: 330px;
+    background-size: 208px 330px;
+    transform: translateY(-40px);
 }
 
 .pink-box div p:nth-child(1) {
@@ -116,11 +130,11 @@
 }
 
 .yellow-box {
-    width: 200px;
-    padding: 15px;
-    background-color: #f9f9e9;
-    border-radius: 20px;
-    transform: translateY(30px);
+    background: url(../img/common/box4.png) no-repeat;
+    width: 353px;
+    height: 203px;
+    background-size: contain;
+    transform: translateY(-40px);
 }
 
 .yellow-box div p:nth-child(1) {
@@ -129,10 +143,11 @@
 
 
 .blue-box {
-    width: 200px;
-    padding: 15px;
-    background-color: #d2e9ff;
-    border-radius: 20px;
+    background: url(../img/common/box5.png) no-repeat;
+    width: 306px;
+    height: 204px;
+    background-size: 306px 204px;
+    transform: translateY(-40px);
 }
 
 .blue-box div p:nth-child(1) {
@@ -140,11 +155,11 @@
 }
 
 .purple-box {
-    width: 200px;
-    padding: 15px;
-    background-color: #e9ebff;
-    border-radius: 20px;
-    transform: translateY(30px);
+    background: url(../img/common/box3.png) no-repeat;
+    width: 343px;
+    height: 281px;
+    background-size: 343px 281px;
+    transform: translateY(-40px);
 }
 
 .purple-box div p:nth-child(1) {
@@ -152,10 +167,15 @@
 }
 
 .ivory-box {
-    width: 200px;
-    padding: 15px;
-    background-color: #f8f9fa;
-    border-radius: 20px;
+   background: url(../img/common/box1.png) no-repeat;
+   width: 335px;
+}
+.ivory-box div {
+    transform: translateY(-30px);
+
+}
+.ivory-box img {
+    transform: translateY(-40px);
 }
 
 .ivory-box div p:nth-child(1) {
@@ -230,19 +250,44 @@
   
 
 
-  .swiper2{
-    width: 100%;
+
+
+.portfolio {
+    /* padding: 100px 30px; */
     height: 100%;
-  }
-
-  .swiper2 .swiper-slide {
+    width: 100%;
     
-    text-align: center;
-    font-size: 18px;
-    background: #fff;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    border: 1px solid red;
-  }
 
+}
+
+.portfolio-title {
+    font-size: 8rem;
+    color: #fff;
+    font-weight: bold;
+    text-align: center;
+    margin-bottom: 1.5rem;
+}
+
+.portfolio-title span {
+    color: transparent;
+    -webkit-text-stroke: 1px white;
+}
+.innerSwiper {
+    /* background-color: #000; */
+    width: 100%;
+}
+.innerSwiper .swiper-slide {
+    text-align: center;
+    border: 1px solid blue;
+    font-size: 18px;
+
+}
+
+.innerSwiper .swiper-slide img {
+    display: block;
+    width: 100%;
+    height: 60%;
+    background-color: #fff;
+    object-fit: cover;
+    margin-bottom: 20px;
+}
(No newline at end of file)
 
resources/img/common/box1.png (Binary) (added)
+++ resources/img/common/box1.png
Binary file is not shown
 
resources/img/common/box2.png (Binary) (added)
+++ resources/img/common/box2.png
Binary file is not shown
 
resources/img/common/box3.png (Binary) (added)
+++ resources/img/common/box3.png
Binary file is not shown
 
resources/img/common/box4.png (Binary) (added)
+++ resources/img/common/box4.png
Binary file is not shown
 
resources/img/common/box5.png (Binary) (added)
+++ resources/img/common/box5.png
Binary file is not shown
 
resources/img/common/mouse.png (Binary) (added)
+++ resources/img/common/mouse.png
Binary file is not shown
 
resources/img/component/logo-color.png (Binary) (added)
+++ resources/img/component/logo-color.png
Binary file is not shown
views/layout/Header.html
--- views/layout/Header.html
+++ views/layout/Header.html
@@ -2,16 +2,17 @@
 <html lang="en">
 
 <!-- 헤더 -->
+
 <body>
     <div class="header">
         <div class="header-area flex justify-between align-center">
-            <img src="../../resources/img/component/logo-w.png" alt="">
+            <div class="logo"></div>
             <nav>
                 <ul>
-                    <li><a href="">About Us</a></li>
-                    <li><a href="">Business</a></li>
+                    <li><a href="">About Us · Business</a></li>
                     <li><a href="">Solution</a></li>
                     <li><a href="">Portfolio</a></li>
+                    <li><a href="">Marketing</a></li>
                 </ul>
             </nav>
         </div>
@@ -25,19 +26,27 @@
         left: 0;
         width: 100%;
     }
-    .header-area{
+
+    .logo {
+        background: url(../../resources/img/component/logo-w.png) no-repeat;
+        width: 200px;
+        background-size: contain;
+        height: 25px;
+    }
+
+    .header-area {
         width: 100%;
         margin: 0 auto;
         padding: 20px 30px 15px 30px;
     }
-   
 
-    nav ul li{
+
+    nav ul li {
         margin-left: 140px;
         display: inline-block;
     }
 
-    nav ul li a{
+    nav ul li a {
         color: white;
         font-size: 1.5rem;
     }
views/main.html
--- views/main.html
+++ views/main.html
@@ -13,6 +13,7 @@
     <link rel="stylesheet" href="../../resources/css/common.css">
     <link rel="stylesheet" href="../../resources/css/responsive.css">
 
+
     <title>TAKENSOFT</title>
 </head>
 
@@ -24,8 +25,11 @@
             <div class="swiper-slide">
                 <div class="slide-wrap">
                     <div class="main-wrap">
-                        <div class="text-area flex align-end ">
-                            <h2 class="focus-in-contract">우리의 AI 기술로 <span>실현되는</span><br> 당신의 <span>비전</span></h2>
+                        <div class="text-area flex align-end main-text">
+                            <div>
+                                <h2 class="focus-in-contract">우리의 AI 기술로 <span>실현되는</span><br> 당신의 <span>비전</span></h2>
+                                <img src="../resources/img/common/mouse.png" alt="">
+                            </div>
                         </div>
                     </div>
                 </div>
@@ -39,82 +43,85 @@
                     </div>
                 </div>
             </div>
-            <div class="swiper-slide">
+            <div class="swiper-slide gradient-back">
                 <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 class=" solution-sub-text">AI 서비스,데이터 관리,UI 인포그래픽 분야에서 핵심 솔루션을 보유하고 있으며 <br>
+                    <div class=" text-area flex align-center" style="height: 100%;">
+                        <div style="width: 100%;" class="sub-text-area">
+                            <p class=" solution-text pb30">테이큰 소프트는</p>
+                            <!-- <p class=" solution-sub-text">AI 서비스,데이터 관리,UI 인포그래픽 분야에서 핵심 솔루션을 보유하고 있으며 <br>
                                 스마트시티,스마트팩토리,모빌리티,헬스케어 분야 등에서 AI 솔루션을 제공하고 있습니다.
-                            </p>
+                            </p> -->
                         </div>
-                        <div class="flex solution-box ">
-                            <div class="pink-box hvr-grow cursor">
-                                <img class="mb30" src="../resources/img/common/DATA.png" alt="">
-                                <div>
-                                    <p class="mb15">데이터관리분야</p>
-                                    <p>데이터 관리 솔루션 Taken BI Manager</p>
+                        <div class="flex justify-end  solution-box " style="height: calc(100% - 84px);">
+                            <div style="height: 50%;">
+                                <div class="ivory-box hvr-grow cursor mr50">
+                                    <img src="../resources/img/common/healthCare.png" alt="">
+                                    <div>
+                                        <p class="mb15">헬스케어 분야</p>
+                                        <p>시니어 스마트 케어 모니터링 플랫폼</p>
+                                    </div>
+                                </div>
+                                <div class="pink-box hvr-grow cursor">
+                                    <img class="mb30" src="../resources/img/common/DATA.png" alt="">
+                                    <div>
+                                        <p class="mb15">데이터관리분야</p>
+                                        <p>데이터 관리 솔루션 Taken BI Manager</p>
+                                    </div>
                                 </div>
                             </div>
-                            <div class="yellow-box hvr-grow cursor">
-                                <img class="mb30" src="../resources/img/common/smartCity.png" alt="">
-                                <div>
-                                    <p class="mb15">스마트시티 분야</p>
-                                    <p>대구광역시 AI 안전 통합 횡단보도 플랫폼</p>
+                            <div>
+                                <div class="purple-box hvr-grow cursor">
+                                    <img class="mb30" src="../resources/img/common/smartFactory.png" alt="">
+                                    <div>
+                                        <p class="mb15">스마트팩토리 분야</p>
+                                        <p>제조기업 공정 관리 모니터링 서비스</p>
+                                    </div>
                                 </div>
-                            </div>
-                            <div class="blue-box hvr-grow cursor">
-                                <img class="mb30" src="../resources/img/common/mobility.png" alt="">
-                                <div>
-                                    <p class="mb15">모빌리티 분야</p>
-                                    <p>AI 기반의 스마트 객체인식을 위한 CCTV</p>
+                                <div class="yellow-box hvr-grow cursor">
+                                    <img class="mb30" src="../resources/img/common/smartCity.png" alt="">
+                                    <div>
+                                        <p class="mb15">스마트시티 분야</p>
+                                        <p>대구광역시 AI 안전 통합 횡단보도 플랫폼</p>
+                                    </div>
                                 </div>
-                            </div>
-                            <div class="purple-box hvr-grow cursor">
-                                <img class="mb30" src="../resources/img/common/smartFactory.png" alt="">
-                                <div>
-                                    <p class="mb15">스마트팩토리 분야</p>
-                                    <p>제조기업 공정 관리 모니터링 서비스</p>
+                                <div class="blue-box hvr-grow cursor">
+                                    <img class="mb30" src="../resources/img/common/mobility.png" alt="">
+                                    <div>
+                                        <p class="mb15">모빌리티 분야</p>
+                                        <p>AI 기반의 스마트 객체인식을 위한 CCTV</p>
+                                    </div>
                                 </div>
+
                             </div>
-                            <div class="ivory-box hvr-grow cursor">
-                                <img class="mb30" src="../resources/img/common/healthCare.png" alt="">
-                                <div>
-                                    <p class="mb15">헬스케어 분야</p>
-                                    <p>시니어 스마트 케어 모니터링 플랫폼</p>
-                                </div>
-                            </div>
+                           
                         </div>
                     </div>
 
                 </div>
             </div>
             <div class="swiper-slide">
-                <div class="slide-wrap pt60">
-                    <div>
-                        <div class="text-area">
-                            <p>POTRFOLIO</p>
+                <div class="portfolio">
+                    <div class="swiper innerSwiper">
+                        <div class="swiper-wrapper flex mt60">
+                            <div class="swiper-slide">Slide 1</div>
+                            <div class="swiper-slide">Slide 2</div>
+                            <div class="swiper-slide">Slide 3</div>
+                            <div class="swiper-slide">Slide 4</div>
+                            <div class="swiper-slide">Slide 5</div>
+                            <div class="swiper-slide">Slide 6</div>
+                            <div class="swiper-slide">Slide 7</div>
+                            <div class="swiper-slide">Slide 8</div>
+                            <div class="swiper-slide">Slide 9</div>
                         </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 class="swiper-button-next"></div>
+                        <div class="swiper-button-prev"></div>
+                        <div class="swiper-pagination"></div>
                     </div>
-
                 </div>
+
             </div>
 
         </div>
-        <div class="swiper-pagination"></div>
     </div>
     <div id="footer" style="border: 0px;"></div>
 
@@ -123,10 +130,11 @@
 
 </body>
 <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
+<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
 
 <script>
 
-    var swiper = new Swiper(".mySwiper", {
+    var swiper1 = new Swiper(".mySwiper", {
         direction: "vertical",
         slidesPerView: 1,
         spaceBetween: 30,
@@ -138,11 +146,11 @@
         }, on: {
 
             reachEnd: function () {
-                swiper.mousewheel.disable();
+                swiper1.mousewheel.disable();
                 $("#footer").show();
             },
             fromEdge: function () {
-                swiper.mousewheel.enable();
+                swiper1.mousewheel.enable();
                 $("#footer").hide();
             },
             slideChange: function () {
@@ -176,13 +184,6 @@
     });
 
 
-    window.addEventListener('wheel', function (event) {
-        if (event.deltaY < 3) {
-            swiper.mousewheel.enable();
-        } else if (event.deltaY > 3) {
-        }
-    });
-
     // 헤더,푸터 불러오기
     $(function () {
         $("#header").load("layout/header.html");
@@ -190,16 +191,28 @@
         $("#footer").hide();
     });
 
-
-    var swiper = new Swiper(".swiper2", {
-      spaceBetween: 30,
-    //   centeredSlides: true,
-      autoplay: {
-        delay: 2000,
-        disableOnInteraction: false,
-      },
-     
+    var innerSwiper = new Swiper(".innerSwiper", {
+        slidesPerView: 10,
+        loop: true,
+        spaceBetween: 30,
+        centeredSlides: true,
+        autoplay: {
+            // delay: 1000,
+            disableOnInteraction: false,
+        },
+        pagination: {
+            el: ".swiper-pagination",
+            clickable: true,
+        },
+        navigation: {
+            nextEl: ".swiper-button-next",
+            prevEl: ".swiper-button-prev",
+        },
     });
+
+
+
+
 
 </script>
 
@@ -263,11 +276,27 @@
         height: 100%;
         margin: auto;
         text-align: center;
+    }
 
+    .main-text {
+
+        padding-bottom: 50px;
+    }
+
+    .main-text h2 {
+        width: 100%;
+        height: 20%;
+    }
+
+    .main-text div {
+        width: 100%;
+    }
+
+    .main-text div img {
+        width: 30px;
     }
 
     .main-wrap .text-area h2 {
-        padding-bottom: 150px;
         text-align: left;
         font-size: 6rem;
         font-weight: 600;
@@ -292,15 +321,15 @@
 
     }
 
-    .text-main span {
-        color: #f29600;
-        font-weight: 900;
-
+    .sub-text-area {
+        text-align: left;
+    }
+    .gradient-back{
+        background: linear-gradient(#e9ebff , #fff, #fff);
     }
 
-
     .slide-solution {
-        padding: 235px 0 200px;
+        padding: 158px 0 80px;
         font-family: 'Pretendard';
 
     }
Add a comment
List