* feat: noindex/nofollow - On login: nofollow - On app pages: noindex, nofollow https://app.plane.so/plane/browse/WEB-4098/ - https://nextjs.org/docs/app/api-reference/file-conventions/layout - https://nextjs.org/docs/app/building-your-application/routing/route-groups#creating-multiple-root-layouts - https://nextjs.org/docs/app/api-reference/functions/generate-metadata#link-relpreload * chore: address PR feedback
31 lines
611 B
TypeScript
31 lines
611 B
TypeScript
import { Metadata, Viewport } from "next";
|
|
|
|
import { PreloadResources } from "./layout.preload";
|
|
|
|
// styles
|
|
import "@/styles/command-pallette.css";
|
|
import "@/styles/emoji.css";
|
|
import "@/styles/react-day-picker.css";
|
|
|
|
export const metadata: Metadata = {
|
|
robots: {
|
|
index: false,
|
|
follow: false,
|
|
},
|
|
};
|
|
|
|
export const viewport: Viewport = {
|
|
minimumScale: 1,
|
|
initialScale: 1,
|
|
width: "device-width",
|
|
viewportFit: "cover",
|
|
};
|
|
|
|
export default function AppLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<section>
|
|
<PreloadResources />
|
|
{children}
|
|
</section>
|
|
);
|
|
}
|