Skip to content

Commit 3e7b1bc

Browse files
committed
fix: final production quality pass
- Hide mobile bottom navigation on desktop/tablet (md:hidden) — it was floating over the footer and page content at >=768px widths even though body padding (pb-16 md:pb-0) already assumed it was mobile-only - Library remedy cards: in Assamese mode the subtitle duplicated the title; now shows the complementary-language name (EN title ↔ AS subtitle and AS title ↔ EN subtitle) - Symptom cards (home + symptoms directory) now use description_assamese in Assamese mode when available (7/105 symptoms have it), matching the fallback pattern already used for group headings Verified live: search, language switching (EN/AS/Dual), bottom nav, All Modules menu, symptom categories + deep links, remedy detail pages, pantry matching, AI assistant entry, disclaimer flow, 404 handling, all 26 page assets, and 124 internal links resolve with zero 404s.
1 parent 772b7fb commit 3e7b1bc

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎app/library/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export default function LibraryPage() {
300300
{rTitle}
301301
</h4>
302302
<div className="text-xs font-semibold text-emerald-800 mt-0.5">
303-
{rem.name_assamese}
303+
{isAs ? extractString(rem.name) : rem.name_assamese}
304304
</div>
305305
<div className="text-[11px] text-stone-500 mt-2 font-medium">
306306
~{rem.prepTimeMinutes} mins • {rem.difficulty || "Easy"}

‎app/page.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,9 @@ export default function HomePage() {
612612
)}
613613

614614
<p className="text-xs text-stone-600 mt-2.5 line-clamp-2 leading-relaxed">
615-
{symptom.description}
615+
{isAs
616+
? symptom.description_assamese || symptom.description
617+
: symptom.description}
616618
</p>
617619

618620
{/* Common Spices Preview */}

‎app/symptoms/page.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,9 @@ export default function SymptomsPage() {
300300
)}
301301

302302
<p className="text-xs text-stone-600 mt-2 line-clamp-2 leading-relaxed">
303-
{symptom.description}
303+
{isAs
304+
? symptom.description_assamese || symptom.description
305+
: symptom.description}
304306
</p>
305307

306308
{/* Common Spices Preview */}

‎components/layout/BottomNavigation.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const BottomNavigation: React.FC = () => {
5959
return (
6060
<nav
6161
aria-label="Bottom Navigation"
62-
className="fixed bottom-0 left-0 right-0 z-50 bg-[#FFFDF9]/95 backdrop-blur-md border-t border-amber-200/80 shadow-[0_-4px_20px_rgba(0,0,0,0.06)] px-2 sm:px-6 py-1.5 transition-all no-print select-none"
62+
className="fixed bottom-0 left-0 right-0 z-50 bg-[#FFFDF9]/95 backdrop-blur-md border-t border-amber-200/80 shadow-[0_-4px_20px_rgba(0,0,0,0.06)] px-2 sm:px-6 py-1.5 transition-all no-print select-none md:hidden"
6363
>
6464
<div className="max-w-md mx-auto flex items-center justify-around">
6565
{tabs.map((tab) => {

0 commit comments

Comments
 (0)