Skip to content

Commit d650c92

Browse files
committed
Small improvement to the homepage
1 parent 7f26bc4 commit d650c92

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Web/Homepage/home.view.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@
1818
<!-- Moonlight -->
1919
<x-moonlight />
2020
<!-- Content -->
21-
<main class="container mx-auto relative flex flex-col grow -mt-(--ui-header-height)" style="tab-size: 2">
21+
<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="h-screen flex justify-center flex-col tracking-tighter px-6">
23+
<section class="md:h-[85svh] 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">
25-
<span>Forget about the framework,</span>
26-
<span class="text-(--ui-primary)">focus on your business code.</span>
25+
<span>The framework that</span>
26+
<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 syntax and covers a wide range of features, giving you all the tools you need to build solid web applications.
29+
Tempest embraces modern PHP syntax and covers a wide range of features, giving you all the tools you need to <span class="font-bold">focus on your code</span>.
3030
</p>
31-
<div class="mt-6 md:mt-8 xl:mt-10 flex gap-4 items-center font-medium text-lg">
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">
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>
35-
<a :href="uri([RedirectsController::class, 'github'])" class="text(--ui-text) hover:bg-(--ui-info)/10 group rounded-xl px-6 py-2.5 flex items-center gap-x-1.5 transition">
35+
<a :href="uri([RedirectsController::class, 'github'])" class="hidden md:flex text(--ui-text) hover:bg-(--ui-info)/10 group rounded-xl px-6 py-2.5 flex items-center gap-x-1.5 transition">
3636
<x-icon name="tabler:brand-github" class="size-6" />
3737
Source code
3838
<svg class="group-hover:translate-x-0 size-5 scale-85 group-hover:scale-100 transition opacity-0 group-hover:opacity-100 -translate-x-full" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24">

0 commit comments

Comments
 (0)