mirror of
https://github.com/R0m1k3/podcastic.git
synced 2026-10-21 05:58:03 +02:00
Merge branch 'main' of https://github.com/R0m1k3/podcastic
This commit is contained in:
commit
35f34d9d44
7 files changed
+81
-28
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import { Episode } from '../services/episodeService';
|
||||
import { Play, Pause, Calendar, Activity, Check, CheckCircle2, Circle } from 'lucide-react';
|
||||
import { Play, Pause, Calendar, Activity, CheckCircle2, Circle } from 'lucide-react';
|
||||
import { useAudio } from '../context/AudioContext';
|
||||
|
||||
interface EpisodeCardProps {
|
||||
@@ -75,7 +75,6 @@ export default function EpisodeCard({ episode, onPlay, onDetails, onToggleRead }
|
||||
<div className="absolute top-3 left-3 flex items-center gap-2 z-10">
|
||||
{isCompleted && (
|
||||
<div className="px-2.5 py-1 rounded-lg bg-emerald-500/90 backdrop-blur-md border border-emerald-300/30 text-[9px] font-black text-white uppercase tracking-widest flex items-center gap-1 shadow-lg">
|
||||
<Check className="w-3 h-3" />
|
||||
LU
|
||||
</div>
|
||||
)}
|
||||
@@ -112,7 +111,7 @@ export default function EpisodeCard({ episode, onPlay, onDetails, onToggleRead }
|
||||
<div className="flex-1 flex flex-col">
|
||||
<div className="flex items-center gap-2 mb-2">
|
||||
<span className="text-[9px] font-black text-[var(--accent-primary)] uppercase tracking-[0.2em] truncate flex-1">
|
||||
{podcast?.author || 'Artiste Premium'}
|
||||
{podcast?.author || ''}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -140,7 +139,7 @@ export default function EpisodeCard({ episode, onPlay, onDetails, onToggleRead }
|
||||
? <CheckCircle2 className="w-3.5 h-3.5" />
|
||||
: <Circle className="w-3.5 h-3.5" />
|
||||
}
|
||||
<span>{isCompleted ? 'Lu' : 'Lu ?'}</span>
|
||||
<span>{isCompleted ? 'Lu' : 'Marquer'}</span>
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -40,7 +40,7 @@ export default function Header({ title, subtitle, user, onLogout }: HeaderProps)
|
||||
<div className="flex items-center gap-4 sm:gap-6">
|
||||
<div className="hidden sm:flex flex-col items-end">
|
||||
<span className="text-sm font-bold tracking-wide">{user.username}</span>
|
||||
<span className="text-[10px] font-medium text-[var(--text-secondary)] uppercase tracking-widest">Premium Member</span>
|
||||
<span className="text-[10px] font-medium text-[var(--text-secondary)] uppercase tracking-widest">Membre</span>
|
||||
</div>
|
||||
<div className="relative group/profile">
|
||||
<div className="w-12 h-12 rounded-2xl p-[1px] bg-gradient-to-tr from-[var(--accent-primary)] to-[var(--accent-secondary)] transition-all">
|
||||
|
||||
@@ -26,7 +26,7 @@ export default function Navigation() {
|
||||
</div>
|
||||
<div className="flex flex-col">
|
||||
<span className="text-xl font-display font-extrabold tracking-tight">PODCASTIC</span>
|
||||
<span className="text-[10px] text-[var(--text-secondary)] font-bold uppercase tracking-[0.2em]">Premium Audio</span>
|
||||
<span className="text-[10px] text-[var(--text-secondary)] font-bold uppercase tracking-[0.2em]">Your audio space</span>
|
||||
</div>
|
||||
</Link>
|
||||
|
||||
|
||||
Reference in new issue
Block a user