This commit is contained in:
2021-02-10 13:20:56 +02:00
parent e37ea61f6a
commit b99e86a6e0
11 changed files with 17 additions and 12 deletions

View File

@@ -46,4 +46,7 @@ navLinks:
social:
- icon: telegram-plane
link: '' #telegaram link
- icon: linkedin
link: '' #linkedin link
---

View File

@@ -8,7 +8,7 @@ featuresMain: features
features: [feature1, feature2, feature3, feature4, feature5]
comparisonMain: comparison
comparisonSecs: [section1, section2, section3]
productMain: product
productsMain: product
productData: [product1, product2, product3]
brandPanel: brand_panel
---

View File

@@ -1,5 +1,5 @@
---
id: product
title: Title
title: product
subtitle: Subtitle
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@@ -1,5 +1,6 @@
---
id: product1
title: Title
content: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
image : ./image_name.png
---
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@@ -1,5 +1,6 @@
---
id: product2
title: Title
content: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
image : ./image_name.png
---
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@@ -1,5 +1,6 @@
---
id: product3
title: Title
content: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
image : ./image_name.png
---
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s

View File

@@ -1,14 +1,13 @@
<template>
<div class="py-8 mb-5">
<div class="py-12 mb-5">
<div class="w-full text-center">
<p v-if="main !== null" class="text-sm tracking-widest text-gray-700">{{ main.subtitle }}</p>
<h1 v-if="main !== null" class="text-4xl mt-2 mb-6 leading-tight font-heading">
<p class="text-sm tracking-widest text-gray-700">{{ main.subtitle }}</p>
<h1 class="text-4xl mt-2 mb-6 leading-tight font-heading">
{{ main.title }}
</h1>
<g-image v-if="main !== null" :src="img(main.image)" class="hidden md:block" />
</div>
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2 sm:hidden">
<div class="grid grid-cols-1 gap-4 sm:grid-cols-3">
<div
v-for="(product, idx) in products"
:key="idx"
@@ -18,7 +17,7 @@
class="m-auto max-w-sm rounded overflow-hidden shadow-lg hover:bg-white transition duration-500 bg-white"
>
<div class="px-2 py-2">
<g-image :src="img(product.image)" />
<g-image class="py-4" :src="img(product.image)" />
<!-- <div class="font-bold text-xl mb-2">{{ product.title }}</div> -->
<p v-html="product.content" class="text-gray-700 text-base"></p>
</div>

View File

@@ -164,7 +164,7 @@
id
title
content
# image
image
}
featuresMain{
id