diff --git a/src/routes/Page.svelte b/src/routes/Page.svelte index ebdbdeb..07f8a69 100644 --- a/src/routes/Page.svelte +++ b/src/routes/Page.svelte @@ -11,6 +11,7 @@ import { cn } from '$shared/shadcn/utils/shadcn-utils'; import { Section } from '$shared/ui'; import ComparisonSlider from '$widgets/ComparisonSlider/ui/ComparisonSlider/ComparisonSlider.svelte'; import { FontSearch } from '$widgets/FontSearch'; +import { SampleList } from '$widgets/SampleList'; import LineSquiggleIcon from '@lucide/svelte/icons/line-squiggle'; import ScanEyeIcon from '@lucide/svelte/icons/scan-eye'; @@ -34,10 +35,7 @@ $effect(() => {
{
{/key} - {#if displayedFontsStore.fonts.length > 1} -
- {#snippet icon({ className })} - - {/snippet} - {#snippet title({ className })} -

- Optical
Comparator -

- {/snippet} - -
- {/if} +
+ {#snippet icon({ className })} + + {/snippet} + {#snippet title({ className })} +

+ Optical
Comparator +

+ {/snippet} + +
- {#if displayedFontsStore.hasAnyFonts} -
- {#snippet icon({ className })} - - {/snippet} - {#snippet title({ className })} -

- Sample
Set -

- {/snippet} - -
- {/if} +
+ {#snippet icon({ className })} + + {/snippet} + {#snippet title({ className })} +

+ Sample
Set +

+ {/snippet} + +