All portfolio projects are defined inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/JuanRojasDev/juan-rojas-portafolio-web/llms.txt
Use this file to discover all available pages before exploring further.
src/data/constants.js as entries in the projects array. To add a new project, you only need to edit that one file—no component changes required.
Project object structure
Each entry in theprojects array follows this shape:
Adding a new project
Open constants.js
Open
src/data/constants.js in your editor and scroll to the projects array near the top of the file.Find the last entry and note its id
The current projects run from
id: 0 to id: 6. Your new entry should use id: 7 (or one higher than the last entry you see).Add a new object to the array
Append a new object at the end of the
projects array, following the structure above. Make sure to include a trailing comma after the previous last entry.Category options
Thecategory field controls which filter tab the project appears under in the Projects section. The three valid values are:
| Value | Filter tab |
|---|---|
"web app" | Web App |
"mobile app" | Android App |
"machine learning" | Machine Learning |
Member array
Themember array lists the contributors for a project. It is displayed inside the ProjectDetails modal. Each member object takes the following fields:
| Field | Description |
|---|---|
name | Full name displayed on the card |
img | URL of the member’s avatar image |
linkedin | Full URL to the member’s LinkedIn profile |
github | Full URL to the member’s GitHub profile |
member: []) or omit the field entirely.
Notes on images
Project images are referenced as publicly hosted URLs, not local files. Suitable hosting options include:- Imgur (
https://i.imgur.com/...) - GitHub repository raw assets
- Any CDN or image hosting service that returns a direct image URL