diff --git a/apps/web/src/app/_components/projects.tsx b/apps/web/src/app/_components/projects.tsx index 8d37d36..d8b7d3d 100644 --- a/apps/web/src/app/_components/projects.tsx +++ b/apps/web/src/app/_components/projects.tsx @@ -19,7 +19,7 @@ export default function Projects({ projects }: Readonly) { className="grid grid-cols-1 gap-8 sm:grid-cols-2" > {projects.map((project) => ( - + ))} ); diff --git a/apps/web/src/constants/projects-data.ts b/apps/web/src/constants/projects-data.ts index 1bca561..4c1cc17 100644 --- a/apps/web/src/constants/projects-data.ts +++ b/apps/web/src/constants/projects-data.ts @@ -1,6 +1,7 @@ -export const projectsData = [ +import type { Project } from "~/types/project"; + +export const projectsData: Project[] = [ { - id: 1, title: "Portfolio", slug: "portfolio", description: @@ -115,7 +116,6 @@ The website is deployed on Vercel with: ], }, { - id: 2, title: "LLM Chat", slug: "llm-chat", description: "A chat application built with C++, Qt 6 and Ollama", @@ -232,7 +232,6 @@ This project is licensed under the MIT License. See the LICENSE file for details ], }, { - id: 3, title: "cppup", slug: "cppup", description: "CLI tool for creating C++ projects", @@ -330,7 +329,6 @@ This project is licensed under the MIT License ], }, { - id: 4, title: "Baltic Probiotics", slug: "baltic-probiotics", description: "Baltic Probiotics is a company that sells probiotics", @@ -375,7 +373,6 @@ Baltic Probiotics is a e-commerce website for a company that sells probiotics. W ], }, { - id: 5, title: "Pūķarags", slug: "pukarags", description: "Pūķarags is a recreational complex", diff --git a/apps/web/src/types/project.ts b/apps/web/src/types/project.ts index f35645e..5a28a99 100644 --- a/apps/web/src/types/project.ts +++ b/apps/web/src/types/project.ts @@ -3,7 +3,6 @@ export interface Stack { } export interface Project { - id: number; title: string; description: string; content: string;