-
Notifications
You must be signed in to change notification settings - Fork 27
/
html-templates.json
78 lines (78 loc) · 15.4 KB
/
html-templates.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"layouts": {
"rating": "<div class=\"form-check mb-2\"><input class=\"form-check-input\" type=\"checkbox\" id=\"ratingThree\"><label class=\"form-check-label\" for=\"ratingThree\"><i class=\"bi bi-star-fill text-warning\"></i><i class=\"bi bi-star-fill text-warning \"></i><i class=\"bi bi-star-fill text-warning \"></i><i class=\"bi bi-star text-warning\"></i><i class=\"bi bi-star text-warning\"></i></label></div>",
"container-section": "<section class=\"my-lg-14 my-8\"> <div class=\"container\"> <div class=\"row\"></div></div></section>",
"large-header-row": "<div class=\"col-12 mb-6\"> <h3 class=\"mb-1\">Large Header</h3> </div>",
"small-header-row": "<div class=\"col-12\"> <div class=\"mb-4\"> <h6>Large header <span class=\"text-primary\">helping text</span> vendors now</h6> </div> </div>",
"small-large-columns": "<div class=\"col-12 col-lg-3 col-md-4 mb-4 mb-md-0\"></div><div class=\"col-12 col-lg-9 col-md-8\"></div>",
"simple-product-card": "<div class=\"card card-product\"> <div class=\"card-body\"> <div class=\"text-center position-relative\"> <!-- img --> <a><img src=\"/assets/images/products/product-img-18.jpg\" alt=\"Grocery Ecommerce Template\" class=\"mb-3 img-fluid\"></a> </div> <!-- title --> <h2 class=\"fs-6\">Fresh Banana</h2> <!-- price --> <div class=\"d-flex justify-content-between align-items-center mt-3\"> <div> <span class=\"text-dark\">$3</span> </div> </div> </div> </div>",
"rounded-simple-product": "<div class=\"text-center mb-10\"> <!-- img --> <img src=\"/assets/images/products/product-img-18.jpg\" alt=\"\" class=\"card-image rounded-circle\"> <!-- text --> <div class=\"mt-4\"> <h5 class=\"fs-6 mb-0\"> <a class=\"text-inherit\">Fresh Bananas</a></h5> </div> </div>",
"star-row": "<small class=\"text-warning\"> <i *ngFor=\"let val of ratingOptions\" class=\"bi\" [ngClass]=\"{'bi-star-fill': val === 1, 'bi-star': val === 0, 'bi-star-half': val === 0.5}\"></i> </small>",
"header": "<header> <div class=\"bg-light py-1\"> <div class=\"container\"> <div class=\"row\"> <div class=\"col-md-6 col-12 text-center text-md-start\"><span> Super Value Deals - Save more with coupons</span> </div> </div> </div> </div> <div class=\"navbar navbar-light py-lg-4 pt-3 px-0 pb-0\"> <div class=\"container\"> <div class=\"row w-100 align-items-center g-lg-2 g-0\"> <div class=\"col-xxl-2 col-lg-3\"> <a class=\"navbar-brand d-none d-lg-block\"routerLink=\"/\"> <img src=\"/assets/images/logo/freshcart-logo.svg\"alt=\"eCommerce HTML Template\"> </a> <div class=\"d-flex justify-content-between w-100 d-lg-none\"> <a class=\"navbar-brand\"routerLink=\"/\"> <img src=\"/assets/images/logo/freshcart-logo.svg\"alt=\"eCommerce HTML Template\"> </a> <div class=\"d-flex align-items-center lh-1\"> <!-- Button --> <button class=\"navbar-toggler collapsed\"type=\"button\" aria-controls=\"navbar-default\"aria-label=\"Toggle navigation\"> <span class=\"icon-bar top-bar mt-0\"></span> <span class=\"icon-bar middle-bar\"></span> <span class=\"icon-bar bottom-bar\"></span> </button> </div> </div> </div> </div> </div> </div> </header> <div class=\"border-bottom pb-lg-4 pb-3\"> <nav class=\"navbar navbar-expand-lg navbar-light navbar-default pt-0 pb-0\"> <div class=\"container px-0 px-md-3\"> <div class=\"offcanvas offcanvas-start p-4 p-lg-0\"> <div class=\"d-flex justify-content-between align-items-center mb-2 d-block d-lg-none\"> <a routerLink=\"/\"><img src=\"/assets/images/logo/freshcart-logo.svg\" alt=\"eCommerce HTML Template\"></a> <button type=\"button\" class=\"btn-close\" aria-label=\"Close\"></button> </div> <div class=\"d-block\"> </div> </div> </div> </nav> </div>",
"footer": "<footer class=\"footer\"> <div class=\"container\"> <div class=\"row g-4\"> <div class=\"col-12 col-md-12 col-lg-4\"> <div class=\"row g-4\"> <div class=\"col-12\"> <h6 class=\"mb-4\"></h6> </div> </div> </div> <div class=\"col-12 col-md-12 col-lg-4\"> <div class=\"row g-4 pb-4\"> <div class=\"col-12\"> <h6 class=\"mb-4\"></h6> </div> </div> </div> <div class=\"col-12 col-md-12 col-lg-4\"> <div class=\"row g-4\"> <div class=\"col-12\"> <h6 class=\"mb-4\"></h6> </div> </div> </div> </div> <div class=\"border-top py-4\"> <div class=\"row align-items-center\"> <div class=\"col-lg-5 text-lg-start text-center mb-2 mb-lg-0\"> <ul class=\"list-inline mb-0\"> <li class=\"list-inline-item text-dark\">Payment Partners</li> <li class=\"list-inline-item\"> <a href=\"#!\"><img src=\"../assets/images/payment/amazonpay.svg\" alt=\"\"></a> </li> <li class=\"list-inline-item\"> <a href=\"#!\"><img src=\"../assets/images/payment/american-express.svg\" alt=\"\"></a> </li> <li class=\"list-inline-item\"> <a href=\"#!\"><img src=\"../assets/images/payment/mastercard.svg\" alt=\"\"></a> </li> <li class=\"list-inline-item\"> <a href=\"#!\"><img src=\"../assets/images/payment/paypal.svg\" alt=\"\"></a> </li> <li class=\"list-inline-item\"> <a href=\"#!\"><img src=\"../assets/images/payment/visa.svg\" alt=\"\"></a> </li> </ul> </div> <div class=\"col-lg-7 mt-4 mt-md-0\"> <ul class=\"list-inline mb-0 text-lg-end text-center\"> <li class=\"list-inline-item mb-2 mb-md-0 text-dark\">Get deliveries with FreshCart</li> <li class=\"list-inline-item ms-4\"> <a href=\"#!\"> <img src=\"../assets/images/appbutton/appstore-btn.svg\" alt=\"\" style=\"width: 140px;\"></a> </li> <li class=\"list-inline-item\"> <a href=\"#!\"> <img src=\"../assets/images/appbutton/googleplay-btn.svg\" alt=\"\" style=\"width: 140px;\"></a> </li> </ul> </div> </div> </div> <div class=\"border-top py-4\"> <div class=\"row align-items-center\"> <div class=\"col-md-6\"> <ul class=\"list-inline text-md-end mb-0 small mt-3 mt-md-0\"> <li class=\"list-inline-item text-muted\">Follow us on</li> <li class=\"list-inline-item me-1\"> <a href=\"#!\" class=\"icon-shape icon-sm social-links\"> <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-facebook\" viewBox=\"0 0 16 16\"> <path d=\"M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z\" /> </svg></a> </li> <li class=\"list-inline-item me-1\"> <a href=\"#!\" class=\"icon-shape icon-sm social-links\"> <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-twitter\" viewBox=\"0 0 16 16\"> <path d=\"M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z\" /> </svg></a> </li> <li class=\"list-inline-item\"> <a href=\"#!\" class=\"icon-shape icon-sm social-links\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-instagram\" viewBox=\"0 0 16 16\"> <path d=\"M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z\" /> </svg></a> </li> </ul> </div> </div> </div> </div> </footer>"
},
"details": {
"content": {
"container": "",
"content": ""
},
"text-with-image": {
"container": "<ng-container *ngIf=\"$detailVariable$ | async as $itemVariable$\">$content$</ng-container>",
"content": "<div class=\"d-flex flex-column\"> <div> <!-- img --> <!-- img --> <img [src]=\"$itemVariable$\" [alt]=\"$itemVariable$\" class=\"rounded-circle icon-shape icon-xxl\"> </div> <!-- heading --> <div class=\"mt-4\"> <h1 class=\"mb-1 h4\">{{$itemVariable$}}</h1> <div class=\"small text-muted\"> <span>{{$itemVariable$}} </span> </div> </div> </div>"
},
"simple-card-grey": {
"container": "<ng-container *ngIf=\"$detailVariable$ | async as $itemVariable$\">$content$</ng-container>",
"content": "<!-- card --> <div class=\"card mb-4 bg-light border-0\"> <!-- card body --> <div class=\"card-body p-9\"> <h2 class=\"mb-0 fs-1\">{{$itemVariable$}}</h2> </div> </div>"
},
"medium-header": {
"container": "<ng-container *ngIf=\"$detailVariable$ | async as $itemVariable$\">$content$</ng-container>",
"content": "<div class=\"row\"> <div class=\"col-12 mb-6\"> <h3 class=\"mb-1\">{{$itemVariable$}}</h3> </div></div>"
}
},
"lists": {
"columns": {
"list": "$content$",
"item": "<div *ngFor=\"let $itemVariable$ of $listVariable$\" class=\"col\"></div>"
},
"select": {
"list": "<select class=\"form-select\">$content$</select>",
"item": "<option *ngFor=\"let $itemVariable$ of $listVariable$\" [value]=\"$itemVariable$\">{{$itemVariable$}}</option>"
},
"navigation-vertical": {
"list": "<ul class=\"nav\">$content$</ul>",
"item": "<li *ngFor=\"let $itemVariable$ of $listVariable$\" class=\"nav-item\"><a [routerLink]=\"''\" class=\"nav-link\">{{$itemVariable$}}</a></li>"
},
"navigation-horizontal": {
"list": "<ul class=\"navbar-nav \">$content$</ul>",
"item": "<li *ngFor=\"let $itemVariable$ of $listVariable$\" class=\"nav-item\"><a class=\"nav-link\" [routerLink]=\"$itemVariable$\" role=\"button\">{{$itemVariable$}}</a></li>"
},
"checkbox-list": {
"list": "$content$",
"item": "<div *ngFor=\"let $itemVariable$ of $listVariable$\" class=\"form-check mb-2\"><input [id]=\"$itemVariable$\" class=\"form-check-input\" type=\"checkbox\"><label [for]=\"$itemVariable$\" class=\"form-check-label\">{{$itemVariable$}}</label></div>"
},
"radio-list": {
"list": "$content$",
"item": "<div *ngFor=\"let $itemVariable$ of $listVariable$\" class=\"form-check mb-2\"><input [id]=\"$itemVariable$\" class=\"form-check-input\" type=\"radio\" name=\"$itemVariable$\"><label [for]=\"$itemVariable$\" class=\"form-check-label\">{{$itemVariable$}}</label></div>"
},
"button-group-outline": {
"list": "<div class=\"btn-group\" role=\"group\">$content$</div>",
"item": "<button *ngFor=\"let $itemVariable$ of $listVariable$\" type=\"button\" class=\"btn btn btn-outline-primary\">{{$itemVariable$}}</button>"
},
"grid-card-with-image": {
"list": "$content$",
"item": "<div *ngFor=\"let $itemVariable$ of $listVariable$\" class=\"col\"><a [routerLink]=\"$itemVariable$\" class=\"text-decoration-none text-inherit\"><!-- card --><div class=\"card card-product\"><div class=\"card-body text-center py-8\"><!-- img --><img [src]=\"\" [alt]=\"\" class=\"mb-3\"><!-- text --><div class=\"text-truncate\">{{$itemVariable$}}</div></div></div></a></div>"
},
"card-with-image-and-subitems-list": {
"list": "$content$",
"item": "<div *ngFor=\"let $itemVariable$ of $listVariable$\" class=\"col\"><div class=\"card flex-row p-8 card-product \"><div><img [src]=\"$itemVariable$\" [alt]=\"$itemVariable$\" class=\"rounded-circle icon-shape icon-xl\"></div><div class=\"ms-6\"><h5 class=\"mb-1\"><a [routerLink]=\"$itemVariable$\" class=\"text-inherit\">{{$itemVariable$}}</a></h5><div class=\"small text-muted\"><ng-container *ngFor=\"let subitem of $itemVariable$; last as last\"><span>{{subitem}}</span><span *ngIf=\"!last\" class=\"mx-1\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"4\" height=\"4\" fill=\"#C1C7C6\" class=\"bi bi-circle-fill align-middle \" viewBox=\"0 0 16 16\"> <circle cx=\"8\" cy=\"8\" r=\"8\" /> </svg></span> </ng-container> </div> <div> <!-- badge --> <div class=\"badge text-bg-light border\">{{$itemVariable$}} km</div> </div> </div> </div> </div>"
},
"infinite-multi-carousel": {
"list": "<carousel [itemsPerSlide]=\"4\" [singleSlideOffset]=\"true\" [noWrap]=\"true\" [interval]=\"0\">$content$</carousel>",
"item": "<slide *ngFor=\"let $itemVariable$ of $listVariable$\">$itemVariable$</slide>"
},
"pagination": {
"list": "<nav> <ul class=\"pagination\">$content$</ul> </nav>",
"item": "<li class=\"page-item\" *ngFor=\"let $itemVariable$ of $listVariable$\"><a class=\"page-link\">{{$itemVariable$}}</a></li>"
}
}
}