Update code service.pug file

This commit is contained in:
2023-07-27 11:26:23 +07:00
parent e133e0146e
commit 26a23792a4
+6 -12
View File
@@ -1,7 +1,5 @@
- var service_img_path = "./assets/images/service/";
- var list_1 = [{url_icon : service_img_path + "icon-1.png", content: "Online order"}, {url_icon : service_img_path + "icon-3.png", content: "Pre-Reservation"}, {url_icon : service_img_path + "icon-3.png", content: "Super chef"}];
- var list_2 = [{url_icon : service_img_path + "icon-2.png", content: "24/7 Service"}, {url_icon : service_img_path + "icon-3.png", content: "Oragonized foodhut place"}, {url_icon : service_img_path + "icon-3.png", content: "Clean Kitchen"}];
- var list_category = [list_1, list_2];
- var list_service_category = [{url_icon : service_img_path + "icon-1.png", content: "Online order"}, {url_icon : service_img_path + "icon-3.png", content: "Pre-Reservation"}, {url_icon : service_img_path + "icon-3.png", content: "Super chef"}, {url_icon : service_img_path + "icon-2.png", content: "24/7 Service"}, {url_icon : service_img_path + "icon-3.png", content: "Oragonized foodhut place"}, {url_icon : service_img_path + "icon-3.png", content: "Clean Kitchen"}];
section.service
.service__container
@@ -43,13 +41,9 @@ section.service
= " service"
p.service__description This is a type of resturent which typically serves food and drink, in addition to light refreshments such as baked goods or snacks. The term comes frome the rench word meaning food
.service__category
each item in list_category
.service__category-list
each val in item
.service__category-item
img.service__icon-category(
src=val.url_icon,
alt="Icon category"
)
p.service__name-category= val.content
.service__category-list
each val in list_service_category
.service__category-item
img.service__icon-category(src=val.url_icon, alt="Icon category")
p.service__name-category= val.content
a.service__btn.btn(href="javascript:void(0)") About us