removes settings json and ignores it for future
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -124,7 +124,6 @@ GitHub.sublime-settings
|
|||||||
|
|
||||||
### VisualStudioCode ###
|
### VisualStudioCode ###
|
||||||
.vscode/*
|
.vscode/*
|
||||||
!.vscode/settings.json
|
|
||||||
!.vscode/tasks.json
|
!.vscode/tasks.json
|
||||||
!.vscode/launch.json
|
!.vscode/launch.json
|
||||||
!.vscode/extensions.json
|
!.vscode/extensions.json
|
||||||
|
|||||||
18
.vscode/settings.json
vendored
18
.vscode/settings.json
vendored
@@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"eslint.enable": true,
|
|
||||||
"workbench.colorCustomizations": {
|
|
||||||
"editorWhitespace.foreground": "#1e1e1e",
|
|
||||||
"activityBar.background": "#3399ff",
|
|
||||||
"activityBar.foreground": "#15202b",
|
|
||||||
"activityBar.inactiveForeground": "#15202b99",
|
|
||||||
"activityBarBadge.background": "#bf0060",
|
|
||||||
"activityBarBadge.foreground": "#e7e7e7",
|
|
||||||
"titleBar.activeBackground": "#007fff",
|
|
||||||
"titleBar.inactiveBackground": "#007fff99",
|
|
||||||
"titleBar.activeForeground": "#e7e7e7",
|
|
||||||
"titleBar.inactiveForeground": "#e7e7e799",
|
|
||||||
"statusBar.background": "#007fff",
|
|
||||||
"statusBarItem.hoverBackground": "#3399ff",
|
|
||||||
"statusBar.foreground": "#e7e7e7"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -3,35 +3,35 @@ const Quote = require('../content-blocks/Quote');
|
|||||||
const CallToAction = require('../content-blocks/CallToAction');
|
const CallToAction = require('../content-blocks/CallToAction');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
slug: 'header',
|
slug: 'header',
|
||||||
label: 'Header',
|
label: 'Header',
|
||||||
policies: {
|
policies: {
|
||||||
create: user => checkRole(['admin', 'user'], user),
|
create: user => checkRole(['admin', 'user'], user),
|
||||||
read: () => true,
|
read: () => true,
|
||||||
update: user => checkRole(['admin', 'user'], user),
|
update: user => checkRole(['admin', 'user'], user),
|
||||||
destroy: user => checkRole(['admin', 'user'], user),
|
destroy: user => checkRole(['admin', 'user'], user),
|
||||||
},
|
},
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
name: 'title',
|
name: 'title',
|
||||||
label: 'Site Title',
|
label: 'Site Title',
|
||||||
type: 'text',
|
type: 'text',
|
||||||
localized: true,
|
localized: true,
|
||||||
maxLength: 100,
|
maxLength: 100,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'logo',
|
name: 'logo',
|
||||||
label: 'Logo',
|
label: 'Logo',
|
||||||
type: 'upload',
|
type: 'upload',
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'flexibleGlobal',
|
name: 'flexibleGlobal',
|
||||||
label: 'Global Flexible Block',
|
label: 'Global Flexible Block',
|
||||||
type: 'flexible',
|
type: 'flexible',
|
||||||
blocks: [Quote, CallToAction],
|
blocks: [Quote, CallToAction],
|
||||||
localized: true,
|
localized: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user