fix, quote refresh

This commit is contained in:
2025-02-22 17:17:48 -05:00
parent d3a700440c
commit f50aa3e77e
3 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -30,7 +30,9 @@ export default function Header() {
<Link href="/" className="hover:underline">
<h1 className="text-2xl font-bold">Alex Frantz</h1>
</Link>
<p className="opacity-50 italic select-none">{quote}</p>
<p onClick={() => {
setQuote(quoteArray[Math.floor(Math.random() * quoteArray.length)])
}} className="opacity-50 italic select-none">{quote}</p>
</div>
<div className="space-x-2 items-center justify-center flex select-none">
<a className="hover:underline" href="#projects">Projects</a>