From 8b680990b0bb4fe3212a4f632519320191065f67 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 14 Dec 2025 15:57:36 -0500 Subject: init shifter + slideshow --- src/components/shifter.tsx | 79 ++++++++++++++++++++++++++++++++++++++++++ src/components/slideshow.astro | 0 2 files changed, 79 insertions(+) create mode 100644 src/components/shifter.tsx create mode 100644 src/components/slideshow.astro (limited to 'src/components') diff --git a/src/components/shifter.tsx b/src/components/shifter.tsx new file mode 100644 index 0000000..5c62be9 --- /dev/null +++ b/src/components/shifter.tsx @@ -0,0 +1,79 @@ +import { useState } from 'react'; +import '../styles/shifter.css'; +export default function Shifter() { + const [sidebar, setSidebar] = useState(0); + + function changeSidebar(window: number) { + setSidebar(window); + } + + function applyButton() { + + } + + function sidebarContent(): React.ReactNode { + switch (sidebar) { + case 0: + return ( + <> +
+

Welcome to the Shifter!

+

The shifter is an application that allows you to modify various features in ShiftOS. + Initially the user interface of ShiftOS is very dull however you can use the Shifter and + various sub programs within the Shifter such as the "Colour Picker" to improve the + appearance of ShiftOS.

+

The basic process of modifying your ShiftOS interface is very simple. You first choose a + main category on the left which will bring up a list of sub categories. Next select a + sub category to display your list of customization options. Once you have modified the + appropriate settings click Apply Changes to confirm your choices.

+
+
+

You can earn codepoints using the Shifter!

+

That's right! Simply by customizing your ShiftOS interface you can earn as many + codepoints as you like. The amount of codepoints you earn will be calculated and + displayed the moment you press "Apply Changes". The more time you spend customizing the + more codepoints you will earn!

+
+ + ) + case 1: + return ( + <> +

Windows Settings

+ + ) + case 2: + return ( + <> +

Do you want to reset your settings?

+ + ) + } + } + + + return ( +
+
+
+
Shifter
+
+
+
+
+
+
+ + applyButton()}>Apply Changes +
+
+ {sidebarContent()} +
+
+
+
+ ) +} diff --git a/src/components/slideshow.astro b/src/components/slideshow.astro new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3