Open this example in the interactive library
Source code
// app/studio/layout.tsx
import type { ReactNode } from "react";
import Link from "next/link";
export default function SupportFooterLayout({ children }: { children: ReactNode }) {
return (
<>
<main>{children}</main>
<footer>
<Link href="/help">Help centre</Link> ·{" "}
<a href="mailto:support@example.com">Email support</a>
</footer>
</>
);
}
