D3vugu-components/root.vugu
David Vogel e722ae1d2b Add pagination component
- Add and update example pages
- Add example address component
- Add vugu data tags to struct fields
- Fix some button padding values
- Remove debug log line
- Fix background color of the sidebar menu
2023-05-16 18:10:24 +02:00

58 lines
1.7 KiB
Plaintext

<html>
<head>
</head>
<body>
<div style="width: 100vw; height: 100wh;">
<navigation:Sidebar>
<vg-slot name="MenuEntries">
<navigation:ButtonFullscreen></navigation:ButtonFullscreen>
</vg-slot>
<vg-slot name="Entries">
<navigation:SidebarEntry URL="/">
<vg-slot name="SymbolSlot"><icons:LHome></icons:LHome></vg-slot>
<vg-slot name="DefaultSlot"><div>Home</div></vg-slot>
</navigation:SidebarEntry>
<navigation:SidebarEntry URL="/icons/">
<vg-slot name="SymbolSlot"><icons:LStar></icons:LStar></vg-slot>
<vg-slot name="DefaultSlot"><div>Icons</div></vg-slot>
</navigation:SidebarEntry>
<navigation:SidebarEntry URL="/layout/">
<vg-slot name="SymbolSlot"><icons:LInfoCircle></icons:LInfoCircle></vg-slot>
<vg-slot name="DefaultSlot"><div>Typography & Layout</div></vg-slot>
</navigation:SidebarEntry>
</vg-slot>
<vg-slot name="BottomEntries">
<navigation:SidebarEntry URL="/user/">
<vg-slot name="SymbolSlot"><icons:LGlobe></icons:LGlobe></vg-slot>
<vg-slot name="DefaultSlot"><div>John Doe</div></vg-slot>
</navigation:SidebarEntry>
<navigation:SidebarEntry URL="/settings/">
<vg-slot name="SymbolSlot"><icons:LSettings></icons:LSettings></vg-slot>
<vg-slot name="DefaultSlot"><div>Settings</div></vg-slot>
</navigation:SidebarEntry>
</vg-slot>
<vg-slot name="Body">
<vg-comp expr="c.Body"></vg-comp>
</vg-slot>
</navigation:Sidebar>
</div>
</body>
</html>
<style>
html {
font-family: "Segoe UI", sans-serif;
}
body {
margin: 0;
}
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/icons"
"git.d3nexus.de/Dadido3/D3vugu-components/components/navigation"
)
</script>