mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-24 08:54:05 +10:00
- designing the dashboard
- resume preview - create resume modal
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import React from "react";
|
||||
import { Router, Redirect } from "@reach/router";
|
||||
import Wrapper from "../components/shared/Wrapper";
|
||||
import Dashboard from "./app/dashboard";
|
||||
import PrivateRoute from "../components/router/PrivateRoute";
|
||||
import NotFound from "./404";
|
||||
|
||||
const App = () => (
|
||||
<Wrapper>
|
||||
<Router>
|
||||
<Redirect noThrow from="/app" to="/app/dashboard" exact />
|
||||
<PrivateRoute path="/app/dashboard" component={Dashboard} />
|
||||
<NotFound default />
|
||||
</Router>
|
||||
</Wrapper>
|
||||
);
|
||||
export default App;
|
||||
Reference in New Issue
Block a user