Sink/app/components/home/Twitter.vue
wudi 7cadbfe2b1 refactor: Migrate project files and directories to the app directory using the new compatibilityVersion: 4 feature
- Moved `app.config.ts` to the `app` directory
- Migrated `.vue` files and other assets to the `app` directory
- Updated import paths to reflect the new file locations
2025-03-24 11:05:59 +08:00

23 lines
544 B
Vue

<script setup>
import { ArrowRight } from 'lucide-vue-next'
import { XIcon } from 'vue3-simple-icons'
const { twitter } = useAppConfig()
</script>
<template>
<a
:href="twitter"
target="_blank"
title="X(Twitter)"
class="inline-flex items-center px-3 py-1 mx-auto my-4 space-x-1 text-sm font-medium rounded-lg bg-muted"
>
<XIcon class="w-4 h-4" />
<Separator
orientation="vertical"
class="h-4"
/>
<span>{{ $t('home.twitter.follow') }}</span>
<ArrowRight class="w-4 h-4" />
</a>
</template>