PageNotFound.js 908 Bytes
Newer Older
Spark's avatar
Spark committed
1
2
3
4
5
import React, { useEffect } from 'react'
import { Row, Container } from 'react-bootstrap';
import Loading from './Loading';

function PageNotFound() {
Spark's avatar
Spark committed
6

Spark's avatar
Spark committed
7
    useEffect(() => {
Spark's avatar
Spark committed
8
9
10
        setTimeout(function () {
            window.location.replace('/')
        }, 3000);
Spark's avatar
Spark committed
11
12
13
14
15
16
17
    }, [])

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

Spark's avatar
Spark committed
28
29
30
31
32
        </Container>
    )
}

export default PageNotFound;