Fix show product title

This commit is contained in:
samaradel
2021-04-07 12:24:23 +02:00
parent a2fb92ce21
commit 99704e9953
2 changed files with 12 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
--- ---
id: product_main id: product_main
title: "WE TACKLE " title: "WE TACKLE "
slogan: "THE ROOT ISSUES" subtitle: "THE ROOT ISSUES"
--- ---
This is not a fixed internet. It is a new Internet. One that is safer, more private, more accessible and keeps our planets well-being in mind. This is not a fixed internet. It is a new Internet. One that is safer, more private, more accessible and keeps our planets well-being in mind.

View File

@@ -1,6 +1,15 @@
<template> <template>
<div class="py-0 mb-5"> <div class="py-0 mb-5">
<div class="w-full text-center"> <div class="text-center mx-auto my-4" v-if="id == 'why'">
<h1 class="text-4xl text-gray-900 font-light sm:text-9xl sm:leading-10">
{{ main.title }} <span class="font-extrabold">{{ main.subtitle }}</span>
</h1>
<div
class="mt-3 max-w-2xl mx-auto text-gray-600 sm:mt-4"
v-html="main.content"
></div>
</div>
<div class="w-full text-center" v-else>
<h2 <h2
v-if="main !== null && main.title" v-if="main !== null && main.title"
class="text-4xl font-semibold leading-tight font-heading" class="text-4xl font-semibold leading-tight font-heading"
@@ -89,10 +98,7 @@
<div class="product font-bold text-2xl pt-5"> <div class="product font-bold text-2xl pt-5">
{{ product.title }} {{ product.title }}
</div> </div>
<div <div v-html="product.content" class="product p-5 text-gray-600"></div>
v-html="product.content"
class="product p-5 text-gray-600"
></div>
<div v-if="product.button" class="product mb-3 py-5 text-center"> <div v-if="product.button" class="product mb-3 py-5 text-center">
<a <a
v-if="product.link.includes('http')" v-if="product.link.includes('http')"