diff --git a/next.config.js b/next.config.js index 658404a..04c2d88 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,6 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {}; +const nextConfig = { + transpilePackages: ["geist"], +}; module.exports = nextConfig; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 9fb132f..7b56b16 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,12 +1,10 @@ import type { Metadata } from "next"; -import { GeistSans, GeistMono } from "geist/font"; +import { GeistSans } from "geist/font/sans"; +import { GeistMono } from "geist/font/mono"; import "./globals.css"; import Bg from "@/components/Bg"; import Providers from "@/components/Providers"; -const geistSans = GeistSans; -const geistMono = GeistMono; - export const metadata: Metadata = { title: "Login to Your Dashboard - Vertex", description: @@ -28,7 +26,7 @@ export default function RootLayout({ }>) { return ( -
+