mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-03-24 05:44:20 +00:00
Plenty of fixes, added missing pages.
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user