-
+
{/* Scrolling content */}
{/* Bottom fade effect */}
-
+
);
diff --git a/src/components/app/dashboard/dashboard-bento-grid.tsx b/src/components/app/dashboard/dashboard-bento-grid.tsx
index e2bf1fee9..5d73b3e2c 100644
--- a/src/components/app/dashboard/dashboard-bento-grid.tsx
+++ b/src/components/app/dashboard/dashboard-bento-grid.tsx
@@ -19,19 +19,19 @@ export default async function DashboardBentoGrid() {
},
{
header:
,
- className: 'col-span-2 text-white lg:min-h-auto lg:h-[370px]',
+ className: 'col-span-2 text-black dark:text-white lg:min-h-auto lg:h-[370px]',
href: '/questions',
padded: false,
},
{
header:
,
- className: 'col-span-2 text-white lg:h-[370px]',
+ className: 'col-span-2 text-black dark:text-white lg:h-[370px]',
padded: false,
},
{
header:
,
className:
- 'h-full text-white justify-center min-h-[18rem] lg:h-[370px] col-span-2 lg:col-span-1',
+ 'h-full text-black dark:text-white justify-center min-h-[18rem] lg:h-[370px] col-span-2 lg:col-span-1',
href: studyPath ? `/roadmaps/${studyPath.studyPath.slug}` : '/roadmaps',
padded: false,
gradientBg: true,
diff --git a/src/components/app/dashboard/dashboard-question-card.tsx b/src/components/app/dashboard/dashboard-question-card.tsx
index 3abbf752d..4adede561 100644
--- a/src/components/app/dashboard/dashboard-question-card.tsx
+++ b/src/components/app/dashboard/dashboard-question-card.tsx
@@ -13,16 +13,16 @@ export default function DashboardQuestionCard(opts: DashboardQuestionCardProps)
const { name, correct } = opts.question;
return (
-
+
-
+
{correct ? (
-
+
) : (
-
+
)}
-
{name}
+
{name}
);
diff --git a/src/components/app/dashboard/next-question-bento-box.tsx b/src/components/app/dashboard/next-question-bento-box.tsx
index ad9c6d9bd..7d511b5f4 100644
--- a/src/components/app/dashboard/next-question-bento-box.tsx
+++ b/src/components/app/dashboard/next-question-bento-box.tsx
@@ -41,8 +41,8 @@ export default async function NextQuestionBentoBox() {
<>
-
Your Next Challenge Awaits
-
+
Your Next Challenge Awaits
+
Take just 2 minutes to answer your next question and keep your streak alive!
@@ -52,7 +52,7 @@ export default async function NextQuestionBentoBox() {
-
Topics to Explore:
+
Topics to Explore:
@@ -61,8 +61,11 @@ export default async function NextQuestionBentoBox() {
-
+
-
Personalised Progression
-
+
Personalised Progression
+
Your very own, personalised progression framework to help you grow as a developer.
diff --git a/src/components/app/navigation/sidebar.tsx b/src/components/app/navigation/sidebar.tsx
index 7953a7a42..9eb91386e 100644
--- a/src/components/app/navigation/sidebar.tsx
+++ b/src/components/app/navigation/sidebar.tsx
@@ -336,7 +336,7 @@ export function AppSidebar({ user, profile, suggestion }: AppSidebarProps) {
prefetch
className={`flex items-center font-inter font-medium text-sm py-2 ${
isActive(item.url)
- ? 'bg-black-25 dark:bg-white-25 text-white dark:text-black border border-black-50 dark:border-white-50'
+ ? 'bg-black-25 dark:bg-white-25 text-white dark:text-black border border-secondary dark:border-black-50 dark:border-white-50'
: ''
}`}
>
diff --git a/src/components/theme-toggle.tsx b/src/components/theme-toggle.tsx
index 945b00a19..658b37fea 100644
--- a/src/components/theme-toggle.tsx
+++ b/src/components/theme-toggle.tsx
@@ -23,10 +23,16 @@ export function ThemeToggle() {
Toggle theme
-
- setTheme('light')}>Light
- setTheme('dark')}>Dark
- setTheme('system')}>System
+
+ setTheme('light')}>
+ Light
+
+ setTheme('dark')}>
+ Dark
+
+ setTheme('system')}>
+ System
+
);
diff --git a/src/components/ui/bento-grid.tsx b/src/components/ui/bento-grid.tsx
index 072ac7145..ca94b274e 100644
--- a/src/components/ui/bento-grid.tsx
+++ b/src/components/ui/bento-grid.tsx
@@ -60,7 +60,7 @@ export const BentoGridItem = ({
};
const baseClasses = cn(
- 'rounded-xl group/bento overflow-hidden hover:shadow-xl transition duration-200 shadow-input border border-black-50 justify-between flex flex-col',
+ 'rounded-xl group/bento overflow-hidden hover:shadow-xl transition duration-200 shadow-input border border-secondary dark:border-black-50 justify-between flex flex-col',
header || title || description || icon ? 'space-y-3 md:space-y-4' : '',
className,
padded ? 'p-3 md:p-4' : ''
@@ -71,18 +71,6 @@ export const BentoGridItem = ({
{renderContent()}
) : (
-
- {renderContent()}
-
+ {renderContent()}
);
};
diff --git a/src/components/ui/grid.tsx b/src/components/ui/grid.tsx
index e716474b2..33042786f 100644
--- a/src/components/ui/grid.tsx
+++ b/src/components/ui/grid.tsx
@@ -31,14 +31,14 @@ export const Grid = ({
className={`pointer-events-none absolute ${positionClasses[position]}
w-full h-full -mt-2 [mask-image:linear-gradient(white,transparent)]`}
>
-
diff --git a/src/components/ui/infinite-moving-cards.tsx b/src/components/ui/infinite-moving-cards.tsx
index da5bba1a7..44ba06ed0 100644
--- a/src/components/ui/infinite-moving-cards.tsx
+++ b/src/components/ui/infinite-moving-cards.tsx
@@ -33,7 +33,7 @@ export const InfiniteMovingCards = ({
return (
@@ -61,7 +61,9 @@ export const InfiniteMovingCards = ({
className="user-select-none -z-1 pointer-events-none absolute -left-0.5 -top-0.5 h-[calc(100%_+_4px)] w-[calc(100%_+_4px)]"
>
- {item.title}
+
+ {item.title}
+
);
diff --git a/src/components/ui/separator.tsx b/src/components/ui/separator.tsx
index 89b916781..3873d7e05 100644
--- a/src/components/ui/separator.tsx
+++ b/src/components/ui/separator.tsx
@@ -14,7 +14,7 @@ const Separator = React.forwardRef<
decorative={decorative}
orientation={orientation}
className={cn(
- 'shrink-0 bg-border',
+ 'shrink-0 bg-secondary dark:bg-border',
orientation === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]',
className
)}
From f3d746940785d0812f4980696c451cda025ca0f2 Mon Sep 17 00:00:00 2001
From: Logan Ford <110533855+Logannford@users.noreply.github.com>
Date: Sun, 16 Mar 2025 14:47:43 +0000
Subject: [PATCH 4/5] feat: more light mode progress
---
src/components/app/navigation/sidebar-footer.tsx | 2 +-
src/components/shared/hero.tsx | 4 ++--
src/components/ui/sidebar.tsx | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/components/app/navigation/sidebar-footer.tsx b/src/components/app/navigation/sidebar-footer.tsx
index 1926ebd16..98222fdf6 100644
--- a/src/components/app/navigation/sidebar-footer.tsx
+++ b/src/components/app/navigation/sidebar-footer.tsx
@@ -14,7 +14,7 @@ export default function SidebarFooter({ user }: SidebarFooterProps) {
const pathname = usePathname();
return (
-
+
{!user && (