En Gtd creemos que la tecnología debe estar disponible para todos
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> cur_imageLogo.imageLogoMobile [in template "7176751#7176791#5255384" at line 70, column 69] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${cur_imageLogo.imageLogoMobile.getDa... [in template "7176751#7176791#5255384" at line 70, column 67] ----
1<#assign
2 counter = 0
3 loading = ""
4>
5
6<#if imageLogo.getSiblings()?has_content>
7 <#list imageLogo.getSiblings() as cur_imageLogo>
8 <#assign counter++>
9 </#list>
10</#if>
11
12
13<style>
14 .media-two .slider-track{
15 animation: scroll 40s linear infinite;
16 width: calc(90px * ${counter} * 2);
17 }
18
19 @keyframes scroll{
20 0%{
21 transform: translateX(0);
22 }100%{
23 transform: translateX(calc(-90px * ${counter}));
24 }
25 }
26
27 @media (min-width: 768px){
28 .media-two .slider-track{
29 animation: scroll 40s linear infinite;
30 width: calc(170px * ${counter} * 2);
31 }
32
33 @keyframes scroll{
34 0%{
35 transform: translateX(0);
36 }100%{
37 transform: translateX(calc(-170px * ${counter}));
38 }
39 }
40 }
41
42 @media (min-width: 1200px){
43 .media-two .slider-track{
44 animation: scroll 60s linear infinite;
45 width: calc(220px * ${counter} * 2);
46 }
47 @keyframes scroll{
48 0%{
49 transform: translateX(0);
50 }100%{
51 transform: translateX(calc(-220px * ${counter}));
52 }
53 }
54 }
55</style>
56
57<section class="media-two" ${tagAttributes.getData()}>
58 <div class="media-two-slider">
59 <div class="slider-track">
60 <#if imageLogo.getSiblings()?has_content>
61 <#list imageLogo.getSiblings() as cur_imageLogo>
62 <#if getterUtil.getBoolean(imageLogo.attributeLoading.getData())>
63 <#assign loading = 'loading="lazy"'>
64 <#else>
65 <#assign loading = ''>
66 </#if>
67 <div class="track-slide">
68 <picture class="slide-picture">
69 <source class="slide-picture-source" srcset="${cur_imageLogo.getData()}" media="(min-width: 1200px)">
70 <img class="slide-picture-image" src="${cur_imageLogo.imageLogoMobile.getData()}" srcset="${cur_imageLogo.imageLogoMobile.getData()} 2x, ${cur_imageLogo.getData()} 768w" type="image/png" alt="${cur_imageLogo.getAttribute("alt")}" width="170" height="60" ${loading}>
71 </picture>
72 </div>
73 </#list>
74 </#if>
75 <#if imageLogo.getSiblings()?has_content>
76 <#list imageLogo.getSiblings() as cur_imageLogo>
77 <#if getterUtil.getBoolean(imageLogo.attributeLoading.getData())>
78 <#assign loading = 'loading="lazy"'>
79 <#else>
80 <#assign loading = ''>
81 </#if>
82 <div class="track-slide">
83 <picture class="slide-picture">
84 <source class="slide-picture-source" srcset="${cur_imageLogo.getData()}" media="(min-width: 1200px)">
85 <img class="slide-picture-image" src="${cur_imageLogo.imageLogoMobile.getData()}" srcset="${cur_imageLogo.imageLogoMobile.getData()} 2x, ${cur_imageLogo.getData()} 768w" type="image/png" alt="${cur_imageLogo.getAttribute("alt")}" width="170" height="60" ${loading}>
86 </picture>
87 </div>
88 </#list>
89 </#if>
90 </div>
91 </div>
92</section>