Files
community-rule/app/(app)/profile/layout.tsx
T
2026-04-25 17:57:58 -06:00

20 lines
520 B
TypeScript

import dynamic from "next/dynamic";
import type { ReactNode } from "react";
/** Profile uses the public marketing footer; other `(app)` routes stay footer-free. */
const Footer = dynamic(() => import("../../components/navigation/Footer"), {
loading: () => (
<footer className="w-full min-h-[200px] bg-[var(--color-surface-default-primary)]" />
),
ssr: true,
});
export default function ProfileLayout({ children }: { children: ReactNode }) {
return (
<>
{children}
<Footer />
</>
);
}