switch to monorepo structure

This commit is contained in:
2025-05-06 11:00:35 +01:00
parent e1f927ad27
commit 07b7f1b51f
63 changed files with 2440 additions and 1011 deletions

View File

@@ -0,0 +1,18 @@
import clsx from "clsx"
function Button({
className,
...props
}: React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) {
return (
<button
className={clsx(
"px-4 font-bold border border-2 border-b-4 border-text-inherit active:bg-stone-700 active:text-stone-200 active:border-b-1 active:translate-y-0.5",
className,
)}
{...props}
/>
)
}
export { Button }

View File

@@ -0,0 +1,10 @@
import clsx from "clsx"
function Link({
className,
...props
}: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) {
return <a className={clsx("underline active:bg-stone-700 active:text-stone-200", className)} {...props} />
}
export { Link }