Skip to content

Commit

Permalink
added youtube links to static data
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed Apr 27, 2024
1 parent d0039c0 commit 707bae2
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions src/components/presentation/Presentation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ export default async function Presentation({ presentation, isFrontPage }: Presen
</div>
</div>
<div className='sm:w-full md:w-6/7 lg:w-5/6 mx-auto mt-8'>
{presentation.questionsUrl && !isFrontPage && (
<YoutubeVideo title={presentation.title} url={presentation.questionsUrl} />
{presentation.videoUrl && !isFrontPage && (
<YoutubeVideo title={presentation.title} url={presentation.videoUrl} />
)}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/models/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface Presentation {
startTime: string;
endTime: string;
description: string;
questionsUrl: string; // még kérdéses, hogy így lesz-e
videoUrl: string;
imageUrls?: string[];
placeholder?: boolean;
}
Expand Down
Loading

0 comments on commit 707bae2

Please sign in to comment.