Plenty of fixes, added missing pages.

This commit is contained in:
2025-04-30 13:50:45 +03:00
parent 2cd333f394
commit 06c0b5cb2c
9 changed files with 55 additions and 26 deletions

View File

@@ -1,15 +1,19 @@
// Icons
import { Menu } from "lucide-react";
import { MdClose, MdMenu } from "react-icons/md";
// Fonts
import { vipnagorgialla } from "@/app/layout";
const Header = ({ toggleSidebar }: { toggleSidebar: () => void }) => (
const Header = ({ isOpen, toggleSidebar }: { isOpen: boolean; toggleSidebar: () => void }) => (
<header className="h-16 flex items-center bg-[#EEE5E5] border-b-3 border-[#007CAB] justify-between px-12 text-[#2A2C3F]">
<button onClick={toggleSidebar}>
<Menu className="h-12 w-12 text-[#2A2C3F]" />
{isOpen ? (
<MdClose className="h-12 w-12 text-[#2A2C3F]" />
) : (
<MdMenu className="h-12 w-12 text-[#2A2C3F]" />
)}
</button>
<p className={`text-3xl ${vipnagorgialla.className} font-bold italic`}>ENG</p>
<p className={`text-3xl ${vipnagorgialla.className} font-bold italic hidden`}>ENG</p>
</header>
);