feat(pro-page): use next/link
This commit is contained in:
parent
4336cf5e60
commit
ef5e509d6a
@ -4,6 +4,7 @@ import { TryFreeButton } from '@/components/subscription';
|
||||
import { env } from '@/config/env';
|
||||
import { Button } from '@repo/ui/components/ui/button';
|
||||
import { ArrowRight, Crown } from 'lucide-react';
|
||||
import Link from 'next/link';
|
||||
|
||||
export default async function ProPage() {
|
||||
const { telegramId } = await getSessionUser();
|
||||
@ -59,10 +60,10 @@ export default async function ProPage() {
|
||||
size="lg"
|
||||
variant="outline"
|
||||
>
|
||||
<a href={env.BOT_URL} rel="noopener noreferrer" target="_blank">
|
||||
<Link href={env.BOT_URL} rel="noopener noreferrer" target="_blank">
|
||||
Оформить подписку через бота
|
||||
<ArrowRight className="ml-2 size-5" />
|
||||
</a>
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user