feat: styles
This commit is contained in:
@@ -1,46 +1,4 @@
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import baldothSvg from "@/assets/baldoth.min.svg";
|
||||
|
||||
const TITLE = ` █████ ██ ██
|
||||
██████ █████ █████ █
|
||||
██ █ █ █████ █████ ███
|
||||
█ █ █ █ ██ █ ██ █
|
||||
█ █ █ █ ███ ████ ████ ████
|
||||
██ ██ █ █ ███ ████ ████ ████ █ █ ███ ████ ████ █ ███ ████ ████ ████ ███ ████ █ ███ ████ ████
|
||||
██ ██ █ █ ███ █ ███ █ ██ ████ █ ████ ████ ████ █ █ ████ ███ ████ ███ █ ███ █ ███ █ █ ████ ████ ████ █
|
||||
██ ██ █ █ ██ █ ████ ██ ██ ██ ██ ████ ██ ██ ██ ████ ████ ██ █ ████ ██ ██ ██ ████
|
||||
██ ██ █ █ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
██ ██ █ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
█ ██ █ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
█ █ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
████ █ ██ ██ ███ █ ███ ██████ ██ ██ ██████ ██ ██ ██ ██ ███ █ ██████ ██ ██
|
||||
█ █████ ██ ███ █ ███████ ███ ████ ███ ███ ████ ███ ███ ███ ███ █ ███████ ████ ███ ███
|
||||
█ ██ ███ █████ ███ ███ ███ ███ ███ ███ █████ ███ ███
|
||||
█
|
||||
█
|
||||
██`;
|
||||
|
||||
// NavBar removed — frame.svg is the visual wrapper now
|
||||
export default function NavBar() {
|
||||
const navigate = useNavigate();
|
||||
|
||||
return (
|
||||
<div className="flex flex-col items-center pt-6 pb-3 shrink-0 gap-2">
|
||||
<button
|
||||
onClick={() => navigate("/")}
|
||||
className="hover:opacity-80 transition-opacity cursor-pointer flex flex-col items-center gap-2"
|
||||
title="Go to Dashboard"
|
||||
>
|
||||
<div
|
||||
className="h-28 w-28"
|
||||
style={{
|
||||
backgroundColor: "var(--primary)",
|
||||
opacity: 0.5,
|
||||
mask: `url(${baldothSvg}) center/contain no-repeat`,
|
||||
WebkitMask: `url(${baldothSvg}) center/contain no-repeat`,
|
||||
}}
|
||||
/>
|
||||
<pre className="text-[4px] leading-[1] tracking-tighter select-none text-primary/40">{TITLE}</pre>
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user