-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkeystatic.config.ts
More file actions
45 lines (43 loc) · 1021 Bytes
/
keystatic.config.ts
File metadata and controls
45 lines (43 loc) · 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { config, collection, fields } from "@keystatic/core";
import { heroSlides } from "./src/cms/schema/hero-slides";
import { about } from "./src/cms/schema/about";
import { fabrication, materials } from "./src/cms/schema/portfolio";
import { blog } from './src/cms/schema/blog';
import React from 'react';
const BrandMark = () => {
return React.createElement('div', {
style: {
fontSize: '24px',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
},
}, '🚀');
};
export default config({
storage: {
kind: 'local',
repo: {
owner: 'alt-del-code',
name: 'v3',
},
},
ui: {
brand: {
name: 'Krrishco CMS',
mark: BrandMark,
},
navigation: {
Content: ['hero-slides', 'about'],
Portfolio: ['fabrication', 'materials'],
Blog: ['blog'],
},
},
collections: {
"hero-slides": heroSlides,
"about": about,
"fabrication": fabrication,
"materials": materials,
"blog": blog,
}
});