From 2c42e9488771070d8efec5d91835cd8c7885f4b1 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Sun, 27 Aug 2017 17:42:50 +0200 Subject: Restyle navbar and use across entire site --- src/components/home/ContentSection.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/components/home/ContentSection.js (limited to 'src/components/home/ContentSection.js') diff --git a/src/components/home/ContentSection.js b/src/components/home/ContentSection.js new file mode 100644 index 00000000..126c5e4b --- /dev/null +++ b/src/components/home/ContentSection.js @@ -0,0 +1,20 @@ +import classNames from "classnames"; +import PropTypes from "prop-types"; +import React from "react"; +import "./ContentSection.css"; + +const ContentSection = ({name, children}) => ( +
+
+
+ {children} +
+
+
+); + +ContentSection.propTypes = { + name: PropTypes.string.isRequired, +}; + +export default ContentSection; -- cgit v1.2.3