diff --git a/components/Work.js b/components/Work.js index c0765fa7f..389bead0e 100644 --- a/components/Work.js +++ b/components/Work.js @@ -28,11 +28,13 @@ export const Projects = ({ title, cards }) => {

Projects

{cards.map((value, index) => ( - + ))}
{/*
@@ -43,19 +45,26 @@ export const Projects = ({ title, cards }) => { ); } -export const Card = ({ title, description, icons }) => { +export const Card = ({ title, description, icons, image }) => { return ( -
-

{title}

-

{description}

-
- {icons && icons.map((value, index) => ( - - - - - - ))} +
+
+

{title}

+ Project image +

{description}

+
+ {icons && icons.map((value, index) => ( + + + + + + ))} +
); diff --git a/config/config.js b/config/config.js index 65a191d07..d8864f097 100644 --- a/config/config.js +++ b/config/config.js @@ -2,6 +2,9 @@ import profile from './profile.png'; import { faAppStore, faGithub, faGooglePlay } from '@fortawesome/free-brands-svg-icons'; import { } from '@fortawesome/free-solid-svg-icons'; +import projectPreview1 from './project-preview-1.png'; +import projectPreview2 from './project-preview-2.png'; +import projectPreview3 from './project-preview-3.png'; export const navigation = { name: "Hashir", @@ -72,6 +75,7 @@ export const projects = { cards: [ { title: "StarBook", + image:projectPreview1.src, description: "A digital diary and mood tracking app that helps you in keeping track of your mood and productivity throughout the month/year.", icons: [ { @@ -86,6 +90,7 @@ export const projects = { }, { title: "QuranTalk", + image: projectPreview2.src, description: "An emotional well being and mental health app. The app helps people to navigate their emotions in the light of the Quran.", icons: [ { @@ -100,6 +105,7 @@ export const projects = { }, { title: "Portfolio", + image:projectPreview3.src, description: "A portfolio website template that helps you showcase your work, projects and skills as a software developer or freelancer.", icons: [ { diff --git a/config/project-preview-1.png b/config/project-preview-1.png new file mode 100644 index 000000000..61a8fa497 Binary files /dev/null and b/config/project-preview-1.png differ diff --git a/config/project-preview-2.png b/config/project-preview-2.png new file mode 100644 index 000000000..61a8fa497 Binary files /dev/null and b/config/project-preview-2.png differ diff --git a/config/project-preview-3.png b/config/project-preview-3.png new file mode 100644 index 000000000..61a8fa497 Binary files /dev/null and b/config/project-preview-3.png differ diff --git a/styles/custom.global.scss b/styles/custom.global.scss index 929425909..71c4315a0 100644 --- a/styles/custom.global.scss +++ b/styles/custom.global.scss @@ -149,4 +149,5 @@ a { .card-image:hover { transform: translate(-0.5rem, -0.5rem); box-shadow: 2rem 2rem $primary; -} \ No newline at end of file +} +