wallapi / public /contact.html
Ig0tU
Deploy extracted standalone HTML forms
cde9d2f
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Form</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: transparent;
margin: 0;
padding: 20px;
color: #333;
}
.contact-form {
max-width: 600px;
margin: 0 auto;
background: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: #1a365d;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
box-sizing: border-box;
}
button[type="submit"], input[type="submit"] {
background-color: #1a365d;
color: white;
padding: 12px 24px;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
width: 100%;
transition: background-color 0.2s;
}
button[type="submit"]:hover, input[type="submit"]:hover {
background-color: #2c5282;
}
</style>
</head>
<body>
<div class="contact-form">
<h2 style="color:var(--color-navy);margin-bottom:2rem">Send Us a Message</h2>
<form data-validate="">
<div class="form-group"><label for="name">Full Name *</label><input type="text" id="name" name="name" required=""></div>
<div class="form-group"><label for="email">Email Address *</label><input type="email" id="email" name="email" required=""></div>
<div class="form-group"><label for="phone">Phone Number</label><input type="tel" id="phone" name="phone"></div>
<div class="form-group"><label for="subject">Subject *</label><select id="subject" name="subject" required="">
<option value="">Select a subject</option>
<option value="general">General Inquiry</option>
<option value="volunteer">Volunteering</option>
<option value="sponsor">Sponsorship</option>
<option value="tour">Group Tours</option>
<option value="media">Media/Press</option>
<option value="other">Other</option>
</select></div>
<div class="form-group"><label for="message">Message *</label><textarea id="message" name="message" required=""></textarea></div><button type="submit" class="btn btn-primary" style="width:100%">Send Message</button>
</form>
</div>
<!-- Integration Script to automatically wire this form up to the Hugging Face API -->
<script src="/live-site-integration.js"></script>
</body>
</html>