Adding rsvp page and link from index

This commit is contained in:
collin 2025-06-25 23:31:50 +02:00
parent 2ae8f6b58d
commit 0ccf781fad
2 changed files with 39 additions and 8 deletions

View file

@ -35,6 +35,7 @@
<a href="https://www.openstreetmap.org/node/2869212621"><h5 class="fontS">Open Map</h5></a> <a href="https://www.openstreetmap.org/node/2869212621"><h5 class="fontS">Open Map</h5></a>
</div> </div>
</div> </div>
<a href="/rsvp.html">
<div class="rsvpButton textCenter backgroundLightGreen hidden"> <div class="rsvpButton textCenter backgroundLightGreen hidden">
<p class="colorBlack"> <p class="colorBlack">
R <br/> R <br/>
@ -43,6 +44,7 @@
P <br/> P <br/>
</p> </p>
</div> </div>
</a>
<script src="rsvp.js"></script> <script src="rsvp.js"></script>
</body> </body>
</html> </html>

29
client/rsvp.html Normal file
View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1 class="title fontXL textCenter backgroundLightGreen colorWhite">Collin and Lucy's Wedding</h1>
<div class="contents fontM">
<form action="/rsvp" method="post">
<p>
<label for="name-0">Name:</label>
<input type="text" id="name-0" name="name"/>
</p>
<p>
Age:
<label for="age-child-0">Child</label>
<input type="radio" id="age-child-0" name="child" value="true"/>
<label for="age-adult-0">Adult</label>
<input type="radio" id="age-adult-0" name="child" value="false"/>
</p>
<p>
<label for="diet-0">Dietary preferences:</label>
<textarea id="diet-0" name="dietaryPreferences"></textarea>
</p>
</form>
</div>
<script src="rsvp.js"></script>
</body>
</html>