Fixed all firebase login issues. Added private routes. Reconfigured components and reorganized project.
This commit is contained in:
15
client/src/pages/landing/landing.component.jsx
Normal file
15
client/src/pages/landing/landing.component.jsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from "react";
|
||||
import { Typography } from "antd";
|
||||
|
||||
import HeaderContainer from "../../components/header/header.container";
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
<div>
|
||||
<HeaderContainer landingHeader />
|
||||
<Typography.Title>
|
||||
Welcome to bodyshop.app.
|
||||
</Typography.Title>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
16
client/src/pages/manage/manage.component.jsx
Normal file
16
client/src/pages/manage/manage.component.jsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import React from 'react'
|
||||
import { Route } from "react-router";
|
||||
|
||||
//Component Imports
|
||||
import ManageShopContainer from '../../components/manage-shop/manage-shop.container';
|
||||
|
||||
|
||||
//This page will handle all routing for the entire application.
|
||||
export default function Manage({match}) {
|
||||
console.log('Manage: match ', match)
|
||||
return (
|
||||
<div>
|
||||
<Route exact path={`${match.path}`} component={ManageShopContainer}/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user