Skip to content

Commit

Permalink
Merge pull request #439 from Ridhima10/contact-us-form
Browse files Browse the repository at this point in the history
Fixed contact us
  • Loading branch information
Manaregr8 authored Aug 10, 2024
2 parents 15a99b3 + 308733c commit 0a3f203
Showing 1 changed file with 104 additions and 2 deletions.
106 changes: 104 additions & 2 deletions server/views/about.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,110 @@
</div>
</div>
</div>
<button class="top-btn" id="goToTopBtn" onclick="goToTop()"><i class="fa-solid fa-chevron-up"
style="color: #ffffff;"></i></button>


<style>
.contact-section {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.contact-section h1 {
text-align: center;
margin-bottom: 40px;
}
.contact-content {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.contact-info {
flex: 1;
min-width: 300px;
margin-right: 20px;
}
.contact-info h2 {
font-size: 24px;
margin-bottom: 10px;
}
.contact-info p {
font-size: 16px;
line-height: 1.6;
margin-bottom: 1rem;
}
.contact-form {
flex: 1;
min-width: 300px;
}
.contact-form form {
display: flex;
flex-direction: column;
}
.contact-form input, .contact-form textarea {
margin-bottom: 15px;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
}
.contact-form input[type="submit"] {
background: linear-gradient(135deg,
rgb(64, 176, 228),
rgb(87, 43, 190),
rgb(223, 8, 212));
color: #fff;
border: none;
cursor: pointer;
}
.contact-form input[type="submit"]:hover {
background: linear-gradient(135deg,
rgb(64, 176, 228),
rgb(87, 43, 190),
rgb(223, 8, 212));
}
@media (max-width: 768px) {
.contact-content {
flex-direction: column;
}
.contact-info, .contact-form {
margin-right: 0;
}
}
</style>
</style>


<div class="contact-section">
<h1>Contact Us</h1>
<div class="contact-content">
<div class="contact-info">
<h2>Get in Touch</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla quis lorem ut libero malesuada feugiat. Praesent sapien massa, convallis a pellentesque nec, egestas non nisi.</p>
</div>
<div class="contact-form">
<form>
<input type="text" name="name" placeholder="Your Name" required>
<input type="email" name="email" placeholder="Your Email" required>
<textarea name="message" placeholder="Your Message" rows="5" required></textarea>
<input type="submit" value="Send Message">
</form>
</div>
</div>
</div>


<!-- Horizontal line separator. -->
<section class="footer">
<!-- Footer section. -->
Expand Down

0 comments on commit 0a3f203

Please sign in to comment.