style: Move video into bento grid left column for better layout flow
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
This commit is contained in:
parent
d706a777a7
commit
735fd1a6ea
1 changed files with 18 additions and 18 deletions
|
|
@ -142,26 +142,26 @@ export default async function PerformanceDetailPage({ params }: { params: Promis
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{/* Video Section - Show when performance has a video */}
|
||||
{performance.youtube_link && (
|
||||
<Card className="border-2 border-red-500/20 bg-gradient-to-br from-red-500/5 to-transparent max-w-3xl">
|
||||
<CardHeader>
|
||||
<CardTitle className="flex items-center gap-2">
|
||||
<Youtube className="h-5 w-5 text-red-500" />
|
||||
Video
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<YouTubeEmbed
|
||||
url={performance.youtube_link}
|
||||
title={`${performance.song.title} - ${formattedDate}`}
|
||||
/>
|
||||
</CardContent>
|
||||
</Card>
|
||||
)}
|
||||
|
||||
<div className="grid gap-6 md:grid-cols-[1fr_300px]">
|
||||
<div className="flex flex-col gap-6">
|
||||
{/* Video Section - Show when performance has a video */}
|
||||
{performance.youtube_link && (
|
||||
<Card className="border-2 border-red-500/20 bg-gradient-to-br from-red-500/5 to-transparent">
|
||||
<CardHeader className="pb-2">
|
||||
<CardTitle className="text-sm font-medium text-muted-foreground flex items-center gap-2">
|
||||
<Youtube className="h-4 w-4 text-red-500" />
|
||||
Video
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<YouTubeEmbed
|
||||
url={performance.youtube_link}
|
||||
title={`${performance.song.title} - ${formattedDate}`}
|
||||
/>
|
||||
</CardContent>
|
||||
</Card>
|
||||
)}
|
||||
|
||||
{/* Version Navigation - Prominent */}
|
||||
<Card className="border-2">
|
||||
<CardHeader className="pb-2">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue