Little rework
This commit is contained in:
@@ -10,6 +10,7 @@ export function Navbar() {
|
||||
|
||||
const navItems = [
|
||||
{ label: "Home", path: "/" },
|
||||
{ label: "Projects", path: "/projects" },
|
||||
{ label: "Connect", path: "/contact" },
|
||||
];
|
||||
|
||||
@@ -18,7 +19,7 @@ export function Navbar() {
|
||||
};
|
||||
|
||||
return (
|
||||
<nav className="fixed top-4 left-1/2 z-[100] w-[min(100vw-1rem,400px)] -translate-x-1/2 sm:top-8 sm:w-[min(90%,400px)]">
|
||||
<nav className="fixed top-4 left-1/2 z-[100] w-[min(100vw-1rem,460px)] -translate-x-1/2 sm:top-8 sm:w-[min(90%,460px)]">
|
||||
<div className="bg-black/20 backdrop-blur-xl border border-white/10 rounded-full px-3 py-2 sm:px-6 sm:py-3 flex items-center justify-between gap-2 sm:gap-4 shadow-2xl">
|
||||
{navItems.map((item) => (
|
||||
<Link
|
||||
|
||||
Reference in New Issue
Block a user