From dd89c7f8916886c0fde89adea606f408c41e2521 Mon Sep 17 00:00:00 2001 From: Rob Redpath Date: Fri, 30 Jan 2026 15:24:06 +0000 Subject: [PATCH 1/2] feat: add feedback links to footer --- src/scss/components/footer/_footer.scss | 34 +++++++++++++- src/scss/components/footer/footer.stories.ts | 49 ++++++++++---------- 2 files changed, 57 insertions(+), 26 deletions(-) diff --git a/src/scss/components/footer/_footer.scss b/src/scss/components/footer/_footer.scss index ba0a8ef..cf67103 100644 --- a/src/scss/components/footer/_footer.scss +++ b/src/scss/components/footer/_footer.scss @@ -31,7 +31,8 @@ } } -.iati-footer__section--first .iati-footer__container { +.iati-footer__section--first .iati-footer__container, +.iati-footer__section--mid .iati-footer__container { display: flex; gap: 2rem; flex-direction: column; @@ -41,6 +42,25 @@ } } +.iati-footer__section--mid .iati-footer-block:first-child { + @media (min-width: $screen-md) { + flex: 3; + } +} + +.iati-footer__section--mid .iati-footer-block:last-child { + @media (min-width: $screen-md) { + flex: 2; + } +} + +.iati-footer-block--bordered { + @media (min-width: $screen-md) { + border-inline-start: 1px solid $color-blue-30; + padding-inline-start: 2rem; + } +} + .iati-footer__section--last .iati-footer__container { display: flex; flex-wrap: wrap; @@ -68,6 +88,13 @@ } } +.iati-footer-block__subtitle { + margin: 0 0 0.75rem; + font-family: $font-stack-heading; + font-size: 1rem; + font-weight: 700; +} + .iati-footer-block__content { :where(p, li) { margin: 0; @@ -85,6 +112,11 @@ } } +.iati-footer-block__content--divided > *:not(:first-child) { + border-inline-start: 1px solid $color-blue-30; + padding-inline-start: 2rem; +} + .iati-footer__legal-nav { font-size: 1.0625rem; a { diff --git a/src/scss/components/footer/footer.stories.ts b/src/scss/components/footer/footer.stories.ts index fe06c89..2f61b3e 100644 --- a/src/scss/components/footer/footer.stories.ts +++ b/src/scss/components/footer/footer.stories.ts @@ -76,34 +76,33 @@ export const UsefulLinksSection: Story = { }; const additionalInformationHtml = html` -