Fix Medical page header to match other pages, avoid Turbopack bug

- Header: align with Growth page pattern (p-4, back button left)
- Link: / → /menu
- Rename: Medical 💊 → Medical
- Fix: TT/Td → Tetanus and adult diphtheria (Td) to avoid Turbopack SWC parser error

Note: Apply fixes one change at a time between builds to avoid Turbopack caching issues.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Manohar Gupta 2026-05-11 01:29:35 +05:30
parent 26fe359303
commit b8c03acd02

View file

@ -61,7 +61,7 @@ const IAP_SCHEDULE = [
{ name: "Vitamin A-2", weeks: 96 },
{ name: "OPV-5", weeks: 96 },
{ name: "DPT-Booster-2", weeks: 208 }, // 4 years
{ name: "TT/Td", weeks: 208 },
{ name: "Tetanus and adult diphtheria (Td)", weeks: 208 },
];
function calculateDueDate(birthDate: string, weeks: number): string {
@ -409,10 +409,10 @@ const SUPPLEMENTS = [
return (
<div className="min-h-screen bg-gradient-to-br from-rose-50 to-amber-50">
<div className="container mx-auto px-4 py-8">
<div className="flex justify-between items-center mb-6">
<h1 className="text-2xl font-bold">Medical 💊</h1>
<a href="/" className="text-rose-500"> Home</a>
<div className="p-4">
<div className="flex justify-between items-center">
<a href="/menu" className="p-2"></a>
<h1 className="text-xl font-bold">Medical</h1>
</div>
<div className="flex gap-2 mb-6 overflow-x-auto">