|
9 | 9 | ?> |
10 | 10 |
|
11 | 11 | <x-base full-title="Tempest, the PHP framework that gets out of your way" :stargazers="$this->stargazers" body-class="bg-[#f1f7ff] dark:bg-[black]"> |
12 | | - <div class="flex flex-col grow font-display"> |
13 | | - <!-- Falling leaves --> |
14 | | - <x-falling-leaves class="dark:hidden" /> |
15 | | - <!-- Aurora --> |
16 | | - <x-aurora class="dark:hidden" /> |
17 | | - <!-- Rain --> |
18 | | - <x-rain /> |
19 | | - <!-- Moonlight --> |
20 | | - <x-moonlight /> |
| 12 | + <div class="flex flex-col font-display grow"> |
| 13 | + <div id="background" class="z-[-1] absolute inset-0 w-full h-full overflow-hidden pointer-events-none" /> |
21 | 14 | <!-- Content --> |
22 | 15 | <main class="container mx-auto relative flex flex-col gap-4 grow -mt-(--ui-header-height)" style="tab-size: 2"> |
23 | 16 | <!-- Hero --> |
24 | | - <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"> |
25 | | - <h1 class="text-4xl md:text-5xl xl:text-6xl leading-none flex flex-col"> |
| 17 | + <section class="flex flex-col justify-center mt-32 md:mt-0 px-6 md:pt-24 md:h-[85svh] min-h-[75vh] tracking-tighter"> |
| 18 | + <h1 class="flex flex-col text-4xl md:text-5xl xl:text-6xl leading-none"> |
26 | 19 | <span>The framework that</span> |
27 | 20 | <span class="text-(--ui-primary)">gets out of your way.</span> |
28 | 21 | </h1> |
29 | 22 | <p class="mt-4 md:mt-6 xl:mt-8 max-w-xl text-xl xl:text-2xl text-(--ui-text-toned)"> |
30 | 23 | Tempest embraces modern PHP and covers a wide range of features, giving you all the tools you need to focus on your code. |
31 | 24 | </p> |
32 | | - <div class="mt-6 md:mt-8 xl:mt-10 flex gap-x-4 items-center font-medium text-lg"> |
| 25 | + <div class="flex items-center gap-x-4 mt-6 md:mt-8 xl:mt-10 font-medium text-lg"> |
33 | 26 | <a :href="uri([DocumentationController::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"> |
34 | 27 | Get started |
35 | 28 | </a> |
36 | 29 | <a :href="uri([RedirectsController::class, 'github'])" class="hidden min-[401px]:flex text(--ui-text) hover:bg-(--ui-info)/10 group rounded-xl px-6 py-2.5 items-center gap-x-1.5 transition"> |
37 | 30 | <x-icon name="tabler:brand-github" class="size-6" /> |
38 | 31 | Source code |
39 | | - <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"> |
| 32 | + <svg class="opacity-0 group-hover:opacity-100 size-5 scale-85 group-hover:scale-100 transition -translate-x-full group-hover:translate-x-0" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"> |
40 | 33 | <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m7 7l5 5l-5 5m6-10l5 5l-5 5" /> |
41 | 34 | </svg> |
42 | 35 | </a> |
43 | 36 | </div> |
44 | | - <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"> |
| 37 | + <button data-copy="#install-tempest-snippet" class="group hidden relative md:flex justify-start items-center gap-x-2 mt-6 md:mt-8 xl:mt-10 font-mono text-base cursor-pointer"> |
45 | 38 | <x-icon name="tabler:terminal" class="size-5 text-(--ui-primary)" /> |
46 | 39 | <span id="install-tempest-snippet" class="text-(--ui-text-muted)">composer create-project tempest/app</span> |
47 | 40 | <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)"> |
48 | | - <x-icon name="tabler:copy" class="size-5 absolute" /> |
| 41 | + <x-icon name="tabler:copy" class="absolute size-5" /> |
49 | 42 | <x-icon name="tabler:copy-check-filled" class="size-5 absolute opacity-0 group-[[data-copied]]:opacity-100 transition text-(--ui-success)" /> |
50 | 43 | </span> |
51 | 44 | </button> |
|
0 commit comments