diff --git a/src/lib/components/Card.svelte b/src/lib/components/Card.svelte index a97ccf2..102160a 100644 --- a/src/lib/components/Card.svelte +++ b/src/lib/components/Card.svelte @@ -1,24 +1,66 @@
-
-

ICO

- {service.name} +
hover.title = true} on:mouseleave={() => hover.title = false}> + {#if service.icon} + + {:else} + {/if} + {service.name} + {#if hover.title} +
+ +
+ {/if}

Loading

{service.desc}

-

{service.warn}

- \ No newline at end of file diff --git a/src/lib/components/pages.json b/src/lib/components/pages.json index 524400d..81b6b67 100644 --- a/src/lib/components/pages.json +++ b/src/lib/components/pages.json @@ -2,7 +2,7 @@ "services": [ { "name": "Nextcloud", - "icon": "/icons/nextcloud-logo.svg", + "icon": "/assets/icons/nextcloud-logo.svg", "href": "https://nextcloud.neshweb.net/", "desc": "Self-hosted Cloud Storage Service", "warn": "Note: Registration requires approval", @@ -11,7 +11,7 @@ }, { "name": "Kavita", - "icon": "/icons/kavita-logo.svg", + "icon": "/assets/icons/kavita-logo.svg", "href": "https://kavita.neshweb.net", "desc": "Self-hosted Manga Library", "warn": "Registration via Admin invite", @@ -19,7 +19,7 @@ }, { "name": "Images", - "icon": "/icons/images-logo.svg", + "icon": "/assets/icons/images-logo.svg", "href": "https://imgs.neshweb.net/", "desc": "Self-hosted Chevereto Image Service", "warn": "", @@ -28,7 +28,7 @@ }, { "name": "Calibre Web", - "icon": "/icons/calibre-logo.ico", + "icon": "/assets/icons/calibre-logo.ico", "href": "https://calibre.neshweb.net/", "desc": "Self-hosted Ebook Library Service", "warn": "Note: Registration only via Admin", @@ -36,7 +36,7 @@ }, { "name": "PeerTube", - "icon": "/icons/peertube-logo.svg", + "icon": "/assets/icons/peertube-logo.svg", "href": "https://tube.neshweb.net/", "desc": "Self-hosted PeerTube Instance", "warn": "Note: Registration only via Admin", @@ -44,7 +44,7 @@ }, { "name": "Mastodon", - "icon": "/icons/mastodon-logo.svg", + "icon": "/assets/icons/mastodon-logo.svg", "href": "https://mastodon.neshweb.net/", "desc": "Self-hosted Mastodon Instance", "warn": "Note: Registration requires approval", @@ -53,7 +53,7 @@ { "name": "Vaultwarden", - "icon": "/icons/vaultwarden-logo.svg", + "icon": "/assets/icons/vaultwarden-logo.svg", "href": "https://vault.neshweb.net", "desc": "Self-hosted Password Manager", "warn": "Note: Invite only", @@ -61,7 +61,7 @@ }, { "name": "Jellyfin", - "icon": "/icons/jellyfin-logo.svg", + "icon": "/assets/icons/jellyfin-logo.svg", "href": "https://jellyfin.neshweb.net/", "desc": "Open-Source, Self-Hosted Media Platform", "warn": "Note: Registration only via Admin", @@ -69,7 +69,7 @@ }, { "name": "Navidrome", - "icon": "/icons/navidrome-logo.png", + "icon": "/assets/icons/navidrome-logo.png", "href": "https://navidrome.neshweb.net/", "desc": "Open-Source, Self-Hosted Music Streaming Platform", "warn": "Note: Registration only via Admin", @@ -77,7 +77,7 @@ }, { "name": "Gitlab", - "icon": "/icons/gitlab-logo.svg", + "icon": "/assets/icons/gitlab-logo.svg", "href": "https://gitlab.neshweb.net/", "desc": "Self-hosted Git Service", "warn": "Note: Registration only via Admin", @@ -85,7 +85,7 @@ }, { "name": "Forgejo", - "icon": "/icons/forgejo-logo.svg", + "icon": "/assets/icons/forgejo-logo.svg", "href": "https://forgejo.neshweb.net/", "desc": "Self-hosted Git Service", "warn": "Note: Registration only via Admin", @@ -93,7 +93,7 @@ }, { "name": "Portainer", - "icon": "/icons/portainer-logo.png", + "icon": "/assets/icons/portainer-logo.png", "href": "https://portainer.neshweb.net/", "desc": "Docker Container Manager", "warn": "Note: Admin Only", @@ -101,7 +101,7 @@ }, { "name": "Nginx", - "icon": "/icons/npm-logo.png", + "icon": "/assets/icons/npm-logo.png", "href": "https://nginx.neshweb.net/", "desc": "Web-based Nginx Proxy Manager", "warn": "Note: Admin Only", @@ -109,7 +109,7 @@ }, { "name": "Proxmox", - "icon": "/icons/proxmox-logo.png", + "icon": "/assets/icons/proxmox-logo.png", "href": "https://proxmox.neshweb.net/", "desc": "Hypervisor Webinterface", "warn": "Note: Admin Only", @@ -117,7 +117,7 @@ }, { "name": "Dockge", - "icon": "/icons/dockge-logo.png", + "icon": "/assets/icons/dockge-logo.png", "href": "https://dockge.neshweb.net/", "desc": "Docker Compose WebUI", "warn": "Note: Admin Only", @@ -127,19 +127,19 @@ "games": { "minecraft": { "name": "Minecraft", - "icon": "/icons/minecraft-logo.png", + "icon": "/assets/icons/minecraft-logo.png", "href": "https://minecraft.neshweb.net/", "desc": "View all currently available Minecraft Servers and their mods" }, "ready_or_not": { "name": "Ready or Not", - "icon": "/icons/ron-logo.png", + "icon": "/assets/icons/ron-logo.png", "href": "https://readyornot.neshweb.net/", "desc": "Collection of Floor Plans for the Game 'Ready or Not'" }, "zomboid": { "name": "Zomboid", - "icon": "/icons/zomboid-logo.png", + "icon": "/assets/icons/zomboid-logo.png", "ip": "91.13.248.30", "status": "Online" }, diff --git a/src/routes/services/+page.svelte b/src/routes/services/+page.svelte index c30f5d0..1f1bdd6 100644 --- a/src/routes/services/+page.svelte +++ b/src/routes/services/+page.svelte @@ -1,8 +1,10 @@ + + Services @@ -10,6 +12,6 @@
{#each services as service} - + {/each}
\ No newline at end of file