From 89a24502273f9de797ae45bcec9db3db8664e1d2 Mon Sep 17 00:00:00 2001 From: samaradel Date: Thu, 20 Jan 2022 17:11:45 +0200 Subject: [PATCH] Add workloads & stats secs --- gridsome.config.js | 18 +- .../feature-sections/SimpleColumns.vue | 119 ++++++++ .../sections/stats-sections/SimpleInCard.vue | 268 ++++++++++++++++++ src/templates/MarkdownPage.vue | 34 +++ 4 files changed, 438 insertions(+), 1 deletion(-) create mode 100644 src/components/marketing/sections/feature-sections/SimpleColumns.vue create mode 100644 src/components/marketing/sections/stats-sections/SimpleInCard.vue diff --git a/gridsome.config.js b/gridsome.config.js index 265fda601..70855b3da 100644 --- a/gridsome.config.js +++ b/gridsome.config.js @@ -489,6 +489,20 @@ module.exports = { path: './content/page/**/upTalks/**/*.md', } }, + { + use: '@gridsome/source-filesystem', + options: { + typeName: 'WorkloadsMain', + path: './content/page/**/workloads/main/*.md', + } + }, + { + use: '@gridsome/source-filesystem', + options: { + typeName: 'Workloads', + path: './content/page/**/workloads/**/*.md', + } + }, { use: '@gridsome/source-filesystem', @@ -555,7 +569,9 @@ module.exports = { info: 'Info', dev: 'Dev', conversationsMain: 'ConversationsMain', - conversations: 'Conversations' + conversations: 'Conversations', + workloadsMain: 'WorkloadsMain', + workloads: 'Workloads', } } }, diff --git a/src/components/marketing/sections/feature-sections/SimpleColumns.vue b/src/components/marketing/sections/feature-sections/SimpleColumns.vue new file mode 100644 index 000000000..07b5635b8 --- /dev/null +++ b/src/components/marketing/sections/feature-sections/SimpleColumns.vue @@ -0,0 +1,119 @@ + + + + + \ No newline at end of file diff --git a/src/components/marketing/sections/stats-sections/SimpleInCard.vue b/src/components/marketing/sections/stats-sections/SimpleInCard.vue new file mode 100644 index 000000000..19b88555c --- /dev/null +++ b/src/components/marketing/sections/stats-sections/SimpleInCard.vue @@ -0,0 +1,268 @@ + + + + + \ No newline at end of file diff --git a/src/templates/MarkdownPage.vue b/src/templates/MarkdownPage.vue index 22f85e3f3..5d3e80cdd 100644 --- a/src/templates/MarkdownPage.vue +++ b/src/templates/MarkdownPage.vue @@ -250,6 +250,17 @@ :cta="$page.markdownPage.cta3" :lastCta="true" /> + +