diff --git a/components/content/index.tsx b/components/content/index.tsx new file mode 100644 index 0000000..a761964 --- /dev/null +++ b/components/content/index.tsx @@ -0,0 +1,18 @@ +import React from "react"; +import Image from "next/image"; + +const Content = ({ + title = '', + heroImgSrc, + description = '' +}) => { + return ( +
+
{title}
+ {heroImgSrc &&
} +
{description}
+
+ ); +}; + +export default Content; \ No newline at end of file diff --git a/components/layout.tsx b/components/layout.tsx new file mode 100644 index 0000000..70d0a7f --- /dev/null +++ b/components/layout.tsx @@ -0,0 +1,13 @@ +// import Navbar from './navbar' +// import Footer from './footer' +import React from 'react' + +export default function Layout({ children }) { + return ( + <> + {/* */} +
{children}
+ {/*