From 3bafa982ee523e8b9f18a4434a4aa9f02fa47305 Mon Sep 17 00:00:00 2001 From: NicholaiVogel Date: Mon, 13 Oct 2025 01:40:37 -0600 Subject: [PATCH] added loading animation --- src/components/Temp-Placeholder.tsx | 203 ++++++++++++++++++++++------ 1 file changed, 159 insertions(+), 44 deletions(-) diff --git a/src/components/Temp-Placeholder.tsx b/src/components/Temp-Placeholder.tsx index 914e1fa..190b8fa 100644 --- a/src/components/Temp-Placeholder.tsx +++ b/src/components/Temp-Placeholder.tsx @@ -26,6 +26,30 @@ function extractYouTubeVideoId(url: string): string | null { return null; } +// Animation variants for page load +const containerVariants = { + hidden: { opacity: 0 }, + visible: { + opacity: 1, + transition: { + staggerChildren: 0.1, + delayChildren: 0.1, + }, + }, +}; + +const itemVariants = { + hidden: { + opacity: 0, + y: 20 + }, + visible: { + opacity: 1, + y: 0, + }, +}; + + export function TempPlaceholder() { const titleRef = useRef(null); const titleInnerRef = useRef(null); @@ -92,20 +116,54 @@ export function TempPlaceholder() { opacity={0.5} className="rounded" /> -
-

Last updated: 10-12-2025

+ + + Last updated: 10-12-2025 + -

+ You've gotta be shittin' me. -

-

This is the 20th time this has happened.

-

+ + + This is the 20th time this has happened. + + Nicholai broke the website, again. -

+ -
+

@@ -133,8 +191,8 @@ export function TempPlaceholder() {

-
-

+ { setMousePosition({ x: e.clientX, y: e.clientY }); setIsEasterEggOpen(true); @@ -145,11 +203,13 @@ export function TempPlaceholder() { textShadow: '2px 2px 0px #ff4d00, 4px 4px 0px #ff4d00', width: titleWidth ? `${titleWidth}px` : undefined }} + variants={itemVariants} + transition={{ duration: 0.4, ease: "easeOut" }} > BIOHAZARD -

+ {isEasterEggOpen && ( @@ -254,12 +314,20 @@ export function TempPlaceholder() { )} -

+ Who we are: artists and technical people, we're better at VFX than we are at web design, I promise. -

+ -

+ Here's our reel:{" "} Biohazard Reel Mar 2025 - Frame.io -

+ -

+ Some projects we've worked on: -

+ -
    -
  • + + Gstar Raw - Pommelhorse -
  • -
  • + + @@ -305,7 +389,7 @@ export function TempPlaceholder() { (feat. Morgan Wallen) - +