feat: basic setup for web with tailwind and routing

This commit is contained in:
2025-05-20 19:39:55 +02:00
parent ac07b5d723
commit afc9208269
17 changed files with 1647 additions and 256 deletions

View File

@ -0,0 +1,18 @@
import type { FC, ReactNode } from "react";
interface ComponentProps {
children: ReactNode;
className?: string;
}
export const Card: FC<ComponentProps> = ({ children, className }) => {
return (
<div className={`bg-white rounded-lg shadow-md ${className || ""}`}>
{children}
</div>
);
};
export function CardContent({ children, className }: ComponentProps) {
return <div className={`p-4 ${className || ""}`}>{children}</div>;
}