update content markdown

This commit is contained in:
2021-02-09 14:46:47 +02:00
parent 049cb0cd15
commit 68f1920775
10 changed files with 73 additions and 57 deletions

View File

@@ -1,38 +1,42 @@
<template>
<section class="py-12 px-4">
<h2 class="text-3xl text-center mb-12 font-semibold font-heading">
<h2 class="text-4xl text-center mb-12 font-semibold font-heading">
{{ main.title }}
</h2>
<div class="flex flex-wrap -mx-4 mb-6">
<div
v-for="feature in features"
:key="feature.id"
class="lg:w-1/4 px-4 mb-6"
class="lg:w-1/2 px-4 mb-6 text-center"
>
<g-image class="w-10 h-10" :src="feature.svg.src"></g-image>
<g-image
class="w-10 h-10 mx-auto"
v-if="feature.svg"
:src="feature.svg.src"
:alt="feature.svg"
></g-image>
<h3 class="text-xl my-3 font-semibold font-heading">
{{ feature.title }}
</h3>
<p class="text-sm text-gray-600 leading-relaxed">
{{ feature.excerpt }}
</p>
<div
v-html="feature.content"
class="text-sm text-gray-700 leading-relaxed"
></div>
</div>
</div>
<div class="text-center">
<div class="text-center" v-if="main.btn">
<g-link
class="bg-gray-900 learn-button hover:bg-gray-700 text-gray-100 px-5 py-3 mr-3 font-semibold rounded shadow"
:to="main.link"
>{{ main.btn }}</g-link
>
<p class="text-sm text-gray-400 mt-5">
{{ main.excerpt }}
</p>
<div v-html="main.content" class="text-sm text-gray-400 mt-5"></div>
</div>
</section>
</template>
<script>
export default {
props: ["main", "features"]
props: ["main", "features"],
};
</script>