font + scroll

This commit is contained in:
hamid zarghami
2025-02-18 12:26:06 +03:30
parent 24085453bc
commit 15aa2ee074
58 changed files with 246 additions and 0 deletions
+5
View File
@@ -2,6 +2,7 @@ import { FC, useEffect, useState } from 'react'
import { BrowserRouter } from 'react-router-dom'
import 'swiper/swiper-bundle.css';
import 'rc-rate/assets/index.css';
import './assets/fonts/roboto/roboto.css'
import i18next from 'i18next'
import { I18nextProvider } from 'react-i18next'
import { QueryCache, QueryClient, QueryClientProvider } from '@tanstack/react-query'
@@ -11,6 +12,7 @@ import { IApiErrorRepsonse } from './types/error.types'
import MainRouter from './router/Main'
import AuthRouter from './router/Auth'
import { Pages } from './config/Pages'
import useNumberFont from './hooks/useNumberFont';
i18next.init({
interpolation: { escapeValue: false },
@@ -41,6 +43,8 @@ const queryClient = new QueryClient({
const App: FC = () => {
useNumberFont()
const [isLogin, setIsLogin] = useState<'checking' | 'isLogin' | 'isNotLogin'>('checking')
useEffect(() => {
@@ -55,6 +59,7 @@ const App: FC = () => {
}, [])
return (
<BrowserRouter>
<QueryClientProvider client={queryClient}>