From 819a85154482732552d8105d054aacafd67212a3 Mon Sep 17 00:00:00 2001 From: Naman Bharsakale Date: Thu, 18 Jun 2026 17:24:37 +0530 Subject: [PATCH] fix: correct invalid viewport initialScale and duplicate subject code - Set initialScale to 1 (was 0, which is invalid and breaks mobile rendering) - Change Entrepreneurship & Startup subject code from "es" to "ent" to resolve URL collision with Environmental Studies (also coded "es") Co-Authored-By: Claude Sonnet 4.6 --- app/components/subjects.tsx | 2 +- app/layout.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/subjects.tsx b/app/components/subjects.tsx index 588c63a..6dce0f2 100644 --- a/app/components/subjects.tsx +++ b/app/components/subjects.tsx @@ -119,7 +119,7 @@ const subjectCodes: Record = { "Information Retrieval": "ir", "Management Information Systems": "mis", "VLSI and Embedded Systems": "vlsi", - "Entrepreneurship & Startup": "es", + "Entrepreneurship & Startup": "ent", "Financial Management": "fm", "Robotic Access Automation": "raa", "Marketing Management": "mm", diff --git a/app/layout.tsx b/app/layout.tsx index 9104a0e..3dd7b58 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -23,7 +23,7 @@ export const metadata: Metadata = { export const viewport: Viewport = { width: "device-width", - initialScale: 0, + initialScale: 1, maximumScale: 5, userScalable: true, };