diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte index 7158dfb..f5ef656 100644 --- a/src/lib/components/Header.svelte +++ b/src/lib/components/Header.svelte @@ -1,42 +1,40 @@ - + {#if section.subtitle} - {section.subtitle} + {section.subtitle} {/if} - {section.title} + {section.title} - - - {#each links as link} - - {#if link.icon} - - {/if} - {link.title} - - {/each} - - - + + {#if links.length > 0} + + {/if} + + - + import { layoutDirection } from '$lib/stores/layout'; + import Button from './Button.svelte'; function toggle() { if ($layoutDirection == 'column') { @@ -10,10 +11,10 @@ } - + {#if $layoutDirection == 'column'} {:else} {/if} - + diff --git a/src/lib/components/ServiceCard.svelte b/src/lib/components/ServiceCard.svelte index b41357a..5a84d19 100644 --- a/src/lib/components/ServiceCard.svelte +++ b/src/lib/components/ServiceCard.svelte @@ -43,8 +43,8 @@ - {service.title} - + {service.title} + {subtitle()} diff --git a/src/lib/components/ServiceGroup.svelte b/src/lib/components/ServiceGroup.svelte index 1419bc6..4fa9756 100644 --- a/src/lib/components/ServiceGroup.svelte +++ b/src/lib/components/ServiceGroup.svelte @@ -27,7 +27,7 @@ - + {#if group.icon} diff --git a/src/lib/components/ThemeVariantButton.svelte b/src/lib/components/ThemeVariantButton.svelte index 024f2e5..0aef0b7 100644 --- a/src/lib/components/ThemeVariantButton.svelte +++ b/src/lib/components/ThemeVariantButton.svelte @@ -1,5 +1,6 @@ - + {#if $themeVariant == 'default'} {:else if $themeVariant == 'light'} @@ -17,4 +18,4 @@ {:else if $themeVariant == 'dark'} {/if} - +
{service.title}
+
{subtitle()}