Added copyright footer to email

This commit is contained in:
Khalim Conn-Kowlessar 2024-07-22 14:21:10 +01:00
parent 9d6235bc81
commit 0bf90aa0a5

View file

@ -24,6 +24,28 @@ const getSession = cache(async () => {
return session;
});
export function Footer() {
return (
<footer
className="bg-brandblue text-white"
style={{
padding: "1rem",
textAlign: "center",
borderTop: "1px solid #ccc",
marginTop: "2rem",
}}
>
<p>
&copy; {new Date().getFullYear()} Hestia Hearth And Home. All rights
reserved. Hestia proprietary IP.
</p>
<p>
All intellectual property rights are retained by the respective owners.
</p>
</footer>
);
}
export default async function RootLayout({
children,
}: {
@ -43,6 +65,7 @@ export default async function RootLayout({
<ReactQueryProvider>
<Nav userImage={userImage} />
{children}
<Footer />
</ReactQueryProvider>
</Provider>
</body>