This commit is contained in:
Aashishad
2024-06-19 17:45:34 +05:45
parent 07712766a1
commit 87d5be606f
13 changed files with 242 additions and 86 deletions

View File

@ -68,8 +68,67 @@
class="fab fa-youtube fw-normal text-white"></i></a>
</div>
</div>
<div class="col-lg-2 row-cols-1 text-center mb-2 mb-lg-0">
<a href="" class="btn btn-outline-light rounded-pill m-3 " ">Apply Now</a>
<div class="col-lg-2 row-cols-1 text-center mb-2 mb-lg-0 ">
<a href="" class="btn btn-outline-light rounded-pill m-3 " data-bs-toggle="modal"
data-bs-target="#exampleModal" data-bs-whatever="Orient">Apply Now</a>
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Send message</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form>
<div class="row g-4">
<div class="col-lg-12 col-xl-6">
<div class="form-floating">
<input type="text" class="form-control" id="name" placeholder="Your Name">
<label for="name">Your Name</label>
</div>
</div>
<div class="col-lg-12 col-xl-6">
<div class="form-floating">
<input type="email" class="form-control" id="email" placeholder="Your Email">
<label for="email">Your Email</label>
</div>
</div>
<div class="col-lg-12 col-xl-6">
<div class="form-floating">
<input type="phone" class="form-control" id="phone" placeholder="Phone">
<label for="phone">Your Phone</label>
</div>
</div>
<div class="col-lg-12 col-xl-6">
<div class="form-floating">
<input type="text" class="form-control" id="project" placeholder="Destination">
<label for="Destination">Study Destination</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<input type="text" class="form-control" id="subject" placeholder="Subject">
<label for="subject">Subject</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<textarea class="form-control" placeholder="Leave a message here" id="message"
style="height: 160px"></textarea>
<label for="message">Enter your Enquiry in Detail(Optional)</label>
</div>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Send message</button>
</div>
</div>
</div>
</div>
</div>
<!-- <div class=" col-lg-4 text-center text-lg-end">
<div class="d-inline-flex align-items-center" style="height: 45px;">
@ -96,8 +155,8 @@
<div class="navbar-nav ms-auto py-0" style="border: none;">
<a href="index.php" class="nav-item nav-link ">Home</a>
<div class="nav-item dropdown">
<a href="aboutus.php" class="nav-link" data-bs-toggle="dropdown"><span
class="dropdown-toggle">About</span></a>
<a href="aboutus.php" class="nav-link" data-bs-toggle="dropdown"><span class="dropdown-toggle">About
Us</span></a>
<div class="dropdown-menu m-0">
<a href="aboutus.php" class="dropdown-item">Company Profile</a>
<a href="#" class="dropdown-item">Message from MD</a>
@ -106,7 +165,8 @@
</div>
<div class="nav-item dropdown">
<a href="#" class="nav-link" data-bs-toggle="dropdown"><span class="dropdown-toggle">Country</span></a>
<a href="#" class="nav-link" data-bs-toggle="dropdown"><span
class="dropdown-toggle">Destination</span></a>
<div class="dropdown-menu m-0">
<a href="australia.php" class="dropdown-item">Australia</a>
<a href="canada.php" class="dropdown-item">Canada</a>
@ -130,12 +190,12 @@
</div>
</div> -->
<a href="blog.php" class="nav-item nav-link">Blog</a>
<a href="gallery.php" class="nav-item nav-link">Gallery</a>
<a href="testimonial.php" class="nav-item nav-link">Testimonials</a>
<a href="testprep.php" class="nav-item nav-link">Test Preparation</a>
<!-- <a href="testimonial.php" class="nav-item nav-link">Testimonials</a> -->
<a href="contact.php" class="nav-item nav-link">Contact</a>
</div>
<button class="btn btn-primary btn-md-square border-secondary mb-3 mb-md-3 mb-lg-0 me-3"
data-bs-toggle="modal" data-bs-target="#searchModal"><i class="fas fa-search"></i></button>
<!-- <button class="btn btn-primary btn-md-square border-secondary mb-3 mb-md-3 mb-lg-0 me-3"
data-bs-toggle="modal" data-bs-target="#searchModal"><i class="fas fa-search"></i></button> -->
<!-- <a href="" class="btn btn-primary border-secondary rounded-pill py-2 px-4 px-lg-3 mb-3 mb-md-3 mb-lg-0">Get A
Quote</a> -->
</div>
@ -144,7 +204,7 @@
<!-- Navbar & Hero End -->
<!-- Modal Search Start -->
<div class="modal fade" id="searchModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<!-- <div class="modal fade" id="searchModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-fullscreen">
<div class="modal-content rounded-0">
<div class="modal-header">
@ -159,7 +219,7 @@
</div>
</div>
</div>
</div>
</div> -->
<!-- Modal Search End -->
<!-- JavaScript Libraries -->
@ -173,4 +233,22 @@
<!-- Template Javascript -->
<script src="js/main.js"></script>
<script src="js/main.js"></script>
<script>
var exampleModal = document.getElementById('exampleModal')
exampleModal.addEventListener('show.bs.modal', function (event) {
// Button that triggered the modal
var button = event.relatedTarget
// Extract info from data-bs-* attributes
var recipient = button.getAttribute('data-bs-whatever')
// If necessary, you could initiate an AJAX request here
// and then do the updating in a callback.
//
// Update the modal's content.
var modalTitle = exampleModal.querySelector('.modal-title')
var modalBodyInput = exampleModal.querySelector('.modal-body input')
modalTitle.textContent = 'New message to ' + recipient
modalBodyInput.value = recipient
})
</script>