fix routing stuff

This commit is contained in:
2024-09-20 00:38:43 -04:00
parent 7be2d817ea
commit a227b8f9c0
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
import { Link } from "react-router-dom"
export default function Header() {
return (
<div className="text-white mx-auto pt-4 w-full sm:w-1/2 text-center lg:text-left">
<h1 className="text-2xl font-bold">Alex Frantz</h1>
<Link to={"/"}>
<h1 className="text-2xl font-bold hover:underline">Alex Frantz</h1>
</Link>
<p>Professional button clicker & word typer</p>
<hr className="my-4" />