chore(Footer): move components to separate directories
Workflow / build (pull_request) Failing after 8m41s
Workflow / publish (pull_request) Has been skipped

This commit is contained in:
Ilia Mashkov
2026-04-23 13:16:19 +03:00
parent c79eb3f815
commit 2d8c469275
5 changed files with 10 additions and 13 deletions
+1 -1
View File
@@ -1 +1 @@
export { default as Footer } from './ui/Footer.svelte'; export { default as Footer } from './ui/Footer/Footer.svelte';
@@ -7,7 +7,7 @@
import { cn } from '$shared/lib'; import { cn } from '$shared/lib';
import type { ResponsiveManager } from '$shared/lib/helpers'; import type { ResponsiveManager } from '$shared/lib/helpers';
import { getContext } from 'svelte'; import { getContext } from 'svelte';
import FooterLink from './FooterLink.svelte'; import FooterLink from '../FooterLink/FooterLink.svelte';
const responsive = getContext<ResponsiveManager>('responsive'); const responsive = getContext<ResponsiveManager>('responsive');
const isVertical = $derived(responsive?.isDesktop || responsive?.isDesktopLarge); const isVertical = $derived(responsive?.isDesktop || responsive?.isDesktopLarge);
@@ -21,17 +21,14 @@ const currentYear = new Date().getFullYear();
)} )}
> >
<!-- Project Name (Horizontal) --> <!-- Project Name (Horizontal) -->
<div {#if isVertical}
class={cn( <div class="pointer-events-auto items-center gap-2 bg-surface/80 dark:bg-dark-bg/80 backdrop-blur-sm px-3 py-1 border border-subtle">
'pointer-events-auto items-center gap-2 bg-surface/80 dark:bg-dark-bg/80 backdrop-blur-sm px-3 py-1 border border-subtle',
isVertical ? 'flex' : 'hidden',
)}
>
<div class="w-1.5 h-1.5 bg-brand"></div> <div class="w-1.5 h-1.5 bg-brand"></div>
<span class="text-2xs font-mono uppercase tracking-wider-mono text-neutral-500 dark:text-neutral-400"> <span class="text-2xs font-mono uppercase tracking-wider-mono text-neutral-500 dark:text-neutral-400">
GlyphDiff © 2025 — {currentYear} GlyphDiff © 2025 — {currentYear}
</span> </span>
</div> </div>
{/if}
<!-- Portfolio Link (Vertical) --> <!-- Portfolio Link (Vertical) -->
<div class="pointer-events-auto"> <div class="pointer-events-auto">