feat: primitives (Wordmark, Container, CTA) with tests

This commit is contained in:
erikgh committed 2026-07-21 10:10:14 -06:00
1 parent 48a37395aa
commit 7d12e35600
9 files changed
+98 -2

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
import type { ElementType, ReactNode } from 'react';
export function Container({ as: Tag = 'div', className = '', children }: { as?: ElementType; className?: string; children: ReactNode }) {
return <Tag className={`mx-auto w-full max-w-content px-6 md:px-12 ${className}`}>{children}</Tag>;
}