-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0afa2e0
commit 0bc7d1f
Showing
8 changed files
with
70 additions
and
220 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,35 @@ | ||
<script lang="ts"> | ||
import { cn } from "$lib/utils"; | ||
let className: any = ""; | ||
export { className as class }; | ||
</script> | ||
|
||
<div | ||
class={cn( | ||
"pointer-events-none absolute h-full w-full overflow-hidden opacity-50 [perspective:200px]", | ||
className | ||
)} | ||
> | ||
<!-- Grid --> | ||
<div class="absolute inset-0 [transform:rotateX(35deg)]"> | ||
<div | ||
class={cn( | ||
"animate-grid", | ||
|
||
"[background-repeat:repeat] [background-size:60px_60px] [height:300vh] [inset:0%_0px] [margin-left:-50%] [transform-origin:100%_0_0] [width:600vw]", | ||
|
||
// Light Styles | ||
"[background-image:linear-gradient(to_right,rgba(0,0,0,0.3)_1px,transparent_0),linear-gradient(to_bottom,rgba(0,0,0,0.3)_1px,transparent_0)]", | ||
|
||
// Dark styles | ||
"dark:[background-image:linear-gradient(to_right,rgba(255,255,255,0.2)_1px,transparent_0),linear-gradient(to_bottom,rgba(255,255,255,0.2)_1px,transparent_0)]" | ||
)} | ||
/> | ||
</div> | ||
|
||
<!-- Background Gradient --> | ||
import { cn } from '$lib/utils' | ||
let className: any = '' | ||
export { className as class } | ||
</script> | ||
|
||
<div | ||
class={cn( | ||
'pointer-events-none absolute h-full w-full overflow-hidden opacity-50 [perspective:200px]', | ||
className, | ||
)} | ||
> | ||
<!-- Grid --> | ||
<div class="absolute inset-0 [transform:rotateX(35deg)]"> | ||
<div | ||
class="absolute inset-0 bg-gradient-to-t from-white to-transparent to-90% dark:from-black" | ||
class={cn( | ||
'animate-grid', | ||
|
||
'[background-repeat:repeat] [background-size:60px_60px] [height:300vh] [inset:0%_0px] [margin-left:-50%] [transform-origin:100%_0_0] [width:600vw]', | ||
|
||
// Light Styles | ||
'[background-image:linear-gradient(to_right,rgba(0,0,0,0.3)_1px,transparent_0),linear-gradient(to_bottom,rgba(0,0,0,0.3)_1px,transparent_0)]', | ||
|
||
// Dark styles | ||
'dark:[background-image:linear-gradient(to_right,rgba(255,255,255,0.2)_1px,transparent_0),linear-gradient(to_bottom,rgba(255,255,255,0.2)_1px,transparent_0)]', | ||
)} | ||
/> | ||
</div> | ||
|
||
|
||
<!-- Background Gradient --> | ||
<div | ||
class="absolute inset-0 bg-gradient-to-t from-white to-transparent to-90% dark:from-black" | ||
/> | ||
</div> |
46 changes: 0 additions & 46 deletions
46
src/lib/client/components/animation/StaggeredLetterPullUpAnimation.svelte
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters