Prettier format pending files
This commit is contained in:
parent
759bac69d8
commit
fa53797f25
1 changed files with 20 additions and 18 deletions
|
|
@ -60,24 +60,26 @@ export default function Layout({ children }: LayoutProps) {
|
||||||
|
|
||||||
{/* Navigation */}
|
{/* Navigation */}
|
||||||
<nav className="hidden md:flex items-center space-x-8">
|
<nav className="hidden md:flex items-center space-x-8">
|
||||||
{(user && profile ? userNavigation : navigation).map((item, index) => (
|
{(user && profile ? userNavigation : navigation).map(
|
||||||
<Link
|
(item, index) => (
|
||||||
key={item.name}
|
<Link
|
||||||
to={item.href}
|
key={item.name}
|
||||||
className={cn(
|
to={item.href}
|
||||||
"text-sm font-medium transition-all duration-300 hover:text-aethex-400 hover:scale-105 relative animate-fade-in",
|
className={cn(
|
||||||
location.pathname === item.href
|
"text-sm font-medium transition-all duration-300 hover:text-aethex-400 hover:scale-105 relative animate-fade-in",
|
||||||
? "text-aethex-500 animate-pulse-glow"
|
location.pathname === item.href
|
||||||
: "text-muted-foreground",
|
? "text-aethex-500 animate-pulse-glow"
|
||||||
)}
|
: "text-muted-foreground",
|
||||||
style={{ animationDelay: `${index * 0.1}s` }}
|
)}
|
||||||
>
|
style={{ animationDelay: `${index * 0.1}s` }}
|
||||||
{item.name}
|
>
|
||||||
{location.pathname === item.href && (
|
{item.name}
|
||||||
<div className="absolute -bottom-1 left-0 right-0 h-0.5 bg-gradient-to-r from-aethex-400 to-neon-blue animate-scale-in" />
|
{location.pathname === item.href && (
|
||||||
)}
|
<div className="absolute -bottom-1 left-0 right-0 h-0.5 bg-gradient-to-r from-aethex-400 to-neon-blue animate-scale-in" />
|
||||||
</Link>
|
)}
|
||||||
))}
|
</Link>
|
||||||
|
),
|
||||||
|
)}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{/* Auth Section */}
|
{/* Auth Section */}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue