@dakingindanorf/hive
Version:
A template for creating a nuxt generated static site using Netlify CMS to power the backend. Individual site components can be managed through Bit
452 lines • 17.1 kB
JSON
{
"site_url": "https://thehive.network",
"publish_mode": "editorial_workflow",
"backend": {
"name": "bitbucket",
"repo": "chris-dev/hive",
"branch": "master"
},
"media_folder": "static/imgs",
"public_folder": "/imgs",
"collections": [
{
"label": "Pages",
"name": "pages",
"format": "json",
"extension": "json",
"folder": "content/pages",
"create": true,
"view_filters": [{
"label": "Fields - JSON",
"field": "fields",
"pattern": ""
}],
"editor": {
"preview": false
},
"fields": [
{
"label": "Title",
"name": "title",
"widget": "string"
},
{
"label": "Slug",
"name": "slug",
"widget": "string"
},
{
"label": "Page Components",
"name": "components",
"widget": "list",
"types": [
{
"label": "Placeholder",
"name": "placeholder",
"widget": "string"
}
]
},
{
"label": "SEO",
"name": "seo",
"widget": "object",
"fields": [
{
"label": "Description",
"name": "description",
"widget": "text",
"required": false
},
{
"label": "Image",
"name": "image",
"widget": "image",
"required": false
}
]
}
]
},
{
"label": "Site Config",
"name": "config",
"format": "json",
"extension": "json",
"view_filters": [{
"label": "Files - JSON",
"field": "files",
"pattern": ""
}],
"files": [
{
"label": "Site Settings",
"name": "settings",
"file": "content/config/settings.json",
"fields": [
{
"label": "API Key",
"name": "api_key",
"widget": "string",
"required": false
},
{
"label": "Site Title",
"name": "site_title",
"widget": "string"
},
{
"label": "Site Logo",
"name": "site_logo",
"widget": "image",
"required": false
},
{
"label": "Site Tag",
"name": "site_tag",
"widget": "string",
"required": false
},
{
"label": "Site Description",
"name": "site_description",
"widget": "string",
"required": false
},
{
"label": "Site Icon",
"name": "site_icon",
"widget": "image",
"required": false
},
{
"label": "Site Image",
"name": "site_image",
"widget": "image",
"required": false
},
{
"label": "Landing Page",
"name": "landing_page",
"description": "Select from the list of created pages as to which will act as the landing page to your site.",
"widget": "relation",
"collection": "pages",
"value_field": "slug",
"search_fields": [ "title" ],
"display_fields": [ "title" ],
"default": "landing-page"
}
]
},
{
"label": "Site Styles",
"name": "site_styles",
"file": "content/config/styles.json",
"fields": [
{
"label": "Primary Color",
"name": "primary_color",
"widget": "color",
"enableAlpha": true,
"required": false
},
{
"label": "Secondary Color",
"name": "secondary_color",
"widget": "color",
"enableAlpha": true,
"required": false
},
{
"label": "Accent Color",
"name": "accent_color",
"widget": "color",
"enableAlpha": true,
"required": false
},
{
"label": "Light Color",
"name": "light_color",
"widget": "color",
"enableAlpha": true,
"required": false
},
{
"label": "Dark Color",
"name": "dark_color",
"widget": "color",
"enableAlpha": true,
"required": false
},
{
"label": "Background Color",
"name": "background_color",
"widget": "color",
"enableAlpha": true,
"required": false
},
{
"label": "Text Color",
"name": "text_color",
"widget": "color",
"enableAlpha": true,
"required": false
},
{
"label": "Error Color",
"name": "error_color",
"widget": "color",
"enableAlpha": true,
"required": false
},
{
"label": "Mobile Breakpoint",
"name": "mobile_breakpoint",
"widget": "number",
"value_type": "int",
"default": 480,
"required": false
},
{
"slabel": "Tablet Breakpoint",
"name": "tablet_breakpoint",
"widget": "number",
"value_type": "int",
"default": 768,
"required": false
},
{
"label": "Laptop Breakpoint",
"name": "laptop_breakpoint",
"widget": "number",
"value_type": "int",
"default": 1024,
"required": false
},
{
"label": "Desktop Breakpoint",
"name": "desktop_breakpoint",
"widget": "number",
"value_type": "int",
"default": 1200,
"required": false
}
]
},
{
"label": "Navigation",
"name": "nav",
"file": "content/config/nav.json",
"fields": [
{
"label": "Intro Banner Text",
"name": "banner_text",
"widget": "string",
"required": false
},
{
"label": "Intro Banner Color",
"name": "banner_color",
"widget": "select",
"options": [
{ "label": "Primary", "value": "primary" },
{ "label": "Secondary", "value": "secondary" },
{ "label": "Accent", "value": "accent" },
{ "label": "Light", "value": "light" },
{ "label": "Dark", "value": "dark" }
]
},
{
"label": "Nav Type",
"name": "nav_type",
"description": "Select the style of menu to be used on your site. The menu will appear at the top of every page without having to be added in the page builder.",
"widget": "select",
"default": ["nav_none"],
"options": [
{ "label": "No Menu", "value": "nav_none" },
{ "label": "Standard", "value": "nav_standard" },
{ "label": "Overlay", "value": "nav_overlay"}
]
},
{
"label": "Nav Position",
"name": "nav_position",
"widget": "select",
"default": ["static"],
"options": [
{ "label": "Static", "value": "static" },
{ "label": "Fixed", "value": "fixed" }
]
},
{
"label": "Menu",
"name": "menu",
"widget": "list",
"required": false,
"types": [
{
"label": "Page Link",
"name": "page_link",
"widget": "object",
"fields": [
{
"label": "Link Text",
"name": "link_text",
"widget": "string"
},
{
"label": "Page Link",
"name": "page_link",
"widget": "relation",
"collection": "pages",
"value_field": "slug",
"search_fields": [ "title" ],
"display_fields": [ "title" ]
}
]
},
{
"label": "Custom Link",
"name": "custom_link",
"widget": "object",
"fields": [
{
"label": "Link Text",
"name": "link_text",
"widget": "string"
},
{
"label": "Link URL",
"name": "link_url",
"widget": "string"
}
]
}
]
},
{
"label": "Footer Type",
"name": "footer_type",
"description": "Select the style of footer to be used on your site. The footer will appear at the bototm of every page without having to be added in the page builder.",
"widget": "select",
"default": ["footer_none"],
"options": [
{ "label": "No Footer", "value": "footer_none" },
{ "label": "Centered", "value": "footer_centered" },
{ "label": "Columns", "value": "footer_columns"}
]
},
{
"label": "Footer",
"name": "footer",
"widget": "list",
"types": [
{
"label": "Page Link",
"name": "page_link",
"widget": "object",
"fields": [
{
"label": "Link Text",
"name": "link_text",
"widget": "string"
},
{
"label": "Page Link",
"name": "page_link",
"widget": "relation",
"collection": "pages",
"value_field": "slug",
"search_fields": [ "title" ],
"display_fields": [ "title" ]
}
]
},
{
"label": "Custom Link",
"name": "custom_link",
"widget": "object",
"fields": [
{
"label": "Link Text",
"name": "link_text",
"widget": "string"
},
{
"label": "Link URL",
"name": "link_url",
"widget": "string"
}
]
}
],
"required": false
}
]
},
{
"label": "Social",
"name": "social",
"file": "content/config/social.json",
"fields": [
{
"label": "Icon Color",
"name": "icon_color",
"widget": "select",
"options": [
{ "label": "Primary", "value": "primary" },
{ "label": "Light", "value": "light" },
{ "label": "Dark", "value": "dark" },
{ "label": "Secondary", "value": "secondary" },
{ "label": "Accent", "value": "accent" }
]
},
{
"label": "Instagram",
"name": "instagram",
"widget": "string",
"required": false
},
{
"label": "Facebook",
"name": "facebook",
"widget": "string",
"required": false
},
{
"label": "Twitter",
"name": "twitter",
"widget": "string",
"required": false
},
{
"label": "LinkedIn",
"name": "linkedin",
"widget": "string",
"required": false
},
{
"label": "Discord",
"name": "discord",
"widget": "string",
"required": false
}
]
},
{
"label": "Bits",
"name": "bits",
"file": "content/config/bits.json",
"fields": [
{
"label": "Bit Components",
"name": "bits",
"widget": "bits",
"required": false
}
]
}
]
}
]
}