@ -408,7 +408,28 @@ export default function Navigation({ pageTitle }: NavigationProps) {
< / div >
< / div >
< span className = "font-medium text-slate-900" > { t ( "What's my level?" ) } < / span >
< span className = "font-medium text-slate-900" > { t ( "What's my level?" ) } < / span >
< / Link >
< / Link >
< / motion.div >
< / motion.div >
{ /* Admin Section */ }
< div className = "my-4 border-t border-slate-100" > < / div >
< motion.div
custom = { 4 }
variants = { menuItemVariants }
initial = "closed"
animate = "open"
>
< Link
href = { localizedLink ( "/admin/clubs" ) }
onClick = { closeMenu }
className = "flex items-center space-x-3 p-4 rounded-xl hover:bg-slate-50 transition-colors duration-200 group"
>
< div className = "p-2 rounded-lg bg-purple-100 group-hover:bg-purple-200 transition-colors duration-200" >
< Settings className = "w-5 h-5 text-purple-700" / >
< / div >
< span className = "font-medium text-slate-900" > { t ( 'Venue Admin' ) } < / span >
< / Link >
< / motion.div >
< / >
< / >
) }
) }
@ -416,7 +437,7 @@ export default function Navigation({ pageTitle }: NavigationProps) {
< div className = "my-4 border-t border-slate-100" > < / div >
< div className = "my-4 border-t border-slate-100" > < / div >
< motion.div
< motion.div
custom = { isLoggedIn ? 4 : 2 }
custom = { isLoggedIn ? 5 : 2 }
variants = { menuItemVariants }
variants = { menuItemVariants }
initial = "closed"
initial = "closed"
animate = "open"
animate = "open"
@ -476,7 +497,7 @@ export default function Navigation({ pageTitle }: NavigationProps) {
{ isLoggedIn && (
{ isLoggedIn && (
< div className = "flex items-center gap-3" >
< div className = "flex items-center gap-3" >
< motion.div
< motion.div
custom = { 5 }
custom = { 6 }
variants = { menuItemVariants }
variants = { menuItemVariants }
initial = "closed"
initial = "closed"
animate = "open"
animate = "open"
@ -494,7 +515,7 @@ export default function Navigation({ pageTitle }: NavigationProps) {
< / Link >
< / Link >
< / motion.div >
< / motion.div >
< motion.div
< motion.div
custom = { 6 }
custom = { 7 }
variants = { menuItemVariants }
variants = { menuItemVariants }
initial = "closed"
initial = "closed"
animate = "open"
animate = "open"