diff --git a/theme_upshift/static/src/css/style.css b/theme_upshift/static/src/css/style.css index 205de6b3b..984694071 100644 --- a/theme_upshift/static/src/css/style.css +++ b/theme_upshift/static/src/css/style.css @@ -454,6 +454,7 @@ template { font-size: 24px; font-weight: 500; padding-bottom: 10px; + color: var(--black-color); } .services-section .wrapper .services-grid .service-card p { font-size: 16px; @@ -568,6 +569,7 @@ template { font-size: 20px; font-weight: 500; padding-bottom: 10px; + color: var(--black-color); } .process-section .wrapper .process-grid .service-card p { font-size: 16px; @@ -679,6 +681,9 @@ template { .locations_section .wrapper { padding-top: 40px; } +.locations_section .wrapper .location{ + color:black; +} .locations_section .leaflet-control-attribution { display: none !important; } @@ -778,6 +783,8 @@ padding-top:50px font-size: 2.6rem; font-weight: 500; margin-bottom: 10px; + color: var(--black-color); + } .goals { diff --git a/theme_upshift/static/src/js/othernavbar.js b/theme_upshift/static/src/js/othernavbar.js index 19691b632..c44fdd516 100644 --- a/theme_upshift/static/src/js/othernavbar.js +++ b/theme_upshift/static/src/js/othernavbar.js @@ -243,6 +243,7 @@ export const NavigationScroll = PublicWidget.Widget.extend({ { x: "0%", opacity: 1, ease: "power1.in" }, // End state (opacity 1) "<.5" // Overlap with previous animation ); + }, _hero_animation(){ const letters = document.querySelectorAll(".text span"); @@ -254,6 +255,7 @@ export const NavigationScroll = PublicWidget.Widget.extend({ ease: "power2.out", // Easing for smooth effect stagger: 0.1, // Delay between each letter }); + gsap.registerPlugin(); // No need for ScrollTrigger class RevealOnLoad { @@ -293,6 +295,7 @@ export const NavigationScroll = PublicWidget.Widget.extend({ // Method to handle scroll event and change the navigation style based on scroll position const currentPath = window.location.pathname; + // Handle navigation class additions if (this.$el.scrollTop() > 0) { if (currentPath === "/") { diff --git a/theme_upshift/static/src/js/status_counter.js b/theme_upshift/static/src/js/status_counter.js index c3e846ab3..be2f88a2b 100644 --- a/theme_upshift/static/src/js/status_counter.js +++ b/theme_upshift/static/src/js/status_counter.js @@ -11,6 +11,7 @@ export const themeIndex = PublicWidget.Widget.extend({ // The 'start' method is called when the widget is initialized start(){ this.counters = this.$el; + }, // Method to handle the scroll event _handleScroll: function () { @@ -49,4 +50,3 @@ export const themeIndex = PublicWidget.Widget.extend({ }) // Register the widget so it can be used on the website PublicWidget.registry.themeIndex = themeIndex - diff --git a/theme_upshift/views/home.xml b/theme_upshift/views/home.xml index 28db666dc..d59b75ce1 100644 --- a/theme_upshift/views/home.xml +++ b/theme_upshift/views/home.xml @@ -329,14 +329,18 @@ data-bs-target="#testimonialCarousel" data-bs-slide="prev"> + aria-hidden="true"> + + Previous diff --git a/theme_upshift/views/portfolio_project.xml b/theme_upshift/views/portfolio_project.xml index 378c7ae31..36d491006 100644 --- a/theme_upshift/views/portfolio_project.xml +++ b/theme_upshift/views/portfolio_project.xml @@ -185,4 +185,4 @@ - \ No newline at end of file + diff --git a/theme_upshift/views/snippet/location.xml b/theme_upshift/views/snippet/location.xml index 63883ca8b..0a0e9281f 100644 --- a/theme_upshift/views/snippet/location.xml +++ b/theme_upshift/views/snippet/location.xml @@ -1,172 +1,172 @@ -