Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contact us page #96

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
225 changes: 225 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="DALL·E 2024-08-28 12.19.31 - A clean and moderately detailed logo for a Sanskrit education website. T.webp">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>मातृबोधः</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="animations.css">
<link rel="stylesheet" href="scontentcss.css">
<link rel="stylesheet" href="footercss.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
body {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
background: url('WhatsApp Image 2024-09-24 at 01.04.26_9c5f6797.jpg') no-repeat center center/cover;
color: #ffffff;
min-height: 100vh;
background-attachment: fixed;
}

.contact-section {
display: flex;
justify-content: center;
align-items: center;
min-height: 90vh;
background: linear-gradient(to right, #e6ecee, #2c575f);
padding: 3rem 1rem;
background-image: url('WhatsApp Image 2024-09-24 at 01.04.26_9c5f6797.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

.contact-container {
max-width: 900px;
width: 100%;
backdrop-filter: blur(35px);
background: rgba(235, 223, 223, 0.8);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 16px;
padding: 2rem;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: row;
gap: 1.5rem;
justify-content: center;
align-items: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-align: center;
}

.form-left {
flex: 1;
display: flex;
flex-direction: column;
gap: 1.3rem;
}

.form-group {
margin-bottom: 1.3rem;
}

.form-label {
display: block;
font-weight: 600;
margin-bottom: 0.5rem;
color: #000000;
}

.form-input, textarea {
width: 100%;
padding: 0.5rem;
border: none;
border-radius: 8px;
background: rgba(255, 255, 255, 0.7);
color: #000000;
font-size: 1rem;
box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
transition: box-shadow 0.3s ease, background 0.3s ease;
}

.form-input:focus, textarea:focus {
outline: none;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

textarea {
resize: none;
height: 120px;
}

.btn-submit {
display: inline-block;
background: linear-gradient(135deg, #3c6665, #34e89e);
color: #ffffff;
padding: 0.75rem 1.5rem;
border-radius: 12px;
font-weight: bold;
cursor: pointer;
border: none;
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover {
transform: translateY(-4px);
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}
</style>
</head>
<body>
<header>
<nav>
<a href="#hero" class="logo">मातृबोधः</a>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="#wisdom">About</a></li>
<li class="dropdown">
<a href="#">Content</a>
<ul class="dropdown-content">
<li><a href="countingpage.html">Counting</a></li>
<li><a href="#">Days</a></li>
<li><a href="#">Activities</a></li>
</ul>
</li>
<li><a href="login.html">Login</a></li>
</ul>
<a href="contact.html" class="btn-contact">Contact</a>
</nav>
</header>
<div>
<!-- Contact Section -->
<section id="contact" class="contact-section">
<div class="contact-container">
<div class="form-left">
<h2 class="text-3xl font-bold text-indigo-600">Reach Out to Us</h2>
<p class="text-center text-gray-600 mb-6">
We’d love to hear from you! Fill out the form below, and we’ll get back to you soon.
</p>
<form action="submit_contact.php" method="POST" class="form-container" onsubmit="handleFormSubmit(event)">
<div class="form-group">
<label for="name" class="form-label">Full Name</label>
<input type="text" id="name" name="name" class="form-input" required>
</div>
<div class="form-group">
<label for="email" class="form-label">Email Address</label>
<input type="email" id="email" name="email" class="form-input" required>
</div>
<div class="form-group">
<label for="message" class="form-label">Your Message</label>
<textarea id="message" name="message" class="form-input" rows="6" required></textarea>
</div>
<button type="submit" class="btn-submit">Submit</button>
<p id="success-message" style="color: green; display: none; margin-top: 10px;">Your message has been submitted successfully!</p>
</form>
</div>
</div>
</section>
</div>

<footer class="main-footer">
<div class="footer-content">
<div class="footer-section">
<h3>मातृबोधः</h3>
<p>Educating children through India's timeless wisdom and cultural heritage.</p>
<div class="social-links">
<a href="https://github.com/Anjaliavv51/Matrubodhah" target="_blank" aria-label="Facebook"><i class="fab fa-facebook"></i></a>
<a href="https://github.com/Anjaliavv51/Matrubodhah" target="_blank" aria-label="Twitter"><i class="fab fa-twitter"></i></a>
<a href="https://github.com/Anjaliavv51/Matrubodhah" target="_blank" aria-label="Instagram"><i class="fab fa-instagram"></i></a>
<a href="https://github.com/Anjaliavv51/Matrubodhah" target="_blank" aria-label="YouTube"><i class="fab fa-youtube"></i></a>
<a href="https://github.com/Anjaliavv51/Matrubodhah" target="_blank" aria-label="Linkedin"><i class="fa-brands fa-linkedin-in"></i></a>
</div>
</div>

<div class="footer-section">
<h4>Quick Links</h4>
<ul>
<li><a href="#hero">Home</a></li>
<li><a href="#wisdom">About Us</a></li>
<li><a href="#content">Our Courses</a></li>
<li><a href="#hero">Contact</a></li>
</ul>
</div>

<div class="footer-section">
<h4>Learning Paths</h4>
<ul>
<li><a href="countingpage.html">Counting</a></li>
<li><a href="#hero">Days</a></li>
<li><a href="#hero">Activities</a></li>
</ul>
</div>

<div class="footer-section">
<h4>Contact Us</h4>
<ul class="contact-info">
<li><i class="fas fa-envelope"></i><a href="mailto:[email protected]">[email protected]</a></li>
<li><i class="fas fa-map-marker-alt"></i><span>India</span></li>
</ul>
</div>
</div>

<div class="footer-bottom">
<p>&copy; 2024 मातृबोधः. Made with <span class="heart">❤️</span> by <a href="https://github.com/Anjaliavv51/Matrubodhah" target="_blank">@Sakthi</a></p>
</div>
</footer>

<script src="//code.tidio.co/5w3m6cpl10rvqjkkmhv1nx8p0fqloyq6.js" async></script>
<script src="scrollscript.js"></script>
<script src="audio.js"></script>

<script>
function handleFormSubmit(event) {
event.preventDefault(); // Prevent the default form behavior
// Show the success message
document.getElementById('success-message').style.display = 'block';
}
</script>
</body>
</html>
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
</ul>
</li>
<li><a href="login.html">Login</a></li>

</ul>
<a href="contact.html" class="btn-contact">Contact</a>



<a href="#" class="btn-contact">Contact</a>
</ul>
Expand Down