add public website

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-02-04 21:35:17 +01:00
parent ccd1a1456f
commit fab3a0d9a8
72 changed files with 4012 additions and 48 deletions

View File

@@ -0,0 +1,34 @@
import { cn } from '@/utils/cn';
interface Props {
children: React.ReactNode;
className?: string;
}
export function Lead({ children, className }: Props) {
return (
<p className={cn('text-xl md:text-2xl font-light', className)}>
{children}
</p>
);
}
export function Paragraph({ children, className }: Props) {
return <p className={cn('text-lg', className)}>{children}</p>;
}
export function Heading1({ children, className }: Props) {
return (
<h1 className={cn('text-4xl md:text-6xl font-bold', className)}>
{children}
</h1>
);
}
export function Heading2({ children, className }: Props) {
return (
<h2 className={cn('text-2xl md:text-4xl font-bold', className)}>
{children}
</h2>
);
}