From 47f5a474206c4d06ba96fc6157071b011c1435ce Mon Sep 17 00:00:00 2001 From: Abhi-hertz <93651229+AE-Hertz@users.noreply.github.com> Date: Fri, 1 Nov 2024 18:55:32 +0530 Subject: [PATCH] fix: header and git issue --- components/page-header.tsx | 125 +++++++++++++++---------------------- 1 file changed, 51 insertions(+), 74 deletions(-) diff --git a/components/page-header.tsx b/components/page-header.tsx index 0727908..eae562a 100644 --- a/components/page-header.tsx +++ b/components/page-header.tsx @@ -44,14 +44,9 @@ const PageHeader = ({ prefLangCookie }: { prefLangCookie: string }) => { const isActive = (href: string) => activePath === href -<<<<<<< HEAD ? "font-bold text-black dark:text-white" : "text-muted-foreground dark:text-gray-400"; -======= - ? "text-black font-bold" - : "text-muted-foreground dark:text-gray-200"; ->>>>>>> 383e7974f0a0fff21996aa91b2c8c87f53f89daa return (
@@ -71,7 +66,6 @@ const PageHeader = ({ prefLangCookie }: { prefLangCookie: string }) => { -<<<<<<< HEAD
{ FAQ
-======= - {[ - "/dashboard", - "/popular", - "/blog", - "/about", - "/contributor", - "/faq", - "/testimonial" - ].map((href) => ( - -
- {href.slice(1).charAt(0).toUpperCase() + href.slice(2)} -
- - ))} ->>>>>>> 383e7974f0a0fff21996aa91b2c8c87f53f89daa
@@ -187,55 +160,59 @@ const PageHeader = ({ prefLangCookie }: { prefLangCookie: string }) => {
{/* Mobile Navbar */} -
- +
+ Logo - - -
- - - - - - -
- {["/dashboard", "/auth/signup", "/faq"].map((href) => ( - -
- {href.slice(1).charAt(0).toUpperCase() + - href.slice(2)} -
- - ))} - {session ? : } -
-
-
-
- - - Star - - - Tweet - Post - -
+ + +
+ + + + + + +
+ {["/dashboard", "/auth/signup", "/faq"].map((href) => ( + + + {href.slice(1).charAt(0).toUpperCase() + href.slice(2)} + + + ))} + {session ? : } +
+
+
+
+ + + + Star + + + + Tweet Icon + Post +
+
+
);