-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathroutes.js
115 lines (111 loc) · 2.92 KB
/
routes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
import React from 'react';
import { Route, IndexRoute } from 'react-router';
import app from './components/app';
import * as pages from './pages';
const menu = [
{
to: '/',
label: 'Home',
},
{
label: 'Solutions',
items: [
{
to: '/publishers',
label: 'for Educational Publishers',
},
{
to: '/schools',
label: 'for Schools & Teachers',
},
{
to: '/corporate',
label: 'for Corporate Training',
},
],
},
{
label: 'Products',
items: [
{
to: '/authoring-tool',
label: 'Learn Forward Author',
},
{
to: '/hypersay',
label: 'Hypersay',
},
],
},
{
label: 'About',
items: [
{
to: '/team',
label: 'Team & Advisors',
},
{
to: '/contact',
label: 'Contact',
},
],
},
{
to: '/hypersay',
label: 'Hypersay', // -deleted here
},
];
const meta = {
'/': {
title: 'Learn Forward - Making the Digital Classroom Work',
description: 'We help publishers create collaborative digital textbooks and we help teachers design & deliver lessons in a digital format.',
},
'/publishers': {
title: 'Educational Publishers',
description: 'Learn Forward - Solutions for Educational Publishers',
},
'/schools': {
title: 'Schools & Teachers',
description: 'Learn Forward - Solutions for Schools & Teachers',
},
'/corporate': {
title: 'Corporate Training',
description: 'Learn Forward - Solutions for Corporate Training',
},
'/authoring-tool': {
title: 'LFA - Learn Forward Author',
description: 'Digital publishing tools for rich HTML5 publications',
},
'/hypersay': {
title: 'Hypersay',
description: 'Hypersay - Distract the Distracted!',
},
'/team': {
title: 'The team',
description: 'Team & Advisors',
},
'/contact': {
title: 'Contact',
description: 'Digital publishing tools for rich HTML5 publications',
},
};
export default (
<Route component={app} menu={menu} meta={meta} path='/'>
<IndexRoute component={pages.home} />
<Route component={pages.publishers} path='publishers' />
<Route component={pages.schools} path='schools' />
<Route component={pages.corporate} path='corporate' />
<Route component={pages.lfa} path='lfa' />
<Route component={pages.lfa} path='authoring-tool' />
<Route component={pages.lfp} path='lfp' />
<Route component={pages.lfp} path='hypersay' />
<Route component={pages.team} path='team' />
<Route component={pages.contact} path='contact' />
<Route component={pages.demo} path='demo' />
<Route component={pages.request} path='request' />
<Route component={pages.requestResp} path='requestResp' />
<Route component={pages.signUp} path='signUp' />
<Route component={pages.signUpResp} path='signUpResp' />
<Route component={pages.notFound} path="*" />
</Route>
);