@@ -4,7 +4,7 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/com
44import { Button } from "@/components/ui/button"
55import { Badge } from "@/components/ui/badge"
66import { Separator } from "@/components/ui/separator"
7- import { GitHubLogoIcon , ExternalLinkIcon , StarIcon , CopyIcon , CalendarIcon , PersonIcon } from "@radix-ui/react-icons"
7+ import { GitHubLogoIcon , ExternalLinkIcon , StarIcon , CopyIcon , CalendarIcon , PersonIcon , CheckCircledIcon , ArchiveIcon , UpdateIcon , ReloadIcon , ComponentInstanceIcon , GlobeIcon , LockClosedIcon , StarFilledIcon } from "@radix-ui/react-icons"
88import { getAllProjects , getProjectBySlug } from "@/lib/project-data"
99import { notFound } from "next/navigation"
1010import ReactMarkdown from "react-markdown"
@@ -51,16 +51,17 @@ export default function ProjectPage({ params }: ProjectPageProps) {
5151
5252 const getStatusBadge = ( status : string | undefined ) => {
5353 const statusConfig = {
54- 'Active' : { emoji : '✅' , color : 'bg-green-100 text-green-800 border-green-200' } ,
55- 'Archived' : { emoji : '📦' , color : 'bg-gray-100 text-gray-800 border-gray-200' } ,
56- 'Maintenance' : { emoji : '🚧' , color : 'bg-yellow-100 text-yellow-800 border-yellow-200' } ,
57- 'In Development' : { emoji : '🔄' , color : 'bg-blue-100 text-blue-800 border-blue-200' } ,
58- 'Under Construction' : { emoji : '🏗️' , color : 'bg-orange-100 text-orange-800 border-orange-200' } ,
54+ 'Active' : { icon : CheckCircledIcon , color : 'bg-green-100 text-green-800 border-green-200' } ,
55+ 'Archived' : { icon : ArchiveIcon , color : 'bg-gray-100 text-gray-800 border-gray-200' } ,
56+ 'Maintenance' : { icon : UpdateIcon , color : 'bg-yellow-100 text-yellow-800 border-yellow-200' } ,
57+ 'In Development' : { icon : ReloadIcon , color : 'bg-blue-100 text-blue-800 border-blue-200' } ,
58+ 'Under Construction' : { icon : ComponentInstanceIcon , color : 'bg-orange-100 text-orange-800 border-orange-200' } ,
5959 }
6060 const config = statusConfig [ status as keyof typeof statusConfig ] || statusConfig [ 'Active' ]
61+ const Icon = config . icon
6162 return (
6263 < Badge variant = "outline" className = { `${ config . color } text-sm font-medium` } >
63- < span className = "mr-2" > { config . emoji } </ span >
64+ < Icon className = "mr-2 h-4 w-4" / >
6465 { status }
6566 </ Badge >
6667 )
@@ -119,7 +120,12 @@ export default function ProjectPage({ params }: ProjectPageProps) {
119120 ? 'bg-green-50 text-green-700 border-green-200'
120121 : 'bg-gray-50 text-gray-700 border-gray-200'
121122 } `} >
122- { project . visibility === 'Public' ? '🌐' : '🔐' } { project . visibility }
123+ { project . visibility === 'Public' ? (
124+ < GlobeIcon className = "mr-2 h-4 w-4" />
125+ ) : (
126+ < LockClosedIcon className = "mr-2 h-4 w-4" />
127+ ) }
128+ { project . visibility }
123129 </ Badge >
124130 ) }
125131 </ div >
@@ -186,7 +192,10 @@ export default function ProjectPage({ params }: ProjectPageProps) {
186192 { project . keyFeatures && project . keyFeatures . length > 0 && (
187193 < Card >
188194 < CardHeader >
189- < CardTitle className = "text-xl" > ✨ Key Features</ CardTitle >
195+ < CardTitle className = "text-xl flex items-center gap-2" >
196+ < StarFilledIcon className = "h-5 w-5 text-yellow-500" />
197+ Key Features
198+ </ CardTitle >
190199 </ CardHeader >
191200 < CardContent >
192201 < ul className = "space-y-3" >
0 commit comments