Skip to content

Commit 118cc67

Browse files
Merge pull request #7 from StabilityNexus/InitialFrontend
Fixed Navigation and Connect button issue.
2 parents 6b973a4 + 5a32082 commit 118cc67

1 file changed

Lines changed: 20 additions & 14 deletions

File tree

components/navigation.tsx

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,27 @@ export function Navigation() {
1414
]
1515

1616
return (
17-
<div className="fixed top-4 left-1/2 -translate-x-1/2 z-50 flex items-center gap-4">
18-
<PillNav
19-
logo="/logo.svg"
20-
logoAlt="OracleNet Logo"
21-
items={navItems}
22-
activeHref={pathname}
23-
ease="power3.easeOut"
24-
baseColor="oklch(0.7 0.18 270)"
25-
pillColor="oklch(0.05 0 0)"
26-
hoveredPillTextColor="oklch(0.95 0 0)"
27-
pillTextColor="oklch(0.95 0 0)"
28-
/>
29-
<div className="ml-4">
17+
<>
18+
{/* Navigation in the center */}
19+
<div className="fixed top-4 left-0 right-0 z-50 flex justify-center">
20+
<PillNav
21+
logo="/logo.svg"
22+
logoAlt="OracleNet Logo"
23+
items={navItems}
24+
activeHref={pathname}
25+
ease="power3.easeOut"
26+
baseColor="oklch(0.7 0.18 270)"
27+
pillColor="oklch(0.05 0 0)"
28+
hoveredPillTextColor="oklch(0.95 0 0)"
29+
pillTextColor="oklch(0.95 0 0)"
30+
className="!relative !top-0 !left-0 !w-auto"
31+
/>
32+
</div>
33+
34+
{/* Connect button on the right */}
35+
<div className="fixed top-4 right-6 z-50">
3036
<ConnectButton />
3137
</div>
32-
</div>
38+
</>
3339
)
3440
}

0 commit comments

Comments
 (0)