From 7524d34e46bb867ba1b808c90fad1cc66176ee62 Mon Sep 17 00:00:00 2001
From: Jeff Emmett
Date: Fri, 20 Mar 2026 12:57:41 -0700
Subject: [PATCH] Simplify registration form to name/email only, set event
dates and location
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- Remove contact, contributions, expectations, howHeard, dietary, and participation commitment fields
- Set event dates to 20–28 June 2026, location to Commons Hub Austria (Reichenau an der Rax)
- Update accommodation to 8 nights with recalculated prices
Co-Authored-By: Claude Opus 4.6
---
app/page.tsx | 166 +-------------------------------------------
lib/event.config.ts | 14 ++--
2 files changed, 9 insertions(+), 171 deletions(-)
diff --git a/app/page.tsx b/app/page.tsx
index e0ab753..1f0c573 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -6,7 +6,7 @@ import { Button } from "@/components/ui/button"
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"
import { Input } from "@/components/ui/input"
import { Label } from "@/components/ui/label"
-import { Textarea } from "@/components/ui/textarea"
+
import { Checkbox } from "@/components/ui/checkbox"
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group"
import Link from "next/link"
@@ -42,13 +42,6 @@ export default function RegisterPage() {
const [formData, setFormData] = useState({
name: "",
email: "",
- contact: "",
- contributions: "",
- expectations: "",
- howHeard: "",
- dietary: [] as string[],
- dietaryOther: "",
- crewConsent: "",
})
const tier = getClientTier()
@@ -66,11 +59,7 @@ export default function RegisterPage() {
// Validate required fields
if (
!formData.name ||
- !formData.email ||
- !formData.contact ||
- !formData.contributions ||
- !formData.expectations ||
- !formData.crewConsent
+ !formData.email
) {
alert("Please fill in all required fields")
return
@@ -80,10 +69,6 @@ export default function RegisterPage() {
try {
// Submit registration to Google Sheet first
- const dietaryString =
- formData.dietary.join(", ") +
- (formData.dietaryOther ? `, ${formData.dietaryOther}` : "")
-
const response = await fetch("/api/register", {
method: "POST",
headers: {
@@ -92,13 +77,6 @@ export default function RegisterPage() {
body: JSON.stringify({
name: formData.name,
email: formData.email,
- contact: formData.contact,
- contributions: formData.contributions,
- expectations: formData.expectations,
- howHeard: formData.howHeard,
- dietary: dietaryString,
- crewConsent: formData.crewConsent,
-
}),
})
@@ -116,13 +94,6 @@ export default function RegisterPage() {
}
}
- const handleDietaryChange = (value: string, checked: boolean) => {
- setFormData((prev) => ({
- ...prev,
- dietary: checked ? [...prev.dietary, value] : prev.dietary.filter((item) => item !== value),
- }))
- }
-
// Pricing summary line
const pricingSummary = PRICING_TIERS.map(
(t) => `€${t.price} ${t.label}${t === tier ? " (current)" : ""}`
@@ -359,139 +330,6 @@ export default function RegisterPage() {
- {/* Contact */}
-
-
- setFormData({ ...formData, contact: e.target.value })}
- />
-
-
- {/* Contributions */}
-
-
-
-
- {/* Expectations */}
-
-
-
-
- {/* How heard */}
-
-
- setFormData({ ...formData, howHeard: e.target.value })}
- />
-
-
- {/* Dietary Requirements */}
-
-
-
- Do you have any special dietary requirements?
-
-
- {["vegetarian", "vegan", "gluten free", "lactose free"].map((diet) => (
-
- handleDietaryChange(diet, checked as boolean)}
- />
-
-
- ))}
-
-
-
-
- {/* Participation Consent */}
-
-
-
-
- {EVENT_SHORT} is a collaborative event — participants co-create its program,
- activities, and atmosphere together.
-
-
- You will be expected to actively contribute to the event beyond just attending sessions.
-
-
-
setFormData({ ...formData, crewConsent: value })}
- >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-