53 lines
1.5 KiB
TypeScript
53 lines
1.5 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Fraunces, Open_Sans } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
/**
|
|
* Display face: Fraunces. A variable serif with strong optical interest —
|
|
* elegant in long descenders and bracketed serifs, reads like a field guide
|
|
* or almanac. We use the SOFT axis to round the inktraps slightly so it
|
|
* doesn't read as "old print" but as "warm modern editorial."
|
|
*/
|
|
const display = Fraunces({
|
|
variable: "--font-display",
|
|
subsets: ["latin"],
|
|
axes: ["SOFT", "opsz"],
|
|
display: "swap",
|
|
});
|
|
|
|
/**
|
|
* Body face: Open Sans. Per the FCI brand guidelines, Open Sans is the free
|
|
* substitute for the brand's primary type family (Museo Sans). It pairs
|
|
* cleanly with the Fraunces headings while keeping the form copy on-brand.
|
|
*/
|
|
const body = Open_Sans({
|
|
variable: "--font-body",
|
|
subsets: ["latin"],
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
display: "swap",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Co-op Check-in · Food Co-op Initiative",
|
|
description:
|
|
"Update your co-op's progress through the FCI organizing Framework. A survey for food co-ops in development.",
|
|
robots: { index: false, follow: false }, // Form pages are tokenized; not for crawlers.
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={`${display.variable} ${body.variable} h-full antialiased`}
|
|
>
|
|
<body className="min-h-full flex flex-col font-body bg-paper text-ink">
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|