Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
dadav committed Jul 20, 2024
1 parent 0647595 commit b7c3fe2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
26 changes: 16 additions & 10 deletions internal/v3/ui/components/page.templ
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,24 @@ templ Page(title string, content templ.Component) {
<nav>
<ul>
<li>
<ul>
<li><strong>Dark Mode</strong></li>
<li>
<label for="theme-toggle" class="switch">
<input type="checkbox" id="theme-toggle"/>
<span class="slider"></span>
</label>
</li>
</ul>
<a href="/" class="secondary">Search</a>
</li>
<li>
<a href="/statistics">Stats</a>
<a href="/statistics" class="secondary">Stats</a>
</li>
</ul>
<ul>
<li><strong>Gorge</strong></li>
</ul>
<ul>
<li>
<div class="switch">
<input type="checkbox" class="switch__input" id="theme-toggle"/>
<label class="switch__label" for="theme-toggle">
<span class="switch__indicator"></span>
<span class="switch__decoration"></span>
</label>
</div>
</li>
</ul>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion internal/v3/ui/components/page_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b7c3fe2

Please sign in to comment.