From 16ec1a0cd5a4a4ac13295b9f01a85bc59babcbfc Mon Sep 17 00:00:00 2001 From: nathakit sae-tan Date: Tue, 30 May 2017 01:04:59 +0700 Subject: [PATCH] update lazyload images --- templates/vr-ar.jade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/vr-ar.jade b/templates/vr-ar.jade index 56a46e26..5a055c18 100644 --- a/templates/vr-ar.jade +++ b/templates/vr-ar.jade @@ -52,7 +52,7 @@ block main div.Grid-cell div.Feature figure.Feature-figure - picture(class="ratio-box lazy-img style="padding-bottom:55%;"") + picture(class="ratio-box lazy-img") source(srcset="../media/images/store_vr_ar/htcviveb.webp" type="image/webp") source(srcset="../media/images/store_vr_ar/htcviveb.png" type="image/png") img(class="img-small" src="../media/images/store_vr_ar/htcviveb.webp") @@ -61,7 +61,7 @@ block main div.Grid-cell div.Feature figure.Feature-figure - picture(class="ratio-box lazy-img" style="padding-bottom:55%;") + picture(class="ratio-box lazy-img") source(srcset="../media/images/store_vr_ar/addon_hololens.webp" type="image/webp") source(srcset="../media/images/store_vr_ar/addon_hololens.jpg" type="image/jpeg") img(class="img-small" src="../media/images/store_vr_ar/addon_hololens.webp") @@ -72,7 +72,7 @@ block main div.Grid-cell div.Feature figure.Feature-figure - picture(class="ratio-box lazy-img" style="padding-bottom:55%;") + picture(class="ratio-box lazy-img") source(srcset="../media/images/store_vr_ar/addon_epson_bt300b.webp" type="image/webp") source(srcset="../media/images/store_vr_ar/addon_epson_bt300b.jpg" type="image/jpeg") img(class="Feature-image img-small" src="../media/images/store_vr_ar/addon_epson_bt300b.jpg") @@ -81,7 +81,7 @@ block main div.Grid-cell div.Feature figure.Feature-figure - picture(class="ratio-box lazy-img" style="padding-bottom:55%;") + picture(class="ratio-box lazy-img") source(srcset="../media/images/store_vr_ar/oculusdk2m.webp" type="image/webp") source(srcset="../media/images/store_vr_ar/oculusdk2m.png" type="image/png") img(class="img-small" src="../media/images/store_vr_ar/oculusdk2m.png")