Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
1.8 KiB
Diff
43 lines
1.8 KiB
Diff
diff --git i/apps/web/components/Preservation/ReadableView.tsx w/apps/web/components/Preservation/ReadableView.tsx
|
|
index 64f14186..daff3636 100644
|
|
--- i/apps/web/components/Preservation/ReadableView.tsx
|
|
+++ w/apps/web/components/Preservation/ReadableView.tsx
|
|
@@ -20,13 +20,13 @@ import {
|
|
} from "@linkwarden/router/highlights";
|
|
import { Highlight } from "@linkwarden/prisma/client";
|
|
import { useUser } from "@linkwarden/router/user";
|
|
-import { Caveat } from "next/font/google";
|
|
-import { Bentham } from "next/font/google";
|
|
+import localFont from "next/font/local";
|
|
import { Separator } from "../ui/separator";
|
|
import { Button } from "../ui/button";
|
|
|
|
-const caveat = Caveat({ subsets: ["latin"] });
|
|
-const bentham = Bentham({ subsets: ["latin"], weight: "400" });
|
|
+
|
|
+const caveat = localFont({ src: "../../public/caveat.ttf" });
|
|
+const bentham = localFont({ src: "../../public/bentham.ttf" });
|
|
|
|
type Props = {
|
|
link: LinkIncludingShortenedCollectionAndTags;
|
|
diff --git i/apps/web/components/TextStyleDropdown.tsx w/apps/web/components/TextStyleDropdown.tsx
|
|
index a84587d9..59a291e4 100644
|
|
--- i/apps/web/components/TextStyleDropdown.tsx
|
|
+++ w/apps/web/components/TextStyleDropdown.tsx
|
|
@@ -13,12 +13,11 @@ import {
|
|
import { Button } from "@/components/ui/button";
|
|
import { FitWidth, FormatLineSpacing, FormatSize } from "@/components/ui/icons";
|
|
import { useUpdateUserPreference, useUser } from "@linkwarden/router/user";
|
|
-import { Caveat } from "next/font/google";
|
|
-import { Bentham } from "next/font/google";
|
|
+import localFont from "next/font/local";
|
|
import { useTranslation } from "next-i18next";
|
|
|
|
-const caveat = Caveat({ subsets: ["latin"] });
|
|
-const bentham = Bentham({ subsets: ["latin"], weight: "400" });
|
|
+const caveat = localFont({ src: "../public/caveat.ttf" });
|
|
+const bentham = localFont({ src: "../public/bentham.ttf" });
|
|
|
|
const fontSizes = [
|
|
"12px",
|