59 lines
3.1 KiB
Vue
59 lines
3.1 KiB
Vue
<template>
|
|
<view-component :name="name" :code="code">
|
|
<div class="py-6" slot="component">
|
|
<section class="bg-white dark:bg-gray-900">
|
|
<div class="container flex flex-col items-center px-4 py-12 mx-auto text-center">
|
|
<h2 class="text-3xl font-semibold tracking-tight text-gray-700 sm:text-4xl dark:text-white">
|
|
Join us and get the update <br> from anywhere
|
|
</h2>
|
|
|
|
<div class="mt-6 sm:-mx-2">
|
|
<div class="inline-flex w-full sm:w-auto sm:mx-2">
|
|
<a href="#" class="inline-flex items-center justify-center w-full px-5 py-2 text-white bg-blue-600 rounded-lg hover:bg-blue-500 focus:ring focus:ring-blue-300 focus:ring-opacity-80">
|
|
Buy Blox Now
|
|
</a>
|
|
</div>
|
|
|
|
<div class="inline-flex w-full mt-4 sm:w-auto sm:mx-2 sm:mt-0">
|
|
<a href="#" class="inline-flex items-center justify-center w-full px-5 py-2 text-gray-700 transition-colors duration-150 transform bg-white border border-gray-200 rounded-lg dark:bg-gray-900 dark:border-gray-700 hover:bg-gray-100 dark:text-white sm:w-auto dark:hover:bg-gray-800 dark:ring-gray-700 focus:ring focus:ring-gray-200 focus:ring-opacity-80">
|
|
Start a Journey
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</view-component>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
name: 'Simple',
|
|
code: `
|
|
<section class="bg-white dark:bg-gray-900">
|
|
<div class="container flex flex-col items-center px-4 py-12 mx-auto text-center">
|
|
<h2 class="text-3xl font-semibold tracking-tight text-gray-700 sm:text-4xl dark:text-white">
|
|
Join us and get the update <br> from anywhere
|
|
</h2>
|
|
|
|
<div class="mt-6 sm:-mx-2">
|
|
<div class="inline-flex w-full sm:w-auto sm:mx-2">
|
|
<a href="#" class="inline-flex items-center justify-center w-full px-5 py-2 text-white bg-blue-600 rounded-lg hover:bg-blue-500 focus:ring focus:ring-blue-300 focus:ring-opacity-80">
|
|
Buy Blox Now
|
|
</a>
|
|
</div>
|
|
|
|
<div class="inline-flex w-full mt-4 sm:w-auto sm:mx-2 sm:mt-0">
|
|
<a href="#" class="inline-flex items-center justify-center w-full px-5 py-2 text-gray-700 transition-colors duration-150 transform bg-white border border-gray-200 rounded-lg dark:bg-gray-900 dark:border-gray-700 hover:bg-gray-100 dark:text-white sm:w-auto dark:hover:bg-gray-800 dark:ring-gray-700 focus:ring focus:ring-gray-200 focus:ring-opacity-80">
|
|
Start a Journey
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>`
|
|
}
|
|
}
|
|
}
|
|
</script> |