Dev Helpers
← Back

Support footer layout

Place this file at app/studio/layout.tsx in an App Router project.

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>
    </>
  );
}