From 40cf8ddd47ec4a5be105e91de1181a2ffc709803 Mon Sep 17 00:00:00 2001 From: Jojo Ortiz Date: Mon, 13 May 2024 15:52:01 -0700 Subject: [PATCH] update hero and navbar --- app/components/Hero.tsx | 24 ++---------------------- app/components/Navbar.tsx | 33 +++++++++++++++++++++------------ app/page.tsx | 4 ++-- 3 files changed, 25 insertions(+), 36 deletions(-) diff --git a/app/components/Hero.tsx b/app/components/Hero.tsx index 845f744..fe4c468 100644 --- a/app/components/Hero.tsx +++ b/app/components/Hero.tsx @@ -1,8 +1,6 @@ 'use client'; import Container from './Container'; -import Image from 'next/image'; -import { imgPrefix } from '@/app/hooks/useImgPrefix'; interface HeroProps { title: string; @@ -14,27 +12,9 @@ interface HeroProps { const Hero = ({ title, subtitle, center, image }: HeroProps) => { return (
- {image && ( - <> - Hero -
- - )} - +

{title}

diff --git a/app/components/Navbar.tsx b/app/components/Navbar.tsx index b7ea171..af7f2d8 100644 --- a/app/components/Navbar.tsx +++ b/app/components/Navbar.tsx @@ -1,7 +1,6 @@ 'use client'; import { useWindowScroll } from '@/app/hooks/useWindowScroll'; -import Container from './Container'; const Navbar = () => { const isScrolled = useWindowScroll(50); @@ -15,22 +14,32 @@ const Navbar = () => { py-4 " > - +
KDD Workshop 2024
- +
); diff --git a/app/page.tsx b/app/page.tsx index 7079371..303d563 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -24,10 +24,10 @@ export default function Home() { /> +
- +
-
); }