Skip to content

Commit

Permalink
added british flag to english presentations
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed Feb 17, 2024
1 parent dc48ba2 commit fddc8e7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
16 changes: 16 additions & 0 deletions public/img/uk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/components/presentation/Presentation.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import clsx from 'clsx';
import Image from 'next/image';
import Link from 'next/link';
import { FaArrowLeft } from 'react-icons/fa';

import { Presentation } from '@/models/models';
import slugify from '@/utils/slugify';

import uk from '../../../public/img/uk.svg';

type PresentationProps = {
presentation: Presentation;
isFrontPage?: boolean | undefined;
Expand Down Expand Up @@ -71,6 +74,12 @@ export default async function Presentation({ presentation, isFrontPage }: Presen
/>
</div>
)}
{presentation.language === 'en' && (
<div className='flex mt-2 gap-2'>
<Image src={uk} alt='Egyesült Királyság zászlója' width={50} height={25} className='rounded-xl' />
<p className='text-lg'>Az előadás angol nyelvű.</p>
</div>
)}
</div>
</div>
</div>
Expand Down

0 comments on commit fddc8e7

Please sign in to comment.