diff --git a/src/lib/components/AbstractContent.svelte b/src/lib/components/AbstractContent.svelte index 3477445f..1617c172 100644 --- a/src/lib/components/AbstractContent.svelte +++ b/src/lib/components/AbstractContent.svelte @@ -13,6 +13,8 @@ export let lastpage = '/'; export let nextpage = '/'; export let infopage = '/'; + export let showNavIcons = true; + export let iconProps = {}; @@ -27,25 +29,32 @@ class="fixed bottom-0 left-0 right-0 border-t border-gray-200 bg-white dark:border-gray-700 dark:bg-gray-800" classInner="grid-cols-3" > - + {#if showNavIcons} + + {/if} - + {#if showNavIcons} + + {/if} {/if} diff --git a/src/lib/components/Childrenpage.svelte b/src/lib/components/Childrenpage.svelte new file mode 100644 index 00000000..d923578c --- /dev/null +++ b/src/lib/components/Childrenpage.svelte @@ -0,0 +1,112 @@ + + + + + + Übersicht + +
+

+ Wählen sie ein Kind zur Beobachtung aus oder legen melden sie ein neues Kind an. +

+ +
+
diff --git a/src/lib/components/DataDisplay/CardDisplay.svelte b/src/lib/components/DataDisplay/CardDisplay.svelte index bedc9d1b..ab26be86 100644 --- a/src/lib/components/DataDisplay/CardDisplay.svelte +++ b/src/lib/components/DataDisplay/CardDisplay.svelte @@ -1,20 +1,50 @@ - -
- {header} -
-

- {summary} -

- + + {#if data.header} +
+ {data.header} +
+ {/if} + {#if data.summary} +

+ {data.summary} +

+ {/if} + {#if data.button} + + {/if}
diff --git a/src/lib/components/DataDisplay/GalleryDisplay.svelte b/src/lib/components/DataDisplay/GalleryDisplay.svelte new file mode 100644 index 00000000..28a55035 --- /dev/null +++ b/src/lib/components/DataDisplay/GalleryDisplay.svelte @@ -0,0 +1,51 @@ + + + + +{#if header !== null} + + {header} + +{/if} + +{#if withSearch} +
+ + + +{/if} + + + {#each filteredItems as item, index} + + {/each} + diff --git a/src/lib/components/Frontpage.svelte b/src/lib/components/Frontpage.svelte index 758d2120..885c0ef1 100644 --- a/src/lib/components/Frontpage.svelte +++ b/src/lib/components/Frontpage.svelte @@ -1,6 +1,8 @@ - - - {#each items as item} - - {/each} - + diff --git a/src/lib/components/Navigation/BottomNavElement.svelte b/src/lib/components/Navigation/BottomNavElement.svelte index 9806e1a5..7095d076 100644 --- a/src/lib/components/Navigation/BottomNavElement.svelte +++ b/src/lib/components/Navigation/BottomNavElement.svelte @@ -5,6 +5,7 @@ export let href; export let Icon; export let tooltip; + export let componentProps = {}; - + {tooltip} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 169e0f3e..859daede 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -32,6 +32,8 @@ -
+
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index e4a0ad74..07f065bf 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,8 +1,5 @@ - - - + diff --git a/src/routes/childrengallery/+page.svelte b/src/routes/childrengallery/+page.svelte new file mode 100644 index 00000000..7d6df8f5 --- /dev/null +++ b/src/routes/childrengallery/+page.svelte @@ -0,0 +1,5 @@ + + + diff --git a/static/child_avatar.png b/static/child_avatar.png new file mode 100644 index 00000000..c4778eb1 Binary files /dev/null and b/static/child_avatar.png differ diff --git a/static/children.png b/static/children.png new file mode 100644 index 00000000..200735ad Binary files /dev/null and b/static/children.png differ