Skip to content

Commit

Permalink
add github and website fields
Browse files Browse the repository at this point in the history
  • Loading branch information
firehawk89 committed Feb 11, 2024
1 parent 5df16a9 commit 15b8cae
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion content/projects/itour.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
title: 'iTour'
description: 'iTour project description'
image: '/iTour.jpg'
features: []
technologies: ['JavaScript', 'React', 'Next.js', 'TailwindCSS', 'i18n']
website: 'https://travel-agency-eight-murex.vercel.app/'
---

iTour project info goes here
8 changes: 5 additions & 3 deletions content/projects/skauna.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
title: 'Skauna'
description: 'Skauna project description'
image: '/Skauna.jpg'
technologies: ['HTML', 'CSS', 'JavaScript']
features: []
technologies: ['HTML', 'CSS', 'SCSS', 'JavaScript', 'jQuery']
website: 'https://skauna.com/'
github: 'https://github.com/firehawk89/Skauna-website'
---

Skauna project info goes here
Responsive landing for Skauna.
4 changes: 3 additions & 1 deletion content/projects/yelpcamp.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
---
title: 'YelpCamp'
image: '/YelpCamp.jpg'
features:
[
'User Authentication (Log In and Register) and Authorization (Post, Edit, Delete or Rate Campground)',
'Campground Star Rating',
'Cluster Map',
'Image Upload'
]
image: '/YelpCamp.jpg'
technologies: ['JavaScript', 'Node.js', 'Express', 'MongoDB', 'Bootstrap']
website: 'https://yelp-camp-1s3s.onrender.com/'
github: 'https://github.com/firehawk89/YelpCamp'
---

An upgraded version of Node.js web app project from the "The Web Developer Bootcamp" course on Udemy by Colt Steele.
2 changes: 2 additions & 0 deletions src/types/Project.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
type Project = {
body: Promise<string> | string
features: string[]
github: string
image: string
slug: string
technologies: string[]
title: string
website: string
}

export default Project
4 changes: 2 additions & 2 deletions src/utils/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const getProject = async (slug: string): Promise<Project> => {

const {
content,
data: { features, image, technologies, title },
data: { features, github, image, technologies, title, website },
} = matter(text)

const renderer = new marked.Renderer()
Expand All @@ -60,5 +60,5 @@ export const getProject = async (slug: string): Promise<Project> => {
}
const body = marked(content, { renderer })

return { body, features, image, slug, technologies, title }
return { body, features, github, image, slug, technologies, title, website }
}

0 comments on commit 15b8cae

Please sign in to comment.