General enquries feature

This commit is contained in:
2026-05-04 20:32:24 +12:00
parent bf9331bb5b
commit fa1bc1a615
27 changed files with 657 additions and 164 deletions
+10 -3
View File
@@ -4,6 +4,7 @@
import type { BookingContent } from '$lib/types';
export let booking: BookingContent;
export let allowGeneralEnquiry = false;
const email = 'info@goodwalk.co.nz';
const phone = '(022) 642 1011';
@@ -12,8 +13,14 @@
<main class="booking-page">
<section class="booking-page-hero">
<div class="booking-page-inner">
<h1>Book a Meet &amp; Greet</h1>
<p class="booking-page-sub">Fill in the form below and we'll be in touch to arrange a free introduction.</p>
<h1>Contact Us</h1>
<p class="booking-page-sub">
{#if allowGeneralEnquiry}
Fill in the form below to book a Meet &amp; Greet or send a general enquiry.
{:else}
Fill in the form below and we'll be in touch to arrange a free introduction.
{/if}
</p>
<div class="booking-page-contact">
<a href="mailto:{email}" class="booking-contact-link">
<Icon name="fas fa-envelope" />
@@ -27,7 +34,7 @@
</div>
</section>
<BookingSection {booking} />
<BookingSection {booking} {allowGeneralEnquiry} />
</main>
<style>