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

'Get in Touch' Section can be improved #352 #396

Merged
Merged
Changes from 1 commit
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
150 changes: 75 additions & 75 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
padding: 20px;
max-width: 800px;
margin: 40px auto;
background: linear-gradient(180deg, #f5cb36 0%, #fae081 100%);
background:#f5cb36;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
Expand Down Expand Up @@ -92,14 +92,14 @@
/* border: 1px solid #ccc; */
border-radius: 4px;
font-size: 16px;
}
}

.contact-form .submit {

padding: 12px 20px;
width: 200px;
margin-left: 295px;
background: #e9b808;
background: #ffffff;
color: black;
border: none;
border-radius: 4px;
Expand All @@ -120,8 +120,8 @@
font-family: Arial, sans-serif;
}

<!--navbar-->
<div class="navbar">
/* <!--navbar--> */
/* <div class="navbar">
<nav>
<input type="checkbox" id="check">
<label for="check" class="checkbut">
Expand All @@ -138,19 +138,19 @@
<li><i class="fa-solid fa-at" style="filter:invert(1)"></i><a href="#contact">Contact Us</a></li>
<li><i class="fa-solid fa-message" style="filter:invert(1)"></i><a href="#feedback">Feedback</a></li>
</ul>
</nav>

</nav> */

.navbar {
width: 100%;
background: #333;
display: flex;
justify-content: left;
align-items: center;
position: fixed;
top: 0;
z-index: 1000;
}

.navbar {
width: 100%;
background: #333;
display: flex;
justify-content: left;
align-items: center;
position: fixed;
top: 0;
z-index: 1000;
}

.navbar nav ul {
margin: 0px;
Expand All @@ -175,83 +175,83 @@
font-size: 20px;
margin-right: 10px;
padding: 10px;
border-radius: 10px;
border-radius: 10px;


}

nav ul li a:hover{
color:#000000;
transform: scale(1.2);
background: linear-gradient(to top left, #edfc4890 30%, #f4d01e 20%);
/* margin-left: 30px; */
/* margin-right: 30px; */
transform: translateY(20px);

background: linear-gradient(to top left, #edfc4890 30%, #f4d01e 20%);
/* margin-left: 30px; */
/* margin-right: 30px; */
transform: translateY(20px);


}

.logo {
margin-right: auto; /* Optional: space between logo and right edge */
}

.home {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
height: 100vh;
background: url('images/background.jpg') no-repeat center center/cover;
padding-top: 80px; /* to avoid overlap with navbar */
}
.home {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
height: 100vh;
background: url('images/background.jpg') no-repeat center center/cover;
padding-top: 80px; /* to avoid overlap with navbar */
}

.home .container {
max-width: 800px;
}
.home .container {
max-width: 800px;
}

.home-thumb h1 {
font-size: 60px;
color: #d8aa03;
}
.home-thumb h1 {
font-size: 60px;
color: #d8aa03;
}

.home-thumb h3 {
margin: 20px 0;
font-size: 24px;
color: rgb(8, 8, 8);
}
.home-thumb h3 {
margin: 20px 0;
font-size: 24px;
color: rgb(8, 8, 8);

}

.home-thumb a.btn {
text-decoration: none;
color: white;
padding: 10px 20px;
margin: 10px;
border-radius: 5px;
display: inline-flex;
align-items: center;
}
.home-thumb a.btn {
text-decoration: none;
color: white;
padding: 10px 20px;
margin: 10px;
border-radius: 5px;
display: inline-flex;
align-items: center;
}

.home-thumb a.btn img {
height: 30px;
width: 30px;
margin-left: 15px;
border-radius: 5px;
}
.home-thumb a.btn img {
height: 30px;
width: 30px;
margin-left: 15px;
border-radius: 5px;
}

.btn-default {
background-color: #0c0b0b;
border: none;
}
.btn-default {
background-color: #0c0b0b;
border: none;
}

.btn-default:hover {
background-color: #4c4d4a;
}
.btn-default:hover {
background-color: #4c4d4a;
}

.preloader {
display: none; /* Hide preloader by default */
/* Add preloader styles here if needed */
}
.preloader {
display: none; /* Hide preloader by default */
/* Add preloader styles here if needed */
}


</style>
Expand Down Expand Up @@ -645,7 +645,7 @@ <h1 class="get">Get in Touch</h1>
</div>
<div class="contact-form wow fadeInUp" data-wow-delay="1.0s">
<form id="contact-form" action="http://127.0.0.1:5500/send-email" method="POST" onsubmit="sendEmail(); reset(); return false;">
<div class="row">
<!-- <div class="row"> -->
<div class="col-md-6 col-sm-6 rad">
<input name="name" id="name" type="text" class="form-control" placeholder="Your Name" required>
</div>
Expand All @@ -661,7 +661,7 @@ <h1 class="get">Get in Touch</h1>
<div>
<button class="submit">Submit</button>
</div>
</div>
<!-- </div> -->
</form>
</div>
</div>
Expand Down