-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlayout.tsx
More file actions
28 lines (25 loc) · 987 Bytes
/
layout.tsx
File metadata and controls
28 lines (25 loc) · 987 Bytes
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
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Demo - Material Web Components for React",
description: "Fast, performant, Material 3 compliant. The lightest Material library out there for ReactJS.",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Symbols+Outlined" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
</head>
{/* From BaseUI: https://mui.com/base-ui/getting-started/usage/#responsive-meta-tag */}
<meta name="viewport" content="initial-scale=1, width=device-width" />
<body className={inter.className}>{children}</body>
</html>
);
}