feat(create-turbo): apply official-starter transform

This commit is contained in:
Turbobot
2025-01-14 23:32:25 +01:00
committed by PxlLoewe
parent 17bafdfbd6
commit 2843c1c7f5
64 changed files with 5868 additions and 0 deletions

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

@@ -0,0 +1,27 @@
import { type JSX } from "react";
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>
);
}