diff --git a/src/App.jsx b/src/App.jsx index 3c1486a..6f3db8c 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -6,24 +6,28 @@ import Login from './Pages/Login'; import Signup from './Pages/SIgnup'; // Fix casing for Signup import Dashboard from './Pages/Dashboard'; import Profile from './Pages/profile'; +import Footer from './components/Footer'; const Layout = () => { return ( - <> +
- - +
+ +
+
); } + function App() { return ( }> - - } /> + } /> } /> } /> } /> diff --git a/src/Pages/Dashboard.jsx b/src/Pages/Dashboard.jsx index 845adbe..712b6cc 100644 --- a/src/Pages/Dashboard.jsx +++ b/src/Pages/Dashboard.jsx @@ -2,7 +2,7 @@ import image1 from '../Assets/nda.jpeg' import image2 from '../Assets/ssc.jpg' import image3 from '../Assets/sbi.jpg' import image4 from '../Assets/cds.jpg' -import Govlogo from '../Assets/govlogo.jpg' +// import Govlogo from '../Assets/govlogo.jpg' const Dashboard = () => { @@ -144,17 +144,6 @@ const Dashboard = () => { {/* Footer section */} -
-
-
- - © Government of India -
-
-

Toll Free Contact Number : 0000 0000

-
-
-
); diff --git a/src/components/Body.jsx b/src/components/Body.jsx index c8b30ee..f198fcc 100644 --- a/src/components/Body.jsx +++ b/src/components/Body.jsx @@ -1,10 +1,12 @@ - const Body = () => { return ( -
-

Body

+
+

Body

+

+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Illo id sunt quam unde velit officia enim ad iusto nulla, fugit odit saepe consequuntur tenetur beatae, laboriosam, dolore sint? Non, debitis! +

- ) + ); } -export default Body +export default Body; diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx new file mode 100644 index 0000000..9fb497c --- /dev/null +++ b/src/components/Footer.jsx @@ -0,0 +1,19 @@ +const Footer = () => { + return ( +
+
+
+
+ © Government of India +
+
+

Toll-Free Contact Number: 1800 000 0000

+
+
+
+
+ ); + }; + + export default Footer; + \ No newline at end of file diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index b3211ed..419fec3 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -1,27 +1,38 @@ +import { useState } from "react"; import { Link } from "react-router-dom"; import { FaUserCircle } from "react-icons/fa"; +import { FaBars, FaTimes } from "react-icons/fa"; import Image from "../Assets/image.png"; const Navbar = () => { + const [isOpen, setIsOpen] = useState(false); + + const toggleMenu = () => { + setIsOpen(!isOpen); + }; + return ( -
- {/* Logo Section */} +
+
Logo
- {/* Nav Links Section */} -
+ +
+ {isOpen ? : } +
+ + +
Dashboard - - {/* Login/Sign Up Button */} { Sign Up - {/* Profile with Icon */} {
); }; + export default Navbar; diff --git a/src/index.css b/src/index.css index bd6213e..1e6a31e 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,13 @@ @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; + +/* Your custom styles below */ +html, body { + height: 100%; + margin: 0; /* Remove default margin */ +} + +.min-h-screen { + min-height: 100vh; /* Ensures the layout takes at least the full viewport height */ +}