fix: responsive Signaturmeny title + translated menu item descriptions

- Make 'Signaturmeny' h2 responsive (smaller base font + break-words) so it doesn't overflow on mobile.
- Add signatureMenuItems and menuDescriptions to translations (en/sv + fallbacks for hi/ur).
- Update homepage signature cards and full menu page to use translated descriptions (while keeping dish names unchanged as requested).
- Swedish descriptions now active by default.
This commit is contained in:
Zeeshan Khan
2026-06-02 14:15:26 +02:00
parent f70076b482
commit c6a62f40f4
3 changed files with 90 additions and 4 deletions
+86
View File
@@ -39,10 +39,33 @@ export const translations = {
filterRice: 'Rice',
filterGrill: 'Grill',
filterSweet: 'Sweet',
filterMeat: 'Meat',
filterStreet: 'Street',
filterRoll: 'Roll',
addToTable: 'Add to Table',
viewFullMenu: 'VIEW THE COMPLETE MENU — 40+ DISHES',
},
signatureMenuItems: {
"chicken-biryani": "Fragrant aged basmati layered with spiced chicken, saffron & caramelized onions",
"bong-nihari": "Slow-cooked beef shank in rich aromatic gravy with ginger, lemon & fresh naan",
"panipuri": "Crispy hollow puris filled with spiced chickpeas, potatoes & tangy tamarind water",
"lamm-palak": "Tender lamb cooked with fresh spinach in a flavorful mild gravy",
"chicken-karahi": "Wok-tossed chicken in a robust tomato, chili & ginger gravy",
"chicken-haleem": "Slow-cooked shredded chicken with lentils, wheat & aromatic spices",
"tikka-boti-roll": "Juicy chicken tikka wrapped in soft naan with mint chutney & onions",
"jalebi": "Crispy golden saffron spirals soaked in fragrant sugar syrup",
"kulfi": "Traditional frozen milk dessert with cardamom, pistachio & saffron",
},
menuDescriptions: {
"palak-paneer": "Cottage cheese cooked in a creamy spinach gravy with mild spices and aromatic herbs.",
"shahi-paneer": "Soft cottage cheese in a rich, creamy cashew and tomato gravy with Indian spices.",
"malai-kofta": "Soft vegetable koftas simmered in a rich and creamy onion-tomato gravy with mild spices.",
"daal-makhani": "Slow-cooked black lentils in a buttery, creamy tomato gravy with aromatic spices.",
"lahore-chana": "Spiced chickpeas cooked in a tangy onion-tomato gravy with traditional Punjabi spices.",
},
// Experience
experience: {
badge: 'THE SHAHI WAY',
@@ -120,10 +143,33 @@ export const translations = {
filterRice: 'Ris',
filterGrill: 'Grill',
filterSweet: 'Sött',
filterMeat: 'Kött',
filterStreet: 'Gata',
filterRoll: 'Rulle',
addToTable: 'Lägg till',
viewFullMenu: 'SE HELA MENYN — 40+ RÄTTER',
},
signatureMenuItems: {
"chicken-biryani": "Doftande åldrad basmatiris med lager av kryddad kyckling, saffran och karamelliserade lökar",
"bong-nihari": "Långsamt kokt nötköttsskaft i rik aromatisk sås med ingefära, citron och färsk naan",
"panipuri": "Knapriga ihåliga puris fyllda med kryddade kikärtor, potatis och syrlig tamarindvatten",
"lamm-palak": "Mört lamm tillagat med färsk spenat i en smakrik mild sås",
"chicken-karahi": "Wokad kyckling i en robust tomat-, chili- och ingefärssås",
"chicken-haleem": "Långsamt kokt strimlad kyckling med linser, vete och aromatiska kryddor",
"tikka-boti-roll": "Saftig kyckling tikka insvept i mjuk naan med myntachutney och lök",
"jalebi": "Knapriga gyllene saffranspiraler indränkta i doftande sockersirap",
"kulfi": "Traditionell fryst mjölkdessert med kardemumma, pistasch och saffran",
},
menuDescriptions: {
"palak-paneer": "Kesoost tillagad i en krämig spenatsås med milda kryddor och aromatiska örter.",
"shahi-paneer": "Mjuk kesoost i en rik, krämig cashew- och tomatsås med indiska kryddor.",
"malai-kofta": "Mjuka grönsakskoftor sjudna i en rik och krämig lök-tomat sås med milda kryddor.",
"daal-makhani": "Långsamt kokta svarta linser i en smörig, krämig tomatsås med aromatiska kryddor.",
"lahore-chana": "Kryddade kikärtor tillagade i en syrlig lök-tomat sås med traditionella punjabiska kryddor.",
},
experience: {
badge: 'SHAHI-SÄTTET',
title: 'Värme som en fest.\nLugn som ett palats.',
@@ -201,6 +247,26 @@ export const translations = {
viewFullMenu: 'पूरी मेन्यू देखें — 40+ व्यंजन',
},
signatureMenuItems: {
"chicken-biryani": "Fragrant aged basmati layered with spiced chicken, saffron & caramelized onions",
"bong-nihari": "Slow-cooked beef shank in rich aromatic gravy with ginger, lemon & fresh naan",
"panipuri": "Crispy hollow puris filled with spiced chickpeas, potatoes & tangy tamarind water",
"lamm-palak": "Tender lamb cooked with fresh spinach in a flavorful mild gravy",
"chicken-karahi": "Wok-tossed chicken in a robust tomato, chili & ginger gravy",
"chicken-haleem": "Slow-cooked shredded chicken with lentils, wheat & aromatic spices",
"tikka-boti-roll": "Juicy chicken tikka wrapped in soft naan with mint chutney & onions",
"jalebi": "Crispy golden saffron spirals soaked in fragrant sugar syrup",
"kulfi": "Traditional frozen milk dessert with cardamom, pistachio & saffron",
},
menuDescriptions: {
"palak-paneer": "Cottage cheese cooked in a creamy spinach gravy with mild spices and aromatic herbs.",
"shahi-paneer": "Soft cottage cheese in a rich, creamy cashew and tomato gravy with Indian spices.",
"malai-kofta": "Soft vegetable koftas simmered in a rich and creamy onion-tomato gravy with mild spices.",
"daal-makhani": "Slow-cooked black lentils in a buttery, creamy tomato gravy with aromatic spices.",
"lahore-chana": "Spiced chickpeas cooked in a tangy onion-tomato gravy with traditional Punjabi spices.",
},
// Full Menu Page (fallback to English for now)
menu: {
title: 'Our Menu',
@@ -278,6 +344,26 @@ export const translations = {
viewFullMenu: 'مکمل مینو دیکھیں — 40+ پکوان',
},
signatureMenuItems: {
"chicken-biryani": "Fragrant aged basmati layered with spiced chicken, saffron & caramelized onions",
"bong-nihari": "Slow-cooked beef shank in rich aromatic gravy with ginger, lemon & fresh naan",
"panipuri": "Crispy hollow puris filled with spiced chickpeas, potatoes & tangy tamarind water",
"lamm-palak": "Tender lamb cooked with fresh spinach in a flavorful mild gravy",
"chicken-karahi": "Wok-tossed chicken in a robust tomato, chili & ginger gravy",
"chicken-haleem": "Slow-cooked shredded chicken with lentils, wheat & aromatic spices",
"tikka-boti-roll": "Juicy chicken tikka wrapped in soft naan with mint chutney & onions",
"jalebi": "Crispy golden saffron spirals soaked in fragrant sugar syrup",
"kulfi": "Traditional frozen milk dessert with cardamom, pistachio & saffron",
},
menuDescriptions: {
"palak-paneer": "Cottage cheese cooked in a creamy spinach gravy with mild spices and aromatic herbs.",
"shahi-paneer": "Soft cottage cheese in a rich, creamy cashew and tomato gravy with Indian spices.",
"malai-kofta": "Soft vegetable koftas simmered in a rich and creamy onion-tomato gravy with mild spices.",
"daal-makhani": "Slow-cooked black lentils in a buttery, creamy tomato gravy with aromatic spices.",
"lahore-chana": "Spiced chickpeas cooked in a tangy onion-tomato gravy with traditional Punjabi spices.",
},
// Full Menu Page (fallback to English for now)
menu: {
title: 'Our Menu',