From 79ffd7e2c052bcdc0cc7df93a06306efd9817139 Mon Sep 17 00:00:00 2001
From: Ashelyn Rose <git@ashen.earth>
Date: Sun, 1 Sep 2024 18:11:56 -0600
Subject: Fix shit to build

---
 components/layout/Header.tsx | 22 ++++------------------
 1 file changed, 4 insertions(+), 18 deletions(-)

(limited to 'components/layout/Header.tsx')

diff --git a/components/layout/Header.tsx b/components/layout/Header.tsx
index 7afe08c..cd3bde1 100644
--- a/components/layout/Header.tsx
+++ b/components/layout/Header.tsx
@@ -1,12 +1,10 @@
-import React from 'react'
+'use client'
+import React, { ReactNode } from 'react'
 import Link from 'next/link'
-import Image from 'components/Image'
 
 import { usePathname } from 'next/navigation'
 
-const header = 'images/aurora-1197753.jpg'
-
-export default function Title() {
+export default function Title({headerImage}: {headerImage: ReactNode}) {
   const pathname = usePathname()
 
   const isHomepage = pathname === '/'
@@ -23,19 +21,7 @@ export default function Title() {
         <Link target="blank" href="https://git.tempest.dev/ashe/tempest.dev">code</Link>
       </nav>
       <div className="headerBackground">
-        <Image
-          src={header}
-          alt=""
-          role="presentation"
-          width={[2560,1920,1280,800,600]}
-          sizes={`
-            (max-width: 2560) 100vw,
-            (max-width: 1920) 100vw,
-            (max-width: 1280) 100vw,
-            (max-width: 800) 100vw,
-            (max-width: 600) 100vw,
-          `}
-        />
+        {headerImage}
       </div>
     </header>
   )
-- 
cgit 1.4.1

