@@ -0,0 +1 @@
+export * from './yandex-auth-button'
\ No newline at end of file
@@ -0,0 +1,45 @@
+import theme from '#/entities/theme/model/theme'
+import { useThemeAndDevice } from '#/shared/lib/hooks'
+import { Button } from '@mui/material'
+import { signIn } from 'next-auth/react'
+import Image from 'next/image'
+import React from 'react'
+
+interface YandexAuthButtonProps {}
+
+export const YandexAuthButton = ({}: YandexAuthButtonProps) => {
+ const { theme } = useThemeAndDevice()
+
+ return (
+
+ )
+}
@@ -0,0 +1 @@
+export * from './ui'
\ No newline at end of file
@@ -21,6 +21,7 @@ import ClosedEyeSvg from '#/assets/svg/closed-eye.svg?react'
import * as Sentry from '@sentry/nextjs'
import { useEffect } from 'react'
import { useShowDataStore } from '#/shared/lib/hooks/use-show-data'
+import { YandexAuthButton } from '#/features/yandex-auth-button'
const Login: NextPageWithLayout = () => {
const device = getDeviceType()
@@ -156,46 +157,7 @@ const Login: NextPageWithLayout = () => {
>
Вход
-
+
или email
@@ -18,6 +18,7 @@ import { getDeviceType } from '#/shared/lib/helpers'
import { NextPageWithLayout } from '#/pages/_app'
import styles from './register.module.scss'
+import { YandexAuthButton } from '#/features/yandex-auth-button'
const Register: NextPageWithLayout = () => {
const device = getDeviceType()
@@ -119,40 +120,7 @@ const Register: NextPageWithLayout = () => {
{user.referral === '' && isReferral && (
<>
-
+
или email