From f50aa3e77ef33bc79a43b4ebb926b0833cb2abcc Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Sat, 22 Feb 2025 17:17:48 -0500 Subject: [PATCH] fix, quote refresh --- src/app/layout.tsx | 2 +- src/app/page.tsx | 2 +- src/components/Header.tsx | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 7f9e9a5..f0e4489 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -53,7 +53,7 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( - +
- Profile Picture + Profile Picture

Hi, I'm Alex

diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 4c4ec3c..534a739 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -30,7 +30,9 @@ export default function Header() {

Alex Frantz

-

{quote}

+

{ + setQuote(quoteArray[Math.floor(Math.random() * quoteArray.length)]) + }} className="opacity-50 italic select-none">{quote}

Projects