-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/integrate
@focus-reactive/sanity-plugin-cms-kit
(#24)
* Add `@focus-reactive/sanity-plugin-cms-kit` * Add missing dep * test tempolate * fix all templates * remove templates and comment env initialization in sanity cli package * add hero template * add new format templates and scronshots to the core sections * comment blog templates --------- Co-authored-by: maksim hodasevich <[email protected]>
- Loading branch information
1 parent
172ed98
commit cd1aa23
Showing
38 changed files
with
695 additions
and
1,306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 0 additions & 101 deletions
101
apps/sanity/src/components/Footer/templates/footer.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import { createTemplate } from "@/lib/templateSelectorInput/createTemplate"; | ||
import type { Preset } from "@focus-reactive/sanity-plugin-cms-kit"; | ||
|
||
import withImage from "./with-images.json"; | ||
import withoutImage from "./without-images.json"; | ||
// import { createTemplate } from "@/lib/utils"; | ||
|
||
export const blogTemplates = [ | ||
createTemplate({ | ||
json: withImage, | ||
title: "Blog section with images", | ||
description: "desc1", | ||
category: "blog", | ||
}), | ||
createTemplate({ | ||
json: withoutImage, | ||
title: "Blog section without images", | ||
description: "desc2", | ||
category: "blog", | ||
}), | ||
// import withImage from "./with-images.json"; | ||
// import withoutImage from "./without-images.json"; | ||
|
||
export const blogTemplates: Preset[] = [ | ||
// createTemplate({ | ||
// title: "Blog section with images", | ||
// json: withImage, | ||
// category: "blog", | ||
// }), | ||
// createTemplate({ | ||
// title: "Blog section without images", | ||
// json: withoutImage, | ||
// category: "blog", | ||
// }), | ||
]; |
Binary file added
BIN
+39.5 KB
apps/sanity/src/contentSections/CardsGrid/templates/default-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.