Add link to projects

This commit is contained in:
Tanguy Herbron 2021-04-19 15:34:05 +02:00
parent f93e82ad3b
commit 2d48f057fc
2 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,7 @@ export default function CaseCard(props) {
const study = props.study;
return (
<a className={styles.container}>
<a className={styles.container} href={study.link}>
<img
className={`${styles.cover}`}
src={props.study.cover}

View File

@ -62,6 +62,7 @@ export async function getStaticProps() {
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.",
date: "June 12, 2020",
cover: "/images/bongo.png",
link: "https://github.com/TanguyHerbron/dotfiles"
},
{
title: "Doodle",
@ -69,6 +70,7 @@ export async function getStaticProps() {
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.",
date: "June 12, 2020",
cover: "/images/bongo.png",
link: "https://wiki.halia.dev"
},
{
title: "Poodle",
@ -76,6 +78,7 @@ export async function getStaticProps() {
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.",
date: "June 12, 2020",
cover: "/images/bongo.png",
link: "https://github.com/TanguyHerbron/Moodl"
},
];