Skip to content

File Structure

/attributes - fields shared by all (or almost all) post types*
├── /seo
├── /settings
│ ├── meta_attributes.js
│ ├── additional_fields.js
│ ├── ...
└── /components - custom components
└── /island - our way of defining fields
├── /localized_island - how localization is integrated in the project
│ ├── index.js
│ ├── LocalizedIsland.jsx
├── /migrations - stores migration files for bulk changes to the data
├── /modules - both modules and heros are stored here
│ ├── /common
│ ├── /hero
├── /plugins
├── /schemaTypes - defines the post types that will contain documents
│ ├── /contentTypes
│ ├── /siteSettings
│ ├── index.js
├── /sidebar-structure - how all sidebars of the project are structured
│ ├── globals.js
│ ├── index.js
│ ├── items.js
│ ├── siteSettings.js
├── /static - images for heros and modules thumbnails
│ ├── /heros
│ ├── /modules
├── /styling - styling of the studio
│ ├── customLayout.jsx
├── /utils - helper functions
└── sanity-client.js
└── sanity.config.ts
└── ...