⚙️Configuring `data.json`
The data.json file present in src/config folder is the configuration file to fill the portfolio content.
JSON Configuration Documentation
This documentation provides guidelines and examples for filling in the JSON configuration file. Follow the explanations and examples to customize the content based on your personal information. A sample JSON file can be found here.
Display Picture
fileName: File name of your display picture (e.g., "avatar.webp"). Place the file in the
public/assets
folder. Do not place it inside any subfolders.Recommendations for the display picture: Square Shape, Preferred Size: 300×300.
alt: Alt text for the display picture (e.g., "Display Picture").
Example:
Home Section
name: Your first name.
intro: Brief introduction or bio.
socialLinks: Array of social link objects. Each social link object has a
name, link, and icon
fields. All are mandatory. All items inmainLinks
will be displayed on the home page.
Important: Always use the latest version of icons i.e. between Font Awesome 6 icons and Font Awesome 5 icons, use only Font Awesome 6 icons (identified using the fa6 tag before the name). The older versions will result in an error. Same applies to Hero Icons (use hi2 icons) and Ion Icons(use io5 icons).
Replace the links with your own. If you don't have a profile, delete the element.
Copy from Example social links page if you find any usable example. For missing websites, find an icon here and paste the name (e.g. FaHome) in the icon section.
Suggestion: Limit to 5 social links.
Example:
Profile Section
profilePictureFileName: File name of your profile picture (e.g., “Profile.webp”). Place the image in the
public/assets/profile
folder.Recommendations for the profile picture: Landscape, Preferred Size: 600×450.
profilePictureAlt: Alt text for the profile picture.
name: Your full legal name.
bio: Brief biography about yourself.
details: Additional details including nationality, location, experience start date, current role, open to collaboration, core competencies, personal pursuits.
The
experienceStartDate
value will be used to calculate your experience in the field. Hence, add the date from which you started working in your current field.
No new details can be added, but existing details can be deleted if they do not apply. To add new details, change the code in src/components/profile/profile.tsx or raise a request in the issues section here.
resume: File name of your resume, including the extension (PDF preferred). Place the file in the
public/assets/profile
folder.
Example:
Bio Section
Has 3 subsections:
Work Experience - represented with the
workExperience
field.Education - represented with the
education
field.Volunteer Experience - represented with the
volunteerExperience
field.
Example:
Work Experience
Provide details about your work experience, including company name, roles, role titles, descriptions, and years.
workExperience
: This is an array where you can list multiple work experiences. Each work experience is represented as an object within the array.
company
: Replace "Company1" with the actual name of the company where you gained work experience.roles: [...]
: This is an array where you can list multiple roles you had within the specified company. Each role is represented as an object within the array.title
: Replace "Frontend Developer" with the actual title of the role you held.description
: Provide a brief description of the responsibilities and tasks associated with the role. Replace "Lorem ipsum dolor sit amet..." with the actual description.year
: Specify the duration of the role. Replace "Dec 2021 - Present" with the actual timeframe during which you held this role.
Add more role objects within the array if you had multiple roles within the same company.
companyURL
: Replace "https://company1.com" with the actual URL of the company's website.
You can repeat this structure for each work experience entry, providing details about the roles, their descriptions, and the respective company URLs.
Education
Details about your education, including institution name, degrees, degree titles, years, and descriptions.
Same structure as work experience.
company
replaced withinstitution
, androles
replaced withdegrees
.
Example:
Volunteer Experience
Information about your volunteer experience, including organization name, roles, role titles, descriptions, and years.
Same structure as work experience.
company
replaced withorganization
.
Example:
Skills Section
List your skills, each with a title and an icon.
Represented as an array of skill objects, each with 2 fields, both mandatory.
The icon name should refer to an icon in the react-icons library. Search for your suitable icon there and copy the icon name to use it in the icon field.
Important: Always use the latest version of icons i.e. between Font Awesome 6 icons and Font Awesome 5 icons, use only Font Awesome 6 icons (identified using the fa6 tag before the name). The older versions will result in an error. Same applies to Hero Icons (use hi2 icons) and Ion Icons(use io5 icons).
Example:
Interests Section
List your interests, each with title, description, and icon.
Represented as an array of interest objects, each with the 3 fields, all mandatory.
The icon name should refer to an icon in the react-icons library. Search for your suitable icon there and copy the icon name to use it in the icon field.
Important: Always use the latest version of icons i.e. between Font Awesome 6 icons and Font Awesome 5 icons, use only Font Awesome 6 icons (identified using the fa6 tag before the name). The older versions will result in an error. Same applies to Hero Icons (use hi2 icons) and Ion Icons(use io5 icons).
Example:
Portfolio Section
Portfolio Items
Details about your portfolio items, including titles, descriptions, project links, image file names, image alt texts, and technologies used. All fields are mandatory.
Place the images in the public/assets/portfolio
folder and mention the image file name including extension in the imageName
field of each portfolio item. Preferred Image Size: 600x400
Example:
Archive Section
The section to fill the archive page of the site.
Archive Items
Array containing all the items, where each archive item is a blog article/paper published/any other content. All the fields are mandatory.
Place the images in the public/assets/archive
folder and mention the image file name including extension in the imageName
field of each archive item. Preferred Image Size: 570x310
Example:
Contact Section
Your contact information, including phone number, email address, and physical address, with a link to Google Maps. All fields are mandatory.
Example:
Feel free to use the provided examples as templates and replace the placeholder information with your own details. The structure and explanations in this documentation aim to guide you in creating a personalized JSON configuration file for your portfolio or personal website.
Last updated