diff --git a/.changeset/gentle-islands-prove.md b/.changeset/gentle-islands-prove.md new file mode 100644 index 0000000..c97ecd1 --- /dev/null +++ b/.changeset/gentle-islands-prove.md @@ -0,0 +1,6 @@ +--- +"next-auth-template-one-to-one": minor +"next-auth-template": patch +--- + +chore(one-to-one): remove local fonts as they are not being used diff --git a/templates/one-to-one/src/app/(app)/app/layout.tsx b/templates/one-to-one/src/app/(app)/app/layout.tsx index e10d6cb..68fd189 100644 --- a/templates/one-to-one/src/app/(app)/app/layout.tsx +++ b/templates/one-to-one/src/app/(app)/app/layout.tsx @@ -1,16 +1,5 @@ -import localFont from "next/font/local" import "../../globals.css" -const geistSans = localFont({ - src: "../../fonts/GeistVF.woff", - variable: "--font-geist-sans", - weight: "100 900", -}) -const geistMono = localFont({ - src: "../../fonts/GeistMonoVF.woff", - variable: "--font-geist-mono", - weight: "100 900", -}) import { fetchCurrentUser } from "@/actions/user/fetch-current-user" import { AppSidebar } from "@/components/layout/app-sidebar" import { @@ -45,9 +34,7 @@ export default async function AppLayout({ return ( - + -
+
@@ -68,7 +55,7 @@ export default async function AppLayout({
-
+
{children}
diff --git a/templates/one-to-one/src/app/(auth)/layout.tsx b/templates/one-to-one/src/app/(auth)/layout.tsx index 36b7bae..2b23738 100644 --- a/templates/one-to-one/src/app/(auth)/layout.tsx +++ b/templates/one-to-one/src/app/(auth)/layout.tsx @@ -1,18 +1,6 @@ import type { Metadata } from "next" -import localFont from "next/font/local" import "../globals.css" -const geistSans = localFont({ - src: "../fonts/GeistVF.woff", - variable: "--font-geist-sans", - weight: "100 900", -}) -const geistMono = localFont({ - src: "../fonts/GeistMonoVF.woff", - variable: "--font-geist-mono", - weight: "100 900", -}) - export const metadata: Metadata = { title: "Next.js + Auth.js Template", description: @@ -26,9 +14,7 @@ export default function RootLayout({ }>) { return ( - +
{children}
diff --git a/templates/one-to-one/src/app/(site)/layout.tsx b/templates/one-to-one/src/app/(site)/layout.tsx index 9d37096..75499ee 100644 --- a/templates/one-to-one/src/app/(site)/layout.tsx +++ b/templates/one-to-one/src/app/(site)/layout.tsx @@ -1,18 +1,6 @@ import type { Metadata } from "next" -import localFont from "next/font/local" import "../globals.css" -const geistSans = localFont({ - src: "../fonts/GeistVF.woff", - variable: "--font-geist-sans", - weight: "100 900", -}) -const geistMono = localFont({ - src: "../fonts/GeistMonoVF.woff", - variable: "--font-geist-mono", - weight: "100 900", -}) - export const metadata: Metadata = { title: "Next.js + Auth.js Template", description: @@ -26,9 +14,7 @@ export default function RootLayout({ }>) { return ( - + {children} diff --git a/templates/one-to-one/src/app/fonts/GeistMonoVF.woff b/templates/one-to-one/src/app/fonts/GeistMonoVF.woff deleted file mode 100644 index f2ae185..0000000 Binary files a/templates/one-to-one/src/app/fonts/GeistMonoVF.woff and /dev/null differ diff --git a/templates/one-to-one/src/app/fonts/GeistVF.woff b/templates/one-to-one/src/app/fonts/GeistVF.woff deleted file mode 100644 index 1b62daa..0000000 Binary files a/templates/one-to-one/src/app/fonts/GeistVF.woff and /dev/null differ