Skip to content

Commit

Permalink
Merge pull request #4 from MBM1607/urdu-numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperKXT authored Sep 1, 2024
2 parents 3983564 + 27fe60e commit 3ef5aaa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/menu.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const menuList = [
[titleMap.chicken], // Sat
[titleMap.dal], // Sun
];
const dayNumbers = ['۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱۴'];
const dayNames = ['سوموار', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ', 'اتوار'];
const veggies = ['مٹر والے چاول', 'پالک', 'مکس سبزی', 'کریلے', 'پھول گوبھی', 'بھنڈی', 'شلجم', 'کدو'];
const dals = ['دال چنا', 'سفید لوبیا', 'دال ماش', 'حلیم', 'دال چنا چاول'];
Expand All @@ -38,7 +39,7 @@ const details: { name: keyof typeof titleMap; items: string[] }[] = [
<div class="day-grid">
{menuList.map((r, idx) => (
<div id={`day-${idx}`} class="day-item">
<div class="day-no">{idx + 1}</div>
<div class="day-no">{dayNumbers[idx]}</div>
<div class="day-name">{dayNames[idx % 7]}</div>
<div class="day-menu">
{r.map((item) => <div class={classMap[item]}>{item}</div>)}
Expand Down

0 comments on commit 3ef5aaa

Please sign in to comment.