update developer page2

This commit is contained in:
2021-10-31 16:52:19 +02:00
parent 619d8d31c2
commit 1091d59c1d
17 changed files with 101 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="my-5 lg:mx-40">
<div class="my-5 lg:my-40 lg:mx-40">
<div class="text-center mx-auto my-20" v-if="id == 'farm'">
<h1 class="text-9xl uppercase leading-none font-heading">
{{ main.title }}
@@ -13,7 +13,7 @@
<div class="w-full text-center" v-else>
<h2
v-if="main !== null && main.title"
class="lg:text-6xl pb-10 uppercase font-semibold leading-tight font-heading"
class="lg:text-6xl uppercase font-semibold leading-tight font-heading"
>
{{ main.title }}
</h2>
@@ -23,6 +23,10 @@
>
{{ main.subtitle }}
</p>
<div
class="max-w-4xl mb-10 py-2 text-xl mx-auto leading-tight tracking-wide"
v-html="main.content"
></div>
</div>
<!-- tft -->
@@ -142,6 +146,36 @@
</div>
</div>
<!-- developer -->
<div
class="grid sm:grid-cols-1 gap-4 lg:grid-cols-2 text-center lg:px-40"
v-else-if="id == 'developer'"
>
<div
v-for="(product, idx) in products"
target="_blank"
:key="idx"
:href="product.link"
class="
mx-auto
my-3
rounded
overflow-hidden
transition
duration-500
bg-gray-100
"
>
<a :href="product.link">
<g-image :src="img(product.image)" />
<div class="font-bold text-xl py-5 mx-4">
{{ product.title }}
</div>
</a>
</div>
</div>
<!-- why -->
<div
class="grid grid-cols-1 gap-4 sm:grid-cols-3 text-center max-w-7xl mx-auto"