From a692d0b73f03ec7deadd8dbbbe6c4450bac8e3f4 Mon Sep 17 00:00:00 2001 From: Kay Faraday Date: Sun, 4 Aug 2024 14:46:08 -0700 Subject: [PATCH] new sidebar --- .../src/components/Info/InfoButtons.tsx | 49 ------------------- .../src/components/Info/InfoPrivacy.tsx | 4 -- .../client/src/components/Info/InfoRules.tsx | 23 +-------- .../src/components/Info/InfoSidebar.tsx | 2 - .../src/components/Info/InfoWelcome.tsx | 4 +- 5 files changed, 3 insertions(+), 79 deletions(-) delete mode 100644 packages/client/src/components/Info/InfoButtons.tsx diff --git a/packages/client/src/components/Info/InfoButtons.tsx b/packages/client/src/components/Info/InfoButtons.tsx deleted file mode 100644 index fef9b4e..0000000 --- a/packages/client/src/components/Info/InfoButtons.tsx +++ /dev/null @@ -1,49 +0,0 @@ -import { Button, Link } from "@nextui-org/react"; -import { SiDiscord, SiLemmy, SiMastodon, SiMatrix } from "@icons-pack/react-simple-icons" - -export const InfoButtons = () => { - return ( -
- - - - -
- ); -}; diff --git a/packages/client/src/components/Info/InfoPrivacy.tsx b/packages/client/src/components/Info/InfoPrivacy.tsx index e5e59da..fbbb05a 100644 --- a/packages/client/src/components/Info/InfoPrivacy.tsx +++ b/packages/client/src/components/Info/InfoPrivacy.tsx @@ -10,10 +10,6 @@ export const InfoPrivacy = () => {
diff --git a/packages/client/src/components/Info/InfoRules.tsx b/packages/client/src/components/Info/InfoRules.tsx index af1fc0e..826e348 100644 --- a/packages/client/src/components/Info/InfoRules.tsx +++ b/packages/client/src/components/Info/InfoRules.tsx @@ -9,28 +9,7 @@ export const InfoRules = () => {

Rules

-
    -
  1. -

    No alternate accounts

    -

    We want to keep it fair and not require people to create more - accounts to defend their art

    -
  2. -
  3. -

    No bots/automated placements

    -

    We're land of the humans, not bots

    -
  4. -
  5. -

    No hate speech or adjacent

    -
  6. -
  7. -

    No gore or nudity (NSFW/NSFL)

    -
  8. -
-

- This canvas is built upon good faith rules, therefore moderators have - complete discretion on the rules. If you have any questions, ask in - the Matrix space or the Discord -

+

You must follow the Freak University rules at all times.

) diff --git a/packages/client/src/components/Info/InfoSidebar.tsx b/packages/client/src/components/Info/InfoSidebar.tsx index 6abb8b3..9dffa86 100644 --- a/packages/client/src/components/Info/InfoSidebar.tsx +++ b/packages/client/src/components/Info/InfoSidebar.tsx @@ -1,6 +1,5 @@ import { useAppContext } from "../../contexts/AppContext"; import { InfoText } from "./InfoText"; -import { InfoButtons } from "./InfoButtons"; import { SidebarBase } from "../SidebarBase"; import { faInfoCircle } from "@fortawesome/free-solid-svg-icons"; @@ -18,7 +17,6 @@ export const InfoSidebar = () => {
-
diff --git a/packages/client/src/components/Info/InfoWelcome.tsx b/packages/client/src/components/Info/InfoWelcome.tsx index 029e4be..c34c275 100644 --- a/packages/client/src/components/Info/InfoWelcome.tsx +++ b/packages/client/src/components/Info/InfoWelcome.tsx @@ -9,8 +9,8 @@ export const InfoWelcome = () => {

Welcome

-

Welcome to canvas! This is an event that lasts for 72 hours where users can place pixels every so often on a shared canvas. Everyone has access to the same canvas and pixels can be placed in any location to create things on the canvas.

+

Welcome to canvas! This is a place where users can place pixels every so often on a shared canvas. Everyone has access to the same canvas and pixels can be placed in any location to create things on the canvas.

) -}; \ No newline at end of file +};