diff --git a/src/widgets/Footer/index.ts b/src/widgets/Footer/index.ts index c50a1d1..ccab13b 100644 --- a/src/widgets/Footer/index.ts +++ b/src/widgets/Footer/index.ts @@ -1 +1 @@ -export { default as Footer } from './ui/Footer.svelte'; +export { default as Footer } from './ui/Footer/Footer.svelte'; diff --git a/src/widgets/Footer/ui/Footer.stories.svelte b/src/widgets/Footer/ui/Footer/Footer.stories.svelte similarity index 100% rename from src/widgets/Footer/ui/Footer.stories.svelte rename to src/widgets/Footer/ui/Footer/Footer.stories.svelte diff --git a/src/widgets/Footer/ui/Footer.svelte b/src/widgets/Footer/ui/Footer/Footer.svelte similarity index 69% rename from src/widgets/Footer/ui/Footer.svelte rename to src/widgets/Footer/ui/Footer/Footer.svelte index 390e9d4..bb12a42 100644 --- a/src/widgets/Footer/ui/Footer.svelte +++ b/src/widgets/Footer/ui/Footer/Footer.svelte @@ -7,7 +7,7 @@ import { cn } from '$shared/lib'; import type { ResponsiveManager } from '$shared/lib/helpers'; import { getContext } from 'svelte'; -import FooterLink from './FooterLink.svelte'; +import FooterLink from '../FooterLink/FooterLink.svelte'; const responsive = getContext('responsive'); const isVertical = $derived(responsive?.isDesktop || responsive?.isDesktopLarge); @@ -21,17 +21,14 @@ const currentYear = new Date().getFullYear(); )} > -
-
- - GlyphDiff © 2025 — {currentYear} - -
+ {#if isVertical} +
+
+ + GlyphDiff © 2025 — {currentYear} + +
+ {/if}
diff --git a/src/widgets/Footer/ui/Footer.svelte.test.ts b/src/widgets/Footer/ui/Footer/Footer.svelte.test.ts similarity index 100% rename from src/widgets/Footer/ui/Footer.svelte.test.ts rename to src/widgets/Footer/ui/Footer/Footer.svelte.test.ts diff --git a/src/widgets/Footer/ui/FooterLink.svelte b/src/widgets/Footer/ui/FooterLink/FooterLink.svelte similarity index 100% rename from src/widgets/Footer/ui/FooterLink.svelte rename to src/widgets/Footer/ui/FooterLink/FooterLink.svelte