Commit 0254fa6b authored by Kim, Subin's avatar Kim, Subin
Browse files

모바일 화면으로 맞추기

parent d3e4910c
...@@ -9,15 +9,15 @@ import Err from "./pages/ErrorPage"; ...@@ -9,15 +9,15 @@ import Err from "./pages/ErrorPage";
function App() { function App() {
return ( return (
<Router basename={process.env.PUBLIC_URL}> <Router basename={process.env.PUBLIC_URL}>
<div className="mx-auto" style={{ width: "400px" }}>
<Switch> <Switch>
<div style={{ width: "400px" }}> <Route exact path="/" component={Err} />
<Route path="/" component={Err} />
<Route path="/home" component={HomePage} /> <Route path="/home" component={HomePage} />
<Route path="/schedule/edit" component={ScheduleEditPage} /> <Route path="/schedule/edit" component={ScheduleEditPage} />
<Route path="/schedule" component={SchedulePage} /> <Route path="/schedule" component={SchedulePage} />
{/* <PrivateRoute path="/admin" component={AdminPage} role="admin" /> */} <PrivateRoute path="/admin" component={AdminPage} role="admin" />
</div>
</Switch> </Switch>
</div>
</Router> </Router>
); );
} }
......
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