fix homepage intro on small screens
deploy / build-and-deploy (push) Successful in 19s

This commit is contained in:
bytedream committed 2026-10-31 15:49:36 +01:00
1 parent fa8d834f4a
commit 61f5ad227e
1 file changed
+13 -11
+13 -11
View File
@@ -75,22 +75,24 @@ const information = [
{HOMEPAGE_TRAILER_URL && ( {HOMEPAGE_TRAILER_URL && (
<section class="bg-base-300 w-full px-4 py-12" aria-labelledby="trailer-heading"> <section class="bg-base-300 w-full px-4 py-12" aria-labelledby="trailer-heading">
<div class="mx-auto flex items-center w-full max-w-7xl gap-30"> <div class="mx-auto flex flex-col xl:flex-row items-center w-full max-w-360 gap-10 xl:gap-30">
<iframe <div class="w-full max-w-2xl">
class="aspect-video w-full border-0" <iframe
src={HOMEPAGE_TRAILER_URL} class="aspect-video w-full border-0"
title="CraftAttack 9 Trailer" src={HOMEPAGE_TRAILER_URL}
allow="autoplay; fullscreen; picture-in-picture; encrypted-media" title="CraftAttack 9 Trailer"
allowfullscreen allow="autoplay; fullscreen; picture-in-picture; encrypted-media"
loading="lazy" allowfullscreen
></iframe> loading="lazy"
></iframe>
</div>
<div class="hidden items-center gap-2 lg:flex" aria-hidden="true"> <div class="hidden items-center gap-2 xl:flex" aria-hidden="true">
<span class="h-60 w-1 rotate-12 rounded-full bg-base-content/30"></span> <span class="h-60 w-1 rotate-12 rounded-full bg-base-content/30"></span>
<span class="h-60 w-1 rotate-12 rounded-full bg-base-content/30"></span> <span class="h-60 w-1 rotate-12 rounded-full bg-base-content/30"></span>
</div> </div>
<div class="space-y-4"> <div class="space-y-4 w-full max-w-3xl">
<h2 id="trailer-heading" class="text-2xl font-bold"> <h2 id="trailer-heading" class="text-2xl font-bold">
CraftAttack geht in die neunte Runde - und du kannst dabei sein! CraftAttack geht in die neunte Runde - und du kannst dabei sein!
</h2> </h2>