Fix admin user id from URL params, raise landing logo/buttons

This commit is contained in:
Wycz
2026-09-08 09:25:56 +02:00
parent 7556b2cd97
commit 2665fadeeb
2 changed files with 21 additions and 12 deletions
+8 -8
View File
@@ -12,9 +12,9 @@ export default function LandingPage() {
return (
<main className="min-h-screen flex flex-col">
<Header />
<div className="flex flex-1 flex-col items-center justify-center px-4 py-8">
<div className="mb-8 mt-4 text-center">
<div className="mx-auto mb-4 h-24 w-24 overflow-hidden rounded-full border-2 border-primary-500">
<div className="flex flex-1 flex-col items-center justify-center px-4 pt-2 pb-8">
<div className="mb-6 mt-0 text-center">
<div className="mx-auto mb-4 h-20 w-20 overflow-hidden rounded-full border-2 border-primary-500 sm:h-24 sm:w-24">
<img
src="/images/logo-muaythai.jpg"
alt="Juanito Logo"
@@ -32,9 +32,9 @@ export default function LandingPage() {
<div className="grid w-full max-w-2xl grid-cols-2 gap-3 sm:gap-4">
<Link
href="/muay-thai"
className="group flex flex-col items-center justify-center rounded-2xl border border-primary-600/40 bg-gradient-to-br from-primary-800/40 to-dark-800 px-3 py-5 text-center shadow-xl transition-all hover:scale-[1.02] hover:border-primary-500 active:scale-95 sm:rounded-3xl sm:px-6 sm:py-8"
className="group flex flex-col items-center justify-center rounded-2xl border border-primary-600/40 bg-gradient-to-br from-primary-800/40 to-dark-800 px-3 py-4 text-center shadow-xl transition-all hover:scale-[1.02] hover:border-primary-500 active:scale-95 sm:rounded-3xl sm:px-6 sm:py-7"
>
<span className="mb-2 h-14 w-14 overflow-hidden rounded-full border-2 border-primary-500 sm:mb-3 sm:h-20 sm:w-20">
<span className="mb-2 h-12 w-12 overflow-hidden rounded-full border-2 border-primary-500 sm:mb-3 sm:h-20 sm:w-20">
<img
src="/images/logo-muaythai.jpg"
alt="Muay Thai"
@@ -51,9 +51,9 @@ export default function LandingPage() {
<Link
href="/yog4fight"
className="group flex flex-col items-center justify-center rounded-2xl border border-emerald-500/40 bg-gradient-to-br from-emerald-800/40 to-dark-800 px-3 py-5 text-center shadow-xl transition-all hover:scale-[1.02] hover:border-emerald-400 active:scale-95 sm:rounded-3xl sm:px-6 sm:py-8"
className="group flex flex-col items-center justify-center rounded-2xl border border-emerald-500/40 bg-gradient-to-br from-emerald-800/40 to-dark-800 px-3 py-4 text-center shadow-xl transition-all hover:scale-[1.02] hover:border-emerald-400 active:scale-95 sm:rounded-3xl sm:px-6 sm:py-7"
>
<span className="mb-2 h-14 w-14 overflow-hidden rounded-full border-2 border-emerald-500 sm:mb-3 sm:h-20 sm:w-20">
<span className="mb-2 h-12 w-12 overflow-hidden rounded-full border-2 border-emerald-500 sm:mb-3 sm:h-20 sm:w-20">
<img
src="/images/logo-yoga.png"
alt="Yog4Fight"
@@ -72,7 +72,7 @@ export default function LandingPage() {
{isAdmin && (
<Link
href="/admin"
className="btn-secondary mt-8 text-sm"
className="btn-secondary mt-6 text-sm"
>
⚙️ Tableau de bord admin
</Link>