From f888c476f31e3803d3419cd486ac3ae3b457015d Mon Sep 17 00:00:00 2001 From: rebeccahongsf Date: Thu, 19 Sep 2024 09:33:10 -0700 Subject: [PATCH] SUM-198 | fix stanford font import --- app/layout.tsx | 9 +-------- public/fonts/stanford.woff2 | Bin 3816 -> 0 bytes src/styles/index.css | 1 + 3 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 public/fonts/stanford.woff2 diff --git a/app/layout.tsx b/app/layout.tsx index b76d28f7..6c233a00 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -8,7 +8,6 @@ import DrupalWindowSync from "@components/elements/drupal-window-sync" import UserAnalytics from "@components/elements/user-analytics" import clsx from "clsx" import Editori11y from "@components/tools/editorially" -import localFont from "next/font/local" const appleIcons: Icon[] = [60, 72, 76, 114, 120, 144, 152, 180].map(size => ({ url: `https://www-media.stanford.edu/assets/favicon/apple-touch-icon-${size}x${size}.png`, @@ -44,12 +43,6 @@ export const metadata = { }, } -const stanford = localFont({ - src: "../public/fonts/stanford.woff2", - weight: "300", - variable: "--font-stanford", -}) - // https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config export const revalidate = false @@ -57,7 +50,7 @@ const RootLayout = ({children, modal}: {children: React.ReactNode; modal: React. const isDevMode = process.env.NODE_ENV === "development" return ( - + {isDevMode && } diff --git a/public/fonts/stanford.woff2 b/public/fonts/stanford.woff2 deleted file mode 100644 index 45ec3dbac1e3a062aa5ffae1d49239eb29c52e58..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3816 zcmVi(wg!@9td6zN0(sgh$CptZa9AgmsWXiRMr zPyxVy*zaAv=ZpHZv5=l%T1n|Y`#wX>6CTpyZ$y_gmeyEA6NxBRBC(Mod5z^rPWUp~ z-tA)AT=E#S{>UHz09pp#?Rr-3vDa^AY?ADXdOu&Gy&!eOUwZil$KqvwJ|DQZ! z3^l((4}-v4x-$ZVZD^nXBzSpQgpi^*AxKxpG4QqO2V*NILBMeE@dya@7TMcNQ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