11import { useState , useEffect } from 'react' ;
22import { motion , useInView } from 'framer-motion' ;
33import { useRef } from 'react' ;
4- import { Star , GitFork , ExternalLink , Github , Loader , Rocket , AlertCircle } from 'lucide-react' ;
4+ import { Star , GitFork , ExternalLink , Github , Loader , Rocket } from 'lucide-react' ;
55import { fetchGitHubRepos } from '../utils/github' ;
66
77// Manually defined featured full-stack project (private repo)
@@ -10,7 +10,7 @@ const chronosDevTracker = {
1010 name : 'Chronos DevTracker' ,
1111 description : 'Portfolio-ready full-stack project management application showcasing TypeScript across React (Vite) frontend and Express + Prisma backend with PostgreSQL, JWT auth, and automated E2E tests (Playwright).' ,
1212 demoUrl : 'https://ammarahm3d.github.io/chronos-devtracker-pm/' ,
13- apiUrl : 'https://chronos-devtracker-pm.onrender.com/api ' ,
13+ apiUrl : 'https://chronos-devtracker-api.ammar-ahmed-paki.workers.dev/ ' ,
1414 topics : [ 'TypeScript' , 'React' , 'Express' , 'Prisma' , 'PostgreSQL' , 'Playwright' ] ,
1515 isFullStack : true ,
1616} ;
@@ -152,18 +152,18 @@ const Projects = () => {
152152 </ div >
153153
154154 { /* API Notice */ }
155- < div className = "mb-4 p-3 bg-yellow -500/10 border border-yellow -500/30 rounded-lg" >
156- < div className = "flex items-start gap-2 text-xs text-yellow -400" >
157- < AlertCircle size = { 14 } className = "mt-0.5 flex-shrink-0" />
155+ < div className = "mb-4 p-3 bg-green -500/10 border border-green -500/30 rounded-lg" >
156+ < div className = "flex items-start gap-2 text-xs text-green -400" >
157+ < Rocket size = { 14 } className = "mt-0.5 flex-shrink-0" />
158158 < span >
159- API hosted on Render may be sleeping .{ ' ' }
159+ API deployed on Cloudflare Workers edge network with Prisma Accelerate. Cold start double whammy mitigated for instant responses globally .{ ' ' }
160160 < a
161161 href = { chronosDevTracker . apiUrl }
162162 target = "_blank"
163163 rel = "noopener noreferrer"
164- className = "underline hover:text-yellow -300 transition-colors"
164+ className = "underline hover:text-green -300 transition-colors"
165165 >
166- Wake it up here
166+ Test the edge API
167167 </ a >
168168 </ span >
169169 </ div >
0 commit comments