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:
parent
26fe359303
commit
b8c03acd02
1 changed files with 5 additions and 5 deletions
|
|
@ -61,7 +61,7 @@ const IAP_SCHEDULE = [
|
||||||
{ name: "Vitamin A-2", weeks: 96 },
|
{ name: "Vitamin A-2", weeks: 96 },
|
||||||
{ name: "OPV-5", weeks: 96 },
|
{ name: "OPV-5", weeks: 96 },
|
||||||
{ name: "DPT-Booster-2", weeks: 208 }, // 4 years
|
{ 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 {
|
function calculateDueDate(birthDate: string, weeks: number): string {
|
||||||
|
|
@ -409,10 +409,10 @@ const SUPPLEMENTS = [
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="min-h-screen bg-gradient-to-br from-rose-50 to-amber-50">
|
<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="p-4">
|
||||||
<div className="flex justify-between items-center mb-6">
|
<div className="flex justify-between items-center">
|
||||||
<h1 className="text-2xl font-bold">Medical 💊</h1>
|
<a href="/menu" className="p-2">←</a>
|
||||||
<a href="/" className="text-rose-500">← Home</a>
|
<h1 className="text-xl font-bold">Medical</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex gap-2 mb-6 overflow-x-auto">
|
<div className="flex gap-2 mb-6 overflow-x-auto">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue