File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments