refactor: move icons and font to public folder

This commit is contained in:
Doug 2024-11-11 23:46:08 -05:00
parent 8da0c137f7
commit 4a275b166e
6 changed files with 10 additions and 4 deletions

View file

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -3,12 +3,12 @@ import localFont from "next/font/local";
import "./globals.css"; import "./globals.css";
const geistSans = localFont({ const geistSans = localFont({
src: "./fonts/GeistVF.woff", src: "../../public/fonts/GeistVF.woff",
variable: "--font-geist-sans", variable: "--font-geist-sans",
weight: "100 900", weight: "100 900",
}); });
const geistMono = localFont({ const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff", src: "../../public/fonts/GeistVF.woff",
variable: "--font-geist-mono", variable: "--font-geist-mono",
weight: "100 900", weight: "100 900",
}); });

View file

@ -23,7 +23,10 @@
{ {
"name": "next" "name": "next"
} }
] ],
"paths": {
"@/*": ["./app/*"]
}
}, },
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"] "exclude": ["node_modules"]

View file

@ -20,7 +20,10 @@
{ {
"name": "next" "name": "next"
} }
] ],
"paths": {
"@/*": ["./app/*"]
}
}, },
"include": [ "include": [
"next-env.d.ts", "next-env.d.ts",