Repository navigation
Give JEE college pages the MHT-CET layout, with logos and campus photos - #101
Merged
Merged
Conversation
The JEE college page now opens like an MHT-CET college page: campus banner with the crest over it, identity chips, four headline figures, the full cutoff explorer for the latest year, the closing-rank trend, similar colleges and source records. Year pages share the same hero. - CollegeOrUniversity and breadcrumb JSON-LD on college pages, a share image on college and year pages, shorter college titles - Similar colleges within one exam's rank list, from memoised peaks - Round labels list the rounds a source actually published - /jee-main and /jee-advanced redirect to their college lists; JEE segments get their own error and noindexed not-found pages - Sitemap shards and the IIT tile follow the data instead of 2016-2025 - One module for JEE labels; directory rows prefetch on intent - Media scripts take --system jee for a JEE manifest keyed by catalog id
All 131 catalog institutes now have a reviewed logo, and 107 have a campus photo; the other 24 keep the neutral banner. Openly licensed Wikimedia files are credited on the open-source notices page. Coverage, sources and checks are in data/jee/college-media-report.md.
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.
This changes the JEE college page template and titles during the SEO freeze for Google's November core update, as an exception. It changes no exam-countdown page: on a build of this branch merged with
main, all 101 exam-countdown pages match production for status, title, description, canonical, robots, H1 and JSON-LD, and the exam-countdown sitemap is identical. Annotate the deploy in Search Console.JEE college pages now open like MHT-CET college pages: a campus banner with the institute's logo over it, identity chips, four headline figures, the full cutoff explorer for the latest year, the closing-rank trend, similar colleges and source records. Year pages share the same header. All 131 institutes in the JoSAA catalog have a reviewed logo, and 107 have a campus photo.
College pages
CollegeOrUniversityand breadcrumb JSON-LD on college pages, a share image on college and year pages, and shorter college titles ({short name} cutoff: {Exam} closing ranks)./jee-mainand/jee-advancedredirect to their college lists. JEE sections get their own error page and a noindexed not-found page.Logos and campus photos
data/jee/college-media.jsonis the reviewed manifest, keyed by catalog id.public/jee/colleges/<id>/holds 238 WebPs (25.9 MiB): lossless logos up to 512px and quality-80 photos up to 1600px wide.data/jee/college-media-report.mdhas coverage, licences and the full list of institutes without a photo.npm run verify:jee-mediachecks the manifest against the catalog.--system jee.public/ejam/ui.cssis regenerated byprebuildfrom the new components.Testing
tsc --noEmitand ESLint on the changed files pass.npm run verify:jee-mediapasses.npm run buildpasses. A warm build took 31.1 s and generated 1,558 pages, against 29.5 s onmain.e2e/jee-cutoffs.spec.ts: 122 passed and 3 skipped against the production build, before and after mergingmain. Againstnext devonly, the wrong-exam redirect check fails because the dev server sends a relativeLocation.npm run verify:mht-cet-mediafails onmaintoo: the MHT-CET media manifest is missing some colleges the canonical manifest now lists (for example 01347 and 02037). This branch doesn't touch MHT-CET data.