Skip to content

Commit 4816c93

Browse files
committed
Fix some responsive stuff
1 parent 13a85cf commit 4816c93

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/Web/Homepage/home.view.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
<!-- Content -->
2121
<main class="container mx-auto relative flex flex-col gap-4 grow -mt-(--ui-header-height)" style="tab-size: 2">
2222
<!-- Hero -->
23-
<section class="md:h-[85svh] min-h-[80vh] md:pt-24 flex justify-center flex-col tracking-tighter px-6 mt-32 md:mt-0">
23+
<section class="md:h-[85svh] min-h-[75vh] md:pt-24 flex justify-center flex-col tracking-tighter px-6 mt-32 md:mt-0">
2424
<h1 class="text-4xl md:text-5xl xl:text-6xl leading-none flex flex-col">
2525
<span>The framework that</span>
2626
<span class="text-(--ui-primary)">gets out of your way.</span>
2727
</h1>
2828
<p class="mt-4 md:mt-6 xl:mt-8 max-w-xl text-xl xl:text-2xl text-(--ui-text-toned)">
29-
Tempest embraces modern PHP and covers a wide range of features, giving you all the tools you need to <span class="font-bold">focus on your code</span>.
29+
Tempest embraces modern PHP and covers a wide range of features, giving you all the tools you need to focus on your code.
3030
</p>
31-
<div class="mt-6 md:mt-8 xl:mt-10 flex gap-4 items-center font-medium text-lg justify-center md:justify-start flex-wrap">
31+
<div class="mt-6 md:mt-8 xl:mt-10 flex gap-4 items-center font-medium text-lg justify-start flex-wrap">
3232
<a :href="uri([ChapterController::class, 'index'])" class="bg-(--ui-bg-inverted) text-(--ui-bg) hover:bg-(--ui-bg-inverted)/90 rounded-xl px-6 py-2.5 gap-1.5 transition">
3333
Get started
3434
</a>
@@ -40,14 +40,14 @@
4040
</svg>
4141
</a>
4242
</div>
43-
<button data-copy="#install-tempest-snippet" class="group mt-6 md:mt-8 xl:mt-10 flex items-center gap-x-2 text-base font-mono relative cursor-pointer">
44-
<x-icon name="tabler:terminal" class="size-5 text-(--ui-primary)" />
45-
<span id="install-tempest-snippet" class="text-(--ui-text-muted)">composer require tempest/framework:{{ \Tempest\Core\Kernel::VERSION }}</span>
46-
<span class="ml-4 flex items-center justify-center opacity-0 group-hover:opacity-100 transition text-(--ui-text-dimmed) bg-(--ui-bg-muted) rounded border border-(--ui-border)">
47-
<x-icon name="tabler:copy" class="size-5 absolute" />
48-
<x-icon name="tabler:copy-check-filled" class="size-5 absolute opacity-0 group-[[data-copied]]:opacity-100 transition text-(--ui-success)" />
49-
</span>
50-
</button>
43+
<button data-copy="#install-tempest-snippet" class="hidden md:flex group mt-6 md:mt-8 xl:mt-10 items-center justify-start gap-x-2 text-base font-mono relative cursor-pointer">
44+
<x-icon name="tabler:terminal" class="size-5 text-(--ui-primary)" />
45+
<span id="install-tempest-snippet" class="text-(--ui-text-muted)">composer require tempest/framework:{{ \Tempest\Core\Kernel::VERSION }}</span>
46+
<span class="ml-4 flex items-center justify-center opacity-0 group-hover:opacity-100 transition text-(--ui-text-dimmed) bg-(--ui-bg-muted) rounded border border-(--ui-border)">
47+
<x-icon name="tabler:copy" class="size-5 absolute" />
48+
<x-icon name="tabler:copy-check-filled" class="size-5 absolute opacity-0 group-[[data-copied]]:opacity-100 transition text-(--ui-success)" />
49+
</span>
50+
</button>
5151
</section>
5252
<!-- Discovery -->
5353
<x-home-section

0 commit comments

Comments
 (0)