1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Merge pull request #77 from Unleash/captialize_menu

Heading Should be Captialized
This commit is contained in:
Ivar Conradi Østhus 2017-03-07 15:10:10 +01:00 committed by GitHub
commit 084b5038ff
2 changed files with 9 additions and 13 deletions

View File

@ -128,10 +128,10 @@ export default class App extends Component {
</span> </span>
<hr/> <hr/>
<Navigation className={styles.navigation}> <Navigation className={styles.navigation}>
{createListItem('/features', 'Feature toggles', 'list', true)} {createListItem('/features', 'Feature Toggles', 'list', true)}
{createListItem('/strategies', 'Strategies', 'extension', true)} {createListItem('/strategies', 'Strategies', 'extension', true)}
{createListItem('/history', 'Event history', 'history', true)} {createListItem('/history', 'Event History', 'history', true)}
{createListItem('/archive', 'Archived toggles', 'archive', true)} {createListItem('/archive', 'Archived Toggles', 'archive', true)}
{createListItem('/applications', 'Applications', 'apps', true)} {createListItem('/applications', 'Applications', 'apps', true)}
</Navigation> </Navigation>
<hr/> <hr/>
@ -157,14 +157,10 @@ export default class App extends Component {
<FooterSection type="middle"> <FooterSection type="middle">
<FooterDropDownSection title="Menu"> <FooterDropDownSection title="Menu">
<FooterLinkList> <FooterLinkList>
{createListItem('/features', 'Feature toggles')} {createListItem('/features', 'Feature Toggles')}
{createListItem('/strategies', 'Strategies')} {createListItem('/strategies', 'Strategies')}
{createListItem('/history', 'Event history')} {createListItem('/history', 'Event History')}
{createListItem('/archive', 'Archived toggles')} {createListItem('/archive', 'Archived Toggles')}
</FooterLinkList>
</FooterDropDownSection>
<FooterDropDownSection title="Metrics">
<FooterLinkList>
{createListItem('/applications', 'Applications')} {createListItem('/applications', 'Applications')}
</FooterLinkList> </FooterLinkList>
</FooterDropDownSection> </FooterDropDownSection>

View File

@ -48,7 +48,7 @@ ReactDOM.render(
<Route path="/" component={App}> <Route path="/" component={App}>
<IndexRedirect to="/features" /> <IndexRedirect to="/features" />
<Route pageTitle="Feature toggles" link="/features"> <Route pageTitle="Feature Toggles" link="/features">
<Route pageTitle="Feature toggles" path="/features" component={Features} /> <Route pageTitle="Feature toggles" path="/features" component={Features} />
<Route pageTitle="New" path="/features/create" component={CreateFeatureToggle} /> <Route pageTitle="New" path="/features/create" component={CreateFeatureToggle} />
<Route pageTitle=":name" path="/features/:activeTab/:name" component={ViewFeatureToggle} /> <Route pageTitle=":name" path="/features/:activeTab/:name" component={ViewFeatureToggle} />
@ -60,12 +60,12 @@ ReactDOM.render(
<Route pageTitle=":strategyName" path="/strategies/:activeTab/:strategyName" component={StrategyView} /> <Route pageTitle=":strategyName" path="/strategies/:activeTab/:strategyName" component={StrategyView} />
</Route> </Route>
<Route pageTitle="Event history" link="/history"> <Route pageTitle="Event History" link="/history">
<Route pageTitle="Event history" path="/history" component={HistoryPage} /> <Route pageTitle="Event history" path="/history" component={HistoryPage} />
<Route pageTitle=":toggleName" path="/history/:toggleName" component={HistoryTogglePage} /> <Route pageTitle=":toggleName" path="/history/:toggleName" component={HistoryTogglePage} />
</Route> </Route>
<Route pageTitle="Archived toggles" path="/archive" component={Archive} /> <Route pageTitle="Archived Toggles" path="/archive" component={Archive} />
<Route pageTitle="Applications" link="/applications"> <Route pageTitle="Applications" link="/applications">
<Route pageTitle="Applications" path="/applications" component={Applications} /> <Route pageTitle="Applications" path="/applications" component={Applications} />
<Route pageTitle=":name" path="/applications/:name" component={ApplicationView} /> <Route pageTitle=":name" path="/applications/:name" component={ApplicationView} />