summaryrefslogtreecommitdiff
path: root/src/components/home/ContentSection.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-08-27 22:33:41 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:05:45 +0200
commit7aea29d0b22f7e5932c9b147611fe02373bb9645 (patch)
treeeda7a450a16ccfd3d5ff7f722cd0a44602a4a0b1 /src/components/home/ContentSection.js
parent2c42e9488771070d8efec5d91835cd8c7885f4b1 (diff)
Add content sections to homepage
Diffstat (limited to 'src/components/home/ContentSection.js')
-rw-r--r--src/components/home/ContentSection.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/home/ContentSection.js b/src/components/home/ContentSection.js
index 126c5e4b..6b4cbca4 100644
--- a/src/components/home/ContentSection.js
+++ b/src/components/home/ContentSection.js
@@ -3,12 +3,11 @@ import PropTypes from "prop-types";
import React from "react";
import "./ContentSection.css";
-const ContentSection = ({name, children}) => (
+const ContentSection = ({name, title, children}) => (
<div id={name} className={classNames(name + "-section", "content-section")}>
<div className="container">
- <div className="row">
- {children}
- </div>
+ <h1>{title}</h1>
+ {children}
</div>
</div>
);