You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
getcryst.al/components/HomeSection.tsx

15 lines
363 B
TypeScript

import { FC, ReactNode } from "react";
const HomeSection: FC<{ children: ReactNode; className?: string }> = ({
children,
className,
}) => (
<section className={`w-full py-6 ${className ? className : ""}`}>
<div className="mx-auto flex max-w-8xl flex-col gap-8 px-8 lg:flex-row">
{children}
</div>
</section>
);
export default HomeSection;