update button
This commit is contained in:
@@ -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
|
||||
>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user