diff --git a/src/pages/_herotext.jsx b/src/pages/_herotext.jsx index 53806bd..8b6bb8c 100644 --- a/src/pages/_herotext.jsx +++ b/src/pages/_herotext.jsx @@ -2,26 +2,18 @@ import { motion } from 'framer-motion'; export const HeroText = ({ children, size }) => { return ( {children.split('').map((letter, key) => ( - - {letter} - + {letter} ))} ); diff --git a/src/pages/_page.jsx b/src/pages/_page.jsx index d2b039c..709294c 100644 --- a/src/pages/_page.jsx +++ b/src/pages/_page.jsx @@ -29,12 +29,23 @@ export default function Page() { scale: useTransform(scrollYProgress, [0, 1], [1, 33], { ease: easeInOut, }), + opacity: useTransform(scrollYProgress, [0.1, 0.5], [1, 0], { + ease: easeInOut, + }), + filter: useTransform( + scrollYProgress, + [0.1, 0.5], + ['blur(0px)', 'blur(3px)'], + { + ease: easeInOut, + } + ), }} className="h-full w-full absolute" > -
+
- KITTY + kitty
@@ -61,7 +72,7 @@ export default function Page() { ease: easeInOut, }), }} - className="z-[0] h-full w-full flex justify-center items-center font-light" + className="z-[0] h-full w-full flex justify-center items-center" >
Design. Develop. Ship.
diff --git a/src/pages/index.astro b/src/pages/index.astro index c441940..593b99a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -9,8 +9,16 @@ import { Pointer } from './_pointer'; appleicat + + - + @@ -23,10 +31,6 @@ import { Pointer } from './_pointer'; ::selection { background-color: rgba(0, 0, 0, 0.1); } - body { - background-color: black; - color: white; - }