From 79ffd7e2c052bcdc0cc7df93a06306efd9817139 Mon Sep 17 00:00:00 2001 From: Ashelyn Rose 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') 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() { code
- + {headerImage}
) -- cgit 1.4.1