PageNotFound.js 869 Bytes
Newer Older
Spark's avatar
Spark committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import React, { useEffect } from 'react'
import { Row, Container } from 'react-bootstrap';
import Loading from './Loading';

function PageNotFound() {
    useEffect(() => {
        setTimeout(window.location.replace('/'), 5000);
    }, [])

    return (
        <Container className='d-flex justify-content-center align-items-center' style={{ flexDirection: 'column', height: '70vh' }} >
            <Row>
                <Loading />
            </Row>
Spark's avatar
Spark committed
15
16
17
18
19
20
21
22
23
24
            <Row className='m-5'>
                <h1 className='d-flex justify-content-center'>
                    PAGE NOT FOUND
                </h1>
                <br />
                <h3 className='d-flex justify-content-center' style={{fontWeight: '300'}}>
                    잘못된 접근 입니다.
                </h3>
            </Row>

Spark's avatar
Spark committed
25
26
27
28
29
        </Container>
    )
}

export default PageNotFound;