feat: add Card component

feat: create Textfield component
style: more light and dark mode support
This commit is contained in:
robin committed 2026-07-25 18:27:40 +02:00
1 parent 2ffbae76a6
commit f26060cf6b
3 files changed
+46 -55

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import { ReactNode } from "react";
export default function Card({title, children}: {title: string, children: ReactNode}) {
return (
<section className="p-5 flex flex-col justify-between">
<h2 className="text-lg font-semibold mb-4 flex items-center gap-2">
{title}
</h2>
<div>
{children}
</div>
</section>
);
}