Update theme fonts

This commit is contained in:
2026-02-27 12:06:10 +00:00
parent 49780871ef
commit 494f121e8e

View File

@@ -5,6 +5,7 @@ import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { Josefin_Sans } from "next/font/google";
import { Open_Sans } from "next/font/google";
@@ -12,15 +13,15 @@ export const metadata: Metadata = {
title: "Drink and Sleep - Cozy Coffee Shop for Remote Workers", description: "Discover the perfect blend of comfort and caffeine at Drink and Sleep. A serene space for coffee lovers and remote workers to relax, work, and recharge.", keywords: ["coffee shop", "cozy cafe", "remote work", "comfortable seating", "coffee lovers"],
};
const josefinSans = Josefin_Sans({
variable: "--font-josefin-sans",
subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
});
export default function RootLayout({
children,
@@ -30,7 +31,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${josefinSans.variable} ${inter.variable} antialiased`}>
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
<Tag />
{children}