From 712affc83d6fa7ab1765e17edb2a0bab2056d4ca Mon Sep 17 00:00:00 2001 From: moonleay Date: Sat, 6 Jan 2024 03:30:33 +0100 Subject: [PATCH] feat: added styling to config page --- src/routes/config.tsx | 130 ++++++++++++++--------------------- src/styles/pages/config.scss | 38 ++++++++++ 2 files changed, 89 insertions(+), 79 deletions(-) create mode 100644 src/styles/pages/config.scss diff --git a/src/routes/config.tsx b/src/routes/config.tsx index 95ffb6b..de20950 100644 --- a/src/routes/config.tsx +++ b/src/routes/config.tsx @@ -1,85 +1,57 @@ -function config() { - return ( - <> -

Configure li'l Judd

+import "../styles/pages/config.scss"; -
+function config() { + return (
- Server pfp - +

Configure li'l Judd in

+
+
+
+ Server pfp +

li'l Judds home base

+
+
+ +
+

Timezone

+

Set the timezone for your server.

+ +
+
+
+

Features

+

Configure the features of the bot

+
+
+
+

Time Planning

+ +
+ +
+

Enable pingable Roles

+ +
+
+
+ +
-
-

Timezone

-

Set the timezone for your server.

- -
-
-

Features

-

Configure the features of the bot

-
-

Time Planning

- -

Make the bot send a planner into a channel

-

Select

- -
-
-

Planning Roles

- -

Add roles to the "Time Planning" feature.

-

- This feature is bound to the "Time Planning" feature. It will be - activated in the same channel. -

-
-
- -
- - ); + ); } export default config; diff --git a/src/styles/pages/config.scss b/src/styles/pages/config.scss new file mode 100644 index 0000000..0b03502 --- /dev/null +++ b/src/styles/pages/config.scss @@ -0,0 +1,38 @@ +.guildpfp { + width: 50px; + height: 50px; + border-radius: 100%; +} + +.horizontal { + display: flex; + flex-direction: row; + h1 { + margin-left: 10px; + } + p, h3, h4 { + margin-right: 10px; + } +} + +.marg_right_5px { + margin-right: 10px; +} + +.centered { + text-align: center; + justify-content: center; + align-items: center; +} + +.config { + article { + background-color: rgba(0, 0, 0, 0.5); + border-radius: 4px; + padding: 1rem; + max-width: 1100px; + margin: 1rem auto; + width: 100%; + + } +}