From 7c2574f1985cddba1e6fa6fcc6f8e1c019aaf7ed Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 9 Apr 2024 15:02:44 -0400 Subject: refactor: Removed NextJS from project --- src/components/SectionTitle.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/components/SectionTitle.js (limited to 'src/components/SectionTitle.js') diff --git a/src/components/SectionTitle.js b/src/components/SectionTitle.js new file mode 100644 index 0000000..a0492d2 --- /dev/null +++ b/src/components/SectionTitle.js @@ -0,0 +1,31 @@ +import React from "react"; +import Container from "./Container"; + +const SectionTitle = (props) => { + return ( + + {props.pretitle && ( +
+ {props.pretitle} +
+ )} + + {props.title && ( +

+ {props.title} +

+ )} + + {props.children && ( +

+ {props.children} +

+ )} +
+ ); +} + +export default SectionTitle; \ No newline at end of file -- cgit v1.2.3-70-g09d2