Skip to content

Self-host fonts and remove duplicate Google Fonts imports - #115

Open
mitchee30 wants to merge 2 commits into
mainfrom
chore/consolidate-fonts
Open

mitchee30 wants to merge 2 commits into
mainfrom
chore/consolidate-fonts

Conversation

@mitchee30

Copy link
Copy Markdown
Contributor

Related Issues

ClickUp: Consolidate fonts

Description

Nunito and Lexend were loaded twice: once from Google Fonts (@import) and once from static/fonts (@font-face). The Google import for Lexend also only included weights 200–500, so font-semibold (600) headings depended on which copy the browser picked.

  • Removed the two Google Fonts @imports; fonts are now self-hosted only
  • Completed the @font-face rules with weight ranges (100 900 / 200 1000) and font-display: swap
  • Deleted 25 unused static font files (~2.8 MB); kept the variable fonts and OFL licences
  • Removed the old commented-out Poppins block
  • Added font-lexend to the Tailwind config
  • Replaced inline style={{ fontFamily }} in responsibilities.tsx with Tailwind classes

No visual changes expected.

Type of Change

  • Other: cleanup / performance

Testing Done

  • Tested locally with yarn start
  • DevTools → Network → Font: each font requested once, no requests to fonts.googleapis.com
  • Checked homepage and /responsibilities look the same

@netlify

netlify Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for electriumwebsite ready!

Name Link
🔨 Latest commit f6d0caa
🔍 Latest deploy log https://app.netlify.com/projects/electriumwebsite/deploys/6ac80ce0f9d7390007aeb0fd
😎 Deploy Preview https://deploy-preview-115--electriumwebsite.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mitchee30 mitchee30 self-assigned this Oct 8, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant