ravenscott-blog/views/contact.ejs

97 lines
4.4 KiB
Plaintext
Raw Normal View History

2024-09-16 07:53:26 -04:00
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta and Title -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Me - Raven Scott</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css">
<!-- Font Awesome CSS for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<!-- Custom CSS -->
2024-09-25 23:55:47 -04:00
<link rel="stylesheet" href="https://raven-scott.fyi/css/styles.css">
2024-09-19 08:30:19 -04:00
<!-- reCAPTCHA API -->
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
2024-09-16 07:53:26 -04:00
</head>
<body class="bg-dark text-white">
<!-- Navigation Bar -->
<nav class="navbar navbar-expand-lg navbar-dark">
<div class="container-fluid">
2024-09-25 23:55:47 -04:00
<a class="navbar-brand" href="https://raven-scott.fyi">raven-scott.fyi</a>
2024-09-16 07:53:26 -04:00
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
2024-09-25 23:55:47 -04:00
<a class="nav-link active" href="https://raven-scott.fyi">Home</a>
2024-09-16 07:53:26 -04:00
</li>
<li class="nav-item">
2024-09-26 00:16:43 -04:00
<a class="nav-link" href="https://raven-scott.fyi/about">About Me</a>
2024-09-16 07:53:26 -04:00
</li>
<li class="nav-item">
2024-09-26 00:16:43 -04:00
<a class="nav-link" href="https://raven-scott.fyi/contact">Contact</a>
2024-09-16 07:53:26 -04:00
</li>
</ul>
</div>
</div>
</nav>
<!-- Contact Me Section -->
<header class="d-flex align-items-center justify-content-center text-center py-5">
<div class="container">
<h2 class="mb-4 text-white">Contact Me</h2>
<p class="lead text-white">Have a question or need help with a project? Fill out the form below, and I'll be in touch!</p>
<!-- Display success or error message -->
<% if (typeof msg !== 'undefined') { %>
<div class="alert alert-info mt-3">
<%= msg %>
</div>
<% } %>
<!-- Contact Form -->
<form action="/contact" method="POST" class="mt-4">
<div class="mb-3">
<label for="name" class="form-label">Your Name<span class="text-danger">*</span></label>
<input type="text" class="form-control bg-dark text-white border-secondary" id="name" name="name" required>
</div>
<div class="mb-3">
<label for="email" class="form-label">Email Address<span class="text-danger">*</span></label>
<input type="email" class="form-control bg-dark text-white border-secondary" id="email" name="email" required>
</div>
<div class="mb-3">
<label for="subject" class="form-label">Subject<span class="text-danger">*</span></label>
<input type="text" class="form-control bg-dark text-white border-secondary" id="subject" name="subject" required>
</div>
<div class="mb-3">
<label for="message" class="form-label">Your Message<span class="text-danger">*</span></label>
<textarea class="form-control bg-dark text-white border-secondary" id="message" name="message" rows="6" required></textarea>
</div>
2024-09-19 08:30:19 -04:00
<!-- reCAPTCHA -->
2024-09-19 08:35:20 -04:00
<CENTER><div class="g-recaptcha" data-sitekey="6LffOEkqAAAAAJRMNswRfgxmO6Dj7PwybknJYsgi"></div></CENTER>
2024-09-19 08:35:56 -04:00
<BR>
2024-09-16 07:53:26 -04:00
<button type="submit" class="btn btn-primary">Send Message</button>
</form>
</div>
</header>
<!-- Footer -->
<footer class="bg-dark text-white text-center py-4">
<div class="container">
<p class="mb-0">&copy; 2024 Raven Scott. All rights reserved.</p>
</div>
</footer>
<!-- Bootstrap JS Bundle -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>