diff --git a/src/assets/LogoSite.png b/src/assets/LogoSite.png new file mode 100644 index 0000000..099badf Binary files /dev/null and b/src/assets/LogoSite.png differ diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index e5c95b0..3bbec0d 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1,12 +1,78 @@ import React from "react"; -import { AppBar, Toolbar, Typography, Button, Box } from "@mui/material"; -import { MenuOutlined } from "@ant-design/icons"; +import { + AppBar, + Toolbar, + Typography, + Button, + Box, + IconButton, + Drawer, + List, + ListItem, + ListItemButton, + ListItemText, + Menu, + MenuItem, +} from "@mui/material"; +import { MenuOutlined, UserOutlined } from "@ant-design/icons"; import { Link } from "react-router-dom"; +import { useState } from "react"; +import Logo from "../assets/LogoSite.png"; const Navbar: React.FC = () => { + const [mobileOpen, setMobileOpen] = useState(false); + const [anchorEl, setAnchorEl] = useState(null); + const open = Boolean(anchorEl); + + const handleDrawerToggle = () => { + setMobileOpen(!mobileOpen); + }; + + const handleMenuClick = (event: React.MouseEvent) => { + setAnchorEl(event.currentTarget); + }; + + const handleMenuClose = () => { + setAnchorEl(null); + }; + + const drawer = ( + + + SponsoHive + + + + + + + + + + + + + + + + + + + + ); + return ( { margin: 0, boxSizing: "border-box", }} + className="shadow-lg" > - + {/* Left Section */} - - - Sponsorship Platform - + + + Logo +

+ SponsoHive +

- {/* Right Section: Navigation Buttons */} - + {/* Right Section */} + - - - - - - - - - - - - + +
+ + {drawer} +
); }; diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 1d0fe6f..0ca641f 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -2,12 +2,12 @@ import React from "react"; import { LoginButton } from "../components/LoginButton"; import { Layout, Row, Col, Card } from "antd"; import { Button, Box } from "@mui/material"; +import { Link } from "react-router-dom"; // Import Link import BGimg from "../assets/cardBG.jpg"; import Nav_Img from "../assets/main-image.jpg"; -import Navbar from "../components/Navbar"; +import Navbar from "../components/Navbar"; import Footer from "../components/Footer"; - const { Content } = Layout; const coreFeatures = [ @@ -180,12 +180,32 @@ const Home: React.FC = () => {

{feature.title}

{feature.description}

- + {feature.title === "Email Campaign Automation" ? ( + + + + ) : feature.title === "Performance Analytics" ? ( + + + + ) : ( + + )} ))}