mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Account settings: ContactDetailsPage
This commit is contained in:
parent
1a6e029483
commit
7b5c012b8b
3 changed files with 20 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ import {
|
|||
AuthenticationPage,
|
||||
CheckoutPage,
|
||||
ConversationPage,
|
||||
ContactDetailsPage,
|
||||
InboxPage,
|
||||
LandingPage,
|
||||
ListingPage,
|
||||
|
|
@ -150,13 +151,22 @@ class Routes extends React.Component {
|
|||
pattern="/sale/:id/details"
|
||||
component={ (props) => <SalesConversationPage { ...props } tab="details" /> } />
|
||||
|
||||
<Miss component={ NotFoundPage } />
|
||||
|
||||
{/* Manage listings */}
|
||||
<MatchWhenAuthorized
|
||||
exactly
|
||||
pattern="/listings"
|
||||
component={ ManageListingsPage } />
|
||||
|
||||
{/* Account settings */}
|
||||
<MatchWhenAuthorized
|
||||
exactly
|
||||
pattern="/account/contact-details"
|
||||
component={
|
||||
(props) => <ContactDetailsPage { ...props } router={router} />
|
||||
} />
|
||||
|
||||
<Miss component={ NotFoundPage } />
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
6
src/containers/ContactDetailsPage/ContactDetailsPage.js
Normal file
6
src/containers/ContactDetailsPage/ContactDetailsPage.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import React from 'react';
|
||||
import { Page } from '../../components';
|
||||
|
||||
export default () => (
|
||||
<Page title="Contact details"></Page>
|
||||
);
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
import AuthenticationPage from './AuthenticationPage/AuthenticationPage';
|
||||
import CheckoutPage from './CheckoutPage/CheckoutPage';
|
||||
import ConversationPage from './ConversationPage/ConversationPage';
|
||||
import ContactDetailsPage from './ContactDetailsPage/ContactDetailsPage';
|
||||
import EditProfilePage from './EditProfilePage/EditProfilePage';
|
||||
import InboxPage from './InboxPage/InboxPage';
|
||||
import LandingPage from './LandingPage/LandingPage';
|
||||
|
|
@ -18,6 +19,7 @@ export {
|
|||
AuthenticationPage,
|
||||
CheckoutPage,
|
||||
ConversationPage,
|
||||
ContactDetailsPage,
|
||||
EditProfilePage,
|
||||
InboxPage,
|
||||
LandingPage,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue