mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(landing): section-nested tool routes, section index pages, and section-prefixed links
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import { TOOLS } from "@snapotter/shared";
|
||||
import { TOOLS, toolSection } from "@snapotter/shared";
|
||||
import * as lucideIcons from "lucide";
|
||||
|
||||
const MODALITY_META: Record<string, { label: string; color: string }> = {
|
||||
@@ -56,7 +56,7 @@ function renderIcon(iconName: string): string {
|
||||
hidden
|
||||
>
|
||||
<a
|
||||
href={`/tools/${tool.id}`}
|
||||
href={`/tools/${toolSection(tool)}/${tool.id}/`}
|
||||
class="flex items-center gap-3 px-4 py-2.5 no-underline transition-colors hover:bg-primary-subtle"
|
||||
>
|
||||
<svg
|
||||
|
||||
Reference in New Issue
Block a user