Skip to content

Commit

Permalink
fix: add missing social media fields
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyMckes committed Oct 19, 2023
1 parent 4a54c65 commit ab20777
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
27 changes: 27 additions & 0 deletions src/schemas/mentor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,33 @@ const mentor = defineType({
'The id of the mentor page on the notion database https://www.notion.so/hifrontendcafe/Datos-de-mentors-38f10db7e5084b339fd2fbde123d420e',
type: 'string',
},
{
title: 'Calendly',
name: 'calendly',
type: 'url',
validation: (Rule) => Rule.required(),
},
/* Social Media */
{
title: 'Web / Portfolio',
name: 'web',
type: 'url',
},
{
title: 'LinkedIn',
name: 'linkedin',
type: 'url',
},
{
title: 'Github',
name: 'github',
type: 'url',
},
{
title: 'Twitter',
name: 'twitter',
type: 'url',
},
],
preview: {
select: {
Expand Down
28 changes: 27 additions & 1 deletion src/schemas/person.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,33 @@ const person = defineType({
list: timezones.map((tz) => ({ title: tz.text, value: tz.text })),
},
},

/* Social Media */
{
title: 'Web / Portfolio',
name: 'portfolio',
type: 'url',
},
{
title: 'LinkedIn',
name: 'linkedin',
type: 'url',
},
{
title: 'GitHub',
name: 'github',
type: 'url',
},
{
title: 'Twitter',
name: 'twitter',
type: 'url',
},
{
title: 'Instagram',
name: 'instagram',
type: 'url',
},
/* Certification */
{
title: 'Certificaciones',
name: 'certifications',
Expand Down

0 comments on commit ab20777

Please sign in to comment.