Adds dbAuth
This commit is contained in:
@@ -14,12 +14,10 @@ import BlogLayout from 'src/layouts/BlogLayout'
|
||||
const Routes = () => {
|
||||
return (
|
||||
<Router>
|
||||
<Set wrap={BlogLayout}>
|
||||
<Route path="/contact" page={ContactPage} name="contact" />
|
||||
<Route path="/blog-post/{id:Int}" page={BlogPostPage} name="blogPost" />
|
||||
<Route path="/about" page={AboutPage} name="about" />
|
||||
<Route path="/" page={HomePage} name="home" />
|
||||
</Set>
|
||||
<Route path="/login" page={LoginPage} name="login" />
|
||||
<Route path="/signup" page={SignupPage} name="signup" />
|
||||
<Route path="/forgot-password" page={ForgotPasswordPage} name="forgotPassword" />
|
||||
<Route path="/reset-password" page={ResetPasswordPage} name="resetPassword" />
|
||||
<Private unauthenticated="home">
|
||||
<Set wrap={PostsLayout}>
|
||||
<Route path="/admin/posts/new" page={PostNewPostPage} name="newPost" />
|
||||
|
||||
Reference in New Issue
Block a user