diff --git a/public/img/uk.svg b/public/img/uk.svg new file mode 100644 index 0000000..9131483 --- /dev/null +++ b/public/img/uk.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/presentation/Presentation.tsx b/src/components/presentation/Presentation.tsx index 545dd78..9b53cab 100644 --- a/src/components/presentation/Presentation.tsx +++ b/src/components/presentation/Presentation.tsx @@ -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; @@ -71,6 +74,12 @@ export default async function Presentation({ presentation, isFrontPage }: Presen /> )} + {presentation.language === 'en' && ( +
+ Egyesült Királyság zászlója +

Az előadás angol nyelvű.

+
+ )}