Some checks failed
Main Confidence / confidence (push) Failing after 40s
## Summary - implement the website-only visual foundation for apps/website - formalize semantic tokens, typography, spacing, surfaces, and shared CTA/navigation primitives - align landing, trust/legal, and content-heavy routes plus Playwright smoke coverage with the new foundation ## Validation - corepack pnpm build:website - corepack pnpm --filter @tenantatlas/website exec playwright test ## Scope - website-only change set for spec 214 - no apps/platform runtime coupling introduced Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #251
25 lines
736 B
Plaintext
25 lines
736 B
Plaintext
---
|
|
import Card from '@/components/primitives/Card.astro';
|
|
import Eyebrow from '@/components/content/Eyebrow.astro';
|
|
import Headline from '@/components/content/Headline.astro';
|
|
import Lead from '@/components/content/Lead.astro';
|
|
import type { CalloutContent } from '@/types/site';
|
|
|
|
interface Props {
|
|
content: CalloutContent;
|
|
}
|
|
|
|
const { content } = Astro.props;
|
|
const variant = content.tone === 'accent' ? 'accent' : content.tone === 'subtle' ? 'subtle' : 'default';
|
|
---
|
|
|
|
<Card variant={variant}>
|
|
{content.eyebrow && <Eyebrow>{content.eyebrow}</Eyebrow>}
|
|
<Headline as="h3" size="card" class="mt-4">
|
|
{content.title}
|
|
</Headline>
|
|
<Lead class="mt-3" size="body">
|
|
{content.description}
|
|
</Lead>
|
|
</Card>
|