Started project cards

This commit is contained in:
2022-05-10 14:39:46 +01:00
parent 219214110b
commit 017bf52eeb
3 changed files with 35 additions and 2 deletions

View File

@ -13,6 +13,7 @@ import Cdiv from "../core/Cdiv";
import FadeComponent from "../core/FadeComponent"; import FadeComponent from "../core/FadeComponent";
import Introduction from "../sections/Introduction"; import Introduction from "../sections/Introduction";
import Experience from "../sections/Experience"; import Experience from "../sections/Experience";
import Projects from '../sections/Projects';
//============================================================ //============================================================
// Component // Component
@ -73,9 +74,8 @@ const FrontPage = () => {
</FadeComponent> </FadeComponent>
<FadeComponent delay={DELAY * 2.5}> <FadeComponent delay={DELAY * 2.5}>
<Introduction /> <Introduction />
</FadeComponent>
<FadeComponent delay={DELAY * 2.5}>
<Experience /> <Experience />
<Projects />
</FadeComponent> </FadeComponent>
</div> </div>
</> </>

View File

@ -0,0 +1,11 @@
import React from "react";
const ProjectCard = ({ title, description }) => {
return (
<div className="w-full rounded-lg flex flex-col bg-polar-night-400 px-2 py-2 shadow-md">
<h2 className="text-2xl text-snow-storm-100">{title}</h2>
<p className="text-md text-snow-storm-100">{description}</p>
</div>
);
};
export default ProjectCard;

View File

@ -0,0 +1,22 @@
import React from "react";
import ProjectCard from './ProjectCard';
const Projects = () => {
return (
<div className="w-full flex flex-col justify-center items-center bg-frost-200 py-12">
<div className="w-full flex flex-col p-4 max-w-screen-2xl gap-4">
<h1 className="w-full text-7xl text-center font-display font-bold text-polar-night-400">
Projects
</h1>
<div className="w-full grid grid-cols-3 gap-4">
<ProjectCard title="Hello World" description="Hello World again lol" />
<ProjectCard title="Hello World" description="Hello World again lol" />
<ProjectCard title="Hello World" description="Hello World again lol" />
<ProjectCard title="Hello World" description="Hello World again lol" />
<ProjectCard title="Hello World" description="Hello World again lol" />
</div>
</div>
</div>
);
};
export default Projects;