From b6c263bbfaa6a06302960e172f745d3f389ba980 Mon Sep 17 00:00:00 2001 From: Alper Pacin Date: Thu, 5 Oct 2023 01:39:06 +0300 Subject: [PATCH] feat: header --- components/Header/header.jsx | 56 ++++----- layout/generic-layout.jsx | 5 +- package-lock.json | 237 +++++++++++++++++------------------ package.json | 2 +- pages/_app.js | 6 +- pages/index.js | 6 +- public/images/icon.svg | 224 +++++++++++++++++---------------- 7 files changed, 260 insertions(+), 276 deletions(-) diff --git a/components/Header/header.jsx b/components/Header/header.jsx index c8860fa..b38d0ab 100644 --- a/components/Header/header.jsx +++ b/components/Header/header.jsx @@ -6,11 +6,9 @@ import classes from "./header.module.css"; import LolLogo from "../../public/images/lol-logo.svg"; import ValorantLogo from "../../public/images/valorant-logo.svg"; import TftLogo from "../../public/images/tft-logo.svg"; -import { Separator } from "../ui/separator"; +import BrandLogo from "@/public/images/icon.svg"; import { useRouter } from "next/router"; -import { UserButton, useUser } from "@clerk/nextjs"; - const navLinks = [ { href: "/", @@ -33,18 +31,18 @@ const Header = () => { const router = useRouter(); const [isMenuOpen, setIsMenuOpen] = useState(false); - const { isSignedIn } = useUser(); - const loginHandler = () => { router.push("/sign-in"); }; return ( <> -
+