Skip to content

Commit

Permalink
feat: moved to prismic
Browse files Browse the repository at this point in the history
  • Loading branch information
juliankoehn committed Feb 13, 2025
1 parent 64e66a3 commit 0749653
Show file tree
Hide file tree
Showing 316 changed files with 17,170 additions and 297,407 deletions.
97 changes: 97 additions & 0 deletions customtypes/blog/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"format": "page",
"id": "blog",
"label": "Blog",
"repeatable": true,
"status": true,
"json": {
"Main": {
"uid": {
"type": "UID",
"config": {
"label": "UID"
}
},
"title": {
"type": "StructuredText",
"config": {
"label": "Title",
"placeholder": "",
"allowTargetBlank": false,
"single": "heading1"
}
},
"date": {
"type": "Date",
"config": {
"label": "Date",
"placeholder": ""
}
},
"image": {
"type": "Image",
"config": {
"label": "Image",
"constraint": {},
"thumbnails": []
}
},
"author": {
"type": "Link",
"config": {
"label": "Author",
"select": "document",
"repeat": false,
"customtypes": ["blog_author"]
}
},
"category": {
"type": "Link",
"config": {
"label": "Category",
"select": "document",
"repeat": false,
"customtypes": ["blog_category"]
}
},
"slices": {
"type": "Slices",
"fieldset": "Slice Zone",
"config": {
"choices": {
"text_content": {
"type": "SharedSlice"
}
}
}
}
},
"SEO & Metadata": {
"meta_title": {
"config": {
"label": "Meta Title",
"placeholder": "A title of the page used for social media and search engines"
},
"type": "Text"
},
"meta_description": {
"config": {
"label": "Meta Description",
"placeholder": "A brief summary of the page"
},
"type": "Text"
},
"meta_image": {
"config": {
"constraint": {
"height": 1260,
"width": 2400
},
"label": "Meta Image",
"thumbnails": []
},
"type": "Image"
}
}
}
}
86 changes: 86 additions & 0 deletions customtypes/blog_author/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"format": "page",
"id": "blog_author",
"label": "Blog Author",
"repeatable": true,
"status": true,
"json": {
"Main": {
"uid": {
"type": "UID",
"config": {
"label": "UID"
}
},
"name": {
"type": "StructuredText",
"config": {
"label": "Name",
"placeholder": "",
"allowTargetBlank": true,
"multi": "heading1"
}
},
"description": {
"type": "StructuredText",
"config": {
"label": "Description",
"placeholder": "",
"allowTargetBlank": true,
"multi": "paragraph,strong,em"
}
},
"image": {
"type": "Image",
"config": {
"label": "Image",
"constraint": {},
"thumbnails": []
}
},
"job_title": {
"type": "StructuredText",
"config": {
"label": "Job Title",
"placeholder": "",
"allowTargetBlank": true,
"multi": "paragraph,strong,em"
}
},
"slices": {
"type": "Slices",
"fieldset": "Slice Zone",
"config": {
"choices": {}
}
}
},
"SEO & Metadata": {
"meta_title": {
"config": {
"label": "Meta Title",
"placeholder": "A title of the page used for social media and search engines"
},
"type": "Text"
},
"meta_description": {
"config": {
"label": "Meta Description",
"placeholder": "A brief summary of the page"
},
"type": "Text"
},
"meta_image": {
"config": {
"constraint": {
"height": 1260,
"width": 2400
},
"label": "Meta Image",
"thumbnails": []
},
"type": "Image"
}
}
}
}
77 changes: 77 additions & 0 deletions customtypes/blog_category/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"format": "page",
"id": "blog_category",
"label": "Blog Category",
"repeatable": true,
"status": true,
"json": {
"Main": {
"uid": {
"type": "UID",
"config": {
"label": "UID"
}
},
"title": {
"type": "StructuredText",
"config": {
"label": "Title",
"placeholder": "",
"allowTargetBlank": false,
"single": "heading1"
}
},
"icon": {
"type": "Image",
"config": {
"label": "Icon",
"constraint": {},
"thumbnails": []
}
},
"description": {
"type": "StructuredText",
"config": {
"label": "Description",
"placeholder": "",
"allowTargetBlank": true,
"multi": "paragraph"
}
},
"slices": {
"type": "Slices",
"fieldset": "Slice Zone",
"config": {
"choices": {}
}
}
},
"SEO & Metadata": {
"meta_title": {
"config": {
"label": "Meta Title",
"placeholder": "A title of the page used for social media and search engines"
},
"type": "Text"
},
"meta_description": {
"config": {
"label": "Meta Description",
"placeholder": "A brief summary of the page"
},
"type": "Text"
},
"meta_image": {
"config": {
"constraint": {
"height": 1260,
"width": 2400
},
"label": "Meta Image",
"thumbnails": []
},
"type": "Image"
}
}
}
}
74 changes: 74 additions & 0 deletions customtypes/blog_home/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"format": "page",
"id": "blog_home",
"label": "Blog Home",
"repeatable": false,
"status": true,
"json": {
"Main": {
"title": {
"type": "StructuredText",
"config": {
"label": "Title",
"placeholder": "",
"allowTargetBlank": true,
"single": "heading1"
}
},
"rolling_title": {
"type": "Group",
"config": {
"label": "Rolling Title",
"repeat": true,
"fields": {
"title_part": {
"type": "Text",
"config": {
"label": "Title Part",
"placeholder": ""
}
}
}
}
},
"slices": {
"type": "Slices",
"fieldset": "Slice Zone",
"config": {
"choices": {
"blog_post_slider": {
"type": "SharedSlice"
}
}
}
}
},
"SEO & Metadata": {
"meta_title": {
"config": {
"label": "Meta Title",
"placeholder": "A title of the page used for social media and search engines"
},
"type": "Text"
},
"meta_description": {
"config": {
"label": "Meta Description",
"placeholder": "A brief summary of the page"
},
"type": "Text"
},
"meta_image": {
"config": {
"constraint": {
"height": 1260,
"width": 2400
},
"label": "Meta Image",
"thumbnails": []
},
"type": "Image"
}
}
}
}
58 changes: 58 additions & 0 deletions customtypes/contact/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"format": "page",
"id": "contact",
"label": "Contact",
"repeatable": true,
"status": true,
"json": {
"Main": {
"uid": {
"type": "UID",
"config": {
"label": "UID"
}
},
"slices": {
"type": "Slices",
"fieldset": "Slice Zone",
"config": {
"choices": {
"contact_form": {
"type": "SharedSlice"
},
"hero": {
"type": "SharedSlice"
}
}
}
}
},
"SEO & Metadata": {
"meta_title": {
"config": {
"label": "Meta Title",
"placeholder": "A title of the page used for social media and search engines"
},
"type": "Text"
},
"meta_description": {
"config": {
"label": "Meta Description",
"placeholder": "A brief summary of the page"
},
"type": "Text"
},
"meta_image": {
"config": {
"constraint": {
"height": 1260,
"width": 2400
},
"label": "Meta Image",
"thumbnails": []
},
"type": "Image"
}
}
}
}
Loading

0 comments on commit 0749653

Please sign in to comment.