19 lines
515 B
TypeScript
19 lines
515 B
TypeScript
import { FC } from 'react'
|
|
import Logo from '../assets/images/logo_orig.svg'
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
const PageLoading: FC = () => {
|
|
|
|
const { t } = useTranslation('global')
|
|
|
|
return (
|
|
<div className='flex bg-transparent w-fit mx-auto flex-col gap-4 items-center'>
|
|
<img src={Logo} alt='logo' className='w-28' />
|
|
<div className='text-xs text-gray-700'>
|
|
{t('loading')}
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default PageLoading |