diff --git a/src/components/Projects/EmptySolutions.tsx b/src/components/Projects/EmptySolutions.tsx index 62e8d2ee2..dcaf5b591 100644 --- a/src/components/Projects/EmptySolutions.tsx +++ b/src/components/Projects/EmptySolutions.tsx @@ -9,20 +9,19 @@ export function EmptySolutions(props: EmptySolutionsProps) { return (
- +

- No Solutions Found + No solutions submitted yet

-

- No solutions submitted yet. Be the first one to submit a solution. +

+ Be the first to submit a solution for this project

- - Start project + View Project Details
diff --git a/src/components/Projects/ProjectTabs.tsx b/src/components/Projects/ProjectTabs.tsx index 744e728ef..703391c5c 100644 --- a/src/components/Projects/ProjectTabs.tsx +++ b/src/components/Projects/ProjectTabs.tsx @@ -1,4 +1,5 @@ import { cn } from '../../lib/classname'; +import { Blocks, BoxSelect, StickyNote, Text } from 'lucide-react'; export const allowedProjectTabs = ['details', 'solutions'] as const; export type AllowedProjectTab = (typeof allowedProjectTabs)[number]; @@ -12,8 +13,8 @@ export function ProjectTabs(props: ProjectTabsProps) { const { activeTab, projectId } = props; const tabs = [ - { name: 'Project Details', value: 'details' }, - { name: 'Community Solutions', value: 'solutions' }, + { name: 'Project Details', value: 'details', icon: Text }, + { name: 'Community Solutions', value: 'solutions', icon: Blocks }, ]; return ( @@ -21,20 +22,20 @@ export function ProjectTabs(props: ProjectTabsProps) { {tabs.map((tab) => { const isActive = tab.value === activeTab; - const href = - tab.value === 'details' - ? `/projects/${projectId}` - : `/projects/${projectId}/${tab.value}`; - return ( + {tab.icon && } {tab.name} {isActive && ( diff --git a/src/components/Projects/StartProjectModal.tsx b/src/components/Projects/StartProjectModal.tsx index aeb5eac1f..f6b4392de 100644 --- a/src/components/Projects/StartProjectModal.tsx +++ b/src/components/Projects/StartProjectModal.tsx @@ -94,7 +94,7 @@ export function StartProjectModal(props: StartProjectModalProps) {

Project started{' '} - {formattedStartedAt} + {formattedStartedAt}

Start Building diff --git a/src/pages/projects/[projectId]/index.astro b/src/pages/projects/[projectId]/index.astro index 212d801cd..c6d68d44b 100644 --- a/src/pages/projects/[projectId]/index.astro +++ b/src/pages/projects/[projectId]/index.astro @@ -49,7 +49,7 @@ const githubUrl = `https://github.com/kamranahmedse/developer-roadmap/tree/maste
-
+
diff --git a/src/pages/projects/[projectId]/solutions.astro b/src/pages/projects/[projectId]/solutions.astro index 651a2a48a..0dee05315 100644 --- a/src/pages/projects/[projectId]/solutions.astro +++ b/src/pages/projects/[projectId]/solutions.astro @@ -49,13 +49,13 @@ const githubUrl = `https://github.com/kamranahmedse/developer-roadmap/tree/maste
-
+
-

{projectData.title}

+

{projectData.title} Solutions

{projectData.description}