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 type { ResponsiveManager } from '$shared/lib/helpers';
import { getContext } from 'svelte';
import FooterLink from './FooterLink.svelte';
import FooterLink from '../FooterLink/FooterLink.svelte';
const responsive = getContext<ResponsiveManager>('responsive');
const isVertical = $derived(responsive?.isDesktop || responsive?.isDesktopLarge);
@@ -21,17 +21,14 @@ const currentYear = new Date().getFullYear();
)}
>
<!-- Project Name (Horizontal) -->
<div
class={cn(
'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>
<span class="text-2xs font-mono uppercase tracking-wider-mono text-neutral-500 dark:text-neutral-400">
GlyphDiff © 2025 — {currentYear}
</span>
</div>
{#if isVertical}
<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">
<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">
GlyphDiff © 2025 — {currentYear}
</span>
</div>
{/if}
<!-- Portfolio Link (Vertical) -->
<div class="pointer-events-auto">