= ({ tabs, orientation = "vertical" }) => {
{activeTab === tab.id && (
diff --git a/src/lib/sanity/queries.ts b/src/lib/sanity/queries.ts
index c3cf0969..912e8a70 100644
--- a/src/lib/sanity/queries.ts
+++ b/src/lib/sanity/queries.ts
@@ -38,6 +38,12 @@ export const cvQuery = groq`
institution,
degree,
description
+ },
+ volunteerWork[] {
+ period,
+ organization,
+ role,
+ description
}
}
`;
diff --git a/studio/schemaTypes/documents/cv.ts b/studio/schemaTypes/documents/cv.ts
index 11b2e422..52ae29c1 100644
--- a/studio/schemaTypes/documents/cv.ts
+++ b/studio/schemaTypes/documents/cv.ts
@@ -36,8 +36,18 @@ export default {
type: 'object',
fields: [
{name: 'period', title: 'Period', type: 'string'},
- {name: 'company', title: 'Company', type: 'string'},
- {name: 'role', title: 'Role', type: 'string'},
+ {
+ name: 'company',
+ title: 'Company/Project',
+ type: 'string',
+ description: 'Company name or personal project/community name'
+ },
+ {
+ name: 'role',
+ title: 'Role',
+ type: 'string',
+ description: 'Job title or role in the project/community'
+ },
{name: 'description', title: 'Description', type: 'text'},
],
},
@@ -59,5 +69,36 @@ export default {
},
],
},
+ {
+ name: 'volunteerWork',
+ title: 'Volunteer work',
+ type: 'array',
+ of: [
+ {
+ type: 'object',
+ fields: [
+ {name: 'period', title: 'Period', type: 'string'},
+ {
+ name: 'organization',
+ title: 'Organization',
+ type: 'string',
+ description: 'Name of the community or organization'
+ },
+ {
+ name: 'role',
+ title: 'Role',
+ type: 'string',
+ description: 'Your role in the community'
+ },
+ {
+ name: 'description',
+ title: 'Description',
+ type: 'text',
+ description: 'Describe your contributions and impact'
+ },
+ ],
+ },
+ ],
+ },
],
}