Skip to content

Commit 715d65d

Browse files
committed
chore: remove fade animations
1 parent 9231dc9 commit 715d65d

File tree

7 files changed

+7
-35
lines changed

7 files changed

+7
-35
lines changed

bun.lock

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"fuse.js": "^7.1.0",
2020
"instantsearch.js": "^4.78.0",
2121
"minisearch": "^7.1.2",
22-
"motion": "^12.5.0",
2322
"reka-ui": "^2.1.0",
2423
"tailwindcss": "^4.0.14",
2524
"typescript": "^5.8.2",
@@ -586,8 +585,6 @@
586585

587586
"flatted": ["[email protected]", "", {}, "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg=="],
588587

589-
"framer-motion": ["[email protected]", "", { "dependencies": { "motion-dom": "^12.5.0", "motion-utils": "^12.5.0", "tslib": "^2.4.0" }, "peerDependencies": { "@emotion/is-prop-valid": "*", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "optionalPeers": ["@emotion/is-prop-valid", "react", "react-dom"] }, "sha512-buPlioFbH9/W7rDzYh1C09AuZHAk2D1xTA1BlounJ2Rb9aRg84OXexP0GLd+R83v0khURdMX7b5MKnGTaSg5iA=="],
590-
591588
"fsevents": ["[email protected]", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],
592589

593590
"function-bind": ["[email protected]", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],
@@ -754,12 +751,6 @@
754751

755752
"mlly": ["[email protected]", "", { "dependencies": { "acorn": "^8.14.0", "pathe": "^2.0.1", "pkg-types": "^1.3.0", "ufo": "^1.5.4" } }, "sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw=="],
756753

757-
"motion": ["[email protected]", "", { "dependencies": { "framer-motion": "^12.5.0", "tslib": "^2.4.0" }, "peerDependencies": { "@emotion/is-prop-valid": "*", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "optionalPeers": ["@emotion/is-prop-valid", "react", "react-dom"] }, "sha512-BTAYKszMmTvXSsIyeHNMPSicjWgUA4j7OmZv1xPpthm4sPub3ch66fy9U7BhJ1uXNL3YeprsIegzuvps3FkEMw=="],
758-
759-
"motion-dom": ["[email protected]", "", { "dependencies": { "motion-utils": "^12.5.0" } }, "sha512-uH2PETDh7m+Hjd1UQQ56yHqwn83SAwNjimNPE/kC+Kds0t4Yh7+29rfo5wezVFpPOv57U4IuWved5d1x0kNhbQ=="],
760-
761-
"motion-utils": ["[email protected]", "", {}, "sha512-+hFFzvimn0sBMP9iPxBa9OtRX35ZQ3py0UHnb8U29VD+d8lQ8zH3dTygJWqK7av2v6yhg7scj9iZuvTS0f4+SA=="],
762-
763754
"ms": ["[email protected]", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
764755

765756
"nanoid": ["[email protected]", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-SppoicMGpZvbF1l3z4x7No3OlIjP7QJvC9XR7AhZr1kL133KHnKPztkKDc+Ir4aJ/1VhTySrtKhrsycmrMQfvg=="],

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"fuse.js": "^7.1.0",
2222
"instantsearch.js": "^4.78.0",
2323
"minisearch": "^7.1.2",
24-
"motion": "^12.5.0",
2524
"reka-ui": "^2.1.0",
2625
"tailwindcss": "^4.0.14",
2726
"typescript": "^5.8.2",

src/Web/Homepage/home.view.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
<main class="container mx-auto relative flex flex-col grow -mt-(--ui-header-height)" style="tab-size: 2">
2222
<!-- Hero -->
2323
<section class="h-screen flex justify-center flex-col tracking-tighter px-6">
24-
<h1 class="text-4xl md:text-5xl xl:text-6xl leading-none flex flex-col enter-fade">
24+
<h1 class="text-4xl md:text-5xl xl:text-6xl leading-none flex flex-col">
2525
<span>Forget about the framework,</span>
2626
<span class="text-(--ui-primary)">focus on your business code.</span>
2727
</h1>
28-
<p class="mt-4 md:mt-6 xl:mt-8 max-w-xl text-xl xl:text-2xl text-(--ui-text-toned) enter-fade">
28+
<p class="mt-4 md:mt-6 xl:mt-8 max-w-xl text-xl xl:text-2xl text-(--ui-text-toned)">
2929
Tempest embraces modern PHP syntax and covers a wide range of features, giving you all the tools you need to build solid web applications.
3030
</p>
31-
<div class="mt-6 md:mt-8 xl:mt-10 flex gap-4 items-center font-medium text-lg enter-fade">
31+
<div class="mt-6 md:mt-8 xl:mt-10 flex gap-4 items-center font-medium text-lg">
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>

src/Web/Homepage/x-home-section.view.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
<!-- Left -->
55
<div>
66
<div class="max-w-xl text-sans">
7-
<span class="text-2xl md:text-4xl xl:text-5xl font-semibold leading-none flex flex-col text-display enter-fade">
7+
<span class="text-2xl md:text-4xl xl:text-5xl font-semibold leading-none flex flex-col text-display">
88
{{ $heading }}
99
</span>
10-
<p :foreach="$paragraphs as $paragraph" class="mt-1 md:mt-2 xl:mt-4 text-xl xl:text-2xl text-(--ui-text-muted) enter-fade">
10+
<p :foreach="$paragraphs as $paragraph" class="mt-1 md:mt-2 xl:mt-4 text-xl xl:text-2xl text-(--ui-text-muted)">
1111
{{ $paragraph }}
1212
</p>
1313
</div>
14-
<div class="mt-6 enter-fade">
14+
<div class="mt-6">
1515
<a :href="$linkUri" class="no-primary rounded-md font-medium inline-flex items-center focus:outline-hidden disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75 transition-colors px-4 py-2 gap-2 ring ring-inset ring-(--ui-border-accented) text-(--ui-text) bg-(--ui-bg) hover:bg-(--ui-bg-elevated) disabled:bg-(--ui-bg) aria-disabled:bg-(--ui-bg) focus-visible:ring-2 focus-visible:ring-(--ui-border-inverted)">
1616
<span>{{ $linkLabel }}</span>
1717
<x-icon name="tabler:arrow-right" class="size-4" />
@@ -20,7 +20,7 @@
2020
</div>
2121
<!-- Right -->
2222
<div class="flex flex-col gap-2 p-2 text-sm bg-(--ui-bg)/20 backdrop-blur rounded-xl">
23-
<div :foreach="$snippets as $snippet" class="bg-(--ui-bg)/50 border border-(--ui-border) rounded-md p-4 [&>pre]:h-full [&>pre]:overflow-x-auto enter-fade">
23+
<div :foreach="$snippets as $snippet" class="bg-(--ui-bg)/50 border border-(--ui-border) rounded-md p-4 [&>pre]:h-full [&>pre]:overflow-x-auto">
2424
{!! $codeBlocks[$snippet] !!}
2525
</div>
2626
</div>

src/Web/main.css

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -135,17 +135,6 @@
135135
}
136136
}
137137

138-
/*
139-
|--------------------------------------------------------------------------
140-
| Animations
141-
|--------------------------------------------------------------------------
142-
*/
143-
144-
.enter-fade {
145-
opacity: 0;
146-
transform: translateX(-20px);
147-
}
148-
149138
/*
150139
|--------------------------------------------------------------------------
151140
| Focus states

src/Web/scripts/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ import './register-fonts'
22
import './copy-code-blocks'
33
import './highlight-current-prose-title'
44
import './save-scroll'
5-
import './register-motion'

src/Web/scripts/register-motion.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)