Skip to content

Commit

Permalink
refactor: move footer block component into footer folder
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed Nov 7, 2024
1 parent 2599c57 commit a23cd6e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/scss/components/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
@forward "message/message";
@forward "mobile-nav/mobile-nav";
@forward "newsletter-form/newsletter-form";
@forward "footer-block/footer-block";
@forward "header/header";
@forward "footer/footer";
2 changes: 2 additions & 0 deletions src/scss/components/footer/_footer.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@forward "footer-block/footer-block";

@use "../../tokens/color" as *;
@use "../../tokens/font" as *;
@use "../../tokens/spacing" as *;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use "../../tokens/screens" as *;
@use "../../tokens/font" as *;
@use "../../tokens/color" as *;
@use "../../base/mixins";
@use "../../../tokens/screens" as *;
@use "../../../tokens/font" as *;
@use "../../../tokens/color" as *;
@use "../../../base/mixins";

.iati-footer-block {
color: #fff;
Expand Down
6 changes: 3 additions & 3 deletions src/scss/components/footer/footer.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import type { Meta, StoryObj } from "@storybook/web-components";
import { html } from "lit";

import { CountrySwitcher } from "../../components/country-switcher/country-switcher.stories";
import { Linkedin, Twitter, Youtube } from "../../components/icon/icon.stories";
import { Default as NewsletterForm } from "../../components/newsletter-form/newsletter-form.stories";
import {
AdditionInfo as AdditionalInfoFooterBlock,
UsefulLinks as UsefulLinksFooterBlock,
} from "../../components/footer-block/footer-block.stories";
import { Linkedin, Twitter, Youtube } from "../../components/icon/icon.stories";
import { Default as NewsletterForm } from "../../components/newsletter-form/newsletter-form.stories";
} from "./footer-block/footer-block.stories";

const legalNavItems = [
html`<a href="#">Privacy</a>`,
Expand Down

0 comments on commit a23cd6e

Please sign in to comment.