diff --git a/src/components/Auth/SignInButton.tsx b/src/components/Auth/SignInButton.tsx index 74db578..7c8e024 100644 --- a/src/components/Auth/SignInButton.tsx +++ b/src/components/Auth/SignInButton.tsx @@ -18,7 +18,7 @@ export default function SignInButton({ className }: { className?: string }) { type="button" onClick={signInWithGoogle} className={cn( - "group relative flex items-center gap-2 px-4 py-2 rounded-full text-sm font-bold uppercase tracking-wider overflow-hidden", + "group relative inline-flex min-w-[7.5rem] items-center justify-center gap-1.5 whitespace-nowrap px-3.5 py-1.75 rounded-full text-sm font-bold uppercase tracking-wider overflow-hidden", "text-zinc-300 hover:text-white transition-all duration-300", className )} diff --git a/src/components/Common/Navbar/Navbar.tsx b/src/components/Common/Navbar/Navbar.tsx index 6de5197..23e4691 100644 --- a/src/components/Common/Navbar/Navbar.tsx +++ b/src/components/Common/Navbar/Navbar.tsx @@ -23,6 +23,17 @@ const linkKeys = [ { key: "jobs", href: "/jobs" }, ] as const; +const desktopNavWidthByKey: Record<(typeof linkKeys)[number]["key"], string> = { + home: "w-[7rem]", + profiles: "w-[6rem]", + editor: "w-[5.5rem]", + howTo: "w-[5.25rem]", + blog: "w-[4.5rem]", + jobs: "w-[5rem]", +}; + +const sparkleDriftX = [-10, 8, 14] as const; + /* ── Prismatic shimmer line along the navbar bottom ── */ const PrismBorder = () => (