Skip to content

Commit

Permalink
wip - trying to fix burgerclick
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Jun 23, 2024
1 parent a40c3e9 commit 17717d7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
Empty file added themes/freenet/.hugo_build.lock
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}

/* Responsive adjustments */
@media (max-width: 767px) {
@media (max-width: 639px) {
.logo-text {
font-size: 1.2rem;
margin-left: 0.3rem;
Expand All @@ -38,7 +38,7 @@
}
}

@media (min-width: 768px) {
@media (min-width: 640px) {
.navbar-menu {
display: flex !important; /* Show menu on larger screens */
}
Expand Down
File renamed without changes.
11 changes: 1 addition & 10 deletions themes/freenet/layouts/partials/head/js.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
{{- with resources.Get "js/main.js" }}
{{- if eq hugo.Environment "development" }}
{{- with . | js.Build }}
<script src="{{ .RelPermalink }}"></script>
{{- end }}
{{- else }}
{{- $opts := dict "minify" true }}
{{- with . | js.Build $opts | fingerprint }}
<script src="{{ .RelPermalink }}" integrity="{{- .Data.Integrity }}" crossorigin="anonymous"></script>
{{- end }}
{{- end }}
<script src="{{ .Permalink }}"></script>
{{- end }}
4 changes: 2 additions & 2 deletions themes/freenet/layouts/partials/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
<img src="/img/freenet_logo.svg" alt="Freenet Logo" class="logo-img">
<span class="logo-text">Freenet</span>
</a>
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="freenetNavbar">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div class="navbar-menu">
<div id="freenetNavbar" class="navbar-menu">
<div class="navbar-start">
{{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
</div>
Expand Down

0 comments on commit 17717d7

Please sign in to comment.