Archived
1
0

Site Rework

- Split up into categories
This commit is contained in:
2020-06-05 09:15:40 +02:00
parent 8005d9a152
commit a57bbce5e3
8 changed files with 64 additions and 35 deletions

View File

@@ -14,6 +14,10 @@ export default () => (
<a target="_blanc" href="https://github.com/creyD/urban_website">
github
</a>
.
<a target="_blanc" href="https://paypal.me/pools/c/89fz0b2YFk">
donate
</a>
.<Link to="/about/">about</Link>
</div>
)

View File

@@ -1,3 +1,9 @@
import React from "react"
import Menu from "../components/menu"
export default (props) => <h1 align="center">{props.headline}</h1>
export default props => (
<div>
<h1 align="center">{props.headline}</h1>
<Menu />
</div>
)

View File

@@ -1,8 +1,8 @@
import React from "react"
export default (props) => (
export default props => (
<div id={props.title}>
<h1>{props.title}</h1>
<h2>{props.title}</h2>
<p>{props.text}</p>
</div>
)

8
src/components/menu.js Normal file
View File

@@ -0,0 +1,8 @@
import React from "react"
import { Link } from "gatsby"
export default () => (
<div style={{ textAlign: `center` }}>
<Link to="//">Home</Link> | <Link to="/comms/">Communication</Link> | <Link to="/projects/">Projects</Link>
</div>
)