30 lines
829 B
Plaintext
30 lines
829 B
Plaintext
---
|
|
import Button from '@/components/primitives/Button.astro';
|
|
import Card from '@/components/primitives/Card.astro';
|
|
import type { CtaLink } from '@/types/site';
|
|
|
|
interface Props {
|
|
cta: CtaLink;
|
|
points: string[];
|
|
title: string;
|
|
}
|
|
|
|
const { cta, points, title } = Astro.props;
|
|
---
|
|
|
|
<Card variant="accent">
|
|
<h3 class="m-0 text-3xl font-semibold tracking-[-0.03em] text-[var(--color-ink-900)]">{title}</h3>
|
|
<ul class="mt-5 space-y-3 p-0">
|
|
{
|
|
points.map((point) => (
|
|
<li class="list-none rounded-[1rem] bg-white/72 px-4 py-3 text-sm text-[var(--color-ink-800)]">
|
|
{point}
|
|
</li>
|
|
))
|
|
}
|
|
</ul>
|
|
<div class="mt-6">
|
|
<Button href={cta.href} variant={cta.variant ?? 'primary'}>{cta.label}</Button>
|
|
</div>
|
|
</Card>
|