From 3bb2dfc009f1c93c5c49c3dbea1a9b32c5af3cec Mon Sep 17 00:00:00 2001 From: R0m1k3 Date: Thu, 16 Apr 2026 15:15:28 +0200 Subject: [PATCH] feat: implement authentication routing, episode details slide-over, and success notification modal --- frontend/src/App.tsx | 2 +- frontend/src/components/EpisodeDetails.tsx | 2 +- frontend/src/components/SuccessModal.tsx | 28 +++++++++---------- frontend/src/pages/Login.tsx | 32 ++++++++++++---------- 4 files changed, 34 insertions(+), 30 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index f569483..94fbb95 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -27,7 +27,7 @@ function ProtectedRoute({ children }: { children: React.ReactNode }) { } return ( -
+
diff --git a/frontend/src/components/EpisodeDetails.tsx b/frontend/src/components/EpisodeDetails.tsx index a5b2e0a..060ad5a 100644 --- a/frontend/src/components/EpisodeDetails.tsx +++ b/frontend/src/components/EpisodeDetails.tsx @@ -109,7 +109,7 @@ export default function EpisodeDetails({ episode, isOpen, onClose, onPlay }: Epi

À propos de cet épisode

diff --git a/frontend/src/components/SuccessModal.tsx b/frontend/src/components/SuccessModal.tsx index 3b2b550..7230685 100644 --- a/frontend/src/components/SuccessModal.tsx +++ b/frontend/src/components/SuccessModal.tsx @@ -24,43 +24,43 @@ export default function SuccessModal({
{/* Backdrop */}
{/* Modal Content */} -
+
{/* Decorative Aura */} -
+
{/* Header Actions */} - {/* Icon */} -
- +
+
-

+

{message}

-

Nouveau membre de votre univers

+

Nouveau membre de votre univers

-
-
+
+
{podcastImage ? ( {podcastTitle} ) : ( -
🎙️
+
🎙️
)}
-

{podcastTitle}

+

{podcastTitle}

{podcastAuthor && ( -

{podcastAuthor}

+

{podcastAuthor}

)}
@@ -78,7 +78,7 @@ export default function SuccessModal({ diff --git a/frontend/src/pages/Login.tsx b/frontend/src/pages/Login.tsx index b5c20ff..e2ac04e 100644 --- a/frontend/src/pages/Login.tsx +++ b/frontend/src/pages/Login.tsx @@ -47,31 +47,33 @@ export default function Login() { }; return ( -
+
{/* Background Auras */} -
-
+
+
{/* Logo & Header */}
-
+
🎙️
-

PODCASTIC

-
+

PODCASTIC

+
Expérience Audio Premium
{/* Form Card */} -
-
+
+