Skip to content

Commit

Permalink
added Roboto font
Browse files Browse the repository at this point in the history
  • Loading branch information
fredygerman committed Oct 27, 2023
1 parent ebb3d7f commit 82d859a
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import './globals.css'
import type { Metadata } from "next";
import { Inter, Roboto } from "next/font/google";
import "./globals.css";

const inter = Inter({ subsets: ['latin'] })
const inter = Inter({ subsets: ["latin"] });
const roboto = Roboto({ subsets: ["latin"], weight: "400" });

export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
title: "Create Next App",
description: "Generated by create next app",
};

export default function RootLayout({
children,
}: {
children: React.ReactNode
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
<body className={roboto.className}>{children}</body>
</html>
)
);
}

0 comments on commit 82d859a

Please sign in to comment.