Skip to content

Commit

Permalink
Merge pull request #449 from Sejalitgithub/issuesolve
Browse files Browse the repository at this point in the history
issue solved by adding contact us form
  • Loading branch information
vimistify authored Oct 11, 2024
2 parents 200883a + d09999a commit 5452dc8
Show file tree
Hide file tree
Showing 2 changed files with 221 additions and 10 deletions.
209 changes: 209 additions & 0 deletions Contactus.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us</title>
<link rel="stylesheet" href="src/css/index.css">
<link rel="shortcut icon" href="ambulance.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"> <!-- Updated to latest version -->
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
color: #333;
display: flex;
flex-direction: column;
min-height: 100vh;
}

.menu ul li a {
padding: 10px 15px;
color: black;
text-decoration: none;
}

.menu ul li a.active {
color: white;
background-color: #000;
}

.content {
margin: 20px;
padding: 20px;
background-color: #fff;
border-radius: 5px;
flex-grow: 1;
}

h1 {
color: #2c3e50;
text-align: center;
margin-bottom: 20px;
}

.contact-form {
max-width: 600px;
margin: 0 auto;
background-color: #e7f3fe;
border-radius: 10px;
padding: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.contact-form input,
.contact-form textarea {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #2980b9;
border-radius: 5px;
}

.contact-form button {
background-color: #e81a1a;
color: white;
padding: 10px 20px;
border: none;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}

.contact-form button:hover {
background-color: #d61a1a;
}

.location {
text-align: center;
margin-top: 20px;
padding: 20px;
border-radius: 10px;
background-color: #e7f3fe;
}

footer {
background-color: #000;
color: white;
text-align: center;
padding: 10px 0;
position: relative;
bottom: 0;
width: 100%;
}

.hover-link {
color: #000000;
text-decoration: none;
margin-right: 10px;
background: none;
cursor: pointer;
transition: color 0.3s ease;
}

.hover-link:hover {
color: blue;
background: none;
}

@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
</style>
</head>
<body>

<header>
<div class="container">
<div class="logo">
<div class="brand-name">
<span class="letter red" style="--letter-index: 1;">A</span>
<span class="letter red" style="--letter-index: 2;">m</span>
<span class="letter red" style="--letter-index: 3;">b</span>
<span class="letter red" style="--letter-index: 4;">u</span>
<span class="letter" style="--letter-index: 5;">F</span>
<span class="letter" style="--letter-index: 6;">l</span>
<span class="letter" style="--letter-index: 7;">o</span>
<span class="letter" style="--letter-index: 8;">w</span>
</div>
<img src="images/logo2-w.webp" alt="Ambulance Monitoring System Logo" style="width: 50px; height: auto" />
</div>

<nav class="menu">
<ul>
<li><a href="index.html" id="home-link" onclick="changeContent('home')"><i class="fa-solid fa-house"></i> Home</a></li>
<li><a href="features.html" id="features-link" onclick="changeContent('features')"><i class="fa-solid fa-file"></i> Features</a></li>
<li><a href="team.html" id="team-link" onclick="changeContent('team')"><i class="fa-solid fa-user-group"></i> Team</a></li>
<li><a href="contact.html" id="contact-link" onclick="changeContent('contact')"><i class="fa-solid fa-phone"></i> Contact</a></li>
<li><a href="Feedback.html" id="feedback-link" onclick="changeContent('feedback')"><i class="fa-solid fa-clipboard"></i> Feedback</a></li>
</ul>
</nav>
<div class="buttons">
<a href="login.html" class="login">Log in</a>
<a href="up.html" class="get-started">Get started</a>
</div>
</div>
</header>

<div class="content" id="main-content">
<h1>Contact Us</h1>
<div class="contact-form">
<form action="#" method="post">
<input type="text" placeholder="Your Name" required>
<input type="email" placeholder="Your Email" required>
<input type="tel" placeholder="Your Phone Number">
<textarea rows="5" placeholder="Your Message" required></textarea>
<button type="submit">Send Message</button>
</form>
</div>

<div class="location">
<h2>Our Location</h2>
<p>123 Emergency Lane, Mumbai, India</p>
<p>Email: <a href="mailto:[email protected]" class="hover-link">[email protected]</a></p>
<p>Phone: <a href="tel:+91-911-1234567" class="hover-link">+91-911-1234567</a></p>
</div>
</div>

<footer style="color: #f3f4f6; text-align: center; width: 100%; background-color: #C4D7FF; border: none;">
<div style="display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 20px 0;">
<!-- Quick Links Section -->
<div style="flex: 1; min-width: 200px; margin-bottom: 20px;">
<h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Quick Links</h3>
<ul style="list-style-type: none; padding: 0;">
<li><a href="about.html" class="footer-link">About Us</a></li>
<li><a href="contact.html" class="footer-link">Contact Us</a></li>
<li><a href="privacy.html" class="footer-link">Privacy Policy</a></li>
<li><a href="terms.html" class="footer-link">Terms of Service</a></li>
<li><a href="sitemap.html" class="footer-link">Site Map</a></li>
</ul>
</div>

<!-- Contact Information Section -->
<div style="flex: 1; min-width: 200px; margin-bottom: 10px;">
<h3 style="font-size: 1.5rem; color: #2980b9;">Contact Info</h3>
<p style="color: #000;">123 Emergency Lane, Mumbai, India</p>
<a href="mailto:[email protected]" class="footer-link">[email protected]</a>
<p style="color: #000000;">Phone: <a href="tel:+91-911-1234567" class="footer-link">+91-911-1234567</a></p>
</div>

<!-- Social Media Links -->
<div style="flex: 1; min-width: 200px; margin-bottom: 20px;">
<h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Follow Us</h3>
<a href="https://www.facebook.com" class="hover-link"><i class="fab fa-facebook-f"></i> Facebook</a><br>
<a href="https://twitter.com" class="hover-link"><i class="fab fa-twitter"></i> Twitter</a><br>
<a href="https://www.instagram.com" class="hover-link"><i class="fab fa-instagram"></i> Instagram</a><br>
</div>
</div>
<p style="font-size: 0.8rem; color: #000;">&copy; 2024 Nursing Tomorrow's Smile. All rights reserved.</p>
</footer>

</body>
</html>
22 changes: 12 additions & 10 deletions team.html
Original file line number Diff line number Diff line change
Expand Up @@ -290,21 +290,23 @@ <h2>GPS Technician</h2>

<!-- Contact Section in Full Row -->
<div class="features-container">
<div class="contact-features">
<div class="inner">
<div class="contact-features">
<div class="inner">
<div class="front">
<img src="images/contact-w.avif" alt="Contact Us" />
<h2>Contact Us</h2>
<a href="Contactus.html">
<img src="images/contact-w.avif" alt="Contact Us" />
<h2>Contact Us</h2>
</a>
</div>
<div class="back">
<p>
Reach out to us for any inquiries or assistance. We're here to
help you 24/7 with our emergency services.
</p>
<a href="contact.html" class="button">Go to Contact</a>
<p>
Reach out to us for any inquiries or assistance. We're here to
help you 24/7 with our emergency services.
</p>
<a href="contact.html" class="button">Go to Contact</a>
</div>
</div>
</div>
</div>
</div>


Expand Down

0 comments on commit 5452dc8

Please sign in to comment.