Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit 3813fa6

Browse files
author
Manuel Proß
committed
refactor(web): replace achor tag with next/link, replace arbitrary tailwind classes
1 parent 977f807 commit 3813fa6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
import React from "react";
2+
import Link from "next/link";
23

34
export default function Footer() {
45
return (
56
<footer className="w-full flex justify-center items-center">
6-
<a className="link" href="/impressum">
7+
<Link className="link" href="/impressum">
78
Impressum
8-
</a>
9-
<span className="border-x-2 border-primary h-16 mx-[48px] w-0" />
10-
<a className="link" href="/copyright">
9+
</Link>
10+
<span className="border-x-2 border-primary h-16 mx-12" />
11+
<Link className="link" href="/copyright">
1112
Copyright
12-
</a>
13+
</Link>
1314
</footer>
1415
);
1516
}

0 commit comments

Comments
 (0)