Skip to content

Commit

Permalink
text menu
Browse files Browse the repository at this point in the history
  • Loading branch information
boomtnt2843 committed Jul 16, 2023
1 parent 35a2091 commit bdf1151
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/ItemMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class="relative flex-col justify-start items-start flex w-16 h-16"
/>
<div class="flex flex-col pl-4">
<h1 class="text-black text-base font-semibold">{name}</h1>
<h1 class="text-black text-[14px] font-semibold">{name}</h1>
<div class="text-black text-xs font-normal flex">
<Icon icon="fluent:food-carrot-20-filled" />
Expired in {ingredient} days
Expand Down
18 changes: 9 additions & 9 deletions src/routes/menulist/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
<button class="w-[30%] text-end pr-2 rounded-sm bg-drop">Dairy</button>
</div>
<div class="flex flex-col px-4">
<ItemMenu imgID='./image/menu/menu0.png'/>
<ItemMenu imgID='./image/menu/menu1.png'/>
<ItemMenu imgID='./image/menu/menu2.png'/>
<ItemMenu imgID='./image/menu/menu3.png'/>
<ItemMenu imgID='./image/menu/menu4.png'/>
<ItemMenu imgID='./image/menu/menu5.png'/>
<ItemMenu imgID='./image/menu/menu6.png'/>
<ItemMenu imgID='./image/menu/menu7.png'/>
<ItemMenu imgID='./image/menu/menu8.png'/>
<ItemMenu name="Coca-cola Chicken" ingredient=3 timeCook=35 imgID='./image/menu/menu0.png'/>
<ItemMenu name="Chicken Stir fried" ingredient=3 timeCook=35 imgID='./image/menu/menu1.png'/>
<ItemMenu name="Chicken nibbles with red sauce" ingredient=3 timeCook=35 imgID='./image/menu/menu2.png'/>
<ItemMenu name="Papaya salad with raw crab" ingredient=3 timeCook=35 imgID='./image/menu/menu3.png'/>
<ItemMenu name="Shrimp papaya salad" ingredient=3 timeCook=35 imgID='./image/menu/menu4.png'/>
<ItemMenu name="Basil stir fried with pork and tofu" ingredient=3 timeCook=35 imgID='./image/menu/menu5.png'/>
<ItemMenu name="Pork and vegetable soup" ingredient=3 timeCook=35 imgID='./image/menu/menu6.png'/>
<ItemMenu name="Spicy squid" ingredient=3 timeCook=35 imgID='./image/menu/menu7.png'/>
<ItemMenu name="Coca-cola pip pip" ingredient=3 timeCook=35 imgID='./image/menu/menu8.png'/>
</div>
</div>

0 comments on commit bdf1151

Please sign in to comment.