2026-01-12 08:51:36 +03:00
|
|
|
<script lang="ts">
|
2026-01-02 21:15:40 +03:00
|
|
|
/**
|
|
|
|
|
* Page Component
|
|
|
|
|
*
|
2026-01-12 08:51:36 +03:00
|
|
|
* 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.
|
2026-01-02 21:15:40 +03:00
|
|
|
*
|
2026-01-12 08:51:36 +03:00
|
|
|
* Receives unifiedFontStore from context created in Layout.svelte.
|
2026-01-02 21:15:40 +03:00
|
|
|
*/
|
2026-01-13 20:05:33 +03:00
|
|
|
// import {
|
|
|
|
|
// UNIFIED_FONT_STORE_KEY,
|
|
|
|
|
// type UnifiedFontStore,
|
|
|
|
|
// } from '$entities/Font/model/store/unifiedFontStore.svelte';
|
2026-01-12 08:51:36 +03:00
|
|
|
import FontList from '$entities/Font/ui/FontList/FontList.svelte';
|
2026-01-13 20:05:33 +03:00
|
|
|
// import { applyFilters } from '$features/FontManagement';
|
2026-01-12 08:51:36 +03:00
|
|
|
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);
|
2025-12-30 18:57:58 +03:00
|
|
|
</script>
|
|
|
|
|
|
2026-01-13 20:05:33 +03:00
|
|
|
<!-- Font List -->
|
|
|
|
|
<FontList showEmpty={true} />
|