From e840ca4527fc5610fdbb377e1d49d51284a7dd2a Mon Sep 17 00:00:00 2001 From: Aynul Amna Date: Thu, 7 Nov 2024 15:02:20 +0530 Subject: [PATCH] 86b2rcabb:updated header to handle singupclick --- venue-reservation/src/app/layouts/Header.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/venue-reservation/src/app/layouts/Header.tsx b/venue-reservation/src/app/layouts/Header.tsx index 6f5e2b8..c0fb157 100644 --- a/venue-reservation/src/app/layouts/Header.tsx +++ b/venue-reservation/src/app/layouts/Header.tsx @@ -1,8 +1,14 @@ "use client"; import React, { useState } from "react"; import Logo from "./Logo"; +import { useRouter } from "next/navigation"; const Header = () => { const [isOpen, setIsOpen] = useState(false); + const router =useRouter(); + + const handleSignupClick = () => { + router.push("/signup-landing"); + }; return (
@@ -41,6 +47,7 @@ const Header = () => { Login