mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-18 13:41:52 +02:00
fix: bundle fonts
This commit is contained in:
1 parent
3b57ace646
commit
c9f2cf8a12
6 files changed
+24
-12
No files matched your search
@@ -95,6 +95,7 @@
|
||||
"cmdk": "^1.1.1",
|
||||
"color": "^5.0.3",
|
||||
"flag-icons": "^7.5.0",
|
||||
"geist": "1.7.2",
|
||||
"i18next": "^26.4.2",
|
||||
"lucide-react": "^1.52.0",
|
||||
"motion": "^14.0.0",
|
||||
|
||||
Generated
+12
@@ -267,6 +267,9 @@ importers:
|
||||
flag-icons:
|
||||
specifier: ^7.5.0
|
||||
version: 7.5.0
|
||||
geist:
|
||||
specifier: 1.7.2
|
||||
version: 1.7.2(next@16.4.0(@babel/core@8.0.1)(@types/node@26.6.4)(react-dom@19.3.0(react@19.3.0))(react@19.3.0))
|
||||
i18next:
|
||||
specifier: ^26.4.2
|
||||
version: 26.4.2(typescript@7.0.2)
|
||||
@@ -3631,6 +3634,11 @@ packages:
|
||||
function-bind@1.1.2:
|
||||
resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
|
||||
|
||||
geist@1.7.2:
|
||||
resolution: {integrity: sha512-Gu5lDFa3pLRyoBlBPf0QIFHVdWAnpco7fS1bJm41jyLPFoguBgiubseUN2oLXMgqZ7uxAxDoXcHMhCY/fOTTgg==}
|
||||
peerDependencies:
|
||||
next: '>=13.2.0'
|
||||
|
||||
gensync@1.0.0-beta.2:
|
||||
resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
@@ -8523,6 +8531,10 @@ snapshots:
|
||||
|
||||
function-bind@1.1.2: {}
|
||||
|
||||
geist@1.7.2(next@16.4.0(@babel/core@8.0.1)(@types/node@26.6.4)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)):
|
||||
dependencies:
|
||||
next: 16.4.0(@babel/core@8.0.1)(@types/node@26.6.4)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
|
||||
|
||||
gensync@1.0.0-beta.2: {}
|
||||
|
||||
get-caller-file@2.0.5: {}
|
||||
|
||||
@@ -40,6 +40,8 @@ const LEGACY_LICENSE_EXPRESSIONS = new Map([
|
||||
["MIT/Apache-2.0", "Apache-2.0 OR MIT"],
|
||||
["MIT OR Apache-2.0", "Apache-2.0 OR MIT"],
|
||||
["Unlicense/MIT", "MIT OR Unlicense"],
|
||||
// The bundled Geist fonts name their license in words.
|
||||
["SIL OPEN FONT LICENSE", "OFL-1.1"],
|
||||
]);
|
||||
|
||||
const HOST_ONLY_PNPM_NATIVE_PREFIXES = [
|
||||
|
||||
@@ -14,6 +14,7 @@ test("normalizes legacy dual-license metadata into SPDX expressions", () => {
|
||||
normalizeLicenseExpression("MIT/Apache-2.0"),
|
||||
"Apache-2.0 OR MIT",
|
||||
);
|
||||
assert.equal(normalizeLicenseExpression("SIL OPEN FONT LICENSE"), "OFL-1.1");
|
||||
assert.equal(
|
||||
normalizeLicenseExpression("Apache-2.0 OR MIT"),
|
||||
"Apache-2.0 OR MIT",
|
||||
|
||||
+4
-12
@@ -1,18 +1,10 @@
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
// Bundled with the app: the build and the app never fetch fonts from a CDN.
|
||||
import { GeistMono } from "geist/font/mono";
|
||||
import { GeistSans } from "geist/font/sans";
|
||||
import "@/styles/globals.css";
|
||||
import "flag-icons/css/flag-icons.min.css";
|
||||
import { ClientProviders } from "@/components/client-providers";
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -21,7 +13,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} antialiased overflow-hidden bg-background`}
|
||||
className={`${GeistSans.variable} ${GeistMono.variable} antialiased overflow-hidden bg-background`}
|
||||
>
|
||||
<ClientProviders>{children}</ClientProviders>
|
||||
</body>
|
||||
|
||||
@@ -1323,6 +1323,10 @@
|
||||
"name": "gdkx11-sys",
|
||||
"license": "MIT"
|
||||
},
|
||||
{
|
||||
"name": "geist",
|
||||
"license": "OFL-1.1"
|
||||
},
|
||||
{
|
||||
"name": "generic-array",
|
||||
"license": "MIT"
|
||||
|
||||
Reference in new issue
Block a user