Skip to content

Commit 758fe1a

Browse files
fix build error about double route
1 parent 70651e0 commit 758fe1a

File tree

2 files changed

+7
-24
lines changed

2 files changed

+7
-24
lines changed

src/app/(public)/[slug]/page.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Card from "@/components/card";
2+
import Link from "next/link";
23

34
export default async function FooterPage({
45
params,
@@ -15,6 +16,12 @@ export default async function FooterPage({
1516

1617
return (
1718
<div className="container mx-auto py-8">
19+
<Link
20+
href="/"
21+
className="mb-4 inline-block text-blue-600 hover:underline"
22+
>
23+
← vorige
24+
</Link>
1825
<Card>
1926
<h1 className="text-h1 mb-4">{title}</h1>
2027
<p className="text-lg">Hier wordt aan gewerkt.</p>

src/app/[slug]/page.tsx

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)