-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
47 lines (43 loc) · 1.3 KB
/
Copy pathlayout.tsx
File metadata and controls
47 lines (43 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import type { Metadata } from 'next';
import { Archivo, Spline_Sans_Mono } from 'next/font/google';
import './poc.css';
/**
* Brutalist-editorial type system.
* — Archivo (variable, incl. width axis) carries the whole grotesque voice:
* pushed to Black + Expanded it gives monumental poster headlines without
* the Inter/Sora/Fraunces "AI default" tell.
* — Spline Sans Mono is the technical metadata voice (mastheads, ledgers,
* coordinates, callouts).
*
* PRODUCTION UPGRADE: swap --bru-sans for a licensed grotesque (GT America /
* Söhne / ABC Diatype) and the display face for Druk Wide — one var change in
* poc.css. Stand-ins here are the closest self-hostable equivalents.
*/
const archivo = Archivo({
subsets: ['latin'],
display: 'swap',
variable: '--bru-sans',
weight: 'variable',
axes: ['wdth'],
});
const mono = Spline_Sans_Mono({
subsets: ['latin'],
display: 'swap',
variable: '--bru-mono',
weight: ['400', '500', '700'],
});
export const metadata: Metadata = {
title: 'FormaOS — Homepage POC (Brutalist-Editorial)',
robots: { index: false, follow: false },
};
export default function HomePocLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<div className={`${archivo.variable} ${mono.variable} bru-root`}>
{children}
</div>
);
}