- {project.name}
+ {project.title}
{project.isFeatured && (
Featured
@@ -41,7 +41,7 @@ export const ProjectCard = ({ project, onEdit, onDelete }: ProjectCardProps) =>
);
-}
\ No newline at end of file
+}
diff --git a/src/types/projects.type.ts b/src/types/projects.type.ts
index 821afbf..98a722a 100644
--- a/src/types/projects.type.ts
+++ b/src/types/projects.type.ts
@@ -2,22 +2,22 @@ import { ProjectCategory } from "@/enums/projectCategory";
import { ProjectStatus } from "@/enums/projectStatus";
export type T_projects = {
- id:string;
- name: string;
- description: string;
- thumbnail?: string;
- images?: string[];
- category: ProjectCategory;
- githubLink: string;
- liveLink?: string;
- technologies: string[];
- companyName: string;
- completionYear?: number;
- isFeatured: boolean;
- status: ProjectStatus;
- createdAt: Date;
- updatedAt: Date;
-}
+ _id: string;
+ title: string;
+ description: string;
+ thumbnail?: string;
+ images?: string[];
+ category: ProjectCategory;
+ githubLink: string;
+ liveLink?: string;
+ technologies: string[];
+ companyName: string;
+ completionYear?: number;
+ isFeatured: boolean;
+ status: ProjectStatus;
+ createdAt: Date;
+ updatedAt: Date;
+};
/**
* _id:string;
title: string;
@@ -68,4 +68,4 @@ export type T_projects = {
"Responsive UI"
]
}
- */
\ No newline at end of file
+ */