From bbe716cecf0262f358b87f6f4ac75e47f7ba0bcb Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Wed, 9 Apr 2025 14:36:08 +0100 Subject: [PATCH] Update sidebar design --- src/components/AITutor/AITutorSidebar.tsx | 56 ++++++++++------------- src/pages/ai/staff-picks.astro | 2 +- 2 files changed, 24 insertions(+), 34 deletions(-) diff --git a/src/components/AITutor/AITutorSidebar.tsx b/src/components/AITutor/AITutorSidebar.tsx index 7ebc5006e..0f4efaf2a 100644 --- a/src/components/AITutor/AITutorSidebar.tsx +++ b/src/components/AITutor/AITutorSidebar.tsx @@ -1,10 +1,4 @@ -import { - ChevronLeft, - PlusCircle, - BookOpen, - Compass, - CircleDotIcon, -} from 'lucide-react'; +import { BookOpen, Bot, Compass, Plus, Star } from 'lucide-react'; type AITutorSidebarProps = { activeTab: AITutorTab; @@ -15,7 +9,7 @@ const sidebarItems = [ key: 'new', label: 'New Course', href: '/ai', - icon: PlusCircle, + icon: Plus, }, { key: 'courses', @@ -27,7 +21,7 @@ const sidebarItems = [ key: 'staff-picks', label: 'Staff Picks', href: '/ai/staff-picks', - icon: CircleDotIcon, + icon: Star, }, { key: 'explore', @@ -43,38 +37,34 @@ export function AITutorSidebar(props: AITutorSidebarProps) { const { activeTab } = props; return ( -
- - - Back to roadmap.sh - - -
-

Learn with AI

-

+

+ + ))} + + ); } diff --git a/src/pages/ai/staff-picks.astro b/src/pages/ai/staff-picks.astro index ad7ad5f74..840680333 100644 --- a/src/pages/ai/staff-picks.astro +++ b/src/pages/ai/staff-picks.astro @@ -11,7 +11,7 @@ const ogImage = 'https://roadmap.sh/og-images/ai-tutor.png'; ogImageUrl={ogImage} description='Learn anything with AI Tutor. Pick a topic, choose a difficulty level and the AI will guide you through the learning process.' > - +