diff --git a/src/app.scss b/src/app.scss index 2a461a6..a631774 100644 --- a/src/app.scss +++ b/src/app.scss @@ -10,7 +10,7 @@ body { background-image: var(--background-image); background-size: cover; background-position: center; - color: var(--text) !important; + color: var(--text); transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; } @@ -22,21 +22,11 @@ a { } .title { - color: var(--text-title) !important; + color: var(--text-title); } .subtitle { - color: var(--text-subtitle) !important; -} - -h1 { - font-size: 2rem; -} - -h2 { - font-size: 1.7rem; - margin-top: 2rem; - margin-bottom: 1rem; + color: var(--text-subtitle); } header { @@ -67,9 +57,11 @@ header { h2 { font-size: 0.9em; line-height: 1em; + margin: 0; } h1 { + margin: 0; font-size: 2em; line-height: 1em; } diff --git a/src/config.yml b/src/config.yml index e7b4dc4..ea9d04e 100644 --- a/src/config.yml +++ b/src/config.yml @@ -37,7 +37,6 @@ services: type: sonarr keywords: 'movies tracker torrent usenet' - - title: '/Cloud' icon: 'fas fa-cloud' items: @@ -54,6 +53,6 @@ services: - title: 'PiHole' subtitle: 'A DNS to send telemetry and ads to the void' target: '_blank' - url: 'https://pihole.lan/admin' + url: 'http://pihole.lan/admin' type: 'pihole' keywords: 'dns ads blocker internet' diff --git a/src/lib/components/ServiceCard.svelte b/src/lib/components/ServiceCard.svelte index 138b7a6..1c0de3a 100644 --- a/src/lib/components/ServiceCard.svelte +++ b/src/lib/components/ServiceCard.svelte @@ -1,5 +1,5 @@ -
-
-
-
-
- -
-
-
-

{service.title}

- {#if component != undefined} -

- {:else} -

{service.subtitle}

- {/if} + +
+
+
+
+
+ +
+
+
+

{service.title}

+ {#if component != undefined} +

+ {:else} +

{service.subtitle}

+ {/if} +
-
+ diff --git a/src/lib/services/pihole/+service.ts b/src/lib/services/pihole/+service.ts index df33679..aa1c96f 100644 --- a/src/lib/services/pihole/+service.ts +++ b/src/lib/services/pihole/+service.ts @@ -1,7 +1,9 @@ import { type ServiceComponentPath, type ServiceHandler } from '../service'; export const handle: ServiceHandler = () => { - return { piholedata: 'coucou' }; + const res = { logo: 'https://cdn.rawgit.com/pi-hole/graphics/master/Vortex/Vortex.svg' }; + + return res; }; export const path: ServiceComponentPath = 'pihole/PiHoleContent.svelte'; diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index ab732be..1be287a 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,7 +1,7 @@