Skip to content

Commit

Permalink
feat(pdc-dashboard): add open graph image field to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
AliKdhim87 committed Oct 30, 2023
1 parent 621a193 commit b2f957f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,20 @@
"searchable": true,
"sortable": true
}
},
"ogImage": {
"edit": {
"label": "Open Graph-afbeelding",
"description": "De Open Graph-afbeelding is de belangrijkste afbeelding die is gekoppeld aan gedeelde inhoud en verbetert de visuele aantrekkingskracht op sociale media en andere platforms. Deze moet minstens 1200 x 630 pixels zijn voor optimale weergave.",
"placeholder": "",
"visible": true,
"editable": true
},
"list": {
"label": "ogImage",
"searchable": false,
"sortable": false
}
}
},
"layouts": {
Expand All @@ -80,6 +94,10 @@
{
"name": "description",
"size": 6
},
{
"name": "ogImage",
"size": 6
}
]
]
Expand Down
5 changes: 5 additions & 0 deletions apps/pdc-dashboard/src/components/seo/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
"type": "text",
"maxLength": 160,
"required": true
},
"ogImage": {
"allowedTypes": ["images", "files", "videos", "audios"],
"type": "media",
"multiple": false
}
}
}

0 comments on commit b2f957f

Please sign in to comment.