feat: add single tool pages, wiring with toolcard
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { TOOLS } from "$lib/registry";
|
||||
|
||||
export const prerender = true;
|
||||
|
||||
export function entries() {
|
||||
return TOOLS.map((tool) => ({ id: tool.id }));
|
||||
}
|
||||
|
||||
export function load({ params }: { params: { id: string } }) {
|
||||
return { id: params.id };
|
||||
}
|
||||
Reference in New Issue
Block a user