From dd270bdca36742af43d03230c9af7220a2c96b76 Mon Sep 17 00:00:00 2001 From: Bloctans <93960460+Bloctans@users.noreply.github.com> Date: Mon, 11 Mar 2024 09:44:05 -0700 Subject: [PATCH 1/7] intro --- src/lib/OOBE/CustomizePFP.svelte | 2 +- src/lib/OOBE/CustomizeTheme.svelte | 5 +- src/lib/OOBE/Introduction.svelte | 21 +++ src/lib/OOBE/Main.svelte | 25 +++- src/lib/modals/settings/SwitchTheme.svelte | 163 ++++++++++++++------- 5 files changed, 151 insertions(+), 65 deletions(-) create mode 100644 src/lib/OOBE/Introduction.svelte diff --git a/src/lib/OOBE/CustomizePFP.svelte b/src/lib/OOBE/CustomizePFP.svelte index 15b571b3..819bd302 100644 --- a/src/lib/OOBE/CustomizePFP.svelte +++ b/src/lib/OOBE/CustomizePFP.svelte @@ -18,7 +18,7 @@
-

Set your profile picture

+

Select a profile picture

{#if pfpOverflow && $user.pfp_data < 0} diff --git a/src/lib/OOBE/CustomizeTheme.svelte b/src/lib/OOBE/CustomizeTheme.svelte index f8154902..7446b030 100644 --- a/src/lib/OOBE/CustomizeTheme.svelte +++ b/src/lib/OOBE/CustomizeTheme.svelte @@ -8,10 +8,7 @@

Set your theme

- -

+ Click Next when done.
diff --git a/src/lib/OOBE/Introduction.svelte b/src/lib/OOBE/Introduction.svelte new file mode 100644 index 00000000..7f29959a --- /dev/null +++ b/src/lib/OOBE/Introduction.svelte @@ -0,0 +1,21 @@ +
+

Introduction

+
+

Welcome to Meower!

+

Now lets get you setup and ready to chat!

+

This is the OOBE, you might of seen something simillar if you have set up a windows computer (After XP)

+

If you want to skip the OOBE. You can press the skip button down below.

+

Hit the next button to continue

+

And if you ever wanna go back, hit the back button.

+ +
+ + \ No newline at end of file diff --git a/src/lib/OOBE/Main.svelte b/src/lib/OOBE/Main.svelte index 27fccb71..e9cbc2b3 100644 --- a/src/lib/OOBE/Main.svelte +++ b/src/lib/OOBE/Main.svelte @@ -1,14 +1,16 @@ - -

Select a Theme

-
-
- -
- {#if theme === "custom"} -
Custom Theme
- - {:else} -
- {themeCaps + " (" + darkModeStr + ")"} -
- {themeName} - {/if} +{#if !fromoobe} + +

Select a Theme

+
+
+ +
+ {#if theme === "custom"} +
Custom Theme
+ + {:else} +
+ {themeCaps + " (" + darkModeStr + ")"} +
+ {themeName} + {/if} +
+ +
+ {#if error} +

+ Your previous theme was invalid, so it was reset to orange. +

+ {/if} +

(Change the layout in the settings.)

+ -
- {#if error} -

- Your previous theme was invalid, so it was reset to orange. -

- {/if} -

(Change the layout in the settings.)

-