Removing unused imports and refactoring /public folder#388
Merged
abhitrueprogrammer merged 4 commits intoCodeChefVIT:stagingfrom Oct 12, 2025
Merged
Removing unused imports and refactoring /public folder#388abhitrueprogrammer merged 4 commits intoCodeChefVIT:stagingfrom
/public folder#388abhitrueprogrammer merged 4 commits intoCodeChefVIT:stagingfrom
Conversation
Collaborator
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.

📌 Purpose
Reorganized assets in public folder and removed all unused files to clean the codebase
Corresponding issue: closes #387
🖼️ Showcase
Does not affect UI
🔧 Code Changes
Component Files Removed
/src/components/NavDropdownButton.tsx- Unused dropdown button component/src/components/CookoffBanner.tsx- Unused cookoff banner component/src/components/screens/PapersPage.tsx- Unused papers page screen component/src/components/ui/banners/bannerEvent.tsx- Unused event banner component/src/components/ui/banners/bannerPermanent.tsx- Unused permanent banner component/src/components/AddPapers.tsx- Unused Add Paper componentDatabase & Utility Files Removed
/src/db/user.ts- Unused user model/src/lib/utils/error.ts- Unused error handling utilityPublic Assets Removed
/public/fonts/yerk.woff2- Unused font file (only yerk.woff is used)Empty Directories Removed
/public/favicons/- Empty directory/public/images/- Empty directoryAccomodating the changes:
1. Updated Font Paths in CSS
File:
/src/styles/globals.cssChanged all font URLs from root to
/fonts/subdirectory:/jostfont.ttf→/fonts/jostfont.ttf/Vipnagorgialla.otf→/fonts/Vipnagorgialla.otf/VipnagorgiallaBd.otf→/fonts/VipnagorgiallaBd.otf/play.ttf→/fonts/play.ttf2. Updated Asset Paths in Layout
File:
/src/app/layout.tsxUpdated metadata paths:
favicon.svg→/assets/favicon.svgpapers.png→/assets/papers.pngUpdated in:
metadata.iconsmetadata.openGraph.imagesmetadata.twitter.images3. Updated Paper Page Metadata
File:
/src/app/paper/[id]/page.tsxUpdated metadata paths:
favicon.svg→/assets/favicon.svgpapers.png→/assets/papers.pngUpdated in:
generateMetadata.iconsgenerateMetadata.openGraph.imagesgenerateMetadata.twitter.images4. Updated PWA Install Button
File:
/src/components/ui/PWAInstallButton.tsxUpdated image paths:
/papers_logo.png→/assets/papers_logo.png(2 occurrences)5. Fixed Broken Imports
File:
/src/components/Searchbar/pinned-searchbar.tsxRemoved unused imports:
import NavDropdownButton from "../NavDropdownButton"import FloatingControls from "./floating-controls"import { X } from "lucide-react"Code Quality Improvements
Breaking Changes