Skip to content

Commit 6549a75

Browse files
committed
chore: add redirect from homepage to installation docs
1 parent 362161d commit 6549a75

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed

apps/www/src/app/(app)/page.tsx

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,5 @@
1-
import { HomeIcon, ZapIcon } from 'lucide-react'
2-
import Link from 'next/link'
1+
import { redirect } from 'next/navigation'
32

4-
export default function Home() {
5-
return (
6-
<div className='flex h-[90vh] flex-col items-center justify-center text-center'>
7-
<h1 className='text-6xl font-bold'>Yookassa в NestJS</h1>
8-
<p className='text-muted-foreground mx-auto mt-6 max-w-4xl text-lg'>
9-
Простое и удобное решение для интеграции с платёжной системой
10-
Юкасса в вашем приложении на NestJS. Используйте эту библиотеку
11-
для реализации различных платежных сценариев, включая создание и
12-
управление платежами, обработку статусов и многое другое.
13-
</p>
14-
<div className='mt-6 grid w-[700px] grid-cols-2 gap-6'>
15-
<Link
16-
href='/docs/getting-started/introduction'
17-
className='border-border flex items-center rounded-md border px-5 py-4 transition-colors hover:border-indigo-500 hover:text-indigo-500'
18-
>
19-
<HomeIcon className='mr-3 size-5' />
20-
Введение
21-
</Link>
22-
<Link
23-
href='/docs/getting-started/installation'
24-
className='border-border flex items-center rounded-md border px-5 py-4 transition-colors hover:border-indigo-500 hover:text-indigo-500'
25-
>
26-
<ZapIcon className='mr-3 size-5' />
27-
Установка
28-
</Link>
29-
</div>
30-
</div>
31-
)
3+
export default function HomePage() {
4+
return redirect('/docs/getting-started/installation')
325
}

0 commit comments

Comments
 (0)