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 ###
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.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');
|
||||
|
||||
module.exports = {
|
||||
slug: 'header',
|
||||
label: 'Header',
|
||||
policies: {
|
||||
create: user => checkRole(['admin', 'user'], user),
|
||||
read: () => true,
|
||||
update: user => checkRole(['admin', 'user'], user),
|
||||
destroy: user => checkRole(['admin', 'user'], user),
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
name: 'title',
|
||||
label: 'Site Title',
|
||||
type: 'text',
|
||||
localized: true,
|
||||
maxLength: 100,
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: 'logo',
|
||||
label: 'Logo',
|
||||
type: 'upload',
|
||||
required: false,
|
||||
},
|
||||
{
|
||||
name: 'flexibleGlobal',
|
||||
label: 'Global Flexible Block',
|
||||
type: 'flexible',
|
||||
blocks: [Quote, CallToAction],
|
||||
localized: true,
|
||||
},
|
||||
],
|
||||
slug: 'header',
|
||||
label: 'Header',
|
||||
policies: {
|
||||
create: user => checkRole(['admin', 'user'], user),
|
||||
read: () => true,
|
||||
update: user => checkRole(['admin', 'user'], user),
|
||||
destroy: user => checkRole(['admin', 'user'], user),
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
name: 'title',
|
||||
label: 'Site Title',
|
||||
type: 'text',
|
||||
localized: true,
|
||||
maxLength: 100,
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: 'logo',
|
||||
label: 'Logo',
|
||||
type: 'upload',
|
||||
required: false,
|
||||
},
|
||||
{
|
||||
name: 'flexibleGlobal',
|
||||
label: 'Global Flexible Block',
|
||||
type: 'flexible',
|
||||
blocks: [Quote, CallToAction],
|
||||
localized: true,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user