Dockerize new sveltekit app

This commit is contained in:
2024-09-26 15:07:17 +02:00
parent ff38392aea
commit d1006742ea
58 changed files with 6355 additions and 69 deletions

View File

@@ -0,0 +1,16 @@
"use client";
import { usePathname } from "next/navigation";
export default async function TabItem({ targetPath, text }: { targetPath: string, text: string}) {
const currentPath = usePathname();
return (
<a
href={targetPath}
className={currentPath === targetPath ? "underline" : ""}
>
{text}
</a>
);
}