Hookup Proposal Tutorial
This commit is contained in:
parent
b52d26b9cf
commit
c8e75a3e8f
|
@ -33,6 +33,7 @@ const Profile = loadable(() => import('pages/profile'), opts);
|
|||
const Settings = loadable(() => import('pages/settings'), opts);
|
||||
const Exception = loadable(() => import('pages/exception'), opts);
|
||||
const Tos = loadable(() => import('pages/tos'));
|
||||
const ProposalTutorial = loadable(() => import('pages/proposal-tutorial'));
|
||||
const About = loadable(() => import('pages/about'), opts);
|
||||
const Privacy = loadable(() => import('pages/privacy'), opts);
|
||||
const Contact = loadable(() => import('pages/contact'), opts);
|
||||
|
@ -218,6 +219,18 @@ const routeConfigs: RouteConfig[] = [
|
|||
},
|
||||
onlyLoggedIn: false,
|
||||
},
|
||||
{
|
||||
// Terms of Service page
|
||||
route: {
|
||||
path: '/proposal-tutorial',
|
||||
component: ProposalTutorial,
|
||||
exact: true,
|
||||
},
|
||||
template: {
|
||||
title: 'Proposal Tutorial',
|
||||
},
|
||||
onlyLoggedIn: false,
|
||||
},
|
||||
{
|
||||
// About page
|
||||
route: {
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
import React from 'react';
|
||||
import MarkdownPage from 'components/MarkdownPage';
|
||||
import PROPOSAL_TUTORIAL from 'static/markdown/PROPOSAL_TUTORIAL.md';
|
||||
|
||||
const ProposalTutorial = () => <MarkdownPage markdown={PROPOSAL_TUTORIAL} />;
|
||||
|
||||
export default ProposalTutorial;
|
Loading…
Reference in New Issue