Prettified Code!
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import React from "react"
|
import React from "react"
|
||||||
import Menu from "../components/menu"
|
import Menu from "../components/menu"
|
||||||
|
|
||||||
export default props => (
|
export default (props) => (
|
||||||
<div>
|
<div>
|
||||||
<h1 align="center">{props.headline}</h1>
|
<h1 align="center">{props.headline}</h1>
|
||||||
<Menu />
|
<Menu />
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React from "react"
|
import React from "react"
|
||||||
|
|
||||||
export default props => (
|
export default (props) => (
|
||||||
<div id={props.title}>
|
<div id={props.title}>
|
||||||
<h2>{props.title}</h2>
|
<h2>{props.title}</h2>
|
||||||
<p>{props.text}</p>
|
<p>{props.text}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user