From 7ff06f1c7b66ba398a55dc4d91b05edfcba1d1b5 Mon Sep 17 00:00:00 2001 From: Akis Date: Wed, 24 Aug 2022 19:07:30 +0300 Subject: [PATCH] various fixes --- src/lib/Card/Link.svelte | 3 ++- src/lib/Footer.svelte | 14 ---------- src/lib/Nav.svelte | 12 +++++++-- src/lib/{Instances.json => Services.json} | 0 src/routes/contact.md | 15 ++++++++--- src/routes/index.svelte | 2 +- .../{instances.svelte => services.svelte} | 26 +++++++++++-------- 7 files changed, 40 insertions(+), 32 deletions(-) rename src/lib/{Instances.json => Services.json} (100%) rename src/routes/{instances.svelte => services.svelte} (69%) diff --git a/src/lib/Card/Link.svelte b/src/lib/Card/Link.svelte index 6b49d88..cfb9875 100644 --- a/src/lib/Card/Link.svelte +++ b/src/lib/Card/Link.svelte @@ -12,7 +12,8 @@ .web, .email, .picture, - .pgp { + .pgp, + .link { background-color: var(--alt); color: var(--alt-text); font-size: 20px; diff --git a/src/lib/Footer.svelte b/src/lib/Footer.svelte index 1920bcd..8d1ea41 100644 --- a/src/lib/Footer.svelte +++ b/src/lib/Footer.svelte @@ -37,18 +37,4 @@ font-weight: 500; text-align: center; } - - .badge { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - } - - img { - width: 270px; - background: var(--accent); - padding: 0.5rem; - border-radius: 10px; - } diff --git a/src/lib/Nav.svelte b/src/lib/Nav.svelte index 500396c..75d82af 100644 --- a/src/lib/Nav.svelte +++ b/src/lib/Nav.svelte @@ -5,7 +5,7 @@ $: currentPage = $page.url.pathname; const menus = [ - { name: "Instances", url: "/instances" }, + { name: "Services", url: "/services" }, { name: "Projects", url: "/projects" }, { name: "Minecraft", url: "/minecraft" }, { name: "Donate", url: "/donate" }, @@ -46,12 +46,20 @@
-
+
+ + + \ No newline at end of file diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 4870672..329c4df 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -25,7 +25,7 @@ marginTop="7" >
- + import { CardInner, CardOuter, LinksOuter, Link } from "$lib/Card"; - import instances from "$lib/Instances.json"; + import services from "$lib/Services.json"; - let groups = instances.reduce((curr, val) => { + let groups = services.reduce((curr, val) => { let group = curr.find((g) => g.category === `${val.category}`); if (group) { group.values.push(val); @@ -13,7 +13,12 @@ }, []); -

Our instances

+ + Our services | Project Segfault + + + +

Our services

{#each groups as group} @@ -21,22 +26,26 @@

{group.category}

{#each group.values as item} - - + @@ -58,11 +67,6 @@ gap: 2rem; } - a { - text-decoration: none; - color: var(--text); - } - .projectWebsite { display: flex; align-items: center;