Initial open source commit

This commit is contained in:
Eric Allam
2022-03-01 09:31:09 +00:00
commit d928661fea
157 changed files with 31966 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
export type HomeSectionProps = {
containerClassName?: string;
maxWidth?: string;
reversed?: boolean;
flipped?: boolean;
children: React.ReactNode;
};
export function HomeSection({
containerClassName,
maxWidth = "1150px",
reversed = false,
flipped = false,
children,
}: HomeSectionProps) {
return (
<div className={`flex justify-center items-center ${containerClassName}`}>
<div
className={`flex flex-col md:flex-row w-full ${
reversed ? "md:flex-row-reverse" : ""
}${flipped ? "flex-col-reverse" : ""}`}
style={{ maxWidth: maxWidth }}
>
{children}
</div>
</div>
);
}