|
1 | 1 | import { Metadata } from "next"; |
2 | | -import Image from "next/image"; |
3 | 2 | import { getTranslations, setRequestLocale } from "next-intl/server"; |
4 | 3 | import { Button } from "@/components/Button"; |
5 | 4 | import { Hero } from "@/components/Hero"; |
6 | 5 | import { SponsorGrid } from "@/components/SponsorGrid"; |
7 | 6 | import { Team } from "@/components/Team"; |
8 | | -import { Venue } from "@/components/Venue"; |
9 | 7 | import { SPONSORS } from "@/constants/sponsors"; |
10 | 8 | import { Locale } from "@/i18n/constants"; |
11 | | -import FloorMap from "../../../public/misc/floor-map.png"; |
12 | 9 |
|
13 | 10 | type Params = { locale: Locale }; |
14 | 11 |
|
@@ -42,33 +39,23 @@ export default async function Page({ params }: Props) { |
42 | 39 | <Hero /> |
43 | 40 | </div> |
44 | 41 |
|
45 | | - <div className="max-w-screen-md mx-auto mt-8 md:mt-32 flex flex-col gap-4"> |
46 | | - <h2 className="text-3xl font-bold text-center"> |
47 | | - {t("navigation.floorMap")} |
48 | | - </h2> |
49 | | - <div className="w-full"> |
50 | | - <Image |
51 | | - alt={t("navigation.floorMap")} |
52 | | - src={FloorMap} |
53 | | - width={1192} |
54 | | - height={843} |
55 | | - className="w-full h-auto" |
| 42 | + <div className="max-w-screen-md mx-auto mt-8 md:mt-16 flex flex-col gap-4 px-4 lg:px-0"> |
| 43 | + <p className="text-lg md:text-xl font-bold text-center"> |
| 44 | + {t("about.thankYou")} |
| 45 | + </p> |
| 46 | + <div className="w-full aspect-video"> |
| 47 | + <iframe |
| 48 | + className="w-full h-full" |
| 49 | + src="https://www.youtube.com/embed/me9KQ1SpKK4?si=byHOxwIpCcctOFyE" |
| 50 | + title="YouTube video player" |
| 51 | + frameBorder="0" |
| 52 | + allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" |
| 53 | + referrerPolicy="strict-origin-when-cross-origin" |
| 54 | + allowFullScreen |
56 | 55 | /> |
57 | 56 | </div> |
58 | 57 | </div> |
59 | 58 |
|
60 | | - <div className="max-w-screen-md mx-auto mt-8 md:mt-32 flex flex-col gap-4"> |
61 | | - <h2 className="text-3xl font-bold text-center"> |
62 | | - {t("navigation.venue")} |
63 | | - </h2> |
64 | | - <Venue locale={locale} /> |
65 | | - <div className="flex items-center justify-center"> |
66 | | - <Button href="/venue" variant="secondary" size="md"> |
67 | | - {t("navigation.viewDetails")} |
68 | | - </Button> |
69 | | - </div> |
70 | | - </div> |
71 | | - |
72 | 59 | <div className="max-w-screen-md mx-auto mt-8 md:mt-32 flex flex-col gap-4"> |
73 | 60 | <h2 className="text-3xl font-bold text-center"> |
74 | 61 | {t("navigation.sponsors")} |
|
0 commit comments