diff --git a/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx b/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx
index c44442e..91d95f8 100644
--- a/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx
+++ b/Websites/jefes-nextjs/app/components/NavBar/NavBar.tsx
@@ -4,15 +4,24 @@ import Link from "next/link";
import Image from "next/image";
import { usePathname } from "next/navigation";
import classnames from "classnames";
-import { GiHamburgerMenu } from "react-icons/gi";
-import { MdOutlineRestaurantMenu } from "react-icons/md";
import Reserve from "./reserveButton";
import "./NavBar.css";
+import { GiHamburgerMenu } from "react-icons/gi";
+import {
+ AiOutlineInstagram,
+ AiOutlineFacebook,
+ AiOutlineTwitter,
+} from "react-icons/ai";
+import { FaTiktok } from "react-icons/fa";
const NavBar = () => {
const currentPath = usePathname();
console.log(currentPath);
- const [toggle_menu, set_toggle_menu] = useState(false);
+ const [menu_open, set_menu_open] = useState(false);
+
+ const handleNav = () => {
+ set_menu_open(!menu_open);
+ };
// Create an array to hold the list items
const links = [
@@ -114,38 +123,77 @@ const NavBar = () => {
/>
-
-
set_toggle_menu(true)}
- />
- {toggle_menu && (
-
-
set_toggle_menu(false)}
- />
-
- {links.map((link) => (
-
- {link.label}
-
- ))}
-
-
- )}
+
+
+
+
+
+
+
+ {links.map((link) => (
+ set_menu_open(false)}
+ className={classnames({
+ "border-b-2 border-white text-red-700":
+ link.href === currentPath,
+ "text-red-700": link.href !== currentPath,
+ "hover:text-red-700": true,
+ })}
+ href={link.href}
+ >
+ {link.label}
+
+ ))}
+
+
+ {links2.map((link) => (
+ set_menu_open(false)}
+ className={classnames({
+ "border-b-2 border-white text-red-700":
+ link.href === currentPath,
+ "text-red-700": link.href !== currentPath,
+ "hover:text-red-700": true,
+ })}
+ href={link.href}
+ >
+ {link.label}
+
+ ))}
+
+
+
);
diff --git a/Websites/jefes-nextjs/tailwind.config.ts b/Websites/jefes-nextjs/tailwind.config.ts
index 0377ea1..52b43b8 100644
--- a/Websites/jefes-nextjs/tailwind.config.ts
+++ b/Websites/jefes-nextjs/tailwind.config.ts
@@ -2,11 +2,11 @@
module.exports = {
darkMode: ["class"],
content: [
- './pages/**/*.{ts,tsx}',
- './components/**/*.{ts,tsx}',
- './app/**/*.{ts,tsx}',
- './src/**/*.{ts,tsx}',
- ],
+ "./pages/**/*.{ts,tsx}",
+ "./components/**/*.{ts,tsx}",
+ "./app/**/*.{ts,tsx}",
+ "./src/**/*.{ts,tsx}",
+ ],
theme: {
container: {
center: true,
@@ -22,6 +22,7 @@ module.exports = {
ring: "hsl(var(--ring))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
+ jefesRed: "#B3121E",
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
@@ -73,4 +74,4 @@ module.exports = {
},
},
plugins: [require("tailwindcss-animate")],
-}
\ No newline at end of file
+};