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

Fix issue #1604 Add icons in "Get in Touch" Section. #1871

Open
wants to merge 1 commit 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
7 changes: 5 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2394,15 +2394,18 @@ <h3>About BuddyTrail</h3>
<h3>Send Us a Message</h3>
<form id="contactForm">
<div class="form-group">
<input type="text" id="name" class="form-control" placeholder="Your Name" required pattern="[a-zA-Z ]+"
<i class="fas fa-user"></i>
<input type="text" id="name" class="form-control" placeholder="Your Name" required pattern="[a-zA-Z ]+"
oninvalid="this.setCustomValidity('Numbers and Symbols are not allowed')"
oninput="this.setCustomValidity('')">
</div>
<div class="form-group">
<input type="email" id="email" class="form-control" placeholder="Your Email" required>
<i class="fas fa-envelope"></i>
<input type="email" id="email" class="form-control" placeholder=" Your Email" required>

</div>
<div class="form-group">
<i class="fas fa-message"></i>
<textarea id="message" class="form-control" rows="4" placeholder="Your Message" required></textarea>
</div>
<button class="book-btn" type="submit">Send Message</button>
Expand Down
39 changes: 34 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1161,16 +1161,13 @@ body {
color: black;
}

issue

h2 {
main

h2 {
font-size: 2.5em;
font-weight: 700;
margin: 10px 0; /* Margin adjustment */
color: #007bff;

color: #007bff;
}

p {
Expand Down Expand Up @@ -3056,3 +3053,35 @@ body {
border-radius: 50%; /* Optional: make it circular */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Optional: shadow */
}



/* fa form contact-form icon */
.form-group .form-control{
padding-left: 6%;
}
.fa-user{
position: absolute;
left:2.7rem;
top:3.50rem;
font-size: 14px;
color: grey;
}
.fa-envelope{
position: absolute;
left: 2.7rem;
top: 3.6rem;
font-size: 14px;
color: grey;
}
.fa-message{
position: absolute;
left: 2.7rem;
top: 3.8rem;
font-size: 14px;
color: grey;
}
.email-padding input[type="email"]{
padding-left: 30px; /* get in touch padding for icon*/
}
/* fa icon end */
Loading