diff --git a/app/api/create-checkout-session/route.ts b/app/api/create-checkout-session/route.ts index c6e556c..9e5c889 100644 --- a/app/api/create-checkout-session/route.ts +++ b/app/api/create-checkout-session/route.ts @@ -42,11 +42,6 @@ const PROCESSING_FEE_PERCENT = 0.02 // 2% to cover Mollie payment processing fee const ACCOMMODATION_PRICES: Record = { "ch-multi": { label: "Bed in shared room (Commons Hub)", price: 279.30 }, "ch-double": { label: "Bed in double room (Commons Hub)", price: 356.30 }, - "hh-single": { label: "Single room (Herrnhof)", price: 665 }, - "hh-double-separate": { label: "Double room, separate beds (Herrnhof)", price: 420 }, - "hh-double-shared": { label: "Double room, shared double bed (Herrnhof)", price: 350 }, - "hh-triple": { label: "Triple room (Herrnhof)", price: 350 }, - "hh-daybed": { label: "Daybed or extra bed in living room (Herrnhof)", price: 280 }, } // Public base URL diff --git a/app/transparency/page.tsx b/app/transparency/page.tsx index 9db3473..2ac5f56 100644 --- a/app/transparency/page.tsx +++ b/app/transparency/page.tsx @@ -117,47 +117,6 @@ export default function FinancialTransparencyPage() { -

Herrnhof Villa (nearby)

-

- Historic 19th-century mansion with newly renovated apartments, sauna, and river swimming platform. - All prices per person for 7 nights (incl. city tax & VAT). -

-
-
-
- Single room - €665 (€95/night) -
-
-
-
- Double room (separate beds) - €420/person (€60/night) -
-
-
-
- Double room (shared double bed) - €350/person (€50/night) -
-
-
-
- Triple room (one single, one shared double bed) - €350/person (€50/night) -
-
-
-
- Daybed or extra bed in living room - €280/person (€40/night) -
-
-

- For whole-apartment quotes, contact office@commons-hub.at. -

-
-

Other accommodation nearby:

{includeAccommodation ? (
- {/* Venue selection */} - { - const venue = value as "commons-hub" | "herrnhof" - setAccommodationVenue(venue) - setAccommodationType(venue === "commons-hub" ? "ch-multi" : "hh-single") - }} - className="space-y-2" - > -
- - -
-
- - -
-
- - {/* Sub-options per venue */} - {accommodationVenue === "commons-hub" ? ( -
+

30 beds on-site at the main venue. Basic, communal accommodation.

@@ -256,54 +225,6 @@ export default function RegisterForm({ tierOverride, promoCode, banner }: Regist
- ) : ( -
-

- Historic 19th-century mansion with newly renovated apartments, sauna, - and river swimming platform. Prices per person for 7 nights (incl. city tax & VAT). -

- -
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
-

- For whole-apartment quotes, contact{" "} - office@commons-hub.at. -

-
- )}
) : (

diff --git a/lib/booking-sheet.ts b/lib/booking-sheet.ts index bd49e3b..2be7ac9 100644 --- a/lib/booking-sheet.ts +++ b/lib/booking-sheet.ts @@ -21,27 +21,6 @@ const ACCOMMODATION_CRITERIA: Record< bedTypes: ["double", "double (shared)"], roomFilter: (room) => room === "2", }, - "hh-single": { - venue: "Herrnhof Villa", - bedTypes: ["double"], - }, - "hh-double-separate": { - venue: "Herrnhof Villa", - bedTypes: ["single"], - }, - "hh-double-shared": { - venue: "Herrnhof Villa", - bedTypes: ["double (shared)"], - }, - "hh-triple": { - venue: "Herrnhof Villa", - bedTypes: ["double (shared)"], - roomFilter: (room) => room.toLowerCase().includes("triple"), - }, - "hh-daybed": { - venue: "Herrnhof Villa", - bedTypes: ["couch"], - }, } interface BedRow { @@ -65,7 +44,7 @@ interface BookingResult { * Parse the booking spreadsheet to extract bed information. * * Expected sheet structure: - * - Two venue sections: "Commons Hub" and "Herrnhof Villa" appear as section headers + * - Venue sections (e.g. "Commons Hub") appear as section headers * - Below each header: column headers with Room, Bed Type, then date columns * - Bed rows follow with room number, bed type, and occupant names in date columns * - Room numbers may be merged (only first row of a room group has the room number) @@ -96,15 +75,6 @@ function parseBookingSheet(data: string[][]): BedRow[] { lastRoom = "" continue } - if ( - firstCell.toLowerCase().includes("herrnhof") || - firstCell.toLowerCase().includes("villa") - ) { - currentVenue = "Herrnhof Villa" - inDataSection = false - lastRoom = "" - continue - } if (!currentVenue) continue diff --git a/lib/email.ts b/lib/email.ts index 3c67438..16fc84a 100644 --- a/lib/email.ts +++ b/lib/email.ts @@ -152,7 +152,7 @@ export async function sendPaymentConfirmation( data.accommodationVenue ? `

Your accommodation at the ${data.accommodationVenue}${data.accommodationRoom ? ` (Room ${data.accommodationRoom})` : ""} has been reserved for the duration of the gathering.

We'll be in touch about food arrangements as we work to keep costs down while creating inclusive, participatory processes for the event.

` - : `

We'll be in touch about food arrangements as we work to keep costs down while creating inclusive, participatory processes for the event. If you haven't yet decided on accommodation, the Commons Hub (our main venue) and the nearby Herrnhof Villa are the most convenient options — right in the heart of the gathering. Email contact@cryptocommonsgather.ing for any questions.

` + : `

We'll be in touch about food arrangements as we work to keep costs down while creating inclusive, participatory processes for the event. If you haven't yet decided on accommodation, the Commons Hub (our main venue) is the most convenient option — right in the heart of the gathering. Email contact@cryptocommonsgather.ing for any questions.

` }

What's Next?