feat(create-turbo): create basic

This commit is contained in:
Turbobot
2024-03-15 07:27:41 +11:00
committed by KMKoushik
commit c878b87e20
58 changed files with 6866 additions and 0 deletions

25
packages/ui/src/card.tsx Normal file
View File

@@ -0,0 +1,25 @@
export function Card({
className,
title,
children,
href,
}: {
className?: string;
title: string;
children: React.ReactNode;
href: string;
}): JSX.Element {
return (
<a
className={className}
href={`${href}?utm_source=create-turbo&utm_medium=basic&utm_campaign=create-turbo"`}
rel="noopener noreferrer"
target="_blank"
>
<h2>
{title} <span>-&gt;</span>
</h2>
<p>{children}</p>
</a>
);
}