import { NextPage } from 'next'
import Link from 'next/link'
import dynamic from 'next/dynamic'

const Container = dynamic(() => import('@components/Container'))

const MyError: NextPage = () => {
	return (
		<div className='flex h-screen select-none items-center px-20'>
			<Container>
				<h2 className='text-4xl font-semibold'>인터넷이 끊어졌나봐요...</h2>
				<p className='text-md mt-1'>인터넷 연결을 확인하시고 다시 시도 해주세요!</p>
				<a
					className='text-sm text-blue-500 hover:text-blue-400'
					href='https://status.koreanbots.dev'
					target='_blank'
					rel='noreferrer'
				>
					상태 페이지
				</a>
				<div>
					<Link
						href='/discord'
						target='_blank'
						rel='noreferrer'
						className='cursor-pointer text-lg hover:opacity-80'
					>
						<i className='fab fa-discord' />
					</Link>
					<a
						href='https://twitter.com/koreanbots'
						target='_blank'
						rel='noreferrer'
						className='ml-2 cursor-pointer text-lg hover:opacity-80'
					>
						<i className='fab fa-twitter' />
					</a>
				</div>
			</Container>
		</div>
	)
}

export default MyError
