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

✨issue #372 solved contact page improved✨ #395

Merged
merged 1 commit into from
Oct 14, 2024
Merged
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
38 changes: 19 additions & 19 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,26 @@
</header>

<div class="contact-section">
<h2>Contact Us</h2>
<h2><b><u>Contact Us</u></b></h2>
<p>Get in Touch</p>

<div class="contact-form-container">
<div class="contact-form">
<h3>Send Us a Message</h3>
<p>Having any questions or feedback? We'd love to hear from you!<br>
Feel free to reach us using the form below.
</p>
<input type="text" placeholder="Your Name" required>
<input type="email" placeholder="Your Email" required>
<input type="text" placeholder="Subject" required>
<textarea placeholder="Message" required></textarea>
<button class="btn-submit">Send Message</button>
</div>

<div class="contact-map">
<iframe src="https://www.google.com/maps/embed?pb=..."></iframe>
</div>
</div>
<div class="contact-info-container">
<div class="contact-info-box">
<i class="fas fa-map-marker-alt"></i>
Expand All @@ -90,24 +108,6 @@ <h3>Email Us</h3>
</ul>
</div>
</div>

<div class="contact-map">
<iframe src="https://www.google.com/maps/embed?pb=..."></iframe>
</div>

<div class="contact-form-container">
<div class="contact-form">
<h3>Send Us a Message</h3>
<p>Having any questions or feedback? We'd love to hear from you!<br>
Feel free to reach us using the form below.
</p>
<input type="text" placeholder="Your Name" required>
<input type="email" placeholder="Your Email" required>
<input type="text" placeholder="Subject" required>
<textarea placeholder="Message" required></textarea>
<button class="btn-submit">Send Message</button>
</div>
</div>
</div>

<footer class="footer">
Expand Down
35 changes: 24 additions & 11 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -998,8 +998,9 @@ input {

/* Contact Section Styles */
.contact-section {
max-width: 700px;
margin: 50px auto;
max-width: 1700px;
margin: 100px;
gap: 50px;
background-color: #fff;
padding: 30px;
border-radius: 10px;
Expand Down Expand Up @@ -1435,17 +1436,25 @@ body {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap:23px;
margin-bottom: 40px;
margin-top: 50px;

}
ul{
list-style-type: none;
}


.contact-info-box {
margin-top: 200px;
background-color: #ffffff;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7); border-radius: 8px;
width: 30%;
padding: 20px;
margin: 10px;
text-align: center;
border-radius: 18px;
transition: box-shadow 0.3s ease;
}

Expand Down Expand Up @@ -1474,14 +1483,18 @@ body {

/* Google Maps Embed */
.contact-map {
width: 100%;
max-width: 700px;
width: 50%;
height: 400px;
margin: 0 auto;
position: relative;
}

.contact-map iframe {
width: 100%;
height: 350px;
position: relative;
border-radius: 18px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
width: 900px;
height: 550px;
border: none;
border-radius: 8px;
}
Expand All @@ -1497,8 +1510,8 @@ body {

.contact-form {
background-color: #fff;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
border-radius: 18px;
width: 45%;
padding: 30px;
margin: 10px;
Expand Down Expand Up @@ -1571,7 +1584,7 @@ body {
}

ul {
list-style-type: square; /* Remove default bullet points */
list-style-type: none; /* Remove default bullet points */
padding: 0;
margin: 0;
}