From b61864067da2833db2db2e5394d01c52a4bf905f Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Wed, 21 May 2025 12:56:59 +0200 Subject: [PATCH] Package Lato font for Prometheus logo Signed-off-by: Julius Volz --- src/app/layout.tsx | 15 ++++++++++++++- src/components/Header.tsx | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 462d6f88..5b76e086 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -2,6 +2,7 @@ // import type { Metadata } from "next"; import { Inter } from "next/font/google"; +import { Lato } from "next/font/google"; import { Anchor, AppShell, @@ -33,6 +34,14 @@ const interFont = Inter({ subsets: ["latin"], }); +const latoFont = Lato({ + variable: "--font-lato", + preload: true, + subsets: ["latin"], + weight: "300", + display: "swap", +}); + // export const metadata: Metadata = { // title: "Create Next App", // description: "Generated by create next app", @@ -46,7 +55,11 @@ export default function RootLayout({ const [burgerOpened, { toggle: toggleBurger }] = useDisclosure(); return ( - + diff --git a/src/components/Header.tsx b/src/components/Header.tsx index a34cf0bf..65e7fc04 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -109,7 +109,7 @@ export const Header = ({ Prometheus logo Prometheus