diff --git a/app/components/homepage/projects/index.jsx b/app/components/homepage/projects/index.jsx index c49f4f8..65fd4c0 100644 --- a/app/components/homepage/projects/index.jsx +++ b/app/components/homepage/projects/index.jsx @@ -1,56 +1,56 @@ -import {projectsData} from '@/utils/data/projects-data'; +import { projectsData } from '@/utils/data/projects-data'; import ProjectCard from './project-card'; import Image from "next/image"; const Projects = () => { + return ( +
+
+
- return (
-
-
- -
-
- - - Projects - - +
{/* Reduced pt-10 to pt-5 */} +
+ + + Projects + + +
-
- Hero -
+ Hero -
- {projectsData.slice(0, 4).map((project, index) => (
-
{/* Add flex-mobile class */} - - Hero -
-
))} +
{/* Reduced pt-24 to pt-12 */} +
+ {projectsData.slice(0, 4).map((project, index) => ( +
+
+ + Hero +
+
+ ))} +
-
); + ); }; - -export default Projects; \ No newline at end of file +export default Projects; diff --git a/app/components/homepage/projects/project-card.jsx b/app/components/homepage/projects/project-card.jsx index acee9bf..3ebbc45 100644 --- a/app/components/homepage/projects/project-card.jsx +++ b/app/components/homepage/projects/project-card.jsx @@ -1,10 +1,9 @@ import * as React from 'react'; import Image from "next/image"; -function ProjectCard({project}) { +function ProjectCard({ project }) { return ( -
+