2019-08-02 16:07:50 +02:00
|
|
|
<template>
|
2019-09-30 07:25:23 +02:00
|
|
|
<div>
|
|
|
|
<main aria-labelledby="main-title" >
|
2019-09-30 07:48:29 +02:00
|
|
|
<Navbar />
|
2019-08-02 16:07:50 +02:00
|
|
|
|
2019-09-30 07:25:23 +02:00
|
|
|
<div class="container mx-auto">
|
|
|
|
<div class="flex flex-col md:flex-row justify-between px-10 md:px-20">
|
|
|
|
<div class="bg-bottom bg-no-repeat bg-cover">
|
|
|
|
<div class="text-center md:text-left pt-24">
|
|
|
|
<h1 v-if="data.heroText !== null" class="text-5xl font-bold text-black pb-0 uppercase">
|
|
|
|
{{ data.heroText || $title || 'Hello' }}
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
<p class="text-2xl text-gray-700 leading-tight pb-0">
|
|
|
|
{{ data.tagline || $description || 'Welcome to your VuePress site' }}
|
|
|
|
</p>
|
2019-08-02 16:07:50 +02:00
|
|
|
|
2019-09-30 07:25:23 +02:00
|
|
|
<p class="text-lg text-gray-600 leading-tight">
|
|
|
|
{{ data.longTagline }}
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<NavLink
|
|
|
|
class="inline-block px-4 py-3 my-8 bg-blue-600 text-blue-100 font-bold rounded"
|
|
|
|
:item="actionLink"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="py-10 md:p-20">
|
|
|
|
<img src="/hologram.svg" class="h-64">
|
2019-08-02 16:07:50 +02:00
|
|
|
</div>
|
|
|
|
|
2019-09-30 07:25:23 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
2019-08-02 16:07:50 +02:00
|
|
|
<div
|
2019-08-20 03:30:00 +02:00
|
|
|
class="flex flex-wrap mx-2 md:mx-20"
|
2019-08-02 16:07:50 +02:00
|
|
|
v-if="data.features && data.features.length"
|
|
|
|
>
|
|
|
|
<div
|
2019-09-30 07:25:23 +02:00
|
|
|
class="w-2/4 md:w-1/3 shadow"
|
2019-08-02 16:07:50 +02:00
|
|
|
v-for="(feature, index) in data.features"
|
|
|
|
:key="index"
|
|
|
|
>
|
2019-09-30 07:25:23 +02:00
|
|
|
<div class="p-8">
|
|
|
|
<h2 class="md:text-xl text-blue-800 font-medium border-0 mb-1">{{ feature.title }}</h2>
|
|
|
|
<p class="md:text-xl text-gray-700 leading-snug">{{ feature.details }}</p>
|
2019-08-02 16:07:50 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-09-30 07:25:23 +02:00
|
|
|
<div class="bg-gray-100 my-10">
|
2019-09-30 07:48:29 +02:00
|
|
|
<div class="container mx-auto px-10 md:px-0 py-32">
|
|
|
|
<h1 class="uppercase font-semibold text-xl text-blue-800 mb-4">
|
2019-09-30 07:25:23 +02:00
|
|
|
What is {{ data.heroText }}?
|
|
|
|
</h1>
|
|
|
|
<div class="text-2xl md:text-3xl">
|
|
|
|
{{ data.description }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-08-02 16:07:50 +02:00
|
|
|
</div>
|
|
|
|
|
2019-09-30 07:25:23 +02:00
|
|
|
<div class="theme-default-content markdown">
|
|
|
|
<Content />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div
|
|
|
|
class="mx-auto text-center py-8"
|
|
|
|
v-if="data.footer"
|
|
|
|
>
|
|
|
|
{{ data.footer }}
|
|
|
|
</div>
|
|
|
|
</main>
|
2019-08-02 16:07:50 +02:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import NavLink from '@theme/components/NavLink.vue'
|
|
|
|
import Navbar from '@theme/components/Navbar.vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: { NavLink, Navbar },
|
|
|
|
|
|
|
|
computed: {
|
|
|
|
data () {
|
|
|
|
return this.$page.frontmatter
|
|
|
|
},
|
|
|
|
|
|
|
|
actionLink () {
|
|
|
|
return {
|
|
|
|
link: this.data.actionLink,
|
|
|
|
text: this.data.actionText
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|