edit christenzijn

This commit is contained in:
paulnijsse 2020-02-17 11:09:29 +01:00
parent e82ba97930
commit 7b4cb440e2
3 changed files with 18 additions and 2 deletions

View File

@ -4,6 +4,7 @@ import { Layout } from './components/Layout';
import { Home } from './components/Home';
import { Leden } from './components/Leden';
import { OverIchthus } from './pages/overichthus';
import { ChristenZijn } from './pages/christenzijn';
import { Login } from './components/Login';
export default class App extends Component {
@ -15,6 +16,7 @@ export default class App extends Component {
<Route exact path='/' component={Home} />
<Route exact path='/leden' component={Leden} />
<Route exact path='/pages/overichthus' component={OverIchthus} />
<Route exact path='/pages/christenzijn' component={ChristenZijn} />
<Route exact path='/login' component={Login} />
</Layout>
);

View File

@ -24,7 +24,7 @@ export class NavMenu extends Component {
</div>
<div id="MenuBlock">
<Link to={`/christenzijn/`} id="MenuText">
<Link to={`/pages/christenzijn/`} id="MenuText">
Christen zijn
</Link>
</div>
@ -36,7 +36,7 @@ export class NavMenu extends Component {
</div>
<div id="MenuBlock">
<Link to={`./pages/overichthus/`} id="MenuText">
<Link to={`/pages/overichthus/`} id="MenuText">
Over Ichthus
</Link>
</div>

View File

@ -0,0 +1,14 @@
import React, { Component } from 'react';
export class ChristenZijn extends Component {
displayName = ChristenZijn.name
render() {
return (
<div>
<h1>Christen zijn</h1>
<p>Welcome to your new single-page application, built with: Well, React dotnet, and does it really matter?..</p>
</div>
);
}
}