Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions packages/web/src/features/landing/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -427,11 +427,11 @@

/* staggered scroll-reveal, cards in a row cascade in rather than snapping
as a block */
.rh-roles .rh-rv:nth-child(2){transition-delay:.07s;}
.rh-roles .rh-rv:nth-child(3){transition-delay:.14s;}
.rh-roles .rh-rv:nth-child(4){transition-delay:.21s;}
.rh-pricing .rh-rv:nth-child(2){transition-delay:.07s;}
.rh-pricing .rh-rv:nth-child(3){transition-delay:.14s;}
.rh-roles .rh-rv:nth-child(2){transition-delay:.05s;}
.rh-roles .rh-rv:nth-child(3){transition-delay:.1s;}
.rh-roles .rh-rv:nth-child(4){transition-delay:.15s;}
.rh-pricing .rh-rv:nth-child(2){transition-delay:.05s;}
.rh-pricing .rh-rv:nth-child(3){transition-delay:.1s;}

/* hover-lift for the pricing + EVV mockup cards, matching the role cards */
.rh-price{transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;}
Expand All @@ -441,7 +441,7 @@
.rh-evvi:hover{border-color:var(--accent); background:var(--accent-tint); transform:translateY(-1px);}

/* reveal */
.rh-rv{opacity:0; transform:translateY(16px); transition:opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);}
.rh-rv{opacity:0; transform:translateY(12px); transition:opacity .45s cubic-bezier(.2,.7,.2,1), transform .45s cubic-bezier(.2,.7,.2,1);}
.rh-rv.in{opacity:1; transform:none;}
@media(prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} .rh-rv{opacity:1; transform:none; transition:none;} .rh-btn,.rh-rolecard,.rh-price,.rh-evvi{transition:none;} .rh-eyebrow .pip,.rh-hero-bloom,.rh-herotext > *,.rh-heromedia,.rh-theater-map .pin::after,.rh-theater-inner,.rh-spotvis .status-dot,.rh-theater-inner .status-dot{animation:none;} }
`,
Expand Down Expand Up @@ -635,7 +635,7 @@
if (!els || !('IntersectionObserver' in window)) { els?.forEach((e) => e.classList.add('in')); return; }
const io = new IntersectionObserver(
(entries) => entries.forEach((e) => { if (e.isIntersecting) { e.target.classList.add('in'); io.unobserve(e.target); } }),
{ threshold: 0.15, rootMargin: '0px 0px -8% 0px' },
{ threshold: 0.06, rootMargin: '0px 0px 0px 0px' },

Check warning

Code scanning / CodeQL

Superfluous trailing arguments Warning

Superfluous argument passed to
constructor of class MockIntersectionObserver
.
);
els.forEach((e) => io.observe(e));
return () => io.disconnect();
Expand Down
22 changes: 11 additions & 11 deletions packages/web/src/features/landing/RayVerifySection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ export function RayVerifySection() {
reduce
? { initial: { opacity: 1 }, whileInView: { opacity: 1 } }
: {
initial: { opacity: 0, y: 24 },
initial: { opacity: 0, y: 16 },
whileInView: { opacity: 1, y: 0 },
transition: { duration: 0.7, ease, delay },
viewport: { once: true, amount: 0.4 },
transition: { duration: 0.5, ease, delay },
viewport: { once: true, amount: 0.2 },
};

return (
Expand Down Expand Up @@ -160,10 +160,10 @@ export function RayVerifySection() {
<motion.li
key={s.label}
className="rvfy-stage"
initial={reduce ? { opacity: 1 } : { opacity: 0, x: -16 }}
initial={reduce ? { opacity: 1 } : { opacity: 0, x: -12 }}
whileInView={{ opacity: 1, x: 0 }}
transition={{ duration: 0.5, ease, delay: 0.12 * i }}
viewport={{ once: true, amount: 0.6 }}
transition={{ duration: 0.4, ease, delay: 0.07 * i }}
viewport={{ once: true, amount: 0.3 }}
>
<span className="rvfy-node">{icon(s.glyph)}</span>
<span className="rvfy-stagetext">
Expand All @@ -177,10 +177,10 @@ export function RayVerifySection() {
))}
<motion.li
className="rvfy-stage rvfy-verified"
initial={reduce ? { opacity: 1 } : { opacity: 0, scale: 0.9 }}
initial={reduce ? { opacity: 1 } : { opacity: 0, scale: 0.94 }}
whileInView={{ opacity: 1, scale: 1 }}
transition={{ duration: 0.55, ease, delay: 0.12 * PIPELINE.length }}
viewport={{ once: true, amount: 0.6 }}
transition={{ duration: 0.45, ease, delay: 0.07 * PIPELINE.length }}
viewport={{ once: true, amount: 0.3 }}
>
<span className="rvfy-node rvfy-node-ok">{icon(<path d="M20 6 9 17l-5-5" />)}</span>
<span className="rvfy-stagetext">
Expand All @@ -194,13 +194,13 @@ export function RayVerifySection() {
{/* Value layers */}
<div className="rvfy-layers">
{LAYERS.map((l, i) => (
<motion.div key={l.t} className="rvfy-layer" {...rise(0.1 + 0.08 * i)}>
<motion.div key={l.t} className="rvfy-layer" {...rise(0.06 + 0.06 * i)}>
<p className="rvfy-layerk">{l.k}</p>
<h3 className="rvfy-layert">{l.t}</h3>
<p className="rvfy-layerb">{l.b}</p>
</motion.div>
))}
<motion.div className="rvfy-cta" {...rise(0.34)}>
<motion.div className="rvfy-cta" {...rise(0.26)}>
<Link to="/rayverify" className="rvfy-btn">
Learn about RayVerify
{icon(<path d="M5 12h14M13 6l6 6-6 6" />)}
Expand Down