import {
Body,
Head,
Hr,
Html,
Preview,
Section,
Tailwind,
Text,
} from "@react-email/components"
type LayoutProps = React.PropsWithChildren & {
title: string
project_name: string
preview?: string
}
export const Layout = ({
project_name,
title,
preview,
children,
}: LayoutProps) => {
return (
{title}
{preview ? {preview} : null}
© {new Date().getFullYear()} {project_name}. All rights reserved.
)
}