From 9916e5f2f8161277666e18ff35bb9ed18d3e32e1 Mon Sep 17 00:00:00 2001 From: Akis Date: Fri, 5 Aug 2022 15:46:54 +0300 Subject: [PATCH] lots of shit --- src/lib/Hero.svelte | 42 +++++++++++ src/lib/Nav.svelte | 1 + src/routes/faq.md | 2 +- src/routes/index.svelte | 140 ++++++++++++++++++++++++++++--------- src/routes/team.svelte | 15 ++-- src/routes/timeline.svelte | 33 +++------ 6 files changed, 165 insertions(+), 68 deletions(-) create mode 100644 src/lib/Hero.svelte diff --git a/src/lib/Hero.svelte b/src/lib/Hero.svelte new file mode 100644 index 0000000..5c87409 --- /dev/null +++ b/src/lib/Hero.svelte @@ -0,0 +1,42 @@ + + +
+ {#if title} +

{title}

+ {/if} + {#if description} +

{description}

+ {/if} + +
+ + \ No newline at end of file diff --git a/src/lib/Nav.svelte b/src/lib/Nav.svelte index 18b2e9f..895620d 100644 --- a/src/lib/Nav.svelte +++ b/src/lib/Nav.svelte @@ -25,6 +25,7 @@ FAQ Contact us Our team + Timeline Blog Legal Status diff --git a/src/routes/faq.md b/src/routes/faq.md index f22b442..c14b015 100644 --- a/src/routes/faq.md +++ b/src/routes/faq.md @@ -7,7 +7,7 @@ description: Frequently Asked Questions ## Who is the project owner? -The project doesn't have a single owner but is made up of a team of people. A list of the people involved and their positions can be found [on our members page](/members). +The project doesn't have a single owner but is made up of a team of people. A list of the people involved and their positions can be found [on our members page](/team). ## What's the backstory to Project Segfault? We have a rather interesting backstory, if I do say so myself. [Click here to see a timeline of things that happened in Project Segfault's history](/timeline) diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 036740e..1808c82 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -1,8 +1,22 @@ -
-

Project Segfault

- -

Open source development and hosted services

- + + + +
+ {#await promise} + + {:then} +
+
+
+ {#if (announcements.severity === "info") } + + {:else} + + {/if} + + {announcements.created} + +
+
+

{announcements.title}

+
+ + +
+
+ {:catch} + + {/await}
+ + \ No newline at end of file + + .announcement-container { + display: flex; + justify-content: center; + margin-top: 4rem; + } + + .announcement { + color: var(--primary); + padding: 2rem 1rem; + border-radius: 10px; + width: fit-content; + display: flex; + flex-direction: column; + } + + .announcement a { + color: var(--primary); + } + + .announcement .general { + display: flex; + align-items: center; + gap: 8px; + } + + +{#if (announcements.severity === "info") } + + {:else if (announcements.severity === "low") } + + {:else if (announcements.severity === "medium") } + + {:else if (announcements.severity === "high") } + +{/if} \ No newline at end of file diff --git a/src/routes/team.svelte b/src/routes/team.svelte index 525c6f6..0de517f 100644 --- a/src/routes/team.svelte +++ b/src/routes/team.svelte @@ -54,9 +54,8 @@ {/if} {#if pgp} - - {/if} + + {/if} {#if picture} @@ -104,12 +103,6 @@ width: fit-content; } - .pgpcolored { - background-color: #333 ; - font-size: 20px; - height: 23px; - } - .matrixcolored { background-color: #fff; font-size: 20px; @@ -132,7 +125,8 @@ .web, .email, - .picture { + .picture, + .pgp { background-color: var(--tertiary); color: #fff !important; font-size: 20px; @@ -146,7 +140,6 @@ .web:hover { background-color: var(--accent-tertiary); color: var(--secondary) !important; - } .socials { diff --git a/src/routes/timeline.svelte b/src/routes/timeline.svelte index b2fbe78..05d0764 100644 --- a/src/routes/timeline.svelte +++ b/src/routes/timeline.svelte @@ -8,12 +8,13 @@ TimelineContent, TimelineOppositeContent } from 'svelte-vertical-timeline'; + import Hero from "$lib/Hero.svelte"; -
-

A timeline of Project Segfault's history

-
+ +

A timeline of Project Segfault's history

+
@@ -60,7 +61,7 @@

MrLeRien opens a small homeserver with the help of Midou

-

This eventually formed a nice little (primarily focused on hosting) project called mutahar.rocks. Here, the duo focused on hosting anything they could on a Core 2 Duo HP machine with 8GB of RAM running Arch Linux. This alongside a small VPS we're already had.

+

This eventually formed a nice little (primarily focused on hosting) project called mutahar.rocks. Here, the duo focused on hosting anything they could on a Core 2 Duo HP machine with 8GB of RAM running Arch Linux. This alongside a small VPS they already had.

@@ -167,33 +168,19 @@ -

Project Segfault decides to expand and now develops software.

-

This started after Odyssey decided to work on segfautils. An API for Project Segfault. Midou followed suit with another rather big project that is (not) being developped right now. (hint: this will help people with many servers or mini servers 👀)

+

Project Segfault decides to expand and now develops software.

+

This started after Odyssey decided to work on Segfautils, an API for Project Segfault. Midou plans to start a huge project in the near future together with the team that can help people with multiple servers.

\ No newline at end of file