From d52ac4aecdb2f32296ccd7e42d445e9eaa67d024 Mon Sep 17 00:00:00 2001 From: SpyC0der77 Date: Tue, 5 Aug 2025 14:47:16 -0400 Subject: [PATCH 1/2] init --- src/app/(general)/_components/sidebar/index.tsx | 7 ++++++- .../_contexts/openrouter-checks/index.tsx | 6 +++--- src/components/ui/sidebar.tsx | 15 +++++++++++++-- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/app/(general)/_components/sidebar/index.tsx b/src/app/(general)/_components/sidebar/index.tsx index 74bd9cea..39c5f177 100644 --- a/src/app/(general)/_components/sidebar/index.tsx +++ b/src/app/(general)/_components/sidebar/index.tsx @@ -39,7 +39,12 @@ export async function AppSidebar({ return ( - + { return ; } - if (credits && credits.totalCredits - credits.totalUsage <= 0.01) { - return ; - } + // if (credits && credits.totalCredits - credits.totalUsage <= 0.01) { + // return ; + // } return null; }; diff --git a/src/components/ui/sidebar.tsx b/src/components/ui/sidebar.tsx index 25630714..bbc1cd2a 100644 --- a/src/components/ui/sidebar.tsx +++ b/src/components/ui/sidebar.tsx @@ -309,8 +309,19 @@ function SidebarInset({ className, ...props }: React.ComponentProps<"main">) {
Date: Fri, 8 Aug 2025 16:19:36 -0400 Subject: [PATCH 2/2] Update globals --- src/styles/globals.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/styles/globals.css b/src/styles/globals.css index 9cf9b70f..1b4e16c5 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -178,7 +178,7 @@ body { } :root { - --background: oklch(0.9551 0 0); + --background: oklch(97.5% 0.00844 326deg); --foreground: oklch(0.3211 0 0); --card: oklch(0.9702 0 0); --card-foreground: oklch(0.3211 0 0); @@ -202,15 +202,15 @@ body { --chart-3: oklch(0.6534 0 0); --chart-4: oklch(0.7316 0 0); --chart-5: oklch(0.8078 0 0); - --sidebar: oklch(0.937 0 0); - --sidebar-foreground: oklch(0.3211 0 0); - --sidebar-primary: oklch(0.4891 0 0); + --sidebar: oklch(93.4% 0.0294 322deg); + --sidebar-foreground: rgb(172, 22, 104); + --sidebar-primary: oklch(93.4% 0.0294 322deg); --sidebar-primary-foreground: oklch(1 0 0); - --sidebar-accent: oklch(0.9067 0 0); - --sidebar-accent-foreground: oklch(0.3211 0 0); + --sidebar-accent: oklch(97.91% 0.0011895867041327932 106.75377509115134); + --sidebar-accent-foreground: rgb(172, 22, 104); --sidebar-border: oklch(0.8576 0 0); --sidebar-ring: #4299e1; - --font-sans: Space Grotesk, serif; + --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; --font-mono: JetBrains Mono, monospace; --radius: 0.5rem; @@ -447,4 +447,4 @@ body { * { scrollbar-width: thin; scrollbar-color: rgba(100, 100, 100, 0.4) transparent; -} +} \ No newline at end of file