Skip to content

Commit

Permalink
Initial case study route established
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterbryant committed Dec 11, 2023
1 parent 589db3d commit dcaea6e
Show file tree
Hide file tree
Showing 20 changed files with 2,618 additions and 78 deletions.
65 changes: 65 additions & 0 deletions customtypes/case_study/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"id": "case_study",
"label": "case study",
"format": "page",
"repeatable": true,
"status": true,
"json": {
"Main": {
"uid": {
"config": {
"label": "UID"
},
"type": "UID"
},
"title": {
"type": "Text",
"config": {
"label": "title",
"placeholder": ""
}
},
"slices": {
"type": "Slices",
"fieldset": "Slice Zone",
"config": {
"choices": {
"text_slice": {
"type": "SharedSlice"
},
"wide_image": {
"type": "SharedSlice"
}
}
}
}
},
"SEO & Metadata": {
"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"
},
"meta_title": {
"config": {
"label": "Meta Title",
"placeholder": "A title of the page used for social media and search engines"
},
"type": "Text"
}
}
}
}
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write ."
"format": "prettier --write .",
"slicemachine": "start-slicemachine"
},
"devDependencies": {
"@slicemachine/adapter-sveltekit": "^0.3.28",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.27.4",
"@typescript-eslint/eslint-plugin": "^6.0.0",
Expand All @@ -25,6 +27,7 @@
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-svelte": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.5.7",
"slice-machine-ui": "^1.21.2",
"svelte": "^4.0.5",
"svelte-check": "^3.6.0",
"tailwindcss": "^3.3.5",
Expand All @@ -34,6 +37,8 @@
},
"type": "module",
"dependencies": {
"@prismicio/client": "^7.3.1",
"@prismicio/svelte": "^1.0.2",
"openai": "^4.19.1"
}
}
}
Loading

0 comments on commit dcaea6e

Please sign in to comment.