Add new pages and ocmponents using shadcn ui components
This commit is contained in:
21
lawfirm-demos/demo-2/components/KontaktForm.tsx
Normal file
21
lawfirm-demos/demo-2/components/KontaktForm.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
"use client";
|
||||
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { Textarea } from "@/components/ui/textarea";
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
||||
export default function KontaktForm() {
|
||||
return (
|
||||
<section className="py-16 px-4 max-w-xl mx-auto">
|
||||
<h2 className="text-3xl font-bold text-center mb-8">Kontakt</h2>
|
||||
<form className="space-y-6">
|
||||
<Input type="text" placeholder="Ihr Name" required />
|
||||
<Input type="email" placeholder="Ihre E-Mail" required />
|
||||
<Textarea placeholder="Ihre Nachricht" rows={5} required />
|
||||
<Button type="submit" className="w-full">
|
||||
Absenden
|
||||
</Button>
|
||||
</form>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user