File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,8 +29,10 @@ export function CourseActions({ course }: CourseActionsProps) {
2929 } )
3030
3131 const handleDownload = async ( ) => {
32- if ( ! isAuthorized || ! user ?. isPremium )
33- return router . push ( ROUTES . PREMIUM )
32+ // if (!isAuthorized || !user?.isPremium)
33+ // return router.push(ROUTES.PREMIUM)
34+
35+ if ( ! isAuthorized ) return router . push ( '/auth/login' )
3436
3537 try {
3638 const { url } = await generate ( course . id )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import {
1212const faqs = [
1313 {
1414 question : 'Как можно оплатить подписку?' ,
15- answer : 'Оплата возможна при помощи банковских карт РФ, кошелька YooMoney и СБП.'
15+ answer : 'Оплата возможна при помощи банковских карт РФ и СБП.'
1616 } ,
1717 {
1818 question : 'Можно ли оплатить подписку за пределами РФ?' ,
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export function Premium() {
108108 < CardContent className = 'flex flex-col items-center gap-6' >
109109 < div className = 'text-center' >
110110 < span className = 'text-5xl font-extrabold text-foreground' >
111- 299 ₽
111+ 349 ₽
112112 </ span >
113113 < span className = 'ml-1 text-lg text-neutral-500 dark:text-neutral-400' >
114114 / месяц
@@ -174,8 +174,8 @@ export function Premium() {
174174 variant = 'primary'
175175 size = 'lg'
176176 className = 'flex-1'
177- disabled = { isPending }
178- // disabled
177+ // disabled={isPending}
178+ disabled
179179 >
180180 Продолжить
181181 </ Button >
You can’t perform that action at this time.
0 commit comments