init video panel part

This commit is contained in:
samaradel
2021-05-23 14:10:07 +02:00
parent 26b7996549
commit ea66c58489
5 changed files with 93 additions and 40 deletions

View File

@@ -231,6 +231,14 @@ module.exports = {
}
},
{
use: '@gridsome/source-filesystem',
options: {
typeName: 'VideoPanel',
path: './content/page/**/videoPanel/*.md',
}
},
{
use: '@gridsome/source-filesystem',
options: {
@@ -270,7 +278,8 @@ module.exports = {
brandPanel2: 'BrandPanel2',
allSlides: 'About',
partenershipsMain: 'PartenershipsMain',
partnerships: 'Partenerships'
partnerships: 'Partenerships',
videoPanel: 'VideoPanel'
}
}
},
@@ -394,34 +403,34 @@ module.exports = {
options: {
searchFields: ['title', 'name', 'content', 'status', 'linkedin', 'excerpt', 'cities', 'countries', 'websites'],
collections: [{
typeName: 'Blog',
indexName: 'Blog',
fields: ['path']
},
typeName: 'Blog',
indexName: 'Blog',
fields: ['path']
},
{
typeName: 'Project',
indexName: 'Project',
fields: ['path']
},
{
typeName: 'Project',
indexName: 'Project',
fields: ['path']
},
{
typeName: 'Person',
indexName: 'Person',
fields: ['path']
},
{
typeName: 'Person',
indexName: 'Person',
fields: ['path']
},
{
typeName: 'News',
indexName: 'News',
fields: ['path']
},
{
typeName: 'News',
indexName: 'News',
fields: ['path']
},
{
typeName: 'MarkdownPage',
indexName: 'MarkdownPage',
fields: ['path']
},
{
typeName: 'MarkdownPage',
indexName: 'MarkdownPage',
fields: ['path']
},
]
}
@@ -499,19 +508,19 @@ module.exports = {
pathPrefix: "threefold",
plugins: [
['gridsome-plugin-remark-prismjs-all', {
highlightClassName: "gridsome-highlight",
codeTitleClassName: "gridsome-code-title",
classPrefix: 'language-',
aliases: {},
noInlineHighlight: false,
showLineNumbers: false, // `require("prismjs/plugins/line-numbers/prism-line-numbers.css");`
languageExtensions: [],
prompt: { // `require("prismjs/plugins/command-line/prism-command-line.css");`
user: `root`,
host: `localhost`,
global: false,
}
},
highlightClassName: "gridsome-highlight",
codeTitleClassName: "gridsome-code-title",
classPrefix: 'language-',
aliases: {},
noInlineHighlight: false,
showLineNumbers: false, // `require("prismjs/plugins/line-numbers/prism-line-numbers.css");`
languageExtensions: [],
prompt: { // `require("prismjs/plugins/command-line/prism-command-line.css");`
user: `root`,
host: `localhost`,
global: false,
}
},
// '@noxify/gridsome-remark-table-align', ['@noxify/gridsome-remark-classes', {
// 'table': 'table table-striped',
// 'tableCell[align=center]': 'text-center',