Skip to content

Commit

Permalink
bootstrap js 5
Browse files Browse the repository at this point in the history
  • Loading branch information
jcupac committed Jun 24, 2024
1 parent 863f9c4 commit cdb6f42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
17 changes: 4 additions & 13 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
<!-- Link trigger modal -->
&vert;

<a type="button" class="" data-toggle="modal" data-target="#termsModal">
<a type="button" class="" data-bs-toggle="modal" data-bs-target="#termsModal">
Terms
</a>

&vert;

<!-- Link trigger modal -->
<a type="button" class="" data-toggle="modal" data-target="#privacyModal">
<a type="button" class="" data-bs-toggle="modal" data-bs-target="#privacyModal">
Privacy
</a>

Expand All @@ -32,22 +32,13 @@












<!-- Terms Modal -->
<div class="modal fade" id="termsModal" tabindex="-1" role="dialog" aria-labelledby="termsModal" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title" id="">Terms of Service</h2>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
Expand Down Expand Up @@ -213,7 +204,7 @@ <h5>SECTION 20 - CONTACT INFORMATION</h5>
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title" id="">Privacy</h2>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
Expand Down
12 changes: 2 additions & 10 deletions _includes/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,8 @@
<!-- Include Popper.js (Popper 2.x) -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>

<!-- Include Bootstrap JS (Bootstrap 5.x) (not working) -->
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> -->

<!-- Bootstrap JS (working)-->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>





<!-- Include Bootstrap JS (Bootstrap 5.x) -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>



Expand Down

0 comments on commit cdb6f42

Please sign in to comment.