feat: move routes to slugs

This commit is contained in:
2026-09-27 16:35:27 +05:00
parent 9776e1d325
commit d09c954694
8 changed files with 25 additions and 26 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
let { title, slug, description, index, icon }: Props = $props();
</script>
<a class="tool-card" href={resolve("/tools/[id]", { id: slug })}>
<a class="tool-card" href={resolve("/tools/[slug]", { slug })}>
{#if icon}<span class="tool-icon"><Icon {icon} size={19} /></span>{/if}
<span class="tool-copy">
<strong>{title}</strong>