@@ -1,8 +1,10 @@
1+import Section from "./Section";
2+
13export default function ContentArea(props) {
24 return (
35 <div className="w-full min-w-0 flex flex-col">
46 <div className="px-4 md:px-12 lg:px-24 pb-24 pt-8 md:pt-10 lg:pt-16 flex flex-col w-full max-h-screen h-screen overflow-y-scroll">
5− <div className="flex justify-between w-full items-center">
7+ <div className="flex justify-between w-full items-center flex-shrink-0">
68 <div className="type-ui text-gray">{props.breadcrumbs}</div>
79 <div className="hidden md:block">
810 <button
@@ -16,10 +18,21 @@ export default function ContentArea(props) {
1618 </button>
1719 </div>
1820 </div>
19−
20− <h2 className="mb-16 mt-24">{props.title}</h2>
21− {props.children}
22− <div className="pb-32" />
21+ <div className="w-full flex justify-center">
22+ {props.narrow ? (
23+ <Section narrow className={""}>
24+ <h2 className="mb-16 mt-24">{props.title}</h2>
25+ {props.children}
26+ <div className="pb-32" />
27+ </Section>
28+ ) : (
29+ <div>
30+ <h2 className="mb-16 mt-24">{props.title}</h2>
31+ {props.children}
32+ <div className="pb-32" />
33+ </div>
34+ )}
35+ </div>
2336 </div>
2437 </div>
2538 );