diff --git a/src/components/CustomButton.tsx b/src/components/CustomButton.tsx
new file mode 100644
index 0000000..ffe614d
--- /dev/null
+++ b/src/components/CustomButton.tsx
@@ -0,0 +1,24 @@
+import React from "react"
+import Link from "next/link"
+
+export default function CustomButton({
+ to,
+ label
+}: {
+ to: string,
+ label: string
+}) {
+ return (
+
+
+
+
+
+ {label}
+
+
+
+
+
+ )
+}
\ No newline at end of file
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index a335901..4c4ec3c 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -1,27 +1,28 @@
+"use client"
+import { useState, useEffect } from 'react';
import Link from "next/link"
-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",
- "lets go buffalo",
- "oorah",
- "how bout them bills??",
- "where else would you rather be..",
- "..than right here, right now?!"
-]
+export default function Header() {
+ 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",
+ "lets go buffalo",
+ "oorah",
+ "how bout them bills??",
+ "where else would you rather be..",
+ "..than right here, right now?!"
+ ]
+ const [ quote, setQuote ] = useState(quoteArray[0])
-async function getQuote(index: number) {
- return quoteArray[index]
-}
-
-export default async function Header() {
- const quote = await getQuote(Math.floor(Math.random() * quoteArray.length))
+ useEffect(() => {
+ setQuote(quoteArray[Math.floor(Math.random() * quoteArray.length)]);
+ }, [])
return (