Refactor event date handling in EventsSection and PlayerStats components: Serialize event dates for consistent formatting and update date display to use localized string representation. Remove profile link from Navigation and integrate it into PlayerStats for improved user experience.

This commit is contained in:
Julien Froidefond
2025-12-10 05:49:44 +01:00
parent a6c329ff15
commit 95e580aff6
4 changed files with 33 additions and 24 deletions

View File

@@ -80,12 +80,6 @@ export default function Navigation({
{isAuthenticated ? (
<>
<PlayerStats initialUserData={initialUserData} />
<Link
href="/profile"
className="text-white hover:text-pixel-gold transition text-xs font-normal uppercase tracking-widest"
>
PROFIL
</Link>
<button
onClick={() => signOut()}
className="text-gray-400 hover:text-pixel-gold transition text-xs font-normal uppercase tracking-widest"