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,21 @@
import type { FC } from "react";
interface InputProps {
id: string;
type: string;
placeholder?: string;
className?: string;
}
export const Input: FC<InputProps> = ({ id, type, placeholder, className }) => {
return (
<input
id={id}
type={type}
placeholder={placeholder}
className={`w-full border border-gray-300 rounded-md px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 ${
className || ""
}`}
/>
);
};