Skip to content
Open
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
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function Home() {
<>
<SiteHeader />

<HeroBackground fieldHeight={640}>
<HeroBackground fieldHeight={640} fadeBottom>
<Section className='py-24 text-center lg:py-32'>
<div className='inline-flex items-center rounded-full border border-white/10 bg-white/5 p-1 text-body-xs text-white/70'>
<span className='rounded-full bg-white/10 px-3 py-1 font-medium text-white'>
Expand Down
5 changes: 1 addition & 4 deletions components/landing/stats-strip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@ export function StatsStrip() {
if (items.length === 0) return null;

return (
<Section
reveal
className='bg-[linear-gradient(180deg,rgba(46,237,170,0.08)_0%,rgba(13,17,17,0)_100%)]'
>
<Section reveal>
<StatsBar items={items} />
</Section>
);
Expand Down
9 changes: 5 additions & 4 deletions components/marketing/hero-background.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ export function HeroBackground({
children?: ReactNode;
fieldHeight?: number;
/**
* For heroes stretched to the footer: resolve the teal tint back to ink at
* the very bottom within this one gradient, so the page meets the next
* section with no seam (instead of clipping at the teal peak). Default heroes
* keep the tint peaking at the bottom edge.
* Peak the teal tint just above the bottom, then resolve it back to ink at
* the very bottom within this one gradient, so the hero meets whatever
* follows with no seam (instead of clipping at the teal peak). Default heroes
* keep the tint peaking at the bottom edge, which only reads clean when the
* next section starts on the same teal.
*/
fadeBottom?: boolean;
}) {
Expand Down
4 changes: 2 additions & 2 deletions components/marketing/hero-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ interface HeroSectionProps {
showMedia?: boolean;
/**
* Resolve the teal tint back to ink at the very bottom so the hero meets the
* next section (or the footer) with no seam. Use when the hero sits directly
* above the footer.
* next section (or the footer) with no seam. Leave off only when the section
* below starts on the same teal tint.
*/
fadeBottom?: boolean;
className?: string;
Expand Down