From 38e8c42cf02f73fb300889ab989088899a3aedb7 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 9 Sep 2025 23:43:37 -0400 Subject: ci: format --- cloud/app/src/app.tsx | 16 +++--- cloud/app/src/component/icon.tsx | 58 ++++++++++++++++----- cloud/app/src/entry-client.tsx | 4 +- cloud/app/src/entry-server.tsx | 48 +++++++++--------- cloud/app/src/routes/index.tsx | 7 ++- cloud/app/src/routes/workspace.tsx | 12 ++++- cloud/app/src/routes/workspace/[id].tsx | 89 ++++++++++++++++----------------- cloud/app/src/style/token/font.css | 3 +- 8 files changed, 140 insertions(+), 97 deletions(-) (limited to 'cloud/app/src') diff --git a/cloud/app/src/app.tsx b/cloud/app/src/app.tsx index 17385c4a5..bc3961214 100644 --- a/cloud/app/src/app.tsx +++ b/cloud/app/src/app.tsx @@ -1,15 +1,15 @@ -import { MetaProvider, Title, Meta } from "@solidjs/meta"; -import { Router } from "@solidjs/router"; -import { FileRoutes } from "@solidjs/start/router"; -import { ErrorBoundary, Suspense } from "solid-js"; -import "@ibm/plex/css/ibm-plex.css"; -import "./app.css"; +import { MetaProvider, Title, Meta } from "@solidjs/meta" +import { Router } from "@solidjs/router" +import { FileRoutes } from "@solidjs/start/router" +import { ErrorBoundary, Suspense } from "solid-js" +import "@ibm/plex/css/ibm-plex.css" +import "./app.css" export default function App() { return ( ( + root={(props) => ( opencode @@ -19,5 +19,5 @@ export default function App() { > - ); + ) } diff --git a/cloud/app/src/component/icon.tsx b/cloud/app/src/component/icon.tsx index d73c178bc..c91c4937d 100644 --- a/cloud/app/src/component/icon.tsx +++ b/cloud/app/src/component/icon.tsx @@ -6,34 +6,66 @@ export function IconLogo(props: JSX.SvgSVGAttributes) { - + - - + + - ); + ) } export function IconCopy(props: JSX.SvgSVGAttributes) { return ( - - - + + + ) } export function IconCheck(props: JSX.SvgSVGAttributes) { return ( - - + + ) } diff --git a/cloud/app/src/entry-client.tsx b/cloud/app/src/entry-client.tsx index 0ca4e3c30..642deacf7 100644 --- a/cloud/app/src/entry-client.tsx +++ b/cloud/app/src/entry-client.tsx @@ -1,4 +1,4 @@ // @refresh reload -import { mount, StartClient } from "@solidjs/start/client"; +import { mount, StartClient } from "@solidjs/start/client" -mount(() => , document.getElementById("app")!); +mount(() => , document.getElementById("app")!) diff --git a/cloud/app/src/entry-server.tsx b/cloud/app/src/entry-server.tsx index d2e6044aa..d5fca6aa5 100644 --- a/cloud/app/src/entry-server.tsx +++ b/cloud/app/src/entry-server.tsx @@ -1,26 +1,28 @@ // @refresh reload import { createHandler, StartServer } from "@solidjs/start/server" - -export default createHandler(() => ( - ( - - - - - - - - {assets} - - -
{children}
- {scripts} - - - )} - /> -), { - mode: "async", -}) +export default createHandler( + () => ( + ( + + + + + + + + {assets} + + +
{children}
+ {scripts} + + + )} + /> + ), + { + mode: "async", + }, +) diff --git a/cloud/app/src/routes/index.tsx b/cloud/app/src/routes/index.tsx index 23e870a55..fe355d79e 100644 --- a/cloud/app/src/routes/index.tsx +++ b/cloud/app/src/routes/index.tsx @@ -64,9 +64,7 @@ export default function Home() {