Because blackbirds love beatles

This commit is contained in:
Jeroen De Meerleer 2023-01-06 10:15:24 +01:00
parent 946a6c48b1
commit a479e3765b
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 8 additions and 3 deletions

View File

@ -1,10 +1,15 @@
<div class="container h-full">
<div class="h-full flex flex-row justify-center items-center">
<div class="content">
<img src="{bird}" alt="bird">
{#if $page.url.hostname.endsWith ('.ru')}
{#if Math.floor(Math.random() * 10) >= 5}
<img src="{bird}" alt="bird">
{:else}
<iframe width="600" height="400" src="https://www.youtube-nocookie.com/embed/Man4Xw8Xypo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
{/if}
{#if $page.url.hostname.endsWith('.ru')}
<p class="text-center text-3xl">Мы строим нечто великое</p>
{:else if $page.url.hostname.endsWith ('.be')}
{:else if $page.url.hostname.endsWith('.be')}
<p class="text-center text-3xl">We bouwen aan iets groots</p>
<p class="text-center text-3xl">Nous construisons quelque chose de grand</p>
<p class="text-center text-3xl">Wir bauen etwas Großes auf</p>