From 4e837b281f6e7aa0dd06570315f8f81255dc6f29 Mon Sep 17 00:00:00 2001 From: Harald Mack Date: Wed, 21 Aug 2024 08:32:25 +0200 Subject: [PATCH] remove stylings from script element --- src/lib/components/AbstractContent.svelte | 77 ++++++++++++----------- 1 file changed, 40 insertions(+), 37 deletions(-) diff --git a/src/lib/components/AbstractContent.svelte b/src/lib/components/AbstractContent.svelte index a34c6eb0..ea30d6d2 100644 --- a/src/lib/components/AbstractContent.svelte +++ b/src/lib/components/AbstractContent.svelte @@ -33,30 +33,6 @@ export let infopage = '/'; export let name = 'Registrieren'; - - const basicStyle = { - basicBtnForm: 'rounded-lg text-xl p-2', - basicColorBehavior: - 'text-gray-500 dark:text-gray-400 hover:text-primary-800 dark:hover:text-primary-500 group-hover:text-primary-800 dark:group-hover:text-primary-500' - }; - - const topNavStyle = { - topBarBtnStyle: basicStyle.basicColorBehavior + basicStyle.basicBtnForm, - navULStyle: - 'flex flex-col p-4 mt-4 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:text-lg md:font-medium' - }; - - const bottomNavStyle = { - bottomBarBtnStyle: 'w-8 h-8 mb-1' + basicStyle.basicColorBehavior, - bottomNavStyleInner: 'grid-cols-3' - }; - - const avatar_style = { - outer: 'flex items-center space-x-4 rtl:space-x-reverse', - avatar: 'flex items-center space-x-4 rtl:space-x-reverse', - inner: 'space-y-1' + basicStyle.basicColorBehavior - }; - const contentContainerStyle = 'mx-auto max-w-6xl p-4'; @@ -66,42 +42,69 @@ - + Home Aktuelles Downloads Kontakt - + Darkmode ein- oder ausschalten -
- -
{name}
+
+ +
{name}
Registrieren oder einloggen
-
+
{#if showBottomNavbar} - - - + + + Zur letzten Seite - - + + Hilfe - - + + Zur nächsten Seite