mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 21:07:46 +00:00
update
This commit is contained in:
@@ -84,7 +84,7 @@
|
|||||||
/* Animations */
|
/* Animations */
|
||||||
--animate-scale-in: scale-in 200ms ease-out forwards;
|
--animate-scale-in: scale-in 200ms ease-out forwards;
|
||||||
--animate-caret-blink: caret-blink 1s ease-in-out infinite;
|
--animate-caret-blink: caret-blink 1s ease-in-out infinite;
|
||||||
--animate-text:
|
--animate-enter:
|
||||||
fade-in 0.75s ease-in-out both, blur 0.75s ease-in-out both, up 0.75s ease-in-out both;
|
fade-in 0.75s ease-in-out both, blur 0.75s ease-in-out both, up 0.75s ease-in-out both;
|
||||||
--animate-scroll: scroll 60s linear infinite;
|
--animate-scroll: scroll 60s linear infinite;
|
||||||
--animate-fade-in: fade-in 0.5s ease-in-out both;
|
--animate-fade-in: fade-in 0.5s ease-in-out both;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<span class="relative">
|
<span class="relative">
|
||||||
{#each words as word, i}
|
{#each words as word, i}
|
||||||
<span
|
<span
|
||||||
class="animate-text mr-2 inline-block"
|
class="animate-enter mr-2 inline-block"
|
||||||
style:animation-delay="{i * 75}ms
|
style:animation-delay="{i * 75}ms
|
||||||
">{word}</span
|
">{word}</span
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
<Tabs.Trigger
|
<Tabs.Trigger
|
||||||
{value}
|
{value}
|
||||||
class={classNames(
|
class={classNames(
|
||||||
'text-caption animate-text text-primary bg-smooth border-smooth flex h-8 items-center justify-center gap-2 rounded-full border font-medium outline-0 transition-colors',
|
'text-caption animate-enter text-primary bg-smooth border-smooth flex h-8 items-center justify-center gap-2 rounded-full border font-medium outline-0 transition-colors',
|
||||||
'group data-[state="active"]:bg-accent/4 data-[state="active"]:border-accent/36 data-[state="active"]:text-white'
|
'group data-[state="active"]:bg-accent/4 data-[state="active"]:border-accent/36 data-[state="active"]:text-white'
|
||||||
)}
|
)}
|
||||||
style="animation-delay:{index * 75}ms;"
|
style="animation-delay:{index * 75}ms;"
|
||||||
|
|||||||
@@ -95,7 +95,7 @@
|
|||||||
use:mousePosition
|
use:mousePosition
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="map animate-text relative w-full origin-bottom overflow-scroll transition-all [scrollbar-width:none]"
|
class="map animate-enter relative w-full origin-bottom overflow-scroll transition-all [scrollbar-width:none]"
|
||||||
bind:clientWidth={width}
|
bind:clientWidth={width}
|
||||||
bind:clientHeight={height}
|
bind:clientHeight={height}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
<div class="container mt-20 flex flex-col items-center">
|
<div class="container mt-20 flex flex-col items-center">
|
||||||
<a
|
<a
|
||||||
href="/"
|
href="/"
|
||||||
class="bg-accent/4 animate-text group border-accent/36 text-primary relative -mb-8 flex items-center gap-2 rounded-full border px-4 py-1 text-sm"
|
class="bg-accent/4 animate-enter group border-accent/36 text-primary relative -mb-8 flex items-center gap-2 rounded-full border px-4 py-1 text-sm"
|
||||||
style:animation-delay="250ms"
|
style:animation-delay="250ms"
|
||||||
>Read the announcement <Icon
|
>Read the announcement <Icon
|
||||||
name="arrow-right"
|
name="arrow-right"
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
<h1 class="text-display font-aeonik-pro mx-auto inline-block py-12 text-center">
|
<h1 class="text-display font-aeonik-pro mx-auto inline-block py-12 text-center">
|
||||||
{#each heading.split(' ') as word, i}
|
{#each heading.split(' ') as word, i}
|
||||||
<GradientText
|
<GradientText
|
||||||
class="animate-text mr-2 inline-block"
|
class="animate-enter mr-2 inline-block"
|
||||||
style="animation-delay:{i * 75}ms">{word}</GradientText
|
style="animation-delay:{i * 75}ms">{word}</GradientText
|
||||||
>
|
>
|
||||||
{/each}
|
{/each}
|
||||||
|
|||||||
Reference in New Issue
Block a user