Move dark/light/system theme button into header menu.
This commit is contained in:
parent
3ba519cf17
commit
0664067bd6
3 changed files with 14 additions and 7 deletions
|
|
@ -8,7 +8,6 @@ const revCount = import.meta.env.REV_COUNT;
|
|||
---
|
||||
<footer>
|
||||
<ul>
|
||||
<li><button data-toggle-theme><Icon /></button></li>
|
||||
<li>© 2026 <a href="https://bashelton.com/">Benjamin A. Shelton</a></li>
|
||||
<li>Some rights reserved.</li>
|
||||
<li>Revision <a href={revURL}>r{revCount} (sha1:{rev})</a></li>
|
||||
|
|
|
|||
|
|
@ -19,13 +19,14 @@ const base = import.meta.env.BASE_URL;
|
|||
<ul id="menu-items">
|
||||
<li><a href={urlfrag(base, '')}><span class="icon"><Icon name="house-door-fill" /></span> Home</a></li>
|
||||
<li><a href="#" data-click="config"><span class="icon"><Icon name="universal-access" /></span> Accessibility and Fonts</a></li>
|
||||
<li><span class="heading">Notes</span>
|
||||
<!--<li><span class="heading">Notes</span>
|
||||
<ul>
|
||||
<li><a href={urlfrag(base, '/notes/by/book/')}><span class="icon"><Icon name="book" /></span> By Book</a></li>
|
||||
<li><a href={urlfrag(base, '/notes/by/date/')}><span class="icon"><Icon name="calendar2-check-fill" /></span> By Date</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</li>-->
|
||||
<li><a href={urlfrag(base, 'copyrights/')}><span class="icon"><Icon name="c-circle" /></span> Copyright Notices</a></li>
|
||||
<li><button data-toggle-theme><Icon name="circle-half" /></button></li>
|
||||
</ul>
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue