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>
|
2023-05-25 13:59:13 +00:00
|
|
|
<vg-slot name="IconSlot"><icons:LGlobe></icons:LGlobe></vg-slot>
|
2023-05-15 06:58:12 +00:00
|
|
|
<vg-slot name="DefaultSlot">Some Button</vg-slot>
|
|
|
|
</input:Button>
|
|
|
|
<input:Button>
|
2023-05-25 13:59:13 +00:00
|
|
|
<vg-slot name="IconSlot"><icons:LGlobe></icons:LGlobe></vg-slot>
|
2023-05-15 06:58:12 +00:00
|
|
|
<vg-slot name="DefaultSlot">Some Button</vg-slot>
|
|
|
|
</input:Button>
|
|
|
|
<input:Button>
|
2023-05-25 13:59:13 +00:00
|
|
|
<vg-slot name="IconSlot"><icons:LGlobe></icons:LGlobe></vg-slot>
|
2023-05-15 06:58:12 +00:00
|
|
|
<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>
|
2023-05-27 11:43:48 +00:00
|
|
|
This is some tag: <view:Tag class="d3c-color-attention">Some Tag</view:Tag> and <view:Tag class="d3c-color-attention">Another Tag</view:Tag>
|
2023-05-17 19:37:24 +00:00
|
|
|
<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;">
|
2023-05-27 21:48:57 +00:00
|
|
|
<input:Button class="d3c-button-vertical">
|
2023-05-25 13:59:13 +00:00
|
|
|
<vg-slot name="IconSlot"><icons:LGlobe style="font-size: 2em;"></icons:LGlobe></vg-slot>
|
2023-05-17 10:34:48 +00:00
|
|
|
<vg-slot name="DefaultSlot">Navigation 1</vg-slot>
|
|
|
|
</input:Button>
|
2023-05-27 21:48:57 +00:00
|
|
|
<input:Button class="d3c-button-vertical">
|
2023-05-25 13:59:13 +00:00
|
|
|
<vg-slot name="IconSlot"><icons:LGlobe style="font-size: 2em;"></icons:LGlobe></vg-slot>
|
2023-05-17 10:34:48 +00:00
|
|
|
<vg-slot name="DefaultSlot">Navigation 2</vg-slot>
|
|
|
|
</input:Button>
|
2023-05-27 21:48:57 +00:00
|
|
|
<input:Button class="d3c-button-vertical">
|
2023-05-25 13:59:13 +00:00
|
|
|
<vg-slot name="IconSlot"><icons:LGlobe style="font-size: 2em;"></icons:LGlobe></vg-slot>
|
2023-05-17 10:34:48 +00:00
|
|
|
<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>
|