diff --git a/index.html b/index.html index af18858..e1c76b1 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ Anveshan +
diff --git a/package.json b/package.json index 107b6a9..d1b982a 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "@material-tailwind/react": "^2.1.9", "framer-motion": "^11.0.12", "lottie-react": "^2.4.0", + "lucide-react": "^0.359.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-hot-toast": "^2.4.1", diff --git a/src/App.css b/src/App.css index e69de29..9f32e88 100644 --- a/src/App.css +++ b/src/App.css @@ -0,0 +1,9 @@ +.button{ + color: rgb(255, 117, 4); +} + +@media (max-width: 800px){ +.nav{ + background-color: black; + padding-bottom: 4px; +}} \ No newline at end of file diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 5c5f542..b552fe7 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -1,21 +1,48 @@ import React from 'react' import {Link} from 'react-router-dom' import Anveshan_Logo from '../../public/AnvLogo.svg' - +import { useState } from 'react'; +import { Menu,X } from 'lucide-react'; +import '../App.css' const Navbar = () => { + const [isOpen, setIsOpen]=useState(false); + + const toggleNavbar=()=>{ + setIsOpen(!isOpen); + } + return ( -
+
+
- Anveshan_Logo -
+ Anveshan_Logo + +
- + + +
+
+
+ {isOpen && ( +
+ + + + +
+ )} + + +
+ + ) } export default Navbar \ No newline at end of file diff --git a/src/index.css b/src/index.css index f1d464a..250f157 100644 --- a/src/index.css +++ b/src/index.css @@ -69,3 +69,5 @@ @apply absolute left-4 top-1/2 -translate-y-1/2; } } + + diff --git a/src/pages/Contact.jsx b/src/pages/Contact.jsx index b1d1bc7..8ab9af7 100644 --- a/src/pages/Contact.jsx +++ b/src/pages/Contact.jsx @@ -9,7 +9,9 @@ const Contact = () => { return ( <> - + + +
{ }} className="bg-[#000000] w-full h-full" > + +

Contact Us

diff --git a/src/pages/Events.jsx b/src/pages/Events.jsx index d249a43..58897fa 100644 --- a/src/pages/Events.jsx +++ b/src/pages/Events.jsx @@ -8,12 +8,11 @@ import Navbar from '../components/Navbar'; const Events = () => { return ( <> - +
- +
-

Event s

-

Home /Events

+

Event s

diff --git a/src/pages/Homepage.jsx b/src/pages/Homepage.jsx index c56a8d2..3d424d2 100644 --- a/src/pages/Homepage.jsx +++ b/src/pages/Homepage.jsx @@ -16,7 +16,7 @@ const Homepage = () => { return ( <> - +

{ }} className="bg-[#000000] w-full h-full" > +
{" "}