-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkeystatic.config.ts
More file actions
39 lines (38 loc) · 975 Bytes
/
keystatic.config.ts
File metadata and controls
39 lines (38 loc) · 975 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
import { config } from "@keystatic/core";
import { footer } from "./src/cms/singletons/footer";
import { mainnav } from "./src/cms/singletons/main-nav";
import { join } from "./src/cms/singletons/join";
import { about } from "./src/cms/singletons/about";
import { banner } from "./src/cms/singletons/banner";
import { locations, docs, projects } from "./src/cms/collections";
import { rookery, home } from "./src/cms/singletons";
export default config({
ui: {
brand: { name: "WesterosCraft" },
navigation: {
Collections: ["projects", "locations", "docs"],
Pages: ["home", "rookery", "about", "join"],
Settings: ["mainnav", "footer", "banner"],
},
},
storage: {
kind: import.meta.env.DEV ? "local" : "cloud",
},
cloud: {
project: "westeroscraft/website",
},
singletons: {
rookery,
home,
about,
join,
mainnav,
footer,
banner,
},
collections: {
locations,
docs,
projects,
},
});