From e1422545b454727b6014093e0cf4fb2a6c65d711 Mon Sep 17 00:00:00 2001 From: Njc27 Date: Tue, 19 Dec 2023 21:37:31 -0500 Subject: [PATCH 1/6] Commiting changes of partner here --- src/assets/styles.css | 82 +++++++++++++++++++++++++++---------------- src/pages/partner.vue | 21 ++++++++--- 2 files changed, 69 insertions(+), 34 deletions(-) diff --git a/src/assets/styles.css b/src/assets/styles.css index 35ef92d..d9d9415 100644 --- a/src/assets/styles.css +++ b/src/assets/styles.css @@ -1,4 +1,4 @@ - @import url('https://fonts.googleapis.com/css2?family=Figtree&display=swap'); + /* @import url('https://fonts.googleapis.com/css2?family=Figtree&display=swap'); */ :root { @@ -1937,7 +1937,7 @@ p.skills-item-title{ .partner_hero{ padding: 0rem 20rem; height: 100vh; - font-family: 'Figtree', sans-serif; + font-family: 'proxima-nova', sans-serif; font-size: 22px; font-weight: 500; line-height: 2rem; @@ -1960,7 +1960,7 @@ text-align: center; } .partner_hero h2{ - font-family: 'Figtree', sans-serif; + font-family: 'proxima-nova', sans-serif; font-size: 36px; font-style: italic; font-weight: 400; @@ -1971,8 +1971,8 @@ color: #67A7D3; } .partner_hero h4{ - font-family: 'Figtree', sans-serif; - font-size: 24px; + font-family: 'proxima-nova', sans-serif; + font-size: 21px; font-weight: 500; line-height: 30px; letter-spacing: 0em; @@ -2006,12 +2006,11 @@ color: #67A7D3; transition: transform 0.3s ease-in-out; box-sizing: border-box; display: flex; - margin-top: 10%; - margin-bottom: -10% !important; + margin-top: 5%; } .image-wrapper img { - width: 60%; + width: 550px; height: auto; display: block; /* border: 2px solid #fff; @@ -2025,37 +2024,56 @@ color: #67A7D3; } .left-img{ position:static; - height: 30% !important; - margin-top: 10%; + height: 200px !important; + width: 400px !important; + object-fit: cover; + margin-top: 7%; transform: scale(0.8); - transition: ease-in-out 3s; + } .right-img{ - margin-top: 10%; - height: 30% !important; + margin-top: 7%; + height: 200px !important; + width: 400px !important; + object-fit: cover; transform: scale(0.8); - transition: ease-in-out 3s; + } .active-img{ - height: 60% !important; + height: 350px !important; + object-fit: cover; transform: scale(1); - transition: ease-in-out 3s; + +} + +.btn-container{ + display: flex; + justify-content: center; + margin-top: 2.5%; + margin-bottom: 2.5%; } .nav-button { - position: absolute; - top: 50%; - transform: translateY(-50%); + position: relative; + padding-left: 12rem; + padding-right: 12rem; + background-color: #fff; border: none; cursor: pointer; - padding: 0.5rem 1rem; font-size: 1.5rem; color: #333; z-index: 2; } +@keyframes FadeInOut { + 0% {opacity:0;} + 25% {opacity:.50;} + 50% {opacity:.75;} + 100% {opacity:1;} +} + .left { left: 10px; } @@ -2066,7 +2084,7 @@ color: #67A7D3; .more_about_course h1{ - font-family: 'Figtree', sans-serif; + font-family: 'proxima-nova', sans-serif; font-size: 30px; font-weight: 600; line-height: 3rem; @@ -2077,7 +2095,7 @@ text-align:left; .more_about_course{ padding: 0rem 20rem; - font-family: 'Figtree', sans-serif; + font-family: 'proxima-nova', sans-serif; font-size: 18px; font-weight: 500; line-height: 2rem; @@ -2092,7 +2110,7 @@ text-align: left; .course_curriculum{ padding: 0rem 20rem; - font-family: 'Figtree', sans-serif; + font-family: 'proxima-nova', sans-serif; font-size: 18px; font-weight: 500; line-height: 2rem; @@ -2106,7 +2124,7 @@ text-align: left; } .course_curriculum h1{ - font-family: 'Figtree', sans-serif; + font-family: 'proxima-nova', sans-serif; font-size: 30px; font-weight: 600; line-height: 3rem; @@ -2115,16 +2133,20 @@ margin-left: 8rem; text-align:left; } +.instructor_details{ + display:flex ; + margin-left: 14rem; +} + .instructors_container{ background-color:var(--book-white); } .instructors_container h1{ - margin-left: 8rem; padding-top: 4rem; - text-align:left; - font-family: 'Figtree', sans-serif; + text-align: center; + font-family: 'proxima-nova', sans-serif; font-size: 30px; font-weight: 600; line-height: 3rem; @@ -2160,7 +2182,7 @@ text-align:left; justify-content:center; gap: 0.5rem; /* margin-left: 5rem; */ - font-family: 'Figtree', sans-serif; + font-family: 'proxima-nova', sans-serif; font-size: 20px; font-weight: 600; line-height: 25px; @@ -2171,7 +2193,7 @@ text-align:left; .card-title{ /* margin-left: 2rem; */ - font-family: 'Figtree', sans-serif; + font-family: 'proxima-nova', sans-serif; font-size: 20px; font-weight: 500; line-height: 35px; @@ -2188,7 +2210,7 @@ text-align:left; display: flex; justify-content:center; gap: 0.5rem; - font-family: 'Figtree', sans-serif; + font-family: 'proxima-nova', sans-serif; font-size: 20px; font-weight: 500; line-height: 35px; diff --git a/src/pages/partner.vue b/src/pages/partner.vue index 054cd3c..c5eb24c 100644 --- a/src/pages/partner.vue +++ b/src/pages/partner.vue @@ -101,16 +101,23 @@ export default{ }, checkForFirst(position,len){ if(position > 0){ - return position--; + return --position; } - else{ + else if(position ==0){ return len-1; } + else{ + return --position; + } + }, moveLeft() { this.activeIndex = this.checkForFirst(this.activeIndex , this.currentData?.gallery?.length); this.prevIndex = this.checkForFirst(this.prevIndex , this.currentData?.gallery?.length); this.nextIndex = this.checkForFirst(this.nextIndex , this.currentData?.gallery?.length); + console.log("active Index",this.activeIndex); + console.log("active Index",this.activeIndex); + console.log("active Index",this.activeIndex); }, moveRight() { this.activeIndex = this.checkForLast(this.activeIndex , this.currentData?.gallery?.length); @@ -238,12 +245,16 @@ moveLeft() { - - +
+ + +
+ +

MORE ABOUT THE COURSE

@@ -257,6 +268,7 @@ moveLeft() {

INSTRUCTORS

+
+
From d320db7eee156f6c08ee8372d7bf79722dc05ac9 Mon Sep 17 00:00:00 2001 From: Njc27 Date: Tue, 19 Dec 2023 21:59:39 -0500 Subject: [PATCH 2/6] mobile css --- src/assets/styles.css | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/src/assets/styles.css b/src/assets/styles.css index d9d9415..6585099 100644 --- a/src/assets/styles.css +++ b/src/assets/styles.css @@ -2250,4 +2250,48 @@ text-align:left; justify-content: center; align-items: center; } + + .partner_hero { + padding: 0px !important; + } + + .image-wrapper img{ + width:350px; + } + + .right { + right: 60px; +} + +.left { + left: 60px; +} + +.more_about_course { + padding: 0rem 1rem; +} + +.more_about_course h1{ + margin-left: 0rem !important; + text-align:none; +} + +.course_curriculum { + padding: 0rem 1rem; +} + +.course_curriculum h1{ + margin-left: 0rem !important; + text-align:none; +} + +.instructor_details { + margin-left: 0rem !important; +} + +.instructors { + display: grid; + grid-template-columns: 1fr; +} + } \ No newline at end of file From 5fe17e91f326da8de738ebb23b5b408070db2ce8 Mon Sep 17 00:00:00 2001 From: Njc27 Date: Wed, 20 Dec 2023 11:41:08 -0500 Subject: [PATCH 3/6] netlify.toml changes --- src/netlify.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/netlify.toml b/src/netlify.toml index 2643fc5..24dedd8 100644 --- a/src/netlify.toml +++ b/src/netlify.toml @@ -1,3 +1,13 @@ +[build] + command = "vite build" + functions = "netlify/functions" + publish = "dist" + +[[redirects]] + from = "/*" + to = "/index.html" + status = 200 + [[headers]] for = "/*" [headers.values] From ebca61b56635c5dc357bf8391abe01ca640da59d Mon Sep 17 00:00:00 2001 From: Njc27 Date: Wed, 20 Dec 2023 11:43:50 -0500 Subject: [PATCH 4/6] netlify.toml changes --- src/netlify.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/netlify.toml b/src/netlify.toml index 24dedd8..f2df80a 100644 --- a/src/netlify.toml +++ b/src/netlify.toml @@ -3,6 +3,8 @@ functions = "netlify/functions" publish = "dist" + + [[redirects]] from = "/*" to = "/index.html" From ccac910c7b90d90a7be619243a5f8cff3c78ff46 Mon Sep 17 00:00:00 2001 From: Njc27 Date: Wed, 20 Dec 2023 11:47:43 -0500 Subject: [PATCH 5/6] netlify changes --- .DS_Store | Bin 6148 -> 6148 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/.DS_Store b/.DS_Store index ecb1adcfc4f84871fc1f53dc5c39661d24d90616..6a73e8eb93485f474c7b2f56e842d55300087ed4 100644 GIT binary patch delta 47 zcmZoMXfc@J&&WP8U^gTCWFE#H!pscC3`GpdWx+*xIr(|%3=9m6n-4M?ux)1N_{$Ff DMlKC~ delta 30 mcmZoMXfc@J&&W10U^gS%WFE#Ho1Zc&u}y4H+|17LmmdI{Gztp< From 768120e6c02927ccc003336916877ca06631c9b2 Mon Sep 17 00:00:00 2001 From: Namitha Jajur Chandrashekhar <113727586+Njc27@users.noreply.github.com> Date: Wed, 20 Dec 2023 11:50:15 -0500 Subject: [PATCH 6/6] Update netlify.toml --- netlify.toml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/netlify.toml b/netlify.toml index 61b326d..eb48f43 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,13 +1,18 @@ +[build] + command = "vite build" + functions = "netlify/functions" + publish = "dist" + [[redirects]] -from = "/*" -to = "/index.html" -status = 200 + from = "/*" + to = "/index.html" + status = 200 [[headers]] -for = "/*" -[headers.values] -Access-Control-Allow-Origin = "*" + for = "/*" + [headers.values] + Access-Control-Allow-Origin = "*" - \ No newline at end of file +