feat: add new projects page

This commit is contained in:
Timothy Lin
2021-02-12 18:51:59 +08:00
parent a1060a7b79
commit 9e6d435903
5 changed files with 80 additions and 0 deletions

View File

@ -1,6 +1,7 @@
const headerNavLinks = [
{ href: '/blog', title: 'Blog' },
{ href: '/tags', title: 'Tags' },
{ href: '/projects', title: 'Projects' },
{ href: '/about', title: 'About' },
]

20
data/projectsData.js Normal file
View File

@ -0,0 +1,20 @@
const projectsData = [
{
title: 'A Search Engine',
description: `What is you could look up any information in the world? Webpages, images, videos
and more. Google has many features to help you find exactly what you're looking
for.`,
imgSrc: '/static/images/google.png',
href: 'https://www.google.com',
},
{
title: 'The Time Machine',
description: `Imagine being able to travel back in time or to the future. Simple turn the knob
to the desired date and press "Go". No more worrying about lost keys or
forgotten handphones with this simple yet affordable solution.`,
imgSrc: '/static/images/time-machine.jpg',
href: '/blog/the-time-machine',
},
]
export default projectsData