mirror of
https://github.com/Nezumi-2711/loi-phan-internship.git
synced 2026-09-22 13:38:31 +00:00
Update code service.pug file
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
- var service_img_path = "./assets/images/service/";
|
- 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_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"}];
|
||||||
- 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];
|
|
||||||
|
|
||||||
section.service
|
section.service
|
||||||
.service__container
|
.service__container
|
||||||
@@ -43,13 +41,9 @@ section.service
|
|||||||
= " 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
|
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
|
.service__category
|
||||||
each item in list_category
|
.service__category-list
|
||||||
.service__category-list
|
each val in list_service_category
|
||||||
each val in item
|
.service__category-item
|
||||||
.service__category-item
|
img.service__icon-category(src=val.url_icon, alt="Icon category")
|
||||||
img.service__icon-category(
|
p.service__name-category= val.content
|
||||||
src=val.url_icon,
|
|
||||||
alt="Icon category"
|
|
||||||
)
|
|
||||||
p.service__name-category= val.content
|
|
||||||
a.service__btn.btn(href="javascript:void(0)") About us
|
a.service__btn.btn(href="javascript:void(0)") About us
|
||||||
|
|||||||
Reference in New Issue
Block a user