import { Suspense } from "react";

export default function Layout({ children }: { children: React.ReactNode }) {
  return (
    <Suspense fallback={null}>
      <div className="p-4">
        <a
          href="https://makearmy.io"
          className="inline-block mb-4 px-4 py-2 bg-accent text-background rounded-md text-sm"
        >
          ← Back to Main Menu
        </a>
      </div>
      {children}
    </Suspense>
  );
}
