diff --git a/src/lib/components/AbstractContent.svelte b/src/lib/components/AbstractContent.svelte index 21d32d99..2eefaf2f 100644 --- a/src/lib/components/AbstractContent.svelte +++ b/src/lib/components/AbstractContent.svelte @@ -2,7 +2,6 @@ import { Avatar, BottomNav, - BottomNavItem, DarkMode, Navbar, NavBrand, @@ -11,16 +10,11 @@ NavUl, Tooltip } from 'flowbite-svelte'; - import { - CaretLeftSolid, - CaretRightSolid, - LightbulbSolid, - MoonSolid, - SunSolid - } from 'flowbite-svelte-icons'; + import { CaretLeftSolid, MoonSolid, SunSolid } from 'flowbite-svelte-icons'; // logo import logo_dark from '../assets/mondey_dark.svg'; import logo_light from '../assets/mondey_light.svg'; + import BottomNavElement from './Navigation/BottomNavElement.svelte'; // variables for showing or hiding elements export let showBottomNavbar = true; @@ -78,35 +72,25 @@ 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" > - - - Zur letzten Seite - - - - Hilfe - - - - Zur nächsten Seite - + + + {/if} diff --git a/src/lib/components/Navigation/BottomNavElement.svelte b/src/lib/components/Navigation/BottomNavElement.svelte new file mode 100644 index 00000000..9806e1a5 --- /dev/null +++ b/src/lib/components/Navigation/BottomNavElement.svelte @@ -0,0 +1,17 @@ + + + + + {tooltip} + diff --git a/src/lib/components/Navigation/NaviBottom.svelte b/src/lib/components/Navigation/NaviBottom.svelte new file mode 100644 index 00000000..49f5fcd1 --- /dev/null +++ b/src/lib/components/Navigation/NaviBottom.svelte @@ -0,0 +1,2 @@ + diff --git a/src/lib/components/Navigation/NaviTop.svelte b/src/lib/components/Navigation/NaviTop.svelte new file mode 100644 index 00000000..49f5fcd1 --- /dev/null +++ b/src/lib/components/Navigation/NaviTop.svelte @@ -0,0 +1,2 @@ +