Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/lib/components/layout/TopNavbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ export function TopNavbar() {
);

return (
<div className="w-full shadow-sm backdrop-blur-xl dark:shadow-lg">
<div className="sticky top-0 z-50 w-full shadow-sm backdrop-blur-xl dark:shadow-lg">
<div className="w-full px-4 sm:px-6 lg:px-8">
<div className="flex items-center justify-between py-4">
{/* Left - Logo */}
<div className="flex items-center">
<div className="flex flex-1 items-center">
<Link href="/" className="flex items-center">
<Image src={resolveAssetPath(tokenConfig.favicon, router.basePath)} alt="Gluon Logo" width={28} height={28} priority />
{isDesktop && <p className="ml-2 font-sans text-2xl font-medium">{tokenConfig.protocolName}</p>}
Expand All @@ -68,7 +68,7 @@ export function TopNavbar() {
</div>

{/* Right - Actions */}
<div className="flex items-center gap-2">
<div className="flex flex-1 items-center justify-end gap-2">
<ThemeToggle />
{pathname?.startsWith("/reactor") || pathname?.startsWith("/test") || pathname?.startsWith("/swap") || pathname?.startsWith("/history") ? <WalletConnector /> : null}
</div>
Expand Down