2023-05-15 06:58:12 +00:00
|
|
|
<div>
|
|
|
|
<layout:Container>
|
|
|
|
<h1>Home</h1>
|
|
|
|
<p>Lorem ipsum dolor sit am et</p>
|
|
|
|
<view:Code>
|
|
|
|
asdfefefeaf afe aef aef aef aef aef<br>
|
|
|
|
asdwfaefa efae fae faef ae<br>
|
|
|
|
u4iewgooijqoie ioigq oiegq eog qoeg
|
|
|
|
</view:Code>
|
2023-05-17 19:37:24 +00:00
|
|
|
<h2>Buttons</h2>
|
2023-05-15 06:58:12 +00:00
|
|
|
<input:Button>
|
|
|
|
<vg-slot name="SymbolSlot"><icons:LGlobe></icons:LGlobe></vg-slot>
|
|
|
|
<vg-slot name="DefaultSlot">Some Button</vg-slot>
|
|
|
|
</input:Button>
|
|
|
|
<input:Button>
|
|
|
|
<vg-slot name="SymbolSlot"><icons:LGlobe></icons:LGlobe></vg-slot>
|
|
|
|
<vg-slot name="DefaultSlot">Some Button</vg-slot>
|
|
|
|
</input:Button>
|
|
|
|
<input:Button>
|
|
|
|
<vg-slot name="SymbolSlot"><icons:LGlobe></icons:LGlobe></vg-slot>
|
|
|
|
<vg-slot name="DefaultSlot">Some Button</vg-slot>
|
|
|
|
</input:Button>
|
|
|
|
<p>Some <view:CodeInline>inlined code</view:CodeInline> in this line!</p>
|
2023-05-17 19:37:24 +00:00
|
|
|
<h2>Tags</h2>
|
|
|
|
This is some tag: <view:Tag>Some Tag</view:Tag> and <view:Tag>Another Tag</view:Tag>
|
|
|
|
<h2>List Container</h2>
|
|
|
|
<layout:ListContainer>
|
2023-05-18 11:55:48 +00:00
|
|
|
<layout:LayerContainer vg-for="i := 0; i < 5; i++" class="list-item d3c-color-layer-1">
|
2023-05-17 19:37:24 +00:00
|
|
|
<icons:LInfoCircle></icons:LInfoCircle>
|
|
|
|
<div vg-content="i"></div>
|
|
|
|
<div>Some Content!</div>
|
2023-05-18 11:55:48 +00:00
|
|
|
</layout:LayerContainer>
|
2023-05-17 19:37:24 +00:00
|
|
|
</layout:ListContainer>
|
2023-05-17 10:34:48 +00:00
|
|
|
<h2>Navigation buttons</h2>
|
|
|
|
<div style="display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0.5em 0;">
|
|
|
|
<input:Button class="d3c-button-vertical" style="margin: 0;">
|
|
|
|
<vg-slot name="SymbolSlot"><icons:LGlobe style="font-size: 2em;"></icons:LGlobe></vg-slot>
|
|
|
|
<vg-slot name="DefaultSlot">Navigation 1</vg-slot>
|
|
|
|
</input:Button>
|
|
|
|
<input:Button class="d3c-button-vertical" style="margin: 0;">
|
|
|
|
<vg-slot name="SymbolSlot"><icons:LGlobe style="font-size: 2em;"></icons:LGlobe></vg-slot>
|
|
|
|
<vg-slot name="DefaultSlot">Navigation 2</vg-slot>
|
|
|
|
</input:Button>
|
|
|
|
<input:Button class="d3c-button-vertical" style="margin: 0;">
|
|
|
|
<vg-slot name="SymbolSlot"><icons:LGlobe style="font-size: 2em;"></icons:LGlobe></vg-slot>
|
|
|
|
<vg-slot name="DefaultSlot">Navigation 3</vg-slot>
|
|
|
|
</input:Button>
|
|
|
|
</div>
|
2023-05-15 06:58:12 +00:00
|
|
|
</layout:Container>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<style>
|
2023-05-17 19:37:24 +00:00
|
|
|
.list-item {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 1em;
|
|
|
|
}
|
2023-05-15 06:58:12 +00:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<script type="application/x-go">
|
|
|
|
import (
|
|
|
|
"git.d3nexus.de/Dadido3/D3vugu-components/components/layout"
|
|
|
|
"git.d3nexus.de/Dadido3/D3vugu-components/components/view"
|
|
|
|
"git.d3nexus.de/Dadido3/D3vugu-components/components/input"
|
|
|
|
"git.d3nexus.de/Dadido3/D3vugu-components/icons"
|
|
|
|
)
|
|
|
|
|
|
|
|
type PageHome struct {}
|
|
|
|
</script>
|