Skip to content

Commit

Permalink
feat: add Poppins font
Browse files Browse the repository at this point in the history
  • Loading branch information
jrneliodias committed May 8, 2024
1 parent 1764069 commit 2752f81
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { Poppins } from "next/font/google";
import "./globals.css";
import { CartProvider } from "./_context/cart";
import AuthProvider from "./_providers/auth";
import { Toaster } from "@/app/_components/ui/sonner";

const inter = Inter({ subsets: ["latin"] });
const poppins = Poppins({
subsets: ["latin"],
weight: ["400", "500", "600", "700"],
});

export const metadata: Metadata = {
title: "Create Next App",
Expand All @@ -19,7 +22,7 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<body className={inter.className}>
<body className={poppins.className}>
<AuthProvider>
<CartProvider>{children}</CartProvider>
<Toaster />
Expand Down

0 comments on commit 2752f81

Please sign in to comment.