From a66cb3c7e14eab93b8080f0d7a7d0bc273887ea5 Mon Sep 17 00:00:00 2001 From: jer3k <99355997+jer3k@users.noreply.github.com> Date: Wed, 8 May 2024 10:26:44 -0700 Subject: [PATCH] standard footer design --- frontend/src/components/Footer.vue | 221 +++++++++++------------------ 1 file changed, 86 insertions(+), 135 deletions(-) diff --git a/frontend/src/components/Footer.vue b/frontend/src/components/Footer.vue index 73971934f..bc0bca453 100644 --- a/frontend/src/components/Footer.vue +++ b/frontend/src/components/Footer.vue @@ -1,82 +1,54 @@ @@ -86,50 +58,43 @@ import { sanitizeUrl } from '@braintree/sanitize-url'; type Link = { label: string; to: string; id: string }; type FooterSettings = { - links: { - left: Link[]; - right: Link[]; - }; + links: Link[]; }; const settings: FooterSettings = { - links: { - left: [ - { id: 'footer-link-home', label: 'Home', to: 'https://www.gov.bc.ca/' }, - { - id: 'footer-link-about', - label: 'About gov.bc.ca', - to: 'https://www2.gov.bc.ca/gov/content/about-gov-bc-ca', - }, - { - id: 'footer-link-disclaimer', - label: 'Disclaimer', - to: 'https://www.gov.bc.ca/disclaimer', - }, - { - id: 'footer-link-privacy', - label: 'Privacy', - to: 'https://www.gov.bc.ca/privacy', - }, - ], - right: [ - { - id: 'footer-link-accessibility', - label: 'Accessibility', - to: 'https://www.gov.bc.ca/webaccessibility', - }, - { - id: 'footer-link-copyright', - label: 'Copyright', - to: 'https://www.gov.bc.ca/copyright', - }, - { - id: 'footer-link-contact-us', - label: 'Contact Us', - to: 'https://www2.gov.bc.ca/gov/content/home/contact-us', - }, - ], - }, + links: [ + { id: 'footer-link-home', label: 'Home', to: 'https://www.gov.bc.ca/' }, + { + id: 'footer-link-about', + label: 'About gov.bc.ca', + to: 'https://www2.gov.bc.ca/gov/content/about-gov-bc-ca', + }, + { + id: 'footer-link-disclaimer', + label: 'Disclaimer', + to: 'https://www.gov.bc.ca/disclaimer', + }, + { + id: 'footer-link-privacy', + label: 'Privacy', + to: 'https://www.gov.bc.ca/privacy', + }, + { + id: 'footer-link-accessibility', + label: 'Accessibility', + to: 'https://www.gov.bc.ca/webaccessibility', + }, + { + id: 'footer-link-copyright', + label: 'Copyright', + to: 'https://www.gov.bc.ca/copyright', + }, + { + id: 'footer-link-contact-us', + label: 'Contact Us', + to: 'https://www2.gov.bc.ca/gov/content/home/contact-us', + }, + ], }; @@ -143,10 +108,6 @@ a { text-decoration: underline !important; } -p { - line-height: 21px; -} - .v-footer { flex-direction: column; min-width: 100%; @@ -160,43 +121,33 @@ p { flex-direction: row; align-items: center; justify-content: center; - padding: 32px; + padding: 16px 0; color: #fff; font-size: 14px; line-height: 21px; transition: none !important; width: 100%; - margin-bottom: 50px; + margin-bottom: 16px; border-top: 4px solid $border-color !important; border-bottom: 4px solid $border-color !important; overflow: hidden; - - div { - max-width: 1120px; - margin: auto; - } } } -.bottom-padding { - padding-left: 32px; - padding-right: 32px; -} - -.v-list-item-title { - color: $text-color; - font-size: $font-size !important; - - &:hover { - text-decoration: underline; +.more-info { + flex: 0 0 auto; + ul { + list-style-type: none; + columns: 2; + margin: 0px 0px 16px; + gap: 48px; + li { + margin-bottom: 16px; + } } } -.more-info-title { - font-weight: 700; -} -.links { - display: flex; - flex-direction: column; +.contact { + flex: 0 0 50%; }