feat: interact with user settings/profile (#9)

This commit is contained in:
Divlo
2022-02-19 23:20:33 +01:00
committed by GitHub
parent 48debe8638
commit 7ac4f86cd5
101 changed files with 6705 additions and 9777 deletions

View File

@ -1,9 +1,9 @@
import { render } from '@testing-library/react'
import { ErrorPage } from '../ErrorPage'
import { ErrorPage } from '.'
describe('<ErrorPage />', () => {
it('should render the message and statusCode', async () => {
it('should render the message and statusCode', () => {
const messageContent = 'message content'
const statusCode = 404
const { getByText } = render(

View File

@ -12,7 +12,7 @@ export const ErrorPage: React.FC<ErrorPageProps> = (props) => {
return (
<>
<h1 className='my-6 font-semibold text-4xl'>
<h1 className='my-6 text-4xl font-semibold'>
{t('errors:error')}{' '}
<span
className='text-green-800 dark:text-green-400'
@ -24,7 +24,7 @@ export const ErrorPage: React.FC<ErrorPageProps> = (props) => {
<p className='text-center text-lg'>
{message}{' '}
<Link href='/'>
<a className='text-green-800 dark:text-green-400 hover:underline'>
<a className='text-green-800 hover:underline dark:text-green-400'>
{t('errors:return-to-home-page')}
</a>
</Link>