You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: improve ProjectCard type safety and component API
- Use Project type from content for ProjectCardProps
- Remove default projects prop from FeaturedProjects
- Add optional chaining for projects prop
- Update tests to handle new component API
- Simplify mock implementations
Copy file name to clipboardExpand all lines: src/components/sections/FeaturedProjects.tsx
+3-27Lines changed: 3 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -3,37 +3,13 @@
3
3
import{motion}from'framer-motion';
4
4
import{ProjectCard}from'@/components/ui';
5
5
import{projectStaggerVariants}from'@/lib';
6
-
7
-
// Default project data
8
-
constdefaultProjects=[
9
-
{
10
-
title: "CCPTools Ecosystem",
11
-
description: "Microservices platform focused on construction cost planning and scalability. Features real-time calculations, mobile apps, and scalable backend architecture.",
description: "Multi-tenant SaaS platform focused on scalable nutrition tracking with tenant isolation. Features real-time tracking, analytics, and production-ready architecture.",
description: "HIPAA-Compliant Platform focused on patient management and compliance. Features HIPAA compliance, real-time monitoring, secure auth, and case study available.",
0 commit comments