added mail service

This commit is contained in:
2024-04-10 21:24:25 +03:00
parent c76d4b9717
commit 78107d4ec7
80 changed files with 3478 additions and 329 deletions

19
components/FormError.tsx Normal file
View File

@@ -0,0 +1,19 @@
import { TriangleAlert } from 'lucide-react'
type Props = {
message?: string
}
const FormError = ({ message }: Props) => {
if (!message) return null
return (
<div
className="bg-destructive/15 p-3 rounded-md flex items-center gap-x-2 text-sm text-destructive">
<TriangleAlert className="w-4 h-4"/>
<p>{message}</p>
</div>
)
}
export default FormError