chore(Footer): move components to separate directories
This commit is contained in:
@@ -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">
|
||||||
Reference in New Issue
Block a user