ZoeysBits/src/TopBar.js

42 lines
2.1 KiB
JavaScript
Raw Normal View History

2024-01-14 11:24:34 +01:00
const TopBar = () => {
return (
2024-06-12 21:33:58 +02:00
<div className="fixed top-0 left-0 h-12 w-screen flex flex-row bg-primary text-secondary
2024-01-15 13:47:31 +01:00
shadow-md justify-center items-center space-x-2">
2024-01-14 11:24:34 +01:00
<div className="topbar-clickables">
2024-06-12 21:33:58 +02:00
<div className="flex items-center justify-center overflow-hidden">
<div className="Teardrop">
2024-06-12 21:33:58 +02:00
<div className="fixed mt-12 top-0 left-0 w-60">
<img draggable="false" src={process.env.PUBLIC_URL + "/teardropdark.svg"} alt="Teardrop"/>
</div>
</div>
2024-01-15 13:47:31 +01:00
<div className="BunnyLogo">
2024-06-12 21:33:58 +02:00
<div className="fixed top-0 left-0 ml-3">
2024-01-15 13:47:31 +01:00
<img draggable="false" src={process.env.PUBLIC_URL + "/bunnie96px.svg"} alt="Bunnie"/>
</div>
2024-01-14 11:24:34 +01:00
</div>
2024-06-12 21:33:58 +02:00
<div className="flex ml-40">
<p className="mr-20 top-1 left-28 fixed HeaderName">Zoey's Bits</p>
<div className="">
<button className="mx-3 HeaderButt">News</button>
2024-01-14 11:24:34 +01:00
</div>
2024-06-12 21:33:58 +02:00
<div className="">
<button className="mx-3 HeaderButt">Projects</button>
2024-01-14 11:24:34 +01:00
</div>
2024-06-12 21:33:58 +02:00
<div className="">
<button className="mx-3 HeaderButt">About</button>
2024-01-14 11:24:34 +01:00
</div>
</div>
2024-01-14 12:05:03 +01:00
<div className="fixed right-0 mr-6">
2024-01-14 11:24:34 +01:00
<div className="DarkModeButton">
2024-01-14 12:05:03 +01:00
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="half-crescent-moon">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
2024-06-12 21:33:58 +02:00
</svg>
2024-01-14 11:24:34 +01:00
</div>
</div>
</div>
</div>
</div>
);
};
export default TopBar;