diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro new file mode 100644 index 0000000..31b3439 --- /dev/null +++ b/src/components/Navigation.astro @@ -0,0 +1,22 @@ +--- +import SignOut from "./SignOut.astro"; +--- + +
+ +
\ No newline at end of file diff --git a/src/components/RSVP.tsx b/src/components/RSVP.tsx index 574d37f..9aba9a4 100644 --- a/src/components/RSVP.tsx +++ b/src/components/RSVP.tsx @@ -4,6 +4,7 @@ import "../styles/global.css"; interface FormData { name: string; dietaryRestrictions: string; + notes: string; } interface ApiResponse { @@ -15,6 +16,7 @@ const RSVPForm = () => { const [formData, setFormData] = useState({ name: "", dietaryRestrictions: "", + notes: "", }); const [isSubmitting, setIsSubmitting] = useState(false); const [error, setError] = useState(null); @@ -61,6 +63,7 @@ const RSVPForm = () => { setFormData({ name: "", dietaryRestrictions: "", + notes: "", }); setSuccess(true); } catch (err: any) { @@ -163,6 +166,26 @@ const RSVPForm = () => { /> + {/* Notes Input */} +
+ +