30 lines
1.1 KiB
Svelte
30 lines
1.1 KiB
Svelte
<div class="container h-full">
|
|
<div class="h-full flex flex-row justify-center items-center">
|
|
<div class="content">
|
|
{#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')}
|
|
<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>
|
|
{:else}
|
|
<p class="text-center text-3xl">We are building something great</p>
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
import bird from '$lib/images/bird.png';
|
|
import { page } from '$app/stores';
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|