···114114 />
115115116116 <div v-show="!saving">
117117- <div class="mx-4 mt-4 mb-8 px-4 bg-gray-100 border border-gray-400 rounded-md shadow" :id="`guest-container-${guest.id}`" v-for="(guest) in invitation.guests" :key="guest.id">
117117+ <div class="mx-1 sm:mx-2 md:mx-4 mt-4 mb-8 px-4 bg-gray-100 border border-gray-400 rounded-md shadow" :id="`guest-container-${guest.id}`" v-for="(guest) in invitation.guests" :key="guest.id">
118118 <div class="group">
119119 <p>Name:</p>
120120 <input class="guest-name" :value="guest.name" />
···137137 <div class="group">
138138 <p>Transportation:</p>
139139 <FormToggle class="guest-transportation" :enabled="guest.transportation" label_no="Not Interested" label_yes="Interested" />
140140- <p class="info">Are you interested in transportation to and from the wedding venue? We are looking into hiring a bus to bring guests to and from Ithaca. Please let us know (for each person) if you're interested so we know how many seats we would need. We'll reach out to those that are interested with the details.</p>
140140+ <p class="info">Are you interested in possible transportation to and from the wedding venue? We are looking into hiring a bus to bring guests to and from Ithaca. Please let us know (for each person) if you're interested so we know how many seats we would need. We'll reach out to those that are interested with the details.</p>
141141 </div>
142142 <div class="group">
143143 <p>Dietary Restrictions:</p>
···11<script setup>
22+ import RiMail from '~icons/ri/mail-check-fill';
33+24 const { getDetails } = useCMS();
35 const email = await getDetails("contact_email");
66+ const props = defineProps({
77+ invitationFound: Boolean
88+ });
49</script>
510611<template>
712 <div class="bg-secondary py-4 px-6 sm:px-10 lg:py-12 rounded-t-md lg:rounded-tr-none lg:rounded-tl-md lg:rounded-bl-md">
88- <h1 class="text-white">RSVP</h1>
1313+ <h1 class="text-white"><RiMail class="inline" /> RSVP</h1>
914 <div class="instructions mt-6 max-w-3xl text-base text-slate-100">
1010- <p>To RSVP:</p>
1111- <ol>
1212- <li>Find the unique invite code from the invitation insert. This will be a code like <code class="font-bold">fuzzy-purple-emu</code>.</li>
1313- <li>Enter the code</li>
1414- <li>RSVP for each of the guests associated with the invitation</li>
1515- </ol>
1515+1616+ <!-- Instructions for filling out the RSVP -->
1717+ <div v-if="invitationFound">
1818+ <p class="font-semibold">To RSVP:</p>
1919+ <ol>
2020+ <li>Make sure to RSVP for each person</li>
2121+ <li>RSVP for both the Friday Welcome Dinner and the Saturday Ceremony & Reception</li>
2222+ <li>Select if you're interested in possible Transportation to/from the venue on Saturday</li>
2323+ <li>Add any dietary restrictions</li>
2424+ <li>Click the <strong>Save</strong> button at the bottom</li>
2525+ </ol>
2626+ </div>
2727+2828+ <!-- Instructions for Finding the Invitation -->
2929+ <div v-else>
3030+ <p class="font-semibold">To Find Your Invitation:</p>
3131+ <ol>
3232+ <li>Find the unique invite code from the invitation RSVP insert. This will be a code like <code class="font-bold">fuzzy-purple-emu</code>.</li>
3333+ <li>Enter the invite code</li>
3434+ <li>Click the <strong>Find Invitation</strong> button</li>
3535+ </ol>
3636+ </div>
3737+1638 <p>You can come back and update any of the information later.</p>
1739 <p>Don't know your invite code? Have any questions?<br />Email us at: <a :href="`mailto:${email}?subject=[Contact] RSVP Help`">{{ email }}</a></p>
1840 </div>