Files
frontend-svelte/src/routes/Page.svelte

28 lines
808 B
Svelte
Raw Normal View History

<script lang="ts">
/**
* Page Component
*
* Main page route component. Displays the font list and allows testing
* the unified font store functionality. Fetches fonts on mount and displays
* them using the FontList component.
*
* Receives unifiedFontStore from context created in Layout.svelte.
*/
2026-01-13 20:05:33 +03:00
// import {
// UNIFIED_FONT_STORE_KEY,
// type UnifiedFontStore,
// } from '$entities/Font/model/store/unifiedFontStore.svelte';
import FontList from '$entities/Font/ui/FontList/FontList.svelte';
2026-01-13 20:05:33 +03:00
// import { applyFilters } from '$features/FontManagement';
import {
getContext,
onMount,
} from 'svelte';
// Receive store from context (created in Layout.svelte)
2026-01-13 20:05:33 +03:00
// const unifiedFontStore: UnifiedFontStore = getContext(UNIFIED_FONT_STORE_KEY);
</script>
2026-01-13 20:05:33 +03:00
<!-- Font List -->
2026-01-15 20:05:55 +03:00
<FontList />