Commit 6fcc3bac authored by Kim, Subin's avatar Kim, Subin
Browse files

bootstrap 적용 및 기타

parent ec8a3d0b
......@@ -10,11 +10,13 @@ function App() {
return (
<Router basename={process.env.PUBLIC_URL}>
<Switch>
<div style={{ width: "400px" }}>
<Route path="/" component={Err} />
<Route path="/home" component={HomePage} />
<Route path="/schedule/edit" component={ScheduleEditPage} />
<Route path="/schedule" component={SchedulePage} />
<PrivateRoute path="/admin" component={AdminPage} role="admin" />
{/* <PrivateRoute path="/admin" component={AdminPage} role="admin" /> */}
</div>
</Switch>
</Router>
);
......
......@@ -2,6 +2,7 @@ import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import 'bootstrap';
import 'bootstrap/dist/css/bootstrap.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
......
const ErrorPage = () => {
return (
<div className="bg-white " id="notfound">
<div className="notfound" style={{ backgroundImage: `url(/ku-tiger.png)`, backgroundSize: "cover" }}>
<div className="notfound-404"></div>
<div className="d-flex bg-white" id="notfound">
<div className="notfound">
<img src="./ku-tiger.png" />
<h1>404</h1>
<h2>Oops! Page Not Be Found</h2>
<h2 className="text-center">Oops! Page Not Be Found</h2>
<p>Sorry but the page you are looking for does not exist, have been removed. name changed or is temporarily unavailable</p>
<a href="/">Back to homepage</a>
<a className="text-center" href="/login">Back to login</a>
</div>
</div>
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment