From 4109f3187124c881d21944125cb828dc1b8fea02 Mon Sep 17 00:00:00 2001 From: supercolbat Date: Sat, 5 Aug 2023 15:35:15 -0500 Subject: [PATCH] More styling and rewording --- src/routes/+layout.svelte | 12 +++----- src/routes/instances/instances.ts | 2 +- src/routes/pubnix/faq/+page.svelte | 18 ++++++----- src/routes/pubnix/register/+page.svelte | 41 +++++++++++++++++-------- 4 files changed, 44 insertions(+), 29 deletions(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 4704332..c0b9389 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -9,17 +9,15 @@ import PageTransition from "$lib/PageTransition.svelte"; import type { LayoutData } from "./$types"; + const title = $page.url.pathname.startsWith("/blog") + ? `${$page.data.title} | Project Segfault blog` + : `${$page.data.title} | Project Segfault`; + export let data: LayoutData; - {$page.data.title} | Project Segfault {$page.url.pathname.startsWith( - "/blog" - ) - ? "blog" - : ""} + {title} {#if $page.data.description}

How do I get started?

First, you need to register an account. You can do that here. After registering, you need to wait a while because we manually check - each registration. If you get accepted, you will receive an email.First, you need to register an account. + After registering, you need to wait a while because we manually check each + registration. If you get accepted, you will receive an email. -

What's your systems specs?

+

What are your system's specs?

Guess you'll have to find out. Join today!

I joined, but I have no idea what to do.

No worries! We have put out tutorials on how to do common things on our No worries! We put out tutorials on how to do common things on our wiki.Yep! We have a Matrix room - and an XMPP MUC to - discuss the pubnix.XMPP MUC to discuss the pubnix. diff --git a/src/routes/pubnix/register/+page.svelte b/src/routes/pubnix/register/+page.svelte index 1a76892..f783d30 100644 --- a/src/routes/pubnix/register/+page.svelte +++ b/src/routes/pubnix/register/+page.svelte @@ -5,7 +5,7 @@ export let data: PageData; let siteKey = "cb477b1b-6f87-43ee-aa79-71e3302fbb34"; - //export const hcaptchaSiteKey = env.HCAPTCHA_SITE_KEY; + //export const hcaptchaSiteKey = env.HCAPTCHA_SITE_KEY;

{data.title}

@@ -47,13 +47,10 @@ rows="5" required /> -
-
- +
+
{#if form?.success} @@ -64,8 +61,18 @@ {form.message} {/if} -
-

I agree to the Terms of Service

. +
+ + Terms of Service. +