|
|
|
<script lang="ts" setup>
|
|
|
|
interface Props {
|
|
|
|
nav?: boolean
|
|
|
|
}
|
|
|
|
|
|
|
|
const { nav } = withDefaults(defineProps<Props>(), { nav: false })
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<a-card class="w-[300px] shadow-sm !rounded-lg">
|
|
|
|
<template #cover>
|
|
|
|
<img class="max-h-[180px] !rounded-t-lg" alt="cover" src="~/assets/img/ants-leaf-cutter.jpeg" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<a-card-meta>
|
|
|
|
<template #title>
|
|
|
|
<span v-if="!nav" class="text-xl pb-4">
|
|
|
|
{{ $t('msg.info.sponsor.header') }}
|
|
|
|
</span>
|
|
|
|
</template>
|
|
|
|
</a-card-meta>
|
|
|
|
|
|
|
|
<div v-if="!nav" class="py-5 text-sm">
|
|
|
|
{{ $t('msg.info.sponsor.message') }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="flex justify-center">
|
|
|
|
<nuxt-link no-prefetch no-rel href="https://github.com/sponsors/nocodb" target="_blank">
|
|
|
|
<a-button class="!shadow rounded" size="large">
|
|
|
|
<div class="flex items-center">
|
|
|
|
<mdi-cards-heart class="text-red-500 mr-2" />
|
|
|
|
{{ $t('activity.sponsorUs') }}
|
|
|
|
</div>
|
|
|
|
</a-button>
|
|
|
|
</nuxt-link>
|
|
|
|
</div>
|
|
|
|
</a-card>
|
|
|
|
</template>
|