Merge branch 'development' of github.com:threefoldfoundation/www_threefold_io into development

This commit is contained in:
samaradel
2021-04-06 15:32:23 +02:00
6 changed files with 42 additions and 1 deletions

View File

@@ -97,7 +97,7 @@
>
<a
v-else
class="inline-block bg-blue-900 text-md learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 mb-4 rounded shadow rounded-full"
class="inline-block bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 mb-4 rounded shadow rounded-full"
:href="link"
>{{ button }}</a
>

View File

@@ -36,6 +36,35 @@
</div>
</div>
</div>
<div v-if="main.button || main.button2">
<a
v-if="main.link.includes('http')"
target="_blank"
:href="main.link"
class="inline-block bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 mb-4 rounded shadow rounded-full"
>{{ main.button }}</a
>
<g-link
v-else
:href="main.link"
class="inline-block bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 mb-4 rounded shadow rounded-full"
>{{ main.button }}</g-link
>
<a
v-if="main.link2.includes('http')"
target="_blank"
:href="main.link2"
class="inline-block bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 mb-4 rounded shadow rounded-full"
>{{ main.button2 }}</a
>
<g-link
v-else
:href="main.link2"
class="inline-block bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 mb-4 rounded shadow rounded-full"
>{{ main.button2 }}</g-link
>
</div>
</div>
</div>
</template>