Skip to content

Commit

Permalink
Remove bootstrap.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lordiii committed Mar 9, 2024
1 parent 0cea88e commit e2add5a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
4 changes: 4 additions & 0 deletions sass/css/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ body {
[data-bs-theme="light"] .carousel .carousel-control-next-icon {
filter: invert(1) grayscale(100);
}

.dropdown:hover .dropdown-menu {
display: block;
}
7 changes: 0 additions & 7 deletions static/js/bootstrap.bundle.min.js

This file was deleted.

1 change: 0 additions & 1 deletion static/js/bootstrap.bundle.min.js.map

This file was deleted.

1 change: 0 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@

</div>

<script src="/js/bootstrap.bundle.min.js"></script>
<script src="/js/site.js"></script>

</body>
Expand Down
7 changes: 3 additions & 4 deletions templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
alt="Kreativität trifft Technik e.V. Logo">
</a>

<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
<button class="navbar-toggler" type="button"
data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
Expand All @@ -22,10 +22,9 @@
{% set subsection = get_section(path=subsectionPath) %}

<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown"
aria-expanded="false">
<div class="nav-link dropdown-toggle" role="button" aria-expanded="false">
{{ subsection.title }}
</a>
</div>
<ul class="dropdown-menu">
{% for page in subsection.pages %}
<li>
Expand Down

0 comments on commit e2add5a

Please sign in to comment.