diff --git a/packages/api/index.ts b/packages/api/index.ts index ede3878..b30d03d 100644 --- a/packages/api/index.ts +++ b/packages/api/index.ts @@ -28,7 +28,7 @@ app.get("/", (req: Request, res: Response) => { res.send("hello world."); }); -app.use("/api", (req: Request, res: Response) => { +app.use("/api/status", (req: Request, res: Response) => { res.json(new NirvanaResponse("wohoo, server is healthy")); }); diff --git a/packages/desktop/src/components/Logo/index.tsx b/packages/desktop/src/components/Logo/index.tsx index bf89a2a..8cd36ee 100644 --- a/packages/desktop/src/components/Logo/index.tsx +++ b/packages/desktop/src/components/Logo/index.tsx @@ -3,9 +3,11 @@ export type LogoType = "primary" | "small"; export default function Logo({ className, type, + grayscale = false, }: { className?: string; type?: LogoType; + grayscale?: boolean; }) { if (type === "small") { return ( @@ -15,7 +17,7 @@ export default function Logo({ viewBox="0 0 85 107" fill="none" xmlns="http://www.w3.org/2000/svg" - className={className} + className={`${className} ${grayscale ? "text-black grayscale" : ""}`} > - +
- +
diff --git a/packages/desktop/src/controller/nirvanaApi.ts b/packages/desktop/src/controller/nirvanaApi.ts index 55f7407..f959174 100644 --- a/packages/desktop/src/controller/nirvanaApi.ts +++ b/packages/desktop/src/controller/nirvanaApi.ts @@ -57,7 +57,7 @@ export default class NirvanaApi { } async function serverCheck(): Promise { - return await NirvanaApi.fetch(`/`, "GET", false); + return await NirvanaApi.fetch(`/status`, "GET", false); } async function login(reqLoginTokens: {