refactor: move icons and font to public folder
This commit is contained in:
parent
8da0c137f7
commit
4a275b166e
6 changed files with 10 additions and 4 deletions
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
@ -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",
|
||||||
});
|
});
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
|
@ -20,7 +20,10 @@
|
||||||
{
|
{
|
||||||
"name": "next"
|
"name": "next"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["./app/*"]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"next-env.d.ts",
|
"next-env.d.ts",
|
||||||
|
|
Loading…
Reference in a new issue