diff --git a/src/pages/Index.vue b/src/pages/Index.vue index 41b40d419..b5d71c902 100644 --- a/src/pages/Index.vue +++ b/src/pages/Index.vue @@ -88,11 +88,6 @@ header{ title subtitle - content - btn1 - link1 - btn2 - link2 } productsMain{ id diff --git a/src/templates/MarkdownPage.vue b/src/templates/MarkdownPage.vue index a6bd6bd0d..71e6c0699 100644 --- a/src/templates/MarkdownPage.vue +++ b/src/templates/MarkdownPage.vue @@ -13,38 +13,9 @@ :excerpt="$page.markdownPage.header_excerpt" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -120,66 +51,11 @@ header_title header_image solution_image - slides{ - id - title - excerpt - image - order - } - header{ - title - subtitle - content - btn1 - link1 - btn2 - link2 - } - cards{ - id - title - image - button - link - order - content - } - howItWorks{ - id - title - content - } - howItWorksMain{ - id - title - image - } - productsMain{ - id - title - subtitle - # image - } productData{ id title - content image } - featuresMain{ - id - title - btn - link - content - } - features{ - id - title - svg - content - } comparisonMain{ id title @@ -193,39 +69,6 @@ title content } - roadmap{ - id - title - excerpt - } - pricing_plansMain{ - id - title - button1 - button2 - excerpt - } - pricingPlans{ - id - title - excerpt - price - duration - button - link - includeTitle - options - } - plans{ - id - title - rows { - title - firstCol - secCol - thirdCol - } - } logos{ id image @@ -237,29 +80,15 @@ button link } - signup{ - id - title - button1 - link1 - button2 - link2 - } brandPanel{ id title subtitle - excerpt(length: 2000) + content sourceUrl btnTxt image } - contactData{ - id - title - mail - phone - } } } @@ -272,7 +101,6 @@ import VerticalNav from "~/components/custom/Navbar/VerticalNav.vue"; import GetInTouch from "~/components/custom/Navbar/Getintouch.vue"; import SolutionsHeader from "~/components/custom/sections/header/HeaderSection.vue"; import HowItWorks from "~/components/custom/sections/HowItWorks.vue"; -import ShowcaseProducts from "~/components/marketing/sections/cta-sections/ShowcaseProducts.vue"; import Features from "~/components/custom/sections/Features.vue"; import logoShowcase from "~/components/marketing/sections/cta-sections/logoShowcase.vue"; import CallToAction from "~/components/custom/sections/CallToAction.vue"; @@ -291,7 +119,6 @@ export default { GetInTouch, SolutionsHeader, HowItWorks, - ShowcaseProducts, Features, logoShowcase, CallToAction, @@ -305,11 +132,15 @@ export default { metaInfo() { return { - title: this.$page.markdownPage.title, + title: this.pageName, }; }, - mounted() { - console.log(this.$page.markdownPage); + computed: { + pageName() { + let path = this.$route.path.substring(1); + let name = path[0].toUpperCase() + path.slice(1); + return name; + }, }, };