add nav tree

This commit is contained in:
2024-10-11 00:23:32 -05:00
parent bba3cf4fc7
commit 3d89c63f8f
4 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<li><slot /></li>
<style lang="less">
li {
margin: 0;
padding: @padding-md;
text-align: center;
}
li:not(:last-of-type) {
border-bottom: 1px solid @color-dark;
}
</style>

View File

@ -0,0 +1,14 @@
<nav>
<ul>
<slot />
</ul>
</nav>
<style lang="less">
ul {
border-bottom: 2px solid @color-dark;
list-style-type: none;
margin: 0;
padding: 0;
}
</style>