From 603967999a48ceae1fe89b690f949476f64dc7db Mon Sep 17 00:00:00 2001
From: Ishika Ishani <112965737+ishani-1255@users.noreply.github.com>
Date: Sat, 21 Dec 2024 14:52:56 +0530
Subject: [PATCH] Update header.jsx
---
src/components/header.jsx | 47 ++++++++++++++++++++++++++++++++++-----
1 file changed, 42 insertions(+), 5 deletions(-)
diff --git a/src/components/header.jsx b/src/components/header.jsx
index 595da6a..63e8e34 100644
--- a/src/components/header.jsx
+++ b/src/components/header.jsx
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from "react";
import { motion, AnimatePresence } from "framer-motion";
-import { X, Menu } from "lucide-react";
+import { X, Menu, FileText } from "lucide-react";
const navigationItems = [
{ id: 1, label: "ABOUT", section: "about" },
@@ -86,6 +86,34 @@ const RegistrationClosedButton = ({ className }) => (
);
+const DocButton = ({ isMobile }) => (
+
+
+ DOC.TINYML
+
+);
+
+
+
// Navigation Component
export function Navbarlinks() {
const [isMenuOpen, setIsMenuOpen] = useState(false);
@@ -158,9 +186,10 @@ export function Navbarlinks() {
{item.label}
))}
+
-
+
{isMenuOpen && (
{item.label}
))}
+ {/* Mobile Doc Button */}
+
+ setIsMenuOpen(false)}
+ />
+
)}