Style/Revamp #4

Merged
me merged 12 commits from feature/home_revamp into main 2026-05-08 03:16:16 +00:00
Showing only changes of commit e55f4acec5 - Show all commits
+5 -5
View File
@@ -56,7 +56,7 @@ export default function Home() {
<ReactLenis root options={{ lerp: 0.1, duration: 1.5, smoothWheel: true }}> <ReactLenis root options={{ lerp: 0.1, duration: 1.5, smoothWheel: true }}>
<section <section
ref={sectionContainer1} ref={sectionContainer1}
className="relative w-full h-[850vh] bg-base-100 font-serif" className="relative w-full h-[850vh] bg-base-100 font-serif text-neutral-content/90"
> >
<div className="sticky top-0 h-screen w-full flex flex-col items-center justify-center overflow-hidden"> <div className="sticky top-0 h-screen w-full flex flex-col items-center justify-center overflow-hidden">
{/* Intro */} {/* Intro */}
@@ -102,7 +102,7 @@ export default function Home() {
> >
<Logo type="logo" scale={1.5} ul={true} /> <Logo type="logo" scale={1.5} ul={true} />
<motion.div <motion.div
className="font-serif font-extralight mt-6 text-4xl md:text-6xl text-neutral " className="font-serif italic font-extralight mt-6 text-4xl md:text-6xl text-neutral "
style={{ style={{
opacity: useTransform( opacity: useTransform(
scrollYProgress, scrollYProgress,
@@ -116,13 +116,13 @@ export default function Home() {
), ),
}} }}
> >
is a{" "} is a{" "}
<span className="font-display text-primary font-extralight"> <span className="font-display text-primary font-extralight">
safe space safe space
</span> </span>
,<br /> ,<br />
<motion.span <motion.span
className="opacity-0 text-2xl md:text-4xl font-hand tracking-[0.4em] text-neutral" className="opacity-0 text-2xl md:text-4xl font-hand tracking-widest italic text-neutral"
transition={{ delay: 5 }} transition={{ delay: 5 }}
whileInView={{ opacity: 1 }} whileInView={{ opacity: 1 }}
viewport={{ once: false, amount: 0.3 }} viewport={{ once: false, amount: 0.3 }}
@@ -175,7 +175,7 @@ export default function Home() {
secure secure
</span>{" "} </span>{" "}
and{" "} and{" "}
<span className="text-info font-mono tracking-tighter"> <span className="text-info font-mono tracking-tighter italic">
private private
</span> </span>
. .