Skip to content

Commit

Permalink
Merge pull request #6 from ZuliusRoolf/portfolio-json-structure
Browse files Browse the repository at this point in the history
Portfolio json structure
  • Loading branch information
ZuliusRoolf authored Jul 27, 2024
2 parents e1faaf0 + 94bffe5 commit eff09a1
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 40 deletions.
15 changes: 15 additions & 0 deletions JOURNAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ This is a quick journal on how I develop this website. It will be used for docum
- [July 19](#july-19)
- [Portfolio UI](#portfolio-ui)
- [JSON creation](#json-creation)
- [July 27](#july-27)
- [Train work](#train-work)

## July 13

Expand Down Expand Up @@ -215,3 +217,16 @@ An extension to the idea would be to show the descriptive text only when the use
### JSON creation

I made [JSON content structure](#json-content-structure) on the 15 of July. I'll use that to make templates for both Biography and Portfolio.

## July 27

- [ ] Translate portfolio HTML into JSON structure
- [ ] Javascript convert JSON to HTML
- [ ] Recap Mr. Ranedeer lessons
- [ ] Reach step 1.10 in Mr. Ranedeer website curriculum

### Train work

Today I am sitting on the train towards back home. I took a minute to regather my thoughts of what my next step is. Confused over what I meant with portfolio template, as I assumed it referred to JSON and not HTML, I have updated it accordingly.

This is a minor detail, but I also updated the tab spacing to be 2 instead of 4 in the JSON files. This is to save some space and make it look a little prettier when reading. Installed this JSON extention to help format the documents: [JSON Tools](https://marketplace.visualstudio.com/items?itemName=eriklynd.json-tools)
44 changes: 22 additions & 22 deletions website/content/biography.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"portrait": "URL_to_portrait_image",
"name": "Zulius Roolf",
"title": "Software Engineer Student",
"workplace": "BTH",
"links": [
{
"name": "LinkedIn",
"link": "https://www.linkedin.com/in/johndoe",
"icon": "linkedin"
},
{
"name": "Twitter",
"link": "https://twitter.com/johndoe",
"icon": "twitter"
},
{
"name": "GitHub",
"link": "https://github.com/ZuliusRoolf",
"icon": "content/icons/github.svg"
}
],
"aboutMeText": "I am a Jack of all trades with strong proficency in the art of software development. This website has been created to track and showcase the different projects I have worked on over the years. I am always looking for new opportunities to learn and grow as a developer."
"portrait": "URL_to_portrait_image",
"name": "Zulius Roolf",
"title": "Software Engineer Student",
"workplace": "BTH",
"links": [
{
"name": "LinkedIn",
"link": "https://www.linkedin.com/in/johndoe",
"icon": "linkedin"
},
{
"name": "Twitter",
"link": "https://twitter.com/johndoe",
"icon": "twitter"
},
{
"name": "GitHub",
"link": "https://github.com/ZuliusRoolf",
"icon": "content/icons/github.svg"
}
],
"aboutMeText": "I am a Jack of all trades with strong proficency in the art of software development. This website has been created to track and showcase the different projects I have worked on over the years. I am always looking for new opportunities to learn and grow as a developer."
}
47 changes: 29 additions & 18 deletions website/content/portfolio.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
{
"portfolio": [
{
"title": "Project 1",
"date": "January 2024",
"description": "This is a description of Project 1.",
"technologies": ["HTML", "CSS", "JavaScript"],
"link": "http://example.com"
},
{
"title": "Project 2",
"date": "February 2024",
"description": "This is a description of Project 2.",
"technologies": ["React", "Node.js"],
"link": "http://example.com"
}
]
}

"portfolio": [
{
"title": "Project 1",
"year": "2024",
"month": "January",
"videoLink": "URL_to_video",
"companyLogo": "content/icons/github.svg",
"companyName": "GitHub",
"collaborators": "John Doe",
"descriptiveTitle": "A project that does something",
"reason": "This project was created to solve a problem.",
"projectHostName": "GitHub",
"projectLink": "http://github.com"
},
{
"title": "Project 2",
"year": "2025",
"month": "February",
"videoLink": "URL_to_video",
"companyLogo": "content/icons/github.svg",
"companyName": "GitHub",
"collaborators": "",
"descriptiveTitle": "A project that does something",
"reason": "This project was created to solve a problem.",
"projectHostName": "GitHub",
"projectLink": "http://github.com"
}
]
}

0 comments on commit eff09a1

Please sign in to comment.