Update dialog styles, move script.
This commit is contained in:
parent
26a730c149
commit
c9497b16a6
2 changed files with 22 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
import { urlfrag } from '../utils/path';
|
||||
|
||||
const base = import.meta.env.BASE_URL;
|
||||
---
|
||||
|
||||
|
|
@ -15,9 +16,10 @@ const base = import.meta.env.BASE_URL;
|
|||
<span class="label-text">Menu</span>
|
||||
<ul id="menu-items">
|
||||
<li><a href={urlfrag(base, '')}>Home</a></li>
|
||||
<li><a href="#" data-click="config">Accessibility and Fonts</a></li>
|
||||
<li><span class="heading">Notes</span>
|
||||
<ul>
|
||||
<li><a href="#">By Book</a></li>
|
||||
<!-- <li><a href="#">By Book</a></li>-->
|
||||
<li><a href="#">By Date</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
@ -25,4 +27,10 @@ const base = import.meta.env.BASE_URL;
|
|||
</ul>
|
||||
</label>
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
|
||||
<dialog class="config">testing</dialog>
|
||||
<script>
|
||||
import { bindEvents } from '../utils/config.js';
|
||||
bindEvents();
|
||||
</script>
|
||||
Loading…
Reference in a new issue