From 610ad6d5c70fd60eaeb611a64f6ffc8a0506d5b1 Mon Sep 17 00:00:00 2001 From: Akis Date: Mon, 8 Aug 2022 08:20:03 +0300 Subject: [PATCH] requested changes --- src/app.html | 2 +- src/lib/Card/CardInner.svelte | 98 +++++++-------- src/lib/Card/CardOuter.svelte | 10 +- src/lib/Card/Link.svelte | 16 +-- src/lib/Card/LinksOuter.svelte | 6 +- src/lib/Instances.json | 224 ++++++++++++++++----------------- src/lib/Nav.svelte | 32 +++-- src/lib/ThemeToggle.svelte | 27 ++-- src/lib/app.css | 2 +- src/routes/__layout.svelte | 4 +- src/routes/donate.md | 32 ++++- src/routes/index.svelte | 11 +- src/routes/instances.svelte | 91 +++++++------- src/routes/projects.svelte | 21 ++-- src/routes/team.svelte | 19 ++- src/routes/timeline.svelte | 5 +- static/logo.svg | 12 +- static/logo_transparent.svg | 12 +- 18 files changed, 330 insertions(+), 294 deletions(-) diff --git a/src/app.html b/src/app.html index 99c467e..c4092d6 100644 --- a/src/app.html +++ b/src/app.html @@ -4,7 +4,7 @@ - export let title: any; - export let position: any; - export let description: any; - export let icon: any; + export let title: any; + export let position: any; + export let description: any; + export let icon: any;
-
- {#if icon} -
- {title} icon -
- {/if} -
- - {title} - - {#if position} - - {position} - {/if} - - - {#if description} -

{description}

- {/if} -
-
- +
+ {#if icon} +
+ {title} icon +
+ {/if} +
+ + {title} + + {#if position} + - {position} + {/if} + + + {#if description} +

{description}

+ {/if} +
+
+
\ No newline at end of file + .main { + flex: 1; + display: flex; + flex-direction: row; + gap: 1rem; + } + + img { + height: 5rem; + border-radius: 10px; + } + + span { + font-size: 25px; + font-weight: bold; + } + diff --git a/src/lib/Card/CardOuter.svelte b/src/lib/Card/CardOuter.svelte index 156e94c..7cf2938 100644 --- a/src/lib/Card/CardOuter.svelte +++ b/src/lib/Card/CardOuter.svelte @@ -1,12 +1,12 @@
- +
\ No newline at end of file + } + diff --git a/src/lib/Card/Link.svelte b/src/lib/Card/Link.svelte index abf8c61..ab7dd69 100644 --- a/src/lib/Card/Link.svelte +++ b/src/lib/Card/Link.svelte @@ -1,14 +1,14 @@ - - + + \ No newline at end of file + diff --git a/src/lib/Card/LinksOuter.svelte b/src/lib/Card/LinksOuter.svelte index 33f7293..dcf2e95 100644 --- a/src/lib/Card/LinksOuter.svelte +++ b/src/lib/Card/LinksOuter.svelte @@ -1,11 +1,11 @@
- +
\ No newline at end of file + diff --git a/src/lib/Instances.json b/src/lib/Instances.json index d0e7f87..17982fa 100644 --- a/src/lib/Instances.json +++ b/src/lib/Instances.json @@ -1,114 +1,114 @@ [ - { - "name": "Invidious", - "description": "A frontend for YouTube.", - "website": "https://invidious.projectsegfau.lt/", - "icon": "https://github.com/iv-org/invidious/raw/master/assets/invidious-colored-vector.svg", - "category": "Instances" - }, - { - "name": "Libreddit", - "description": "A frontend for Reddit.", - "website": "https://libreddit.projectsegfau.lt/", - "icon": "https://github.com/spikecodes/libreddit/raw/master/static/logo.png", - "category": "Instances" - }, - { - "name": "Librarian (LBRY)", - "description": "A frontend for Odysee.", - "website": "https://lbry.projectsegfau.lt/", - "icon": "https://codeberg.org/librarian/librarian/raw/branch/main/static/img/librarian.svg", - "category": "Instances" - }, - { - "name": "Nitter", - "description": "A frontend for Twitter.", - "website": "https://nitter.projectsegfau.lt/", - "icon": "https://github.com/zedeus/nitter/raw/master/public/logo.png", - "category": "Instances" - }, - { - "name": "Quetre", - "description": "A frontend for Quora.", - "website": "https://quetre.projectsegfau.lt/", - "icon": "https://github.com/zyachel/quetre/raw/main/public/icon.svg", - "category": "Instances" - }, - { - "name": "Element", - "description": "An open source and decentralized chat application.", - "website": "https://chat.projectsegfau.lt/", - "icon": "https://element.io/images/logo-mark-primary.svg", - "category": "Instances" - }, - { - "name": "Piped", - "description": "Another alternative for YouTube.", - "website": "https://piped.projectsegfau.lt/", - "icon": "https://github.com/TeamPiped/Piped/raw/master/public/img/icons/logo.svg", - "category": "Instances" - }, - { - "name": "SearXNG", - "description": "A private meta-search engine.", - "website": "https://search.projectsegfau.lt/search", - "icon": "https://docs.searxng.org/_static/searxng-wordmark.svg", - "category": "Instances" - }, - { - "name": "Lingva Translate", - "description": "A frontend for Google Translate.", - "website": "https://translate.projectsegfau.lt", - "icon": "https://github.com/thedaviddelta/lingva-translate/raw/main/public/logo.svg", - "category": "Instances" - }, - { - "name": "Bibliogram", - "description": "A frontend for Instagram.", - "website": "https://bib.projectsegfau.lt", - "icon" : "https://git.sr.ht/~cadence/bibliogram/blob/master/art/logo-circle.png", - "category": "Instances" - }, - { - "name": "Minecraft", - "description": "Our invite-only Minecraft SMP.", - "website": "https://projectsegfau.lt/minecraft", - "icon": "https://icon-library.com/images/flat-minecraft-icon/flat-minecraft-icon-7.jpg", - "category": "Gameservers" - }, - { - "name": "Minetest", - "description": "Minecraft \"alternative\".", - "website": "https://matrix.to/#/#minetest:projectsegfau.lt", - "icon": "https://instances.projectsegfau.lt/assets/icons/custom/1024px-Minetest_logo.svg.png", - "category": "Gameservers" - }, - { - "name": "Portainer (Soleil Levant)", - "description": "Portainer instance for Soleil Levant.", - "website": "https://portainer.soleil-levant.projectsegfau.lt/", - "icon": "https://www.docker.com/wp-content/uploads/2022/03/vertical-logo-monochromatic.png", - "category": "Internal" - }, - { - "name": "Portainer (Helios)", - "description": "Portainer instance for Helios.", - "website": "https://portainer.projectsegfau.lt/", - "icon": "https://www.docker.com/wp-content/uploads/2022/03/vertical-logo-monochromatic.png", - "category": "Internal" - }, - { - "name": "mailcow", - "description": "Our mail server and webmail.", - "website": "https://mail.projectsegfau.lt/", - "icon": "https://instances.projectsegfau.lt/assets/icons/custom/cow_mailcow.svg", - "category": "Internal" - }, - { - "name": "Plausible analytics", - "description": "Analytics for our website.", - "website": "https://analytics.projectsegfau.lt/projectsegfau.lt", - "icon": "https://avatars.githubusercontent.com/u/54802774?s=200&v=4", - "category": "Internal" - } + { + "name": "Invidious", + "description": "A frontend for YouTube.", + "website": "https://invidious.projectsegfau.lt/", + "icon": "https://github.com/iv-org/invidious/raw/master/assets/invidious-colored-vector.svg", + "category": "Instances" + }, + { + "name": "Libreddit", + "description": "A frontend for Reddit.", + "website": "https://libreddit.projectsegfau.lt/", + "icon": "https://github.com/spikecodes/libreddit/raw/master/static/logo.png", + "category": "Instances" + }, + { + "name": "Librarian (LBRY)", + "description": "A frontend for Odysee.", + "website": "https://lbry.projectsegfau.lt/", + "icon": "https://codeberg.org/librarian/librarian/raw/branch/main/static/img/librarian.svg", + "category": "Instances" + }, + { + "name": "Nitter", + "description": "A frontend for Twitter.", + "website": "https://nitter.projectsegfau.lt/", + "icon": "https://github.com/zedeus/nitter/raw/master/public/logo.png", + "category": "Instances" + }, + { + "name": "Quetre", + "description": "A frontend for Quora.", + "website": "https://quetre.projectsegfau.lt/", + "icon": "https://github.com/zyachel/quetre/raw/main/public/icon.svg", + "category": "Instances" + }, + { + "name": "Element", + "description": "An open source and decentralized chat application.", + "website": "https://chat.projectsegfau.lt/", + "icon": "https://element.io/images/logo-mark-primary.svg", + "category": "Instances" + }, + { + "name": "Piped", + "description": "Another alternative for YouTube.", + "website": "https://piped.projectsegfau.lt/", + "icon": "https://github.com/TeamPiped/Piped/raw/master/public/img/icons/logo.svg", + "category": "Instances" + }, + { + "name": "SearXNG", + "description": "A private meta-search engine.", + "website": "https://search.projectsegfau.lt/search", + "icon": "https://docs.searxng.org/_static/searxng-wordmark.svg", + "category": "Instances" + }, + { + "name": "Lingva Translate", + "description": "A frontend for Google Translate.", + "website": "https://translate.projectsegfau.lt", + "icon": "https://github.com/thedaviddelta/lingva-translate/raw/main/public/logo.svg", + "category": "Instances" + }, + { + "name": "Bibliogram", + "description": "A frontend for Instagram.", + "website": "https://bib.projectsegfau.lt", + "icon": "https://git.sr.ht/~cadence/bibliogram/blob/master/art/logo-circle.png", + "category": "Instances" + }, + { + "name": "Minecraft", + "description": "Our invite-only Minecraft SMP.", + "website": "https://projectsegfau.lt/minecraft", + "icon": "https://icon-library.com/images/flat-minecraft-icon/flat-minecraft-icon-7.jpg", + "category": "Gameservers" + }, + { + "name": "Minetest", + "description": "Minecraft \"alternative\".", + "website": "https://matrix.to/#/#minetest:projectsegfau.lt", + "icon": "https://instances.projectsegfau.lt/assets/icons/custom/1024px-Minetest_logo.svg.png", + "category": "Gameservers" + }, + { + "name": "Portainer (Soleil Levant)", + "description": "Portainer instance for Soleil Levant.", + "website": "https://portainer.soleil-levant.projectsegfau.lt/", + "icon": "https://www.docker.com/wp-content/uploads/2022/03/vertical-logo-monochromatic.png", + "category": "Internal" + }, + { + "name": "Portainer (Helios)", + "description": "Portainer instance for Helios.", + "website": "https://portainer.projectsegfau.lt/", + "icon": "https://www.docker.com/wp-content/uploads/2022/03/vertical-logo-monochromatic.png", + "category": "Internal" + }, + { + "name": "mailcow", + "description": "Our mail server and webmail.", + "website": "https://mail.projectsegfau.lt/", + "icon": "https://instances.projectsegfau.lt/assets/icons/custom/cow_mailcow.svg", + "category": "Internal" + }, + { + "name": "Plausible analytics", + "description": "Analytics for our website.", + "website": "https://analytics.projectsegfau.lt/projectsegfau.lt", + "icon": "https://avatars.githubusercontent.com/u/54802774?s=200&v=4", + "category": "Internal" + } ] diff --git a/src/lib/Nav.svelte b/src/lib/Nav.svelte index 486998d..44a5997 100644 --- a/src/lib/Nav.svelte +++ b/src/lib/Nav.svelte @@ -8,18 +8,18 @@ $: currentPage = $page.url.pathname; const menus = [ - {name: "Instances", url: "/instances"}, - {name: "Projects", url: "/projects"}, - {name: "Minecraft", url: "/minecraft"}, - {name: "Donate", url: "/donate"}, - {name: "FAQ", url: "/faq"}, - {name: "Contact us", url: "/contact"}, - {name: "Our team", url: "/team"}, - {name: "Timeline", url: "/timeline"}, - {name: "Blog", url: "https://blog.projectsegfau.lt/"}, - {name: "Legal", url: "/legal"}, - {name: "Status", url: "https://status.projectsegfau.lt/"}, - ] + { name: "Instances", url: "/instances" }, + { name: "Projects", url: "/projects" }, + { name: "Minecraft", url: "/minecraft" }, + { name: "Donate", url: "/donate" }, + { name: "FAQ", url: "/faq" }, + { name: "Contact us", url: "/contact" }, + { name: "Our team", url: "/team" }, + { name: "Timeline", url: "/timeline" }, + { name: "Blog", url: "https://blog.projectsegfau.lt/" }, + { name: "Legal", url: "/legal" }, + { name: "Status", url: "https://status.projectsegfau.lt/" } + ];