CtaDefault
代码示例
bash
<template>
<section class="bg-black text-white py-20 mt-16">
<div class="max-w-7xl mx-auto px-4 text-center">
<h2 class="text-3xl font-bold mb-6">{{ $t('home.cta.title') }}</h2>
<p class="text-xl mb-8">{{ $t('home.cta.description') }}</p>
<button @click="openGithub" class="bg-yellow-400 text-black px-8 py-3 rounded-full hover:bg-yellow-500">{{ $t('home.cta.button') }}</button>
</div>
</section>
</template>