diff --git a/src/lib/components/AbstractContent.svelte b/src/lib/components/AbstractContent.svelte index 1617c172..9c7f7d48 100644 --- a/src/lib/components/AbstractContent.svelte +++ b/src/lib/components/AbstractContent.svelte @@ -10,50 +10,48 @@ // variables for communication upon hitting the page // FIXME: these are placeholders and must later be changed using contexts or other better mechanisms for inter component comunication - export let lastpage = '/'; - export let nextpage = '/'; - export let infopage = '/'; - export let showNavIcons = true; - export let iconProps = {}; + export let lastpage = null; + export let nextpage = null; + export let infopage = null; -
+
{#if showBottomNavbar} - {#if showNavIcons} + {#if lastpage} {/if} - - - {#if showNavIcons} + {#if infopage} + + {/if} + {#if nextpage} {/if} diff --git a/src/lib/components/ChildrenRegistration.svelte b/src/lib/components/ChildrenRegistration.svelte new file mode 100644 index 00000000..8e9ff9ad --- /dev/null +++ b/src/lib/components/ChildrenRegistration.svelte @@ -0,0 +1,117 @@ + + +
+ +
diff --git a/src/lib/components/Childrenpage.svelte b/src/lib/components/Childrenpage.svelte index d923578c..d3891579 100644 --- a/src/lib/components/Childrenpage.svelte +++ b/src/lib/components/Childrenpage.svelte @@ -13,7 +13,7 @@ data.unshift({ header: 'Neu', summary: 'Ein neues Kind anmelden', - href: '/' + href: '/childLand/childDataInput' }); return data; } diff --git a/src/lib/components/DataInput/AbstractDataInput.svelte b/src/lib/components/DataInput/AbstractDataInput.svelte index eb5bdd16..725e8bd0 100644 --- a/src/lib/components/DataInput/AbstractDataInput.svelte +++ b/src/lib/components/DataInput/AbstractDataInput.svelte @@ -1,25 +1,43 @@ -
-

{heading}

-

- {description} - Lorem ipsum dolor sit, amet consectetur adipisicing elit. Animi, iste nisi amet tempora laborum natus - dolorum quis consectetur non ab nemo sint deleniti officiis enim a explicabo possimus. Voluptatem - repellat autem dicta unde ducimus. Commodi fugiat, error magnam necessitatibus fugit blanditiis cum - itaque nostrum quaerat, pariatur aperiam ipsum sed quo! -

- {#each data as data_element} - - {/each} +
+ {#if heading} + + {heading} + + {/if} + + {#if description} +

+ {description} +

+ {/if} + +
+ {#each props as prop} + {#if prop.componentProps.label} + + {/if} + + {/each} + + + {#if buttons} + + {/if}
diff --git a/src/lib/components/DataInput/AbstractDropdownItem.svelte b/src/lib/components/DataInput/AbstractDropdownItem.svelte index dc910e5a..031e9f05 100644 --- a/src/lib/components/DataInput/AbstractDropdownItem.svelte +++ b/src/lib/components/DataInput/AbstractDropdownItem.svelte @@ -1,21 +1,20 @@
-
- - {data.about} -