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
69 changes: 41 additions & 28 deletions apps/web/src/components/acquisition-link-grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,43 +21,56 @@ export function AcquisitionLinkGrid({
}

return (
<section className={cn(["border-t border-neutral-200 pt-8", className])}>
<div className="max-w-6xl">
<div className="mb-6 flex max-w-3xl flex-col gap-2 text-left">
<h2 className="text-fg font-mono text-2xl tracking-tight sm:text-3xl">
<section className={cn(["border-color-brand border-t pt-8", className])}>
<div className="">
<div className="mb-8 flex flex-col gap-2 text-left">
<h2 className="text-color font-sans text-2xl tracking-tight">
{title}
</h2>
{description ? (
<p className="text-fg-muted text-base leading-7 sm:text-lg">
<p className="text-color-secondary text-base leading-7 sm:text-lg">
{description}
</p>
) : null}
</div>

<div className="grid gap-4 md:grid-cols-3">
{items.map((item) => (
<a
key={item.href}
href={item.href}
className={cn([
"group rounded-2xl border border-neutral-200 bg-white p-5 text-left transition-colors",
"hover:border-stone-300 hover:bg-stone-50",
])}
>
{item.eyebrow ? (
<div className="mb-3 font-mono text-[11px] tracking-[0.18em] text-stone-500 uppercase">
{item.eyebrow}
<div className="border-color-brand grid overflow-hidden rounded-2xl border md:grid-cols-3">
{items.map((item, index) => {
const cols = 3;
const isLast = index === items.length - 1;
const isRightEdge = (index + 1) % cols === 0;
const isBottomRow =
Math.floor(index / cols) === Math.ceil(items.length / cols) - 1;

return (
<a
key={item.href}
href={item.href}
className={cn([
"group border-color-brand p-8 text-left transition-colors",
!isLast && "border-b",
isBottomRow && "md:border-b-0",
!isRightEdge && "md:border-r",
"hover:bg-white",
])}
>
{item.eyebrow ? (
<div className="mb-3 font-mono text-[11px] tracking-[0.18em] text-stone-500 uppercase">
{item.eyebrow}
</div>
) : null}
<h3 className="text-color mb-2 font-mono text-lg font-medium">
{item.title}
</h3>
<p className="text-color-secondary text-sm leading-5">
{item.description}
</p>
<div className="mt-4 text-sm font-medium text-stone-700 transition-colors group-hover:text-stone-950">
Explore
</div>
) : null}
<h3 className="text-fg mb-2 font-mono text-lg">{item.title}</h3>
<p className="text-fg-muted text-sm leading-6">
{item.description}
</p>
<div className="mt-4 text-sm font-medium text-stone-700 transition-colors group-hover:text-stone-950">
Explore
</div>
</a>
))}
</a>
);
})}
</div>
</div>
</section>
Expand Down
4 changes: 3 additions & 1 deletion apps/web/src/components/cta-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ export function CTASection({
<h2 className="text-color font-mono text-2xl tracking-wide md:text-6xl">
{title}
</h2>
<p className="text-fg-muted mx-auto max-w-2xl text-lg">{description}</p>
<p className="text-color-secondary mx-auto max-w-2xl text-lg">
{description}
</p>
<div className="flex flex-col items-center justify-center gap-4 pt-6 sm:flex-row">
{platformCTA.action === "download" ? (
<DownloadButton />
Expand Down
Loading
Loading