mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-09-14 21:46:35 +00:00
refactor: move old design to separate layout tree
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
<script lang="ts">
|
||||
import ToolPage from '$lib/components/ToolPage.svelte';
|
||||
import { getTool } from '$lib/registry';
|
||||
import { t } from '$lib/i18n/t';
|
||||
import { toolDescription, toolTitle } from '$lib/i18n/tool-strings';
|
||||
|
||||
let { data } = $props();
|
||||
|
||||
const tool = $derived(getTool(data.id));
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>{tool ? toolTitle(tool) : t('toolPage.fallbackTitle')} — easy-png-tools</title>
|
||||
{#if tool}
|
||||
<meta name="description" content={toolDescription(tool)} />
|
||||
{/if}
|
||||
</svelte:head>
|
||||
|
||||
{#if tool}
|
||||
<ToolPage {tool} />
|
||||
{/if}
|
||||
Reference in New Issue
Block a user