)
}
\ No newline at end of file
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index ab73e5a..81ea061 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -1,14 +1,41 @@
-import { Link } from "react-router-dom"
+import { useState } from "react"
export default function Header() {
- return (
-
-
-
Alex Frantz
-
-
Professional button clicker & word typer
+ const quoteArray = [
+ "It works on my machine",
+ "Revert 'Revert 'Revert",
+ "'fuck the tests'",
+ "this is so cooked",
+ "Professional Production Tester",
+ "I break hearts to save lives.",
+ "go bills",
+ "josh allen is my goat"
+ ]
+ const [ quote, setQuote ] = useState(quoteArray[Math.floor(Math.random() * quoteArray.length)]);
-
+ const drawNewQuote = () => {
+ const newQuote = quoteArray[Math.floor(Math.random() * quoteArray.length)]
+
+ // redraw if this quote == current quote
+ if (newQuote !== quote) {
+ setQuote(newQuote);
+ } else drawNewQuote();
+ }
+
+ return (
+
- I'm a "junior" developer with a passion for software and games.
- I have experience in languages like JavaScript and Python, and am primarily
- working in libraries like React.
-