From bc97623981e3efe3d5d0fa6ffccc59424433f80f Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 18 May 2025 19:39:25 -0400 Subject: [PATCH] Bun lint --- src/front/components/Lanyard/index.tsx | 3 +- .../components/pages/About/index.module.css | 40 +++++++++---------- src/front/components/pages/About/index.tsx | 16 ++------ src/front/index.css | 6 +-- types/css.d.ts | 12 +++--- 5 files changed, 33 insertions(+), 44 deletions(-) diff --git a/src/front/components/Lanyard/index.tsx b/src/front/components/Lanyard/index.tsx index c56e1dd..780fcde 100644 --- a/src/front/components/Lanyard/index.tsx +++ b/src/front/components/Lanyard/index.tsx @@ -1,8 +1,7 @@ import { highlightElement } from "@speed-highlight/core"; import { createRef } from "tsx-dom"; -import socket from "../../utilities/socket"; - import colors from "../../colors.module.css"; +import socket from "../../utilities/socket"; const activityTypes: Record = { 0: "Playing", diff --git a/src/front/components/pages/About/index.module.css b/src/front/components/pages/About/index.module.css index db4a39c..d11366e 100644 --- a/src/front/components/pages/About/index.module.css +++ b/src/front/components/pages/About/index.module.css @@ -1,34 +1,34 @@ .container { - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; - height: 100%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + height: 100%; } .card { - width: 90%; - padding: .5rem; - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; + width: 90%; + padding: 0.5rem; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; - .center { - text-align: center; - } + .center { + text-align: center; + } } .avatar { - width: 5rem; - height: inherit; - border: 2px solid rgb(var(--mdui-color-primary)); + width: 5rem; + height: inherit; + border: 2px solid rgb(var(--mdui-color-primary)); } .lanyard { - display: var(--lanyard-display); + display: var(--lanyard-display); } .hyperate { - display: var(--hyperate-display); -} \ No newline at end of file + display: var(--hyperate-display); +} diff --git a/src/front/components/pages/About/index.tsx b/src/front/components/pages/About/index.tsx index 98fa17e..e48924b 100644 --- a/src/front/components/pages/About/index.tsx +++ b/src/front/components/pages/About/index.tsx @@ -4,18 +4,14 @@ import "mdui/components/avatar"; import "mdui/components/segmented-button-group"; import "mdui/components/segmented-button"; +import colors from "../../../colors.module.css"; import Hyperate from "../../Hyperate"; import Lanyard from "../../Lanyard"; - import styles from "./index.module.css"; -import colors from "../../../colors.module.css"; - export default () => { return ( -
+
{

-
+
{ -
+