From d8db68e411a7626cd3557756ec74c0d7da9a0f92 Mon Sep 17 00:00:00 2001 From: Wind-Explorer Date: Wed, 26 Jun 2024 19:13:37 +0800 Subject: [PATCH] Enhanced account archived screen --- client/src/icons.tsx | 19 +++++++ client/src/pages/SpringboardPage.tsx | 78 ++++++++++++++++++++-------- 2 files changed, 74 insertions(+), 23 deletions(-) diff --git a/client/src/icons.tsx b/client/src/icons.tsx index da1746a..cb12019 100644 --- a/client/src/icons.tsx +++ b/client/src/icons.tsx @@ -35,3 +35,22 @@ export const PencilSquareIcon = () => { ); }; + +export const LockClosedIcon = () => { + return ( + + + + ); +}; diff --git a/client/src/pages/SpringboardPage.tsx b/client/src/pages/SpringboardPage.tsx index 8df4f2d..b7f054b 100644 --- a/client/src/pages/SpringboardPage.tsx +++ b/client/src/pages/SpringboardPage.tsx @@ -1,8 +1,8 @@ import { useNavigate, useParams } from "react-router-dom"; import DefaultLayout from "../layouts/default"; import { useEffect, useState } from "react"; -import { Button, Link } from "@nextui-org/react"; -import { PencilSquareIcon } from "../icons"; +import { Button, Card, Link } from "@nextui-org/react"; +import { LockClosedIcon, PencilSquareIcon } from "../icons"; import SpringboardButton from "../components/SpringboardButton"; import { getTimeOfDay } from "../utilities"; import { retrieveUserInformation } from "../security/users"; @@ -91,32 +91,64 @@ export default function SpringboardPage() {
{accountUnavailable && ( -
-
-

🔒

-
-

Account unavailable.

-
-

- This account seems to have been archived. +

+ +
+
+
+
+ +
+
+
+
+

Account unavailable.

+

+ This account has been archived. +

+
+

+ If you wish to recover the account, please{" "} + + contact us + +

+
+
+
+
+
+ +
+
+
+
+ +
+

Why am I seeing this?

+
+

+ You have attempted to access an account that has been + archived.

- In order to recover the account, please{" "} - - contact us - + This may due to, either manual operation by the owner of the + account, or administrative decision from the management + team. +

+

+ The information related to this account remains, however the + access to the account will not be available. +

+

+ If you believe that this is incorrect, or would like to + request an unarchive, please contact us.

-
-
-
-
- -
-
+
)}