Skip to content

Give JEE college pages the MHT-CET layout, with logos and campus photos - #101

Merged
kewonit merged 4 commits into
mainfrom
jee-college-pages
Nov 24, 2026
Merged

kewonit merged 4 commits into
mainfrom
jee-college-pages

Conversation

@kewonit

@kewonit kewonit commented Nov 24, 2026

Copy link
Copy Markdown
Owner

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

  • CollegeOrUniversity and breadcrumb JSON-LD on college pages, a share image on college and year pages, and shorter college titles ({short name} cutoff: {Exam} closing ranks).
  • Similar colleges come from one exam's rank list.
  • Round labels list the rounds a source actually published, for example IIT Bhilai 2025 shows Rounds 3–6.
  • /jee-main and /jee-advanced redirect to their college lists. JEE sections get their own error page and a noindexed not-found page.
  • Sitemap shards and the IIT tile follow the data instead of a fixed 2016–2025 range.
  • One module holds the JEE labels, and directory rows prefetch on intent.

Logos and campus photos

  • data/jee/college-media.json is 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.
  • Sources are the institute's own site first, then its Wikipedia article, then a Wikimedia Commons search. Commons matches were checked against the file description or category. Event banners, collages, renders of unbuilt campuses and photos of other institutions were rejected.
  • The 24 institutes without a usable photo keep the neutral banner. These include IIT Goa, MANIT Bhopal and the IIIT Vadodara Diu campus, which doesn't borrow the Vadodara photo.
  • Shared files are deliberate: renamed institutes (IICPT→NIFTEM Thanjavur, NIFFT→NIAMT, PEC→PTU), BIT Mesra's off-campus centres and the NIELIT centres.
  • The open-source notices page credits the 75 openly licensed files with author and licence. Fair-use logos carry no credit line.
  • data/jee/college-media-report.md has coverage, licences and the full list of institutes without a photo. npm run verify:jee-media checks the manifest against the catalog.
  • The media scripts take --system jee.

public/ejam/ui.css is regenerated by prebuild from the new components.

Testing

  • tsc --noEmit and ESLint on the changed files pass. npm run verify:jee-media passes.
  • npm run build passes. A warm build took 31.1 s and generated 1,558 pages, against 29.5 s on main.
  • e2e/jee-cutoffs.spec.ts: 122 passed and 3 skipped against the production build, before and after merging main. Against next dev only, the wrong-exam redirect check fails because the dev server sends a relative Location.
  • College headers were checked at 1440×1000 and 390×844 in light and dark themes, with no failed image requests.
  • npm run verify:mht-cet-media fails on main too: 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.

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.
@kewonit
kewonit merged commit 2cb62e3 into main Nov 24, 2026
1 of 2 checks passed
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