From de84edb9c2192506b78103fea84b57e0c66e79f4 Mon Sep 17 00:00:00 2001 From: Alaguraj0361 Date: Mon, 2 Feb 2026 22:55:24 +0530 Subject: [PATCH] Footer ui updated --- .../static/src/scss/theme.scss | 178 +++++++++++++++++- .../dine360_theme_chennora/views/layout.xml | 151 ++++++++------- 2 files changed, 257 insertions(+), 72 deletions(-) diff --git a/addons/dine360_theme_chennora/static/src/scss/theme.scss b/addons/dine360_theme_chennora/static/src/scss/theme.scss index ecfac8a..48ad0de 100644 --- a/addons/dine360_theme_chennora/static/src/scss/theme.scss +++ b/addons/dine360_theme_chennora/static/src/scss/theme.scss @@ -814,11 +814,185 @@ } // Footer +// Footer Refinement footer#bottom { background-color: #04121D !important; color: white; + position: relative; + padding-top: 120px; // Space for the floating bar + overflow: visible; - a:hover { - color: #FECD4F !important; + // Floating Teal Bar + .footer-cta-bar-wrapper { + position: absolute; + top: -60px; + left: 0; + right: 0; + z-index: 20; + + .footer-cta-bar { + background-color: #2BB1A5; + border-radius: 20px; + padding: 30px 50px; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); + display: flex; + justify-content: space-between; + align-items: center; + + .cta-item { + display: flex; + align-items: center; + gap: 20px; + color: white; + + .icon-circle { + width: 50px; + height: 50px; + background: white; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + color: #2BB1A5; + font-size: 20px; + } + + strong { + display: block; + font-size: 14px; + opacity: 0.8; + } + + p { + margin: 0; + font-weight: 700; + font-size: 16px; + } + } + } + } + + .footer-title { + font-size: 24px; + font-weight: 800; + margin-bottom: 30px; + position: relative; + padding-bottom: 10px; + + &::after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + width: 50px; + height: 3px; + background: #2BB1A5; + } + } + + .footer-logo { + max-width: 180px; + } + + .social-links { + display: flex; + gap: 10px; + + a { + width: 35px; + height: 35px; + border: 1px solid rgba(255, 255, 255, 0.2); + border-radius: 4px; + display: flex; + align-items: center; + justify-content: center; + color: white; + transition: all 0.3s; + + &:hover { + background: #FECD4F; + border-color: #FECD4F; + color: #04121D; + } + } + } + + .footer-list { + list-style: none; + padding: 0; + margin: 0; + + li { + margin-bottom: 15px; + display: flex; + align-items: flex-start; + gap: 10px; + + i { + color: #2BB1A5; + font-size: 12px; + margin-top: 5px; + } + + a { + color: white; + text-decoration: none; + transition: color 0.3s; + + &:hover { + color: #FECD4F; + } + } + } + } + + .footer-accent-left { + position: absolute; + left: -50px; + bottom: 100px; + width: 200px; + opacity: 0.8; + pointer-events: none; + } + + .footer-accent-right { + position: absolute; + right: -50px; + top: 0; + width: 250px; + opacity: 0.8; + pointer-events: none; + border-radius: 50%; + } + + .footer-copyright-bar { + background-color: #FECD4F; + color: #04121D; + text-align: center; + padding: 15px; + font-weight: 700; + margin-top: 80px; + } +} + +// Mobile Responsive Footer +@media (max-width: 991px) { + footer#bottom { + padding-top: 200px; + + .footer-cta-bar-wrapper { + top: -150px; + + .footer-cta-bar { + flex-direction: column; + gap: 20px; + padding: 30px; + } + } + + .footer-accent-left, + .footer-accent-right { + display: none; + } } } \ No newline at end of file diff --git a/addons/dine360_theme_chennora/views/layout.xml b/addons/dine360_theme_chennora/views/layout.xml index 7afbcf8..2a20511 100644 --- a/addons/dine360_theme_chennora/views/layout.xml +++ b/addons/dine360_theme_chennora/views/layout.xml @@ -17,19 +17,6 @@ - main_object if main_object and main_object._name == 'website.page' and not request.session.debug and not editable and not translatable else None @@ -60,39 +47,33 @@ - - + - + - - + - - + - @@ -102,9 +83,6 @@ - None if website.is_menu_cache_disabled() else (xmlid,website,website.is_public_user()) @@ -114,23 +92,79 @@ Extra items button - - Footer - - - - - - - Copyright - - - - - - not editable + +
+ +
@@ -146,7 +180,7 @@ 'analytics_storage': 'denied', }); gtag('js', new Date()); - gtag('config', '<t t-esc="website.google_analytics_key"/>'); + gtag('config', ''); function allConsentsGranted() { gtag('consent', 'update', { 'ad_storage': 'granted', @@ -172,12 +206,9 @@ - - @@ -191,39 +222,19 @@ - - + - - - - + + '1' if main_object and 'header_visible' in main_object and not main_object.header_visible else None - - - '1' if main_object and 'footer_visible' in main_object and not main_object.footer_visible else None -