refactor(fonts): centralize Google Fonts import into index.css#671
Open
shaikayan13 wants to merge 1 commit into
Open
refactor(fonts): centralize Google Fonts import into index.css#671shaikayan13 wants to merge 1 commit into
shaikayan13 wants to merge 1 commit into
Conversation
Also includes dependency fixes needed to run the dev environment locally: - Added missing @fullcalendar/core and react-is (were causing Vite resolve errors) - Downgraded @vitejs/plugin-react to 4.7.0 for Vite 7 compatibility - Minor vite patch bump to 7.3.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also includes dependency fixes needed to run the dev environment locally:
📋 What does this PR do?
📋 What does this PR do?
Removes duplicate Google Fonts
@importstatements from 19 component files (pages andFitnessChatBot). A single centralized@importinindex.csswas widened to cover the full weight/style range needed by all the removed duplicates, so no fonts were lost.Also includes a few dependency fixes that were required to get the dev environment running locally:
@fullcalendar/coreandreact-is(were causing Vite module resolution errors)@vitejs/plugin-reactto4.7.0for compatibility with the project's pinned Vite 7vitepatch bump to7.3.5🔗 Related Issue
Closes #361
🧪 How was this tested?
Ran the full app locally (
npm run devfor both client and server), seeded the database, and clicked through the homepage, a product page, and the chatbot. Fonts render identically to before, with no console errors.📸 Screenshots (if UI changes)
No visual changes — fonts render identically before and after.
✅ Checklist
📸 Screenshots (if UI changes)
Before / After screenshots if you changed any UI.
✅ Checklist