Error compiling template "Designs/Mobler/_parsed/FAQ-questions.parsed.cshtml"
Line 1051: 'Services' is obsolete: 'Use Dynamicweb.Content.Services instead.'
Line 1051: 'Services.Pages' is obsolete: 'Use Dynamicweb.Content.Services.Pages instead.'
Line 1052: The name 'MoblerHelpers' does not exist in the current context
Line 1121: 'Services' is obsolete: 'Use Dynamicweb.Content.Services instead.'
Line 1121: 'Services.Pages' is obsolete: 'Use Dynamicweb.Content.Services.Pages instead.'
Line 156: The variable 'FirstShopWithSameName' is assigned but its value is never used
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.42000
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 namespace CompiledRazorTemplates.Dynamic {
12 using System;
13 using System.Collections.Generic;
14 using System.Linq;
15
16 #line 1 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
17 using System.Web;
18
19 #line default
20 #line hidden
21
22 #line 2 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
23 using System.Text.RegularExpressions;
24
25 #line default
26 #line hidden
27
28 #line 3 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
29 using Dynamicweb.Core.Helpers;
30
31 #line default
32 #line hidden
33
34 #line 4 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
35 using Dynamicweb.Frontend.Navigation;
36
37 #line default
38 #line hidden
39
40 #line 5 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
41 using Dynamicweb.Rendering.Translation;
42
43 #line default
44 #line hidden
45
46 #line 6 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
47 using Newtonsoft.Json;
48
49 #line default
50 #line hidden
51
52 #line 7 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
53 using NuGet;
54
55 #line default
56 #line hidden
57
58 #line 8 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
59 using Mobler.Website.CustomCode.Models;
60
61 #line default
62 #line hidden
63
64 #line 9 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
65 using Vite.Dw.Extensions;
66
67 #line default
68 #line hidden
69
70 #line 10 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
71 using HttpUtility = System.Web.HttpUtility;
72
73 #line default
74 #line hidden
75
76 #line 11 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
77 using Mobler.Website.CustomCode.Frontend.V2.Helpers;
78
79 #line default
80 #line hidden
81
82 #line 304 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
83 using Mobler.Website.CustomModules.MoblerHelpers;
84
85 #line default
86 #line hidden
87
88 #line 305 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
89 using Dynamicweb.Content.Items;
90
91 #line default
92 #line hidden
93
94
95 public class RazorEngine_2486b374d6c54e5d893a8c66b3052a63 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> {
96
97 #line hidden
98
99 public RazorEngine_2486b374d6c54e5d893a8c66b3052a63() {
100 }
101
102 public override void Execute() {
103 WriteLiteral("\r\n");
104
105
106 #line 15 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
107
108 string CurrentEcomShopId = Dynamicweb.Frontend.PageView.Current().Area.EcomShopId;
109 string CurrentEcomLanguageId = Dynamicweb.Ecommerce.Common.Context.LanguageID;
110 string MainShopLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("MainShopLink");
111 string shopname = Website.GetShopName();
112 string shopnameEncoded = HttpUtility.UrlEncode(shopname);
113 var shopInfo = Website.ShopInfo();
114 string globalAreaName = GetGlobalValue("Global:Area.Name");
115
116 string culture = Dynamicweb.Frontend.PageView.Current().Area.Culture;
117 string designFolder = Dynamicweb.Frontend.PageView.Current().Area.Layout.Design.Name;
118
119 string logoSrc = "";
120 string logoSrcMobile = "";
121
122 if (shopname.ToLower() != "møblér" && shopname.ToLower() != "mobler" && shopname.ToLower() != "m%c3%b8bl%c3%a9r" && !string.IsNullOrEmpty(shopname))
123 {
124 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + ".svg";
125 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + "-mobile.svg";
126 } else {
127 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg";
128 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg";
129 }
130
131 //this defines a shoppage
132 if (GetString("Item.SystemName") == "TextPage")
133 {
134 shopname = GetString("DwPageName_2");
135 }
136
137 string imageName = shopname.Replace(" ", string.Empty) + "-owner.png";
138 string localShopPage = Website.localshopPage();
139 string FindDealerPage = GetString("Item.Area.FindDealerPage");
140 string CartPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CartPage");
141
142 string SearchNoResults = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("NoResults");
143 string SearchPagePageSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") : "20";
144 string InstantSearchSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") : "10";
145
146 string SearchResultPageId = "";
147 if (Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=').Length > 1)
148 {
149 SearchResultPageId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=')[1];
150 }
151 string FooterLinkDestination = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Link");
152 int ShopPageId = GetInteger("Item.Area.ShopPageId");
153 string SearchBarPlaceholder = Translate("SearchbarPlaceholderText", "Søg..");
154 int GlobalNewsletterParagraphId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("GlobalNewsletterParagraphId");
155 int CartCount = GetLoop("OrderLines").Count;
156 bool FirstShopWithSameName = true;
157 string SelectPlaceholder = Translate("ShopSelectPlaceholder", "Indtast by, postnummer eller adresse");
158 string SelectNoResult = Translate("ShopSelectNoResult", "No such shop found");
159 int ProductPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("PrimaryProductPage");
160
161 DateTime today = DateTime.Today;
162 string currentYear = today.ToString("yyyy");
163
164 string BannerBackgroundColor = GetString("Item.Area.BannerBackgroundColor");
165 string BannerTextColor = GetString("Item.Area.BannerTextColor");
166 var TopBarNav = GetLoop("Item.Area.TopBarNavigation");
167 var TopbarHeaderContent = GetLoop("Item.Area.TopbarHeaderContent");
168 string TilbudBgColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudBackgroundColor.Value")) ? GetString("Item.Area.TilbudBackgroundColor.Value") : "#00AB5D";
169 string TilbudTextColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudTextColor.Value")) ? GetString("Item.Area.TilbudTextColor.Value") : "#FFFFFF";
170 string StrongPriceBgColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisBackgroundColor.Value")) ? GetString("Item.Area.St_rkPrisBackgroundColor.Value") : "#9d4778";
171 string StrongPriceTextColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisTextColor.Value")) ? GetString("Item.Area.St_rkPrisTextColor.Value") : "#FFFFFF";
172 var uniqueSellingPoints = GetLoop("Item.Area.UniqueSellingPoints");
173 string CookieText = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieText");
174 string CookieReadMore = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieReadMoreText");
175 var TopLevelGroups = Dynamicweb.Ecommerce.Services.ProductGroups.GetToplevelGroups().Where(g => g.ShopId == CurrentEcomShopId && g.LanguageId == CurrentEcomLanguageId && g.NavigationShowInMenu).ToList();
176 string CurrentUri = HttpContext.Current.Request.Url.PathAndQuery.ToString().Replace("/Default.aspx", "Default.aspx");
177 string convertedUri = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(CurrentUri);
178 string CanonicalUri = Website.createCanonical();
179 string CanonicalDomain = "mobler.dk";
180 if (Website.IsLocalWebshop())
181 {
182 CanonicalDomain = System.Web.HttpContext.Current.Request.Url.Host;
183 }
184 string CanonicalURL = "https://" + CanonicalDomain + CanonicalUri;
185 string AvisLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Avis");
186 string FindShopSearchPlaceholder = Translate("HeaderNav.FindShopPlaceholder", "Indtast postnr., by eller adresse");
187 string SetBannerEndpoint = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("GetCartJson");
188 bool ShowTopBanner = Mobler.Website.CustomCode.Frontend.V2.Helpers.MessageBanner.ShowMessageBanner();
189 bool EnableTopBarHeader = GetBoolean("Item.Area.EnableTopBarHeader.Value");
190 bool EnableTopBarNavigation = GetBoolean("Item.Area.EnableTopBarBanner.Value") && ShowTopBanner;
191
192 bool EnableGoogleShoppingScript = GetBoolean("Item.Area.EnableGoogleShoppingScript.Value");
193 string GoogleShoppingContentKey = GetString("Item.Area.GoogleShoppingContentKey.Value");
194
195 bool EnableFacebookScript = GetBoolean("Item.Area.EnableFacebookScript.Value");
196 string FacebookScriptContentKey = GetString("Item.Area.FacebookScriptContentKey.Value");
197 string PinterestDomainVerifyContentKey = GetString("Item.Area.PinterestDomainVerifyContentKey.Value");
198
199 bool IsCheckoutStep = false || HttpContext.Current.Request.RawUrl.Contains("checkout");
200 bool isCheckoutFirstStep = false || HttpContext.Current.Request.RawUrl.Contains("indkoebskurv");
201
202
203 #line default
204 #line hidden
205 WriteLiteral("\r\n\r\n<!doctype html>\r\n<html");
206
207 WriteLiteral(" lang=\"da\"");
208
209 WriteLiteral(" class=\"box-border w-screen\"");
210
211 WriteLiteral(">\r\n\r\n<head>\r\n <script");
212
213 WriteLiteral(" src=\"https://catalog-deploy.shopvertize.io/mobler/publication-c4737f54-8932-482b" +
214 "-b53f-6c2c4fb7deb0.js\"");
215
216 WriteLiteral(@"></script>
217 <script>
218 // Temporary workaround for hiding the Cookiebot banner from Web Vitals scans
219 // https://support.cookiebot.com/hc/en-us/articles/360020501579-Google-Core-Web-Vitals-and-Cookiebot-CMP#h_01H05PZGDJ2TGTZBP5R1FC8EMH
220 window.addEventListener(""CookiebotOnDialogInit"", function() {
221 if (Cookiebot.getDomainUrlParam(""CookiebotScan"") === ""true"")
222 Cookiebot.setOutOfRegion();
223 });
224 </script>
225 <script");
226
227 WriteLiteral(" id=\"Cookiebot\"");
228
229 WriteLiteral(" src=\"https://consent.cookiebot.com/uc.js\"");
230
231 WriteLiteral(" data-cbid=\"ec05aeab-ec7b-4d91-81fc-a8ebbcce1f2f\"");
232
233 WriteLiteral(" data-blockingmode=\"auto\"");
234
235 WriteLiteral(" type=\"text/javascript\"");
236
237 WriteLiteral("></script>\r\n\t<script");
238
239 WriteLiteral(" data-cookieconsent=\"ignore\"");
240
241 WriteLiteral(@">
242 window.domGaTrackingEvents = [];
243 window.domFbqTrackingEvents = [];
244
245 window.dataLayer = window.dataLayer || [];
246 function gtag() {
247 dataLayer.push(arguments);
248 }
249 gtag(""consent"", ""default"", {
250 ad_storage: ""denied"",
251 analytics_storage: ""denied"",
252 functionality_storage: ""denied"",
253 personalization_storage: ""denied"",
254 security_storage: ""granted"",
255 wait_for_update: 500,
256 });
257 gtag(""set"", ""ads_data_redaction"", true);
258 gtag(""set"", ""url_passthrough"", true);
259 </script>
260 ");
261
262 WriteLiteral("\r\n\t<script>\r\n\t\tvar ecomm_pagetype = \"other\";\r\n\t\tvar ecomm_totalvalue = 0;\r\n\t\tvar " +
263 "ecomm_prodid = \"\";\r\n\t</script>\r\n");
264
265 WriteLiteral("\t");
266
267
268 #line 150 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
269 Write(RenderSnippet("DataLayerOverwrites"));
270
271
272 #line default
273 #line hidden
274 WriteLiteral("\r\n\r\n");
275
276 WriteLiteral("\t");
277
278
279 #line 152 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
280 Write(RenderSnippet("DataLayerOverwriteReceipt"));
281
282
283 #line default
284 #line hidden
285 WriteLiteral("\r\n\r\n\t<!-- Google Tag Manager -->\r\n\t<script");
286
287 WriteLiteral(" data-cookieconsent=\"ignore\"");
288
289 WriteLiteral(">!function () { \"use strict\"; function e(e) { return function (e) { for (var t = " +
290 "0, r = document.cookie.split(\";\"); t < r.length; t++) { var n = r[t].split(\"=\");" +
291 " if (n[0].trim() === e) return n[1] } }(e) } function t(e) { return localStorage" +
292 ".getItem(e) } function r(e) { return window[e] } function n(e, t) { var r = docu" +
293 "ment.querySelector(e); return t ? null == r ? void 0 : r.getAttribute(t) : null " +
294 "== r ? void 0 : r.textContent } !function (o, i, a, c, u, l, s, v, d, f, g) { va" +
295 "r E, I, m, T; try { I = d && (m = navigator.userAgent, (T = new RegExp(\"Version/" +
296 "([0-9._]+)(.*Mobile)?.*Safari.*\").exec(m)) && parseFloat(T[1]) >= 16.4) ? functi" +
297 "on (o, i, a) { void 0 === i && (i = \"\"); var c = { cookie: e, localStorage: t, j" +
298 "sVariable: r, cssSelector: n }, u = Array.isArray(i) ? i : [i]; if (o && c[o]) f" +
299 "or (var l = c[o], s = 0, v = u; s < v.length; s++) { var d = v[s], f = a ? l(d, " +
300 "a) : l(d); if (f) return f } else console.warn(\"invalid uid source\", o) }(d, \"us" +
301 "er_id\", \"\") : void 0 } catch (e) { console.error(e) } var _ = o; _[c] = _[c] || " +
302 "[], _[c].push({ \"gtm.start\": (new Date).getTime(), event: \"gtm.js\" }); var p = i" +
303 ".getElementsByTagName(a)[0], A = I ? \"&bi=\" + encodeURIComponent(I) : \"\", N = i." +
304 "createElement(a), D = I ? \"kp\" + v : v, R = !I && s ? s : \"https://gtm.mobler.dk" +
305 "\"; N.async = !0, N.src = R + \"/\" + D + \".js?id=GTM-PN9ZSS\" + A, null === (E = p." +
306 "parentNode) || void 0 === E || E.insertBefore(N, p) }(window, document, \"script\"" +
307 ", \"dataLayer\", 0, 0, \"\", \"rcuxkqbl\", \"cookie\") }();</script>\r\n\t<!-- End Google T" +
308 "ag Manager -->\r\n\t<!-- Required meta tags -->\r\n\t<meta");
309
310 WriteLiteral(" charset=\"utf-8\"");
311
312 WriteLiteral(">\r\n\t<meta");
313
314 WriteLiteral(" name=\"viewport\"");
315
316 WriteLiteral(" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\"");
317
318 WriteLiteral(">\r\n\t\r\n");
319
320
321 #line 161 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
322
323
324 #line default
325 #line hidden
326
327 #line 161 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
328 if (string.IsNullOrEmpty(Dynamicweb.Context.Current.Request["productid"]))
329 {
330
331
332
333
334 #line default
335 #line hidden
336 WriteLiteral("\t\t<title>");
337
338
339 #line 165 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
340 Write(GetValue("Title"));
341
342
343 #line default
344 #line hidden
345 WriteLiteral("</title>\r\n");
346
347
348 #line 166 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
349
350
351 #line default
352 #line hidden
353
354 #line 166 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
355 Write(GetValue("MetaTags"));
356
357
358 #line default
359 #line hidden
360
361 #line 166 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
362
363
364
365 #line default
366 #line hidden
367
368 #line 167 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
369 Write(GetValue("CopyRightNotice"));
370
371
372 #line default
373 #line hidden
374
375 #line 167 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
376
377
378 }
379 else
380 {
381
382
383 #line default
384 #line hidden
385
386 #line 172 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
387 Write(RenderSnippet("ProductDetailsMeta"));
388
389
390 #line default
391 #line hidden
392
393 #line 172 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
394
395 }
396
397
398 #line default
399 #line hidden
400 WriteLiteral("\r\n");
401
402
403 #line 175 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
404
405
406 #line default
407 #line hidden
408
409 #line 175 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
410 if ((Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop() && !System.Web.HttpContext.Current.Request.RawUrl.ToLower().EndsWith("/om-os")) || (System.Web.HttpContext.Current.Request.Url.Host.ToLower().Contains("1stweb") && !System.Web.HttpContext.Current.Request.Url.PathAndQuery.ToLower().Contains("debug")) || System.Web.HttpContext.Current.Request.Url.AbsoluteUri.ToLower().Contains("groupid=pim-"))
411 {
412
413
414 #line default
415 #line hidden
416 WriteLiteral("\t\t<meta");
417
418 WriteLiteral(" name=\"robots\"");
419
420 WriteLiteral(" content=\"noindex\"");
421
422 WriteLiteral(">\r\n");
423
424
425 #line 178 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
426 }
427
428
429 #line default
430 #line hidden
431 WriteLiteral("\r\n");
432
433
434 #line 180 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
435
436
437 #line default
438 #line hidden
439
440 #line 180 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
441 if (!Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop())
442 {
443
444
445 #line default
446 #line hidden
447 WriteLiteral("\t\t<link");
448
449 WriteLiteral(" rel=\"canonical\"");
450
451 WriteAttribute("href", Tuple.Create(" href=\"", 11102), Tuple.Create("\"", 11122)
452
453 #line 182 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
454 , Tuple.Create(Tuple.Create("", 11109), Tuple.Create<System.Object, System.Int32>(CanonicalURL
455
456 #line default
457 #line hidden
458 , 11109), false)
459 );
460
461 WriteLiteral(">\r\n");
462
463
464 #line 183 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
465 }
466
467
468 #line default
469 #line hidden
470 WriteLiteral("\t<meta");
471
472 WriteLiteral(" property=\"og:url\"");
473
474 WriteAttribute("content", Tuple.Create(" content=\"", 11154), Tuple.Create("\"", 11177)
475
476 #line 184 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
477 , Tuple.Create(Tuple.Create("", 11164), Tuple.Create<System.Object, System.Int32>(CanonicalURL
478
479 #line default
480 #line hidden
481 , 11164), false)
482 );
483
484 WriteLiteral(">\r\n\t<meta");
485
486 WriteLiteral(" property=\"og:title\"");
487
488 WriteAttribute("content", Tuple.Create(" content=\"", 11207), Tuple.Create("\"", 11236)
489
490 #line 185 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
491 , Tuple.Create(Tuple.Create("", 11217), Tuple.Create<System.Object, System.Int32>(GetValue(" title")
492
493 #line default
494 #line hidden
495 , 11217), false)
496 );
497
498 WriteLiteral("=\"\">\r\n\r\n\t<link");
499
500 WriteLiteral(" rel=\"shortcut icon\"");
501
502 WriteLiteral(" type=\"image/ico\"");
503
504 WriteLiteral(" href=\"/Files/Templates/Designs/Mobler2016/images/icons/favicon.ico\"");
505
506 WriteLiteral(">\r\n\r\n");
507
508
509 #line 189 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
510
511
512 #line default
513 #line hidden
514
515 #line 189 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
516 if (GetString("Item.SystemName") == "BlogPost")
517 {
518 string imageMasterPage = GetString("Item.Billede.Value");
519 string TeaserText = Regex.Replace(GetString("Item.TeaserTekst"), "<.*?>", String.Empty);
520
521
522 #line default
523 #line hidden
524 WriteLiteral("\t\t<meta");
525
526 WriteLiteral(" property=\"og:type\"");
527
528 WriteLiteral(" content=\"article\"");
529
530 WriteLiteral(">\r\n");
531
532 WriteLiteral("\t\t<meta");
533
534 WriteLiteral(" property=\"og:description\"");
535
536 WriteAttribute("content", Tuple.Create(" content=\"", 11649), Tuple.Create("\"", 11670)
537
538 #line 194 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
539 , Tuple.Create(Tuple.Create("", 11659), Tuple.Create<System.Object, System.Int32>(TeaserText
540
541 #line default
542 #line hidden
543 , 11659), false)
544 );
545
546 WriteLiteral(">\r\n");
547
548 WriteLiteral("\t\t<meta");
549
550 WriteLiteral(" property=\"og:image\"");
551
552 WriteAttribute("content", Tuple.Create(" content=\"", 11701), Tuple.Create("\"", 11727)
553
554 #line 195 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
555 , Tuple.Create(Tuple.Create("", 11711), Tuple.Create<System.Object, System.Int32>(imageMasterPage
556
557 #line default
558 #line hidden
559 , 11711), false)
560 );
561
562 WriteLiteral(">\r\n");
563
564
565 #line 196 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
566 }
567 else if (GetString("Item.SystemName") == "Brand")
568 {
569 string imageMasterPage = GetString("Item.Logo.Value");
570 string TeaserText = GetString("Item.Navn");
571
572
573 #line default
574 #line hidden
575 WriteLiteral("\t\t<meta");
576
577 WriteLiteral(" property=\"og:type\"");
578
579 WriteLiteral(" content=\"article\"");
580
581 WriteLiteral(">\r\n");
582
583 WriteLiteral("\t\t<meta");
584
585 WriteLiteral(" property=\"og:description\"");
586
587 WriteAttribute("content", Tuple.Create(" content=\"", 11976), Tuple.Create("\"", 11997)
588
589 #line 202 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
590 , Tuple.Create(Tuple.Create("", 11986), Tuple.Create<System.Object, System.Int32>(TeaserText
591
592 #line default
593 #line hidden
594 , 11986), false)
595 );
596
597 WriteLiteral(">\r\n");
598
599 WriteLiteral("\t\t<meta");
600
601 WriteLiteral(" property=\"og:image\"");
602
603 WriteAttribute("content", Tuple.Create(" content=\"", 12028), Tuple.Create("\"", 12054)
604
605 #line 203 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
606 , Tuple.Create(Tuple.Create("", 12038), Tuple.Create<System.Object, System.Int32>(imageMasterPage
607
608 #line default
609 #line hidden
610 , 12038), false)
611 );
612
613 WriteLiteral(">\r\n");
614
615
616 #line 204 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
617 }
618 else if (System.Web.HttpContext.Current.Items["OverrideOgTags"] != null)
619 {
620
621
622 #line default
623 #line hidden
624
625 #line 207 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
626 Write(RenderSnippet("OgTags"));
627
628
629 #line default
630 #line hidden
631
632 #line 207 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
633
634 }
635 else
636 {
637
638
639 #line default
640 #line hidden
641 WriteLiteral("\t\t<meta");
642
643 WriteLiteral(" property=\"og:type\"");
644
645 WriteLiteral(" content=\"business.business\"");
646
647 WriteLiteral(">\r\n");
648
649 WriteLiteral("\t\t<meta");
650
651 WriteLiteral(" property=\"og:description\"");
652
653 WriteAttribute("content", Tuple.Create(" content=\"", 12274), Tuple.Create("\"", 12315)
654
655 #line 212 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
656 , Tuple.Create(Tuple.Create("", 12284), Tuple.Create<System.Object, System.Int32>(GetString(" meta.description")
657
658 #line default
659 #line hidden
660 , 12284), false)
661 );
662
663 WriteLiteral("=\"\">\r\n");
664
665 WriteLiteral("\t\t<meta");
666
667 WriteLiteral(" property=\"og:image\"");
668
669 WriteLiteral(" content=\"https://mobler.dk/Files/Templates/Designs/Mobler2018/dist/logos/mobler." +
670 "svg\"");
671
672 WriteLiteral(">\r\n");
673
674
675 #line 214 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
676 }
677
678
679 #line default
680 #line hidden
681 WriteLiteral("\r\n\r\n");
682
683
684 #line 217 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
685
686
687 #line default
688 #line hidden
689
690 #line 217 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
691 if (EnableGoogleShoppingScript && !string.IsNullOrEmpty(GoogleShoppingContentKey))
692 {
693
694
695 #line default
696 #line hidden
697 WriteLiteral("\t\t<meta");
698
699 WriteLiteral(" name=\"google-site-verification\"");
700
701 WriteAttribute("content", Tuple.Create(" content=\"", 12574), Tuple.Create("\"", 12609)
702
703 #line 219 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
704 , Tuple.Create(Tuple.Create("", 12584), Tuple.Create<System.Object, System.Int32>(GoogleShoppingContentKey
705
706 #line default
707 #line hidden
708 , 12584), false)
709 );
710
711 WriteLiteral(">\r\n");
712
713
714 #line 220 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
715 }
716
717
718 #line default
719 #line hidden
720 WriteLiteral("\r\n");
721
722
723 #line 222 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
724
725
726 #line default
727 #line hidden
728
729 #line 222 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
730 if (EnableFacebookScript && !string.IsNullOrEmpty(FacebookScriptContentKey))
731 {
732
733
734 #line default
735 #line hidden
736 WriteLiteral("\t\t<meta");
737
738 WriteLiteral(" name=\"facebook-domain-verification\"");
739
740 WriteAttribute("content", Tuple.Create(" content=\"", 12746), Tuple.Create("\"", 12781)
741
742 #line 224 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
743 , Tuple.Create(Tuple.Create("", 12756), Tuple.Create<System.Object, System.Int32>(FacebookScriptContentKey
744
745 #line default
746 #line hidden
747 , 12756), false)
748 );
749
750 WriteLiteral(">\r\n");
751
752
753 #line 225 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
754 }
755
756
757 #line default
758 #line hidden
759 WriteLiteral("\r\n");
760
761
762 #line 227 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
763
764
765 #line default
766 #line hidden
767
768 #line 227 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
769 if (EnableFacebookScript && !string.IsNullOrEmpty(PinterestDomainVerifyContentKey))
770 {
771
772
773 #line default
774 #line hidden
775 WriteLiteral("\t\t<meta");
776
777 WriteLiteral(" name=\"p:domain_verify\"");
778
779 WriteAttribute("content", Tuple.Create(" content=\"", 12912), Tuple.Create("\"", 12954)
780
781 #line 229 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
782 , Tuple.Create(Tuple.Create("", 12922), Tuple.Create<System.Object, System.Int32>(PinterestDomainVerifyContentKey
783
784 #line default
785 #line hidden
786 , 12922), false)
787 );
788
789 WriteLiteral(">\r\n");
790
791
792 #line 230 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
793 }
794
795
796 #line default
797 #line hidden
798 WriteLiteral("\r\n");
799
800 WriteLiteral("\t");
801
802
803 #line 232 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
804 Write(Pageview.AddViteStyles());
805
806
807 #line default
808 #line hidden
809 WriteLiteral("\r\n\r\n\t<link");
810
811 WriteLiteral(" rel=\"preconnect\"");
812
813 WriteLiteral(" href=\"https://content.cylindo.com\"");
814
815 WriteLiteral(" crossorigin=\"\"");
816
817 WriteLiteral(">\r\n\r\n\r\n");
818
819
820 #line 237 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
821 Write(GetValue("Stylesheets"));
822
823
824 #line default
825 #line hidden
826 WriteLiteral("\r\n");
827
828
829 #line 238 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
830 Write(GetValue("Javascripts"));
831
832
833 #line default
834 #line hidden
835 WriteLiteral("\r\n</head>\r\n");
836
837
838 #line 240 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
839
840 bool isBlackFriday = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetBoolean("BlackFridayTheme");
841 string blackFridayThemeClass = isBlackFriday ? "theme--black-friday" : "";
842
843
844 #line default
845 #line hidden
846 WriteLiteral("\r\n<body");
847
848 WriteAttribute("class", Tuple.Create(" class=\"", 13333), Tuple.Create("\"", 13381)
849
850 #line 244 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
851 , Tuple.Create(Tuple.Create("", 13341), Tuple.Create<System.Object, System.Int32>(blackFridayThemeClass
852
853 #line default
854 #line hidden
855 , 13341), false)
856 , Tuple.Create(Tuple.Create(" ", 13363), Tuple.Create("overflow-x-hidden", 13364), true)
857 );
858
859 WriteLiteral(" data-bind=\"viewModel: \'MasterViewModel\', Cookies\"");
860
861 WriteLiteral(" data-currentshopislocalwebshop=\"");
862
863
864 #line 244 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
865 Write(Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop());
866
867
868 #line default
869 #line hidden
870 WriteLiteral("\"");
871
872 WriteLiteral(" data-mainshoplink=\"");
873
874
875 #line 244 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
876 Write(MainShopLink);
877
878
879 #line default
880 #line hidden
881 WriteLiteral("\"");
882
883 WriteLiteral(" data-culture=\"");
884
885
886 #line 244 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
887 Write(culture);
888
889
890 #line default
891 #line hidden
892 WriteLiteral("\"");
893
894 WriteLiteral(" data-design=\"");
895
896
897 #line 244 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
898 Write(designFolder);
899
900
901 #line default
902 #line hidden
903 WriteLiteral("\"");
904
905 WriteLiteral(">\r\n\r\n\t<!-- Google Tag Manager (noscript) -->\r\n\t<noscript><iframe");
906
907 WriteLiteral(" src=\"https://gtm.mobler.dk/ns.html?id=GTM-PN9ZSS\"");
908
909 WriteLiteral(" height=\"0\"");
910
911 WriteLiteral(" width=\"0\"");
912
913 WriteLiteral(" style=\"display:none;visibility:hidden\"");
914
915 WriteLiteral("></iframe></noscript>\r\n\t<!-- End Google Tag Manager (noscript) -->\r\n\r\n\t<siteheade" +
916 "r></siteheader>\r\n\r\n\t<div");
917
918 WriteLiteral(" data-bind=\"viewModel: \'HeaderViewModel\'\"");
919
920 WriteLiteral(">\r\n\t\t<header");
921
922 WriteLiteral(" class=\"js-header\"");
923
924 WriteLiteral(">\r\n\r\n\t\t\t<!-- TODO: Add logic to SiteHeader -->\r\n");
925
926
927 #line 256 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
928
929
930 #line default
931 #line hidden
932
933 #line 256 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
934 if (EnableTopBarNavigation && !IsCheckoutStep && TopBarNav != null)
935 {
936 dynamic NotificationData = new
937 {
938 bannerStyle = new
939 {
940 backgroundColor = BannerBackgroundColor,
941 textColor = BannerTextColor
942 },
943 bannerContent = TopBarNav.Select(item => new
944 {
945 link = item.GetString("Item.Area.TopBarNavigation.NavItemLink"),
946 text = item.GetString("Item.Area.TopBarNavigation.NavItemText")
947 }).ToList()
948 };
949 object NotificationDataJson = HttpUtility.HtmlAttributeEncode(Newtonsoft.Json.JsonConvert.SerializeObject(NotificationData));
950
951
952 #line default
953 #line hidden
954 WriteLiteral("\t\t\t\t<script>//console.log(\"%cNotificationDataJson\", \"color:white;background:rebec" +
955 "capurple;padding:5px;\", ");
956
957
958 #line 272 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
959 Write(Newtonsoft.Json.JsonConvert.SerializeObject(NotificationData, new Newtonsoft.Json.JsonSerializerSettings {ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore, PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects}));
960
961
962 #line default
963 #line hidden
964 WriteLiteral(");</script>\r\n");
965
966
967 #line 273 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
968
969
970
971 #line default
972 #line hidden
973 WriteLiteral("\t\t\t\t<notificationelement");
974
975 WriteLiteral(" data-theme=\"info\"");
976
977 WriteLiteral(" data-content=\"");
978
979
980 #line 274 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
981 Write(NotificationDataJson);
982
983
984 #line default
985 #line hidden
986 WriteLiteral("\"");
987
988 WriteLiteral("></notificationelement>\r\n");
989
990
991 #line 275 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
992
993
994 #line default
995 #line hidden
996
997 #line 298 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
998
999 }
1000
1001
1002 #line default
1003 #line hidden
1004 WriteLiteral("\t\t</header>\r\n\t\t<localshopmodal");
1005
1006 WriteLiteral(" data-show=\"false\"");
1007
1008 WriteLiteral(" data-text=\"");
1009
1010
1011 #line 301 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1012 Write(GetString(" item.area.localwebshoptext"));
1013
1014
1015 #line default
1016 #line hidden
1017 WriteLiteral("\"");
1018
1019 WriteLiteral("=\"\" data-shop-name=\"");
1020
1021
1022 #line 301 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1023 Write(shopnameEncoded);
1024
1025
1026 #line default
1027 #line hidden
1028 WriteLiteral("\" data-is-local-shop=\"");
1029
1030
1031 #line 301 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1032 Write(Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop().ToString().ToLower());
1033
1034
1035 #line default
1036 #line hidden
1037 WriteLiteral("\"></localshopmodal>\r\n\t</div>\r\n\r\n");
1038
1039
1040 #line 304 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1041
1042
1043 #line default
1044 #line hidden
1045 WriteLiteral("\r\n");
1046
1047
1048 #line 309 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1049
1050 var CurrentPageView = Dynamicweb.Frontend.PageView.Current().Page;
1051 var CurrentPage = Dynamicweb.Services.Pages.GetPage(CurrentPageView.ID);
1052 var Questions = MoblerHelpers.GetFaqQuestions(CurrentPage);
1053 int QuestionCounter = 1;
1054
1055
1056 #line default
1057 #line hidden
1058 WriteLiteral("\r\n\r\n");
1059
1060
1061 #line 316 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1062 Write(RenderNavigation(new { ExpandMode = "All", Template = "breadcrumb.xslt" }));
1063
1064
1065 #line default
1066 #line hidden
1067 WriteLiteral("\r\n\r\n<div");
1068
1069 WriteLiteral(" class=\"container my-3\"");
1070
1071 WriteLiteral(">\r\n <h1");
1072
1073 WriteLiteral(" class=\"text-uppercase mb-5\"");
1074
1075 WriteLiteral(">");
1076
1077
1078 #line 319 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1079 Write(CurrentPage.MenuText);
1080
1081
1082 #line default
1083 #line hidden
1084 WriteLiteral("</h1>\r\n</div>\r\n\r\n<div");
1085
1086 WriteLiteral(" class=\"box-shadow mb-5 mt-3\"");
1087
1088 WriteLiteral(">\r\n <div");
1089
1090 WriteLiteral(" class=\"container py-5\"");
1091
1092 WriteLiteral(">\r\n <p");
1093
1094 WriteLiteral(" class=\"font-bold\"");
1095
1096 WriteLiteral(">");
1097
1098
1099 #line 324 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1100 Write(Translate("FAQHeader", "Ofte stillede spørgsmål"));
1101
1102
1103 #line default
1104 #line hidden
1105 WriteLiteral("</p>\r\n <div");
1106
1107 WriteLiteral(" class=\"row\"");
1108
1109 WriteLiteral(">\r\n");
1110
1111
1112 #line 326 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1113
1114
1115 #line default
1116 #line hidden
1117
1118 #line 326 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1119 foreach (var Question in Questions)
1120 {
1121 Dynamicweb.Content.Page QuestionPage = Dynamicweb.Services.Pages.GetPageForItem(Question.SystemName, Question.Id);
1122
1123 string Url = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(QuestionPage.Parent.ID);
1124 string CollapseId = "collapse-" + QuestionCounter;
1125
1126
1127 #line default
1128 #line hidden
1129 WriteLiteral(" <div");
1130
1131 WriteLiteral(" class=\"col-12 col-md-6 faq-question\"");
1132
1133 WriteLiteral(">\r\n <div");
1134
1135 WriteLiteral(" class=\"p-2 pointer\"");
1136
1137 WriteLiteral(" data-toggle=\"collapse\"");
1138
1139 WriteLiteral(" data-target=\"#");
1140
1141
1142 #line 333 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1143 Write(CollapseId);
1144
1145
1146 #line default
1147 #line hidden
1148 WriteLiteral("\"");
1149
1150 WriteLiteral(">\r\n <p");
1151
1152 WriteLiteral(" class=\"flex-fill flex justify-content-between items-center mb-0 text-primary\"");
1153
1154 WriteLiteral(">");
1155
1156
1157 #line 334 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1158 Write(Question["Question"]);
1159
1160
1161 #line default
1162 #line hidden
1163 WriteLiteral(" <i");
1164
1165 WriteLiteral(" class=\"fas fa-chevron-right\"");
1166
1167 WriteLiteral("></i></p>\r\n </div>\r\n <div");
1168
1169 WriteLiteral(" class=\"collapse\"");
1170
1171 WriteAttribute("id", Tuple.Create(" id=\"", 17951), Tuple.Create("\"", 17967)
1172
1173 #line 336 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1174 , Tuple.Create(Tuple.Create("", 17956), Tuple.Create<System.Object, System.Int32>(CollapseId
1175
1176 #line default
1177 #line hidden
1178 , 17956), false)
1179 );
1180
1181 WriteLiteral(">\r\n <div");
1182
1183 WriteLiteral(" class=\"p-2 answer\"");
1184
1185 WriteLiteral(">\r\n <div>");
1186
1187
1188 #line 338 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1189 Write(Question["Answer"]);
1190
1191
1192 #line default
1193 #line hidden
1194 WriteLiteral("</div>\r\n </div>\r\n </div>\r\n " +
1195 " </div>\r\n");
1196
1197
1198 #line 342 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1199 QuestionCounter++;
1200 }
1201
1202
1203 #line default
1204 #line hidden
1205 WriteLiteral(" </div>\r\n </div>\r\n</div>\r\n\r\n<div");
1206
1207 WriteLiteral(" id=\"content1\"");
1208
1209 WriteLiteral(">");
1210
1211
1212 #line 348 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1213 Write(GetValue("DwContent(content1)"));
1214
1215
1216 #line default
1217 #line hidden
1218 WriteLiteral("</div>\r\n\r\n\r\n\r\n");
1219
1220
1221 #line 352 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1222
1223
1224 #line default
1225 #line hidden
1226
1227 #line 352 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1228 if (!IsCheckoutStep)
1229 {
1230 if (!isCheckoutFirstStep)
1231 {
1232 var brandsLoop = @GetLoop("Item.Page.Brand_Icon.Value");
1233
1234
1235 #line default
1236 #line hidden
1237 WriteLiteral("<!-- TODO: (Out of scope) Clean this up so we don\'t repeat -->\r\n");
1238
1239 WriteLiteral("\t\t\t<section");
1240
1241 WriteLiteral(" class=\"container py-8\"");
1242
1243 WriteLiteral(">\r\n\t\t\t\t<div");
1244
1245 WriteLiteral(" class=\"grid grid-cols-3 md:grid-cols-6 gap-4\"");
1246
1247 WriteLiteral(">\r\n");
1248
1249
1250 #line 360 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1251
1252
1253 #line default
1254 #line hidden
1255
1256 #line 360 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1257 if (brandsLoop.Count <= 0)
1258 {
1259 foreach (var item in GetLoop("Item.Area.Featured_Brands"))
1260 {
1261 string Link = item.GetString("Item.Area.Featured_Brands.Brand.Value");
1262 var Brand = Firstweb.Custom.CustomCode.Frontend.Helpers.Brands.GetBrand(Link);
1263
1264 if (!String.IsNullOrEmpty(Brand.Name))
1265 {
1266
1267
1268 #line default
1269 #line hidden
1270 WriteLiteral("\t\t\t\t\t\t\t\t<a");
1271
1272 WriteAttribute("href", Tuple.Create(" href=\"", 18955), Tuple.Create("\"", 18973)
1273
1274 #line 369 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1275 , Tuple.Create(Tuple.Create("", 18962), Tuple.Create<System.Object, System.Int32>(Brand.Link
1276
1277 #line default
1278 #line hidden
1279 , 18962), false)
1280 );
1281
1282 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img");
1283
1284 WriteLiteral(" width=\"900\"");
1285
1286 WriteLiteral(" height=\"400\"");
1287
1288 WriteLiteral(" class=\"img-fit-contain-x\"");
1289
1290 WriteAttribute("src", Tuple.Create(" src=\"", 19041), Tuple.Create("\"", 19126)
1291 , Tuple.Create(Tuple.Create("", 19047), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 19047), true)
1292
1293 #line 370 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1294 , Tuple.Create(Tuple.Create("", 19081), Tuple.Create<System.Object, System.Int32>(Brand.Logo
1295
1296 #line default
1297 #line hidden
1298 , 19081), false)
1299 , Tuple.Create(Tuple.Create("", 19092), Tuple.Create("&Format=webP&Quality=90&Height=400", 19092), true)
1300 );
1301
1302 WriteAttribute("alt", Tuple.Create(" alt=\"", 19127), Tuple.Create("\"", 19144)
1303
1304 #line 370 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1305 , Tuple.Create(Tuple.Create("", 19133), Tuple.Create<System.Object, System.Int32>(Brand.Name
1306
1307 #line default
1308 #line hidden
1309 , 19133), false)
1310 );
1311
1312 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n");
1313
1314
1315 #line 372 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1316 }
1317 }
1318 }
1319 else
1320 {
1321 foreach (var item in brandsLoop)
1322 {
1323 string image = item.GetString("Item.Page.Brand_Icon.Value.Image.Value");
1324 string link = item.GetString("Item.Page.Brand_Icon.Value.LinkDestination.Value");
1325
1326 if (!String.IsNullOrEmpty(image))
1327 {
1328
1329
1330 #line default
1331 #line hidden
1332 WriteLiteral("\t\t\t\t\t\t\t\t<a");
1333
1334 WriteAttribute("href", Tuple.Create(" href=\"", 19492), Tuple.Create("\"", 19504)
1335
1336 #line 384 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1337 , Tuple.Create(Tuple.Create("", 19499), Tuple.Create<System.Object, System.Int32>(link
1338
1339 #line default
1340 #line hidden
1341 , 19499), false)
1342 );
1343
1344 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img");
1345
1346 WriteLiteral(" width=\"900\"");
1347
1348 WriteLiteral(" height=\"400\"");
1349
1350 WriteLiteral(" class=\"img-fluid\"");
1351
1352 WriteAttribute("src", Tuple.Create(" src=\"", 19564), Tuple.Create("\"", 19644)
1353 , Tuple.Create(Tuple.Create("", 19570), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 19570), true)
1354
1355 #line 385 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1356 , Tuple.Create(Tuple.Create("", 19604), Tuple.Create<System.Object, System.Int32>(image
1357
1358 #line default
1359 #line hidden
1360 , 19604), false)
1361 , Tuple.Create(Tuple.Create("", 19610), Tuple.Create("&Format=webP&Quality=90&Height=400", 19610), true)
1362 );
1363
1364 WriteLiteral(" alt=\"\"");
1365
1366 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n");
1367
1368
1369 #line 387 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1370 }
1371 }
1372 }
1373
1374
1375 #line default
1376 #line hidden
1377 WriteLiteral("\t\t\t\t</div>\r\n\t\t\t</section>\r\n");
1378
1379
1380 #line 392 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1381 }
1382
1383
1384
1385 #line default
1386 #line hidden
1387 WriteLiteral("\t\t<section");
1388
1389 WriteLiteral(" class=\"bg-beige pt-14 lg:pt-28\"");
1390
1391 WriteLiteral(">\r\n\t\t\t<div");
1392
1393 WriteLiteral(" class=\"container flex flex-wrap\"");
1394
1395 WriteLiteral(">\r\n\t\t\t\t<div");
1396
1397 WriteLiteral(" class=\"w-full md:w-3/4 lg:w-1/2 flex flex-col md:items-start gap-y-4\"");
1398
1399 WriteLiteral(">\r\n\t\t\t\t\t<a");
1400
1401 WriteLiteral(" href=\"/\"");
1402
1403 WriteLiteral(" class=\"flex flex-col md:items-center\"");
1404
1405 WriteLiteral(">\r\n\t\t\t\t\t\t<img");
1406
1407 WriteLiteral(" width=\"400\"");
1408
1409 WriteLiteral(" height=\"46\"");
1410
1411 WriteLiteral(" class=\"max-h-[46px] hidden md:inline-block\"");
1412
1413 WriteAttribute("src", Tuple.Create(" src=\"", 20034), Tuple.Create("\"", 20048)
1414
1415 #line 398 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1416 , Tuple.Create(Tuple.Create("", 20040), Tuple.Create<System.Object, System.Int32>(logoSrc
1417
1418 #line default
1419 #line hidden
1420 , 20040), false)
1421 );
1422
1423 WriteAttribute("alt", Tuple.Create(" alt=\'", 20049), Tuple.Create("\'", 20130)
1424
1425 #line 398 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1426 , Tuple.Create(Tuple.Create("", 20055), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
1427
1428 #line default
1429 #line hidden
1430 , 20055), false)
1431 );
1432
1433 WriteLiteral(">\r\n\t\t\t\t\t\t<img");
1434
1435 WriteLiteral(" width=\"400\"");
1436
1437 WriteLiteral(" height=\"46\"");
1438
1439 WriteLiteral(" class=\"max-h-[46px] w-full object-contain object-left inline md:hidden\"");
1440
1441 WriteAttribute("src", Tuple.Create(" src=\"", 20240), Tuple.Create("\"", 20260)
1442
1443 #line 399 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1444 , Tuple.Create(Tuple.Create("", 20246), Tuple.Create<System.Object, System.Int32>(logoSrcMobile
1445
1446 #line default
1447 #line hidden
1448 , 20246), false)
1449 );
1450
1451 WriteAttribute("alt", Tuple.Create(" alt=\'", 20261), Tuple.Create("\'", 20342)
1452
1453 #line 399 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1454 , Tuple.Create(Tuple.Create("", 20267), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
1455
1456 #line default
1457 #line hidden
1458 , 20267), false)
1459 );
1460
1461 WriteLiteral(">\r\n");
1462
1463
1464 #line 400 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1465
1466
1467 #line default
1468 #line hidden
1469
1470 #line 400 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1471 if (shopname.ToLower() != "møblér")
1472 {
1473
1474
1475 #line default
1476 #line hidden
1477 WriteLiteral("\t\t\t\t\t\t<small");
1478
1479 WriteLiteral(" class=\"text-xs text-grey-dark text-center hidden md:block\"");
1480
1481 WriteLiteral(">");
1482
1483
1484 #line 402 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1485 Write(Translate("LogoServiceText", "Ordren serviceres af Møbler.dk"));
1486
1487
1488 #line default
1489 #line hidden
1490 WriteLiteral("</small>\r\n");
1491
1492
1493 #line 403 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1494 }
1495
1496
1497 #line default
1498 #line hidden
1499 WriteLiteral("\t\t\t\t\t</a>\r\n\r\n\t\t\t\t\t<!-- TODO: This has not been tested and styled -->\r\n");
1500
1501
1502 #line 407 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1503
1504
1505 #line default
1506 #line hidden
1507
1508 #line 407 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1509 if (shopnameEncoded == "M%c3%b8bl%c3%a9r")
1510 {
1511
1512
1513 #line default
1514 #line hidden
1515 WriteLiteral("\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t<p");
1516
1517 WriteLiteral(" class=\"mb-0 font-bold\"");
1518
1519 WriteLiteral(">");
1520
1521
1522 #line 410 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1523 Write(GetString("Item.Area.Header"));
1524
1525
1526 #line default
1527 #line hidden
1528 WriteLiteral("</p>\r\n\t\t\t\t\t\t\t<p>\r\n");
1529
1530 WriteLiteral("\t\t\t\t\t\t\t\t");
1531
1532
1533 #line 412 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1534 Write(GetString("Item.Area.About"));
1535
1536
1537 #line default
1538 #line hidden
1539 WriteLiteral("\r\n\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t<a");
1540
1541 WriteAttribute("href", Tuple.Create(" href=\"", 20836), Tuple.Create("\"", 20865)
1542
1543 #line 414 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1544 , Tuple.Create(Tuple.Create("", 20843), Tuple.Create<System.Object, System.Int32>(FooterLinkDestination
1545
1546 #line default
1547 #line hidden
1548 , 20843), false)
1549 );
1550
1551 WriteLiteral("><u>");
1552
1553
1554 #line 414 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1555 Write(Translate("FooterAboutReadMore", "Læs mere om Møblér kæden her"));
1556
1557
1558 #line default
1559 #line hidden
1560 WriteLiteral("</u></a>\r\n\t\t\t\t\t\t</div>\r\n");
1561
1562
1563 #line 416 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1564 }
1565 else
1566 {
1567 if (GetString("Item.SystemName") == "TextPage")
1568 {
1569 string CurrentAboutUsShopName = GetString("DwPageName_2");
1570 shopInfo = Website.ShopInfo(CurrentAboutUsShopName);
1571 shopname = CurrentAboutUsShopName;
1572 }
1573
1574
1575
1576 #line default
1577 #line hidden
1578 WriteLiteral("\t\t\t\t\t\t<div");
1579
1580 WriteLiteral(" class=\"flex flex-wrap gap-y-4 w-full\"");
1581
1582 WriteLiteral(">\r\n\t\t\t\t\t\t\t<div");
1583
1584 WriteLiteral(" class=\"w-full md:w-1/2\"");
1585
1586 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<ul");
1587
1588 WriteLiteral(" class=\"list-none\"");
1589
1590 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<li");
1591
1592 WriteLiteral(" class=\"mb-2\"");
1593
1594 WriteLiteral("><strong>");
1595
1596
1597 #line 429 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1598 Write(shopInfo.ShopName);
1599
1600
1601 #line default
1602 #line hidden
1603 WriteLiteral("</strong></li>\r\n\t\t\t\t\t\t\t\t\t<li>");
1604
1605
1606 #line 430 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1607 Write(shopInfo.Address);
1608
1609
1610 #line default
1611 #line hidden
1612 WriteLiteral("</li>\r\n\t\t\t\t\t\t\t\t\t<li>");
1613
1614
1615 #line 431 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1616 Write(shopInfo.PostalAndCity);
1617
1618
1619 #line default
1620 #line hidden
1621 WriteLiteral("</li>\r\n\t\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t\t<a");
1622
1623 WriteAttribute("href", Tuple.Create(" href=\"", 21547), Tuple.Create("\"", 21568)
1624
1625 #line 433 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1626 , Tuple.Create(Tuple.Create("", 21554), Tuple.Create<System.Object, System.Int32>(localShopPage
1627
1628 #line default
1629 #line hidden
1630 , 21554), false)
1631 );
1632
1633 WriteLiteral(" class=\"underline text-black\"");
1634
1635 WriteLiteral(">");
1636
1637
1638 #line 433 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1639 Write(Translate("ShowOnMap", "Vis på kort"));
1640
1641
1642 #line default
1643 #line hidden
1644 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t\t</li>\r\n\r\n");
1645
1646
1647 #line 436 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1648
1649
1650 #line default
1651 #line hidden
1652
1653 #line 436 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1654 if (!String.IsNullOrEmpty(shopInfo.Address1))
1655 {
1656
1657
1658 #line default
1659 #line hidden
1660 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<li>");
1661
1662
1663 #line 438 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1664 Write(shopInfo.Address1);
1665
1666
1667 #line default
1668 #line hidden
1669 WriteLiteral(", ");
1670
1671
1672 #line 438 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1673 Write(shopInfo.PostalAndCity1);
1674
1675
1676 #line default
1677 #line hidden
1678 WriteLiteral("</li>\r\n");
1679
1680
1681 #line 439 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1682 }
1683
1684
1685 #line default
1686 #line hidden
1687 WriteLiteral("\t\t\t\t\t\t\t\t\t");
1688
1689
1690 #line 440 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1691 if (!String.IsNullOrEmpty(shopInfo.Address2))
1692 {
1693
1694
1695 #line default
1696 #line hidden
1697 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<li>");
1698
1699
1700 #line 442 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1701 Write(shopInfo.Address2);
1702
1703
1704 #line default
1705 #line hidden
1706 WriteLiteral(", ");
1707
1708
1709 #line 442 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1710 Write(shopInfo.PostalAndCity2);
1711
1712
1713 #line default
1714 #line hidden
1715 WriteLiteral("</li>\r\n");
1716
1717
1718 #line 443 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1719 }
1720
1721
1722 #line default
1723 #line hidden
1724 WriteLiteral("\t\t\t\t\t\t\t\t\t<li");
1725
1726 WriteLiteral(" class=\"mt-4\"");
1727
1728 WriteLiteral(">");
1729
1730
1731 #line 444 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1732 Write(shopInfo.Phone);
1733
1734
1735 #line default
1736 #line hidden
1737 WriteLiteral("</li>\r\n\t\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t\t<a");
1738
1739 WriteAttribute("href", Tuple.Create(" href=\"", 22033), Tuple.Create("\"", 22062)
1740 , Tuple.Create(Tuple.Create("", 22040), Tuple.Create("mailto:", 22040), true)
1741
1742 #line 446 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1743 , Tuple.Create(Tuple.Create("", 22047), Tuple.Create<System.Object, System.Int32>(shopInfo.Email
1744
1745 #line default
1746 #line hidden
1747 , 22047), false)
1748 );
1749
1750 WriteLiteral(" class=\"underline text-black\"");
1751
1752 WriteLiteral(">");
1753
1754
1755 #line 446 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1756 Write(shopInfo.Email);
1757
1758
1759 #line default
1760 #line hidden
1761 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t\t</li>\r\n\t\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t\t<div");
1762
1763 WriteLiteral(" class=\"w-full md:w-1/2\"");
1764
1765 WriteLiteral(">\r\n");
1766
1767
1768 #line 452 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1769
1770
1771 #line default
1772 #line hidden
1773
1774 #line 452 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1775 if (shopInfo.ShopInformationList.Count > 0 || shopInfo.OpeningHours != null)
1776 {
1777
1778
1779 #line default
1780 #line hidden
1781 WriteLiteral("\t\t\t\t\t\t\t\t\t<p");
1782
1783 WriteLiteral(" class=\"mb-2\"");
1784
1785 WriteLiteral("><strong>");
1786
1787
1788 #line 454 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1789 Write(Translate("openinghours", "Åbningstider"));
1790
1791
1792 #line default
1793 #line hidden
1794 WriteLiteral("</strong></p>\r\n");
1795
1796
1797 #line 455 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1798 }
1799
1800
1801 #line default
1802 #line hidden
1803 WriteLiteral("\t\t\t\t\t\t\t\t");
1804
1805
1806 #line 456 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1807 if (shopInfo.ShopInformationList.Count > 0)
1808 {
1809 foreach (var row in shopInfo.ShopInformationList)
1810 {
1811 var rowClass = !string.IsNullOrEmpty(row.columnTwo) ? "basis-1/2" : "";
1812
1813
1814 #line default
1815 #line hidden
1816 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<div");
1817
1818 WriteLiteral(" class=\"flex gap-x-2\"");
1819
1820 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t\t<div");
1821
1822 WriteAttribute("class", Tuple.Create(" class=\"", 22677), Tuple.Create("\"", 22694)
1823
1824 #line 462 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1825 , Tuple.Create(Tuple.Create("", 22685), Tuple.Create<System.Object, System.Int32>(rowClass
1826
1827 #line default
1828 #line hidden
1829 , 22685), false)
1830 );
1831
1832 WriteLiteral(">\r\n");
1833
1834 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t");
1835
1836
1837 #line 463 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1838 Write(row.columnOne);
1839
1840
1841 #line default
1842 #line hidden
1843 WriteLiteral("\r\n\t\t\t\t\t\t\t\t\t\t\t</div>\r\n");
1844
1845
1846 #line 465 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1847
1848
1849 #line default
1850 #line hidden
1851
1852 #line 465 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1853 if (!string.IsNullOrEmpty(row.columnTwo))
1854 {
1855
1856
1857 #line default
1858 #line hidden
1859 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t<div>");
1860
1861
1862 #line 467 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1863 Write(row.columnTwo);
1864
1865
1866 #line default
1867 #line hidden
1868 WriteLiteral("</div>\r\n");
1869
1870
1871 #line 468 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1872 }
1873
1874
1875 #line default
1876 #line hidden
1877 WriteLiteral("\t\t\t\t\t\t\t\t\t\t</div>\r\n");
1878
1879
1880 #line 470 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1881 }
1882 }
1883 else if (shopInfo.OpeningHours != null)
1884 {
1885
1886
1887 #line default
1888 #line hidden
1889 WriteLiteral("\t\t\t\t\t\t\t\t\t<div");
1890
1891 WriteLiteral(" class=\"flex flex-col justify-content items-center gap-2 md:items-start\"");
1892
1893 WriteLiteral(">");
1894
1895
1896 #line 474 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1897 Write(shopInfo.OpeningHours);
1898
1899
1900 #line default
1901 #line hidden
1902 WriteLiteral("</div>\r\n");
1903
1904
1905 #line 475 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1906 }
1907
1908
1909 #line default
1910 #line hidden
1911 WriteLiteral("\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n");
1912
1913
1914 #line 479 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1915 }
1916
1917
1918 #line default
1919 #line hidden
1920 WriteLiteral("\t\t\t\t\t<ul");
1921
1922 WriteLiteral(" class=\"list-none flex gap-2 mb-8\"");
1923
1924 WriteLiteral(">\r\n");
1925
1926
1927 #line 481 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1928
1929
1930 #line default
1931 #line hidden
1932
1933 #line 481 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1934 foreach (var Some in GetLoop("Item.Area.SocialMediaIcons"))
1935 {
1936 string Link = Some.GetString("Item.Area.SocialMediaIcons.Link");
1937 string Icon = Some.GetString("Item.Area.SocialMediaIcons.Icon.Value");
1938
1939
1940 #line default
1941 #line hidden
1942 WriteLiteral("\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t<a");
1943
1944 WriteAttribute("href", Tuple.Create(" href=\"", 23431), Tuple.Create("\"", 23443)
1945
1946 #line 486 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1947 , Tuple.Create(Tuple.Create("", 23438), Tuple.Create<System.Object, System.Int32>(Link
1948
1949 #line default
1950 #line hidden
1951 , 23438), false)
1952 );
1953
1954 WriteLiteral(" target=\"_blank\"");
1955
1956 WriteLiteral(" class=\"text-black text-2xl hover:text-grey-dark\"");
1957
1958 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img");
1959
1960 WriteLiteral(" width=\"37\"");
1961
1962 WriteLiteral(" height=\"37\"");
1963
1964 WriteAttribute("src", Tuple.Create(" src=\"", 23548), Tuple.Create("\"", 23626)
1965 , Tuple.Create(Tuple.Create("", 23554), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 23554), true)
1966
1967 #line 487 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1968 , Tuple.Create(Tuple.Create("", 23588), Tuple.Create<System.Object, System.Int32>(Icon
1969
1970 #line default
1971 #line hidden
1972 , 23588), false)
1973 , Tuple.Create(Tuple.Create("", 23593), Tuple.Create("&Format=webP&Quality=90&Height=40", 23593), true)
1974 );
1975
1976 WriteLiteral(" alt=\"social icon\"");
1977
1978 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t</li>\r\n");
1979
1980
1981 #line 490 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1982 }
1983
1984
1985 #line default
1986 #line hidden
1987 WriteLiteral("\r\n");
1988
1989
1990 #line 492 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1991
1992
1993 #line default
1994 #line hidden
1995
1996 #line 492 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1997 foreach (var Some in GetLoop("Item.Area.SocialMediaFontawesomeIcons"))
1998 {
1999 string Link = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.Link");
2000 string Icon = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.FontawesomeClass");
2001
2002
2003 #line default
2004 #line hidden
2005 WriteLiteral("\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t<a");
2006
2007 WriteAttribute("href", Tuple.Create(" href=\"", 23978), Tuple.Create("\"", 23990)
2008
2009 #line 497 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2010 , Tuple.Create(Tuple.Create("", 23985), Tuple.Create<System.Object, System.Int32>(Link
2011
2012 #line default
2013 #line hidden
2014 , 23985), false)
2015 );
2016
2017 WriteLiteral(" target=\"_blank\"");
2018
2019 WriteLiteral(" class=\"text-black text-3xl hover:text-grey-dark\"");
2020
2021 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<i");
2022
2023 WriteAttribute("class", Tuple.Create(" class=\"", 24070), Tuple.Create("\"", 24083)
2024
2025 #line 498 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2026 , Tuple.Create(Tuple.Create("", 24078), Tuple.Create<System.Object, System.Int32>(Icon
2027
2028 #line default
2029 #line hidden
2030 , 24078), false)
2031 );
2032
2033 WriteLiteral("></i>\r\n\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t</li>\r\n");
2034
2035
2036 #line 501 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2037 }
2038
2039
2040 #line default
2041 #line hidden
2042 WriteLiteral("\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div");
2043
2044 WriteLiteral(" class=\"hidden lg:flex justify-center items-end w-full lg:w-2/4\"");
2045
2046 WriteLiteral(">\r\n");
2047
2048
2049 #line 505 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2050
2051
2052 #line default
2053 #line hidden
2054
2055 #line 505 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2056
2057 string footerStaffImagePath = String.Format("/Files/Images/Owners/Large/{0}.png", shopname);
2058 string footerStaffGetImage = "";
2059 if (!String.IsNullOrEmpty(footerStaffImagePath))
2060 {
2061 footerStaffGetImage = "/Admin/Public/GetImage.ashx?Image=" + footerStaffImagePath + "&Format=webP&Quality=90&width=640&height=300";
2062 }
2063
2064
2065 #line default
2066 #line hidden
2067 WriteLiteral("\r\n\t\t\t\t\t<img");
2068
2069 WriteLiteral(" width=\"640\"");
2070
2071 WriteLiteral(" height=\"300\"");
2072
2073 WriteLiteral(" class=\"img-fit-contain-x\"");
2074
2075 WriteAttribute("src", Tuple.Create(" src=\"", 24658), Tuple.Create("\"", 24684)
2076
2077 #line 513 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2078 , Tuple.Create(Tuple.Create("", 24664), Tuple.Create<System.Object, System.Int32>(footerStaffGetImage
2079
2080 #line default
2081 #line hidden
2082 , 24664), false)
2083 );
2084
2085 WriteAttribute("alt", Tuple.Create(" alt=\"", 24685), Tuple.Create("\"", 24700)
2086
2087 #line 513 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2088 , Tuple.Create(Tuple.Create("", 24691), Tuple.Create<System.Object, System.Int32>(shopname
2089
2090 #line default
2091 #line hidden
2092 , 24691), false)
2093 );
2094
2095 WriteLiteral(">\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</section>\r\n");
2096
2097
2098 #line 517 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2099
2100
2101
2102 #line default
2103 #line hidden
2104 WriteLiteral("\t\t<section");
2105
2106 WriteLiteral(" class=\"bg-beige-dark py-10\"");
2107
2108 WriteLiteral(">\r\n\t\t\t<div");
2109
2110 WriteLiteral(" class=\"container\"");
2111
2112 WriteLiteral(">\r\n\t\t\t\t<div");
2113
2114 WriteLiteral(" class=\"flex flex-wrap xl:flex-nowrap xl:flex-row gap-4 \"");
2115
2116 WriteLiteral(">\r\n\t\t\t\t\t<div");
2117
2118 WriteLiteral(" class=\"w-full grid md:grid-cols-3 xl:grid-cols-6 gap-y-4 *:list-none *:text-cent" +
2119 "er *:md:text-left *:text-sm *:leading-8\"");
2120
2121 WriteLiteral(">\r\n\t\t\t\t\t\t<ul");
2122
2123 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\"");
2124
2125 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
2126
2127
2128 #line 523 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2129 Write(GetString("Item.Area.Footer_Column_1_Header"));
2130
2131
2132 #line default
2133 #line hidden
2134 WriteLiteral("</strong>\r\n");
2135
2136
2137 #line 524 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2138
2139
2140 #line default
2141 #line hidden
2142
2143 #line 524 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2144 foreach (var Link in GetLoop("Item.Area.Footer_Column_1_Links"))
2145 {
2146 string LinkText = Link.GetString("Item.Area.Footer_Column_1_Links.LinkText");
2147 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_1_Links.Link");
2148
2149
2150 #line default
2151 #line hidden
2152 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a");
2153
2154 WriteAttribute("href", Tuple.Create(" href=\"", 25449), Tuple.Create("\"", 25472)
2155
2156 #line 529 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2157 , Tuple.Create(Tuple.Create("", 25456), Tuple.Create<System.Object, System.Int32>(LinkDestination
2158
2159 #line default
2160 #line hidden
2161 , 25456), false)
2162 );
2163
2164 WriteLiteral(" class=\"text-black hover:underline hover:text-black\"");
2165
2166 WriteLiteral(">");
2167
2168
2169 #line 529 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2170 Write(LinkText);
2171
2172
2173 #line default
2174 #line hidden
2175 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n");
2176
2177
2178 #line 531 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2179 }
2180
2181
2182 #line default
2183 #line hidden
2184 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t<ul");
2185
2186 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\"");
2187
2188 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
2189
2190
2191 #line 534 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2192 Write(GetString("Item.Area.Footer_Column_2_Header"));
2193
2194
2195 #line default
2196 #line hidden
2197 WriteLiteral("</strong>\r\n");
2198
2199
2200 #line 535 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2201
2202
2203 #line default
2204 #line hidden
2205
2206 #line 535 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2207 foreach (var Link in GetLoop("Item.Area.Footer_Column_2_Links"))
2208 {
2209 string LinkText = Link.GetString("Item.Area.Footer_Column_2_Links.LinkText");
2210 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_2_Links.Link");
2211
2212
2213 #line default
2214 #line hidden
2215 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a");
2216
2217 WriteAttribute("href", Tuple.Create(" href=\"", 26014), Tuple.Create("\"", 26037)
2218
2219 #line 540 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2220 , Tuple.Create(Tuple.Create("", 26021), Tuple.Create<System.Object, System.Int32>(LinkDestination
2221
2222 #line default
2223 #line hidden
2224 , 26021), false)
2225 );
2226
2227 WriteLiteral(" class=\"text-sm text-black\"");
2228
2229 WriteLiteral(">");
2230
2231
2232 #line 540 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2233 Write(LinkText);
2234
2235
2236 #line default
2237 #line hidden
2238 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n");
2239
2240
2241 #line 542 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2242 }
2243
2244
2245 #line default
2246 #line hidden
2247 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t<ul");
2248
2249 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\"");
2250
2251 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
2252
2253
2254 #line 545 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2255 Write(GetString("Item.Area.Footer_Column_3_Header"));
2256
2257
2258 #line default
2259 #line hidden
2260 WriteLiteral("</strong>\r\n");
2261
2262
2263 #line 546 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2264
2265
2266 #line default
2267 #line hidden
2268
2269 #line 546 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2270 foreach (var Link in GetLoop("Item.Area.Footer_Column_3_Links"))
2271 {
2272 string LinkText = Link.GetString("Item.Area.Footer_Column_3_Links.LinkText");
2273 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_3_Links.Link");
2274
2275
2276 #line default
2277 #line hidden
2278 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a");
2279
2280 WriteAttribute("href", Tuple.Create(" href=\"", 26554), Tuple.Create("\"", 26577)
2281
2282 #line 551 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2283 , Tuple.Create(Tuple.Create("", 26561), Tuple.Create<System.Object, System.Int32>(LinkDestination
2284
2285 #line default
2286 #line hidden
2287 , 26561), false)
2288 );
2289
2290 WriteLiteral(" class=\"text-sm text-black\"");
2291
2292 WriteLiteral(">");
2293
2294
2295 #line 551 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2296 Write(LinkText);
2297
2298
2299 #line default
2300 #line hidden
2301 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n");
2302
2303
2304 #line 553 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2305 }
2306
2307
2308 #line default
2309 #line hidden
2310 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\r\n\t\t\t\t\t\t<div");
2311
2312 WriteLiteral(" class=\"col-span-3\"");
2313
2314 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
2315
2316
2317 #line 557 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2318 Write(Translate("Co3.Newsletter.Headline.Text", "Møblérs nyhedsbrev"));
2319
2320
2321 #line default
2322 #line hidden
2323 WriteLiteral("</strong>\r\n\t\t\t\t\t\t\t<newsletter></newsletter>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div" +
2324 ">\r\n\t\t\t</div>\r\n\t\t</section>\r\n");
2325
2326
2327 #line 564 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2328
2329
2330
2331 #line default
2332 #line hidden
2333 WriteLiteral("\t\t<div");
2334
2335 WriteLiteral(" class=\"py-4 bg-white\"");
2336
2337 WriteLiteral(">\r\n\t\t\t<div");
2338
2339 WriteLiteral(" class=\"container flex flex-col md:flex-row gap-y-4\"");
2340
2341 WriteLiteral(">\r\n\t\t\t\t<div");
2342
2343 WriteLiteral(" class=\"w-full xl:w-1/2 flex justify-center items-center md:justify-start text-xs" +
2344 "\"");
2345
2346 WriteLiteral(">\r\n\t\t\t\t\t© ");
2347
2348
2349 #line 568 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2350 Write(currentYear);
2351
2352
2353 #line default
2354 #line hidden
2355 WriteLiteral(" ");
2356
2357
2358 #line 568 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2359 Write(Translate("Copyright", "Møblér. All Rights Reserved."));
2360
2361
2362 #line default
2363 #line hidden
2364 WriteLiteral("\r\n\t\t\t\t</div>\r\n\t\t\t\t<div");
2365
2366 WriteLiteral(" class=\"w-full xl:w-1/2 flex items-center md:justify-end\"");
2367
2368 WriteLiteral(">\r\n\t\t\t\t\t<a");
2369
2370 WriteAttribute("href", Tuple.Create(" href=\'", 27233), Tuple.Create("\'", 27276)
2371
2372 #line 571 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2373 , Tuple.Create(Tuple.Create("", 27240), Tuple.Create<System.Object, System.Int32>(Translate("PersondataLink", "link")
2374
2375 #line default
2376 #line hidden
2377 , 27240), false)
2378 );
2379
2380 WriteLiteral(" class=\"text-xs underline text-black mr-2\"");
2381
2382 WriteLiteral(">");
2383
2384
2385 #line 571 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2386 Write(Translate("PersondataText", "Persondatapolitik"));
2387
2388
2389 #line default
2390 #line hidden
2391 WriteLiteral("</a>\r\n\t\t\t\t\t<paymentmethodlogos");
2392
2393 WriteLiteral(" data-all-payments=\"true\"");
2394
2395 WriteLiteral("></paymentmethodlogos>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t</div>\r\n");
2396
2397
2398 #line 577 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2399 }
2400
2401
2402 #line default
2403 #line hidden
2404 WriteLiteral("\r\n\t<script");
2405
2406 WriteLiteral(" type=\"module\"");
2407
2408 WriteLiteral(" src=\"https://viewer-cdn.cylindo.com/v1/index.mjs\"");
2409
2410 WriteLiteral(" defer=\"\"");
2411
2412 WriteLiteral("></script>\r\n\r\n");
2413
2414 WriteLiteral("\t");
2415
2416
2417 #line 581 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2418 Write(Pageview.AddViteScript());
2419
2420
2421 #line default
2422 #line hidden
2423 WriteLiteral("\r\n</body>\r\n</html>\r\n");
2424
2425 }
2426 }
2427 }
2428
1 @using System.Web;
2 @using System.Text.RegularExpressions
3 @using Dynamicweb.Core.Helpers
4 @using Dynamicweb.Frontend.Navigation
5 @using Dynamicweb.Rendering.Translation
6 @using Newtonsoft.Json
7 @using NuGet
8 @using Mobler.Website.CustomCode.Models
9 @using Vite.Dw.Extensions
10 @using HttpUtility = System.Web.HttpUtility
11 @using Mobler.Website.CustomCode.Frontend.V2.Helpers
12
13 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
14
15 @{
16 string CurrentEcomShopId = Dynamicweb.Frontend.PageView.Current().Area.EcomShopId;
17 string CurrentEcomLanguageId = Dynamicweb.Ecommerce.Common.Context.LanguageID;
18 string MainShopLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("MainShopLink");
19 string shopname = Website.GetShopName();
20 string shopnameEncoded = HttpUtility.UrlEncode(shopname);
21 var shopInfo = Website.ShopInfo();
22 string globalAreaName = GetGlobalValue("Global:Area.Name");
23
24 string culture = Dynamicweb.Frontend.PageView.Current().Area.Culture;
25 string designFolder = Dynamicweb.Frontend.PageView.Current().Area.Layout.Design.Name;
26
27 string logoSrc = "";
28 string logoSrcMobile = "";
29
30 if (shopname.ToLower() != "møblér" && shopname.ToLower() != "mobler" && shopname.ToLower() != "m%c3%b8bl%c3%a9r" && !string.IsNullOrEmpty(shopname))
31 {
32 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + ".svg";
33 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + "-mobile.svg";
34 } else {
35 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg";
36 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg";
37 }
38
39 //this defines a shoppage
40 if (GetString("Item.SystemName") == "TextPage")
41 {
42 shopname = GetString("DwPageName_2");
43 }
44
45 string imageName = shopname.Replace(" ", string.Empty) + "-owner.png";
46 string localShopPage = Website.localshopPage();
47 string FindDealerPage = GetString("Item.Area.FindDealerPage");
48 string CartPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CartPage");
49
50 string SearchNoResults = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("NoResults");
51 string SearchPagePageSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") : "20";
52 string InstantSearchSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") : "10";
53
54 string SearchResultPageId = "";
55 if (Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=').Length > 1)
56 {
57 SearchResultPageId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=')[1];
58 }
59 string FooterLinkDestination = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Link");
60 int ShopPageId = GetInteger("Item.Area.ShopPageId");
61 string SearchBarPlaceholder = Translate("SearchbarPlaceholderText", "Søg..");
62 int GlobalNewsletterParagraphId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("GlobalNewsletterParagraphId");
63 int CartCount = GetLoop("OrderLines").Count;
64 bool FirstShopWithSameName = true;
65 string SelectPlaceholder = Translate("ShopSelectPlaceholder", "Indtast by, postnummer eller adresse");
66 string SelectNoResult = Translate("ShopSelectNoResult", "No such shop found");
67 int ProductPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("PrimaryProductPage");
68
69 DateTime today = DateTime.Today;
70 string currentYear = today.ToString("yyyy");
71
72 string BannerBackgroundColor = GetString("Item.Area.BannerBackgroundColor");
73 string BannerTextColor = GetString("Item.Area.BannerTextColor");
74 var TopBarNav = GetLoop("Item.Area.TopBarNavigation");
75 var TopbarHeaderContent = GetLoop("Item.Area.TopbarHeaderContent");
76 string TilbudBgColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudBackgroundColor.Value")) ? GetString("Item.Area.TilbudBackgroundColor.Value") : "#00AB5D";
77 string TilbudTextColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudTextColor.Value")) ? GetString("Item.Area.TilbudTextColor.Value") : "#FFFFFF";
78 string StrongPriceBgColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisBackgroundColor.Value")) ? GetString("Item.Area.St_rkPrisBackgroundColor.Value") : "#9d4778";
79 string StrongPriceTextColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisTextColor.Value")) ? GetString("Item.Area.St_rkPrisTextColor.Value") : "#FFFFFF";
80 var uniqueSellingPoints = GetLoop("Item.Area.UniqueSellingPoints");
81 string CookieText = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieText");
82 string CookieReadMore = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieReadMoreText");
83 var TopLevelGroups = Dynamicweb.Ecommerce.Services.ProductGroups.GetToplevelGroups().Where(g => g.ShopId == CurrentEcomShopId && g.LanguageId == CurrentEcomLanguageId && g.NavigationShowInMenu).ToList();
84 string CurrentUri = HttpContext.Current.Request.Url.PathAndQuery.ToString().Replace("/Default.aspx", "Default.aspx");
85 string convertedUri = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(CurrentUri);
86 string CanonicalUri = Website.createCanonical();
87 string CanonicalDomain = "mobler.dk";
88 if (Website.IsLocalWebshop())
89 {
90 CanonicalDomain = System.Web.HttpContext.Current.Request.Url.Host;
91 }
92 string CanonicalURL = "https://" + CanonicalDomain + CanonicalUri;
93 string AvisLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Avis");
94 string FindShopSearchPlaceholder = Translate("HeaderNav.FindShopPlaceholder", "Indtast postnr., by eller adresse");
95 string SetBannerEndpoint = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("GetCartJson");
96 bool ShowTopBanner = Mobler.Website.CustomCode.Frontend.V2.Helpers.MessageBanner.ShowMessageBanner();
97 bool EnableTopBarHeader = GetBoolean("Item.Area.EnableTopBarHeader.Value");
98 bool EnableTopBarNavigation = GetBoolean("Item.Area.EnableTopBarBanner.Value") && ShowTopBanner;
99
100 bool EnableGoogleShoppingScript = GetBoolean("Item.Area.EnableGoogleShoppingScript.Value");
101 string GoogleShoppingContentKey = GetString("Item.Area.GoogleShoppingContentKey.Value");
102
103 bool EnableFacebookScript = GetBoolean("Item.Area.EnableFacebookScript.Value");
104 string FacebookScriptContentKey = GetString("Item.Area.FacebookScriptContentKey.Value");
105 string PinterestDomainVerifyContentKey = GetString("Item.Area.PinterestDomainVerifyContentKey.Value");
106
107 bool IsCheckoutStep = false || HttpContext.Current.Request.RawUrl.Contains("checkout");
108 bool isCheckoutFirstStep = false || HttpContext.Current.Request.RawUrl.Contains("indkoebskurv");
109 }
110
111 <!doctype html>
112 <html lang="da" class="box-border w-screen">
113
114 <head>
115 <script src="https://catalog-deploy.shopvertize.io/mobler/publication-c4737f54-8932-482b-b53f-6c2c4fb7deb0.js"></script>
116 <script>
117 // Temporary workaround for hiding the Cookiebot banner from Web Vitals scans
118 // https://support.cookiebot.com/hc/en-us/articles/360020501579-Google-Core-Web-Vitals-and-Cookiebot-CMP#h_01H05PZGDJ2TGTZBP5R1FC8EMH
119 window.addEventListener("CookiebotOnDialogInit", function() {
120 if (Cookiebot.getDomainUrlParam("CookiebotScan") === "true")
121 Cookiebot.setOutOfRegion();
122 });
123 </script>
124 <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="ec05aeab-ec7b-4d91-81fc-a8ebbcce1f2f" data-blockingmode="auto" type="text/javascript"></script>
125 <script data-cookieconsent="ignore">
126 window.domGaTrackingEvents = [];
127 window.domFbqTrackingEvents = [];
128
129 window.dataLayer = window.dataLayer || [];
130 function gtag() {
131 dataLayer.push(arguments);
132 }
133 gtag("consent", "default", {
134 ad_storage: "denied",
135 analytics_storage: "denied",
136 functionality_storage: "denied",
137 personalization_storage: "denied",
138 security_storage: "granted",
139 wait_for_update: 500,
140 });
141 gtag("set", "ads_data_redaction", true);
142 gtag("set", "url_passthrough", true);
143 </script>
144 @*GTM*@
145 <script>
146 var ecomm_pagetype = "other";
147 var ecomm_totalvalue = 0;
148 var ecomm_prodid = "";
149 </script>
150 @RenderSnippet("DataLayerOverwrites")
151
152 @RenderSnippet("DataLayerOverwriteReceipt")
153
154 <!-- Google Tag Manager -->
155 <script data-cookieconsent="ignore">!function () { "use strict"; function e(e) { return function (e) { for (var t = 0, r = document.cookie.split(";"); t < r.length; t++) { var n = r[t].split("="); if (n[0].trim() === e) return n[1] } }(e) } function t(e) { return localStorage.getItem(e) } function r(e) { return window[e] } function n(e, t) { var r = document.querySelector(e); return t ? null == r ? void 0 : r.getAttribute(t) : null == r ? void 0 : r.textContent } !function (o, i, a, c, u, l, s, v, d, f, g) { var E, I, m, T; try { I = d && (m = navigator.userAgent, (T = new RegExp("Version/([0-9._]+)(.*Mobile)?.*Safari.*").exec(m)) && parseFloat(T[1]) >= 16.4) ? function (o, i, a) { void 0 === i && (i = ""); var c = { cookie: e, localStorage: t, jsVariable: r, cssSelector: n }, u = Array.isArray(i) ? i : [i]; if (o && c[o]) for (var l = c[o], s = 0, v = u; s < v.length; s++) { var d = v[s], f = a ? l(d, a) : l(d); if (f) return f } else console.warn("invalid uid source", o) }(d, "user_id", "") : void 0 } catch (e) { console.error(e) } var _ = o; _[c] = _[c] || [], _[c].push({ "gtm.start": (new Date).getTime(), event: "gtm.js" }); var p = i.getElementsByTagName(a)[0], A = I ? "&bi=" + encodeURIComponent(I) : "", N = i.createElement(a), D = I ? "kp" + v : v, R = !I && s ? s : "https://gtm.mobler.dk"; N.async = !0, N.src = R + "/" + D + ".js?id=GTM-PN9ZSS" + A, null === (E = p.parentNode) || void 0 === E || E.insertBefore(N, p) }(window, document, "script", "dataLayer", 0, 0, "", "rcuxkqbl", "cookie") }();</script>
156 <!-- End Google Tag Manager -->
157 <!-- Required meta tags -->
158 <meta charset="utf-8">
159 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
160
161 @if (string.IsNullOrEmpty(Dynamicweb.Context.Current.Request["productid"]))
162 {
163
164
165 <title>@GetValue("Title")</title>
166 @GetValue("MetaTags")
167 @GetValue("CopyRightNotice")
168
169 }
170 else
171 {
172 @RenderSnippet("ProductDetailsMeta")
173 }
174
175 @if ((Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop() && !System.Web.HttpContext.Current.Request.RawUrl.ToLower().EndsWith("/om-os")) || (System.Web.HttpContext.Current.Request.Url.Host.ToLower().Contains("1stweb") && !System.Web.HttpContext.Current.Request.Url.PathAndQuery.ToLower().Contains("debug")) || System.Web.HttpContext.Current.Request.Url.AbsoluteUri.ToLower().Contains("groupid=pim-"))
176 {
177 <meta name="robots" content="noindex">
178 }
179
180 @if (!Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop())
181 {
182 <link rel="canonical" href="@CanonicalURL">
183 }
184 <meta property="og:url" content="@CanonicalURL">
185 <meta property="og:title" content="@GetValue(" title")"="">
186
187 <link rel="shortcut icon" type="image/ico" href="/Files/Templates/Designs/Mobler2016/images/icons/favicon.ico">
188
189 @if (GetString("Item.SystemName") == "BlogPost")
190 {
191 string imageMasterPage = GetString("Item.Billede.Value");
192 string TeaserText = Regex.Replace(GetString("Item.TeaserTekst"), "<.*?>", String.Empty);
193 <meta property="og:type" content="article">
194 <meta property="og:description" content="@TeaserText">
195 <meta property="og:image" content="@imageMasterPage">
196 }
197 else if (GetString("Item.SystemName") == "Brand")
198 {
199 string imageMasterPage = GetString("Item.Logo.Value");
200 string TeaserText = GetString("Item.Navn");
201 <meta property="og:type" content="article">
202 <meta property="og:description" content="@TeaserText">
203 <meta property="og:image" content="@imageMasterPage">
204 }
205 else if (System.Web.HttpContext.Current.Items["OverrideOgTags"] != null)
206 {
207 @RenderSnippet("OgTags")
208 }
209 else
210 {
211 <meta property="og:type" content="business.business">
212 <meta property="og:description" content="@GetString(" meta.description")"="">
213 <meta property="og:image" content="https://mobler.dk/Files/Templates/Designs/Mobler2018/dist/logos/mobler.svg">
214 }
215
216
217 @if (EnableGoogleShoppingScript && !string.IsNullOrEmpty(GoogleShoppingContentKey))
218 {
219 <meta name="google-site-verification" content="@GoogleShoppingContentKey">
220 }
221
222 @if (EnableFacebookScript && !string.IsNullOrEmpty(FacebookScriptContentKey))
223 {
224 <meta name="facebook-domain-verification" content="@FacebookScriptContentKey">
225 }
226
227 @if (EnableFacebookScript && !string.IsNullOrEmpty(PinterestDomainVerifyContentKey))
228 {
229 <meta name="p:domain_verify" content="@PinterestDomainVerifyContentKey">
230 }
231
232 @Pageview.AddViteStyles()
233
234 <link rel="preconnect" href="https://content.cylindo.com" crossorigin="">
235
236
237 @GetValue("Stylesheets")
238 @GetValue("Javascripts")
239 </head>
240 @{
241 bool isBlackFriday = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetBoolean("BlackFridayTheme");
242 string blackFridayThemeClass = isBlackFriday ? "theme--black-friday" : "";
243 }
244 <body class="@blackFridayThemeClass overflow-x-hidden" data-bind="viewModel: 'MasterViewModel', Cookies" data-currentshopislocalwebshop="@Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop()" data-mainshoplink="@MainShopLink" data-culture="@culture" data-design="@designFolder">
245
246 <!-- Google Tag Manager (noscript) -->
247 <noscript><iframe src="https://gtm.mobler.dk/ns.html?id=GTM-PN9ZSS" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
248 <!-- End Google Tag Manager (noscript) -->
249
250 <siteheader></siteheader>
251
252 <div data-bind="viewModel: 'HeaderViewModel'">
253 <header class="js-header">
254
255 <!-- TODO: Add logic to SiteHeader -->
256 @if (EnableTopBarNavigation && !IsCheckoutStep && TopBarNav != null)
257 {
258 dynamic NotificationData = new
259 {
260 bannerStyle = new
261 {
262 backgroundColor = BannerBackgroundColor,
263 textColor = BannerTextColor
264 },
265 bannerContent = TopBarNav.Select(item => new
266 {
267 link = item.GetString("Item.Area.TopBarNavigation.NavItemLink"),
268 text = item.GetString("Item.Area.TopBarNavigation.NavItemText")
269 }).ToList()
270 };
271 object NotificationDataJson = HttpUtility.HtmlAttributeEncode(Newtonsoft.Json.JsonConvert.SerializeObject(NotificationData));
272 <script>//console.log("%cNotificationDataJson", "color:white;background:rebeccapurple;padding:5px;", @Newtonsoft.Json.JsonConvert.SerializeObject(NotificationData, new Newtonsoft.Json.JsonSerializerSettings {ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore, PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects}));</script>
273
274 <notificationelement data-theme="info" data-content="@NotificationDataJson"></notificationelement>
275 @*<div class="container-fluid js-top-banner topbar-nav">
276
277 <div class="text-center" style="background-color:@BannerBackgroundColor;">
278 <div class="flex justify-center items- py-1">
279 <ul class="list-none">
280 @foreach (var navItem in TopBarNav)
281 {
282 string ItemLink = navItem.GetString("Item.Area.TopBarNavigation.NavItemLink");
283 string ItemText = navItem.GetString("Item.Area.TopBarNavigation.NavItemText");
284 <li>
285 <a class="nav-link p-1 rte-content" href='@ItemLink' style="color:@BannerTextColor;">
286 @ItemText
287 </a>
288 </li>
289 }
290 </ul>
291 <div class="ml-2">
292 <a href="#" data-bind="topBanner: { target: '.js-top-banner', endpoint: '@SetBannerEndpoint' }">
293 <i class="fa-solid fa-xmark" style="color:@BannerTextColor;"></i>
294 </a>
295 </div>
296 </div>
297 </div>
298 </div>*@
299 }
300 </header>
301 <localshopmodal data-show="false" data-text="@GetString(" item.area.localwebshoptext")"="" data-shop-name="@shopnameEncoded" data-is-local-shop="@Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop().ToString().ToLower()"></localshopmodal>
302 </div>
303
304 @using Mobler.Website.CustomModules.MoblerHelpers;
305 @using Dynamicweb.Content.Items;
306 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
307
308
309 @{
310 var CurrentPageView = Dynamicweb.Frontend.PageView.Current().Page;
311 var CurrentPage = Dynamicweb.Services.Pages.GetPage(CurrentPageView.ID);
312 var Questions = MoblerHelpers.GetFaqQuestions(CurrentPage);
313 int QuestionCounter = 1;
314 }
315
316 @RenderNavigation(new { ExpandMode = "All", Template = "breadcrumb.xslt" })
317
318 <div class="container my-3">
319 <h1 class="text-uppercase mb-5">@CurrentPage.MenuText</h1>
320 </div>
321
322 <div class="box-shadow mb-5 mt-3">
323 <div class="container py-5">
324 <p class="font-bold">@Translate("FAQHeader", "Ofte stillede spørgsmål")</p>
325 <div class="row">
326 @foreach (var Question in Questions)
327 {
328 Dynamicweb.Content.Page QuestionPage = Dynamicweb.Services.Pages.GetPageForItem(Question.SystemName, Question.Id);
329
330 string Url = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(QuestionPage.Parent.ID);
331 string CollapseId = "collapse-" + QuestionCounter;
332 <div class="col-12 col-md-6 faq-question">
333 <div class="p-2 pointer" data-toggle="collapse" data-target="#@CollapseId">
334 <p class="flex-fill flex justify-content-between items-center mb-0 text-primary">@Question["Question"] <i class="fas fa-chevron-right"></i></p>
335 </div>
336 <div class="collapse" id="@CollapseId">
337 <div class="p-2 answer">
338 <div>@Question["Answer"]</div>
339 </div>
340 </div>
341 </div>
342 QuestionCounter++;
343 }
344 </div>
345 </div>
346 </div>
347
348 <div id="content1">@GetValue("DwContent(content1)")</div>
349
350
351
352 @if (!IsCheckoutStep)
353 {
354 if (!isCheckoutFirstStep)
355 {
356 var brandsLoop = @GetLoop("Item.Page.Brand_Icon.Value");
357 <!-- TODO: (Out of scope) Clean this up so we don't repeat -->
358 <section class="container py-8">
359 <div class="grid grid-cols-3 md:grid-cols-6 gap-4">
360 @if (brandsLoop.Count <= 0)
361 {
362 foreach (var item in GetLoop("Item.Area.Featured_Brands"))
363 {
364 string Link = item.GetString("Item.Area.Featured_Brands.Brand.Value");
365 var Brand = Firstweb.Custom.CustomCode.Frontend.Helpers.Brands.GetBrand(Link);
366
367 if (!String.IsNullOrEmpty(Brand.Name))
368 {
369 <a href="@Brand.Link">
370 <img width="900" height="400" class="img-fit-contain-x" src="/Admin/Public/GetImage.ashx?Image=@Brand.Logo&Format=webP&Quality=90&Height=400" alt="@Brand.Name">
371 </a>
372 }
373 }
374 }
375 else
376 {
377 foreach (var item in brandsLoop)
378 {
379 string image = item.GetString("Item.Page.Brand_Icon.Value.Image.Value");
380 string link = item.GetString("Item.Page.Brand_Icon.Value.LinkDestination.Value");
381
382 if (!String.IsNullOrEmpty(image))
383 {
384 <a href="@link">
385 <img width="900" height="400" class="img-fluid" src="/Admin/Public/GetImage.ashx?Image=@image&Format=webP&Quality=90&Height=400" alt="">
386 </a>
387 }
388 }
389 }
390 </div>
391 </section>
392 }
393
394 <section class="bg-beige pt-14 lg:pt-28">
395 <div class="container flex flex-wrap">
396 <div class="w-full md:w-3/4 lg:w-1/2 flex flex-col md:items-start gap-y-4">
397 <a href="/" class="flex flex-col md:items-center">
398 <img width="400" height="46" class="max-h-[46px] hidden md:inline-block" src="@logoSrc" alt='@Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")'>
399 <img width="400" height="46" class="max-h-[46px] w-full object-contain object-left inline md:hidden" src="@logoSrcMobile" alt='@Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")'>
400 @if (shopname.ToLower() != "møblér")
401 {
402 <small class="text-xs text-grey-dark text-center hidden md:block">@Translate("LogoServiceText", "Ordren serviceres af Møbler.dk")</small>
403 }
404 </a>
405
406 <!-- TODO: This has not been tested and styled -->
407 @if (shopnameEncoded == "M%c3%b8bl%c3%a9r")
408 {
409 <div>
410 <p class="mb-0 font-bold">@GetString("Item.Area.Header")</p>
411 <p>
412 @GetString("Item.Area.About")
413 </p>
414 <a href="@FooterLinkDestination"><u>@Translate("FooterAboutReadMore", "Læs mere om Møblér kæden her")</u></a>
415 </div>
416 }
417 else
418 {
419 if (GetString("Item.SystemName") == "TextPage")
420 {
421 string CurrentAboutUsShopName = GetString("DwPageName_2");
422 shopInfo = Website.ShopInfo(CurrentAboutUsShopName);
423 shopname = CurrentAboutUsShopName;
424 }
425
426 <div class="flex flex-wrap gap-y-4 w-full">
427 <div class="w-full md:w-1/2">
428 <ul class="list-none">
429 <li class="mb-2"><strong>@shopInfo.ShopName</strong></li>
430 <li>@shopInfo.Address</li>
431 <li>@shopInfo.PostalAndCity</li>
432 <li>
433 <a href="@localShopPage" class="underline text-black">@Translate("ShowOnMap", "Vis på kort")</a>
434 </li>
435
436 @if (!String.IsNullOrEmpty(shopInfo.Address1))
437 {
438 <li>@shopInfo.Address1, @shopInfo.PostalAndCity1</li>
439 }
440 @if (!String.IsNullOrEmpty(shopInfo.Address2))
441 {
442 <li>@shopInfo.Address2, @shopInfo.PostalAndCity2</li>
443 }
444 <li class="mt-4">@shopInfo.Phone</li>
445 <li>
446 <a href="mailto:@shopInfo.Email" class="underline text-black">@shopInfo.Email</a>
447 </li>
448 </ul>
449 </div>
450
451 <div class="w-full md:w-1/2">
452 @if (shopInfo.ShopInformationList.Count > 0 || shopInfo.OpeningHours != null)
453 {
454 <p class="mb-2"><strong>@Translate("openinghours", "Åbningstider")</strong></p>
455 }
456 @if (shopInfo.ShopInformationList.Count > 0)
457 {
458 foreach (var row in shopInfo.ShopInformationList)
459 {
460 var rowClass = !string.IsNullOrEmpty(row.columnTwo) ? "basis-1/2" : "";
461 <div class="flex gap-x-2">
462 <div class="@rowClass">
463 @row.columnOne
464 </div>
465 @if (!string.IsNullOrEmpty(row.columnTwo))
466 {
467 <div>@row.columnTwo</div>
468 }
469 </div>
470 }
471 }
472 else if (shopInfo.OpeningHours != null)
473 {
474 <div class="flex flex-col justify-content items-center gap-2 md:items-start">@shopInfo.OpeningHours</div>
475 }
476 </div>
477
478 </div>
479 }
480 <ul class="list-none flex gap-2 mb-8">
481 @foreach (var Some in GetLoop("Item.Area.SocialMediaIcons"))
482 {
483 string Link = Some.GetString("Item.Area.SocialMediaIcons.Link");
484 string Icon = Some.GetString("Item.Area.SocialMediaIcons.Icon.Value");
485 <li>
486 <a href="@Link" target="_blank" class="text-black text-2xl hover:text-grey-dark">
487 <img width="37" height="37" src="/Admin/Public/GetImage.ashx?Image=@Icon&Format=webP&Quality=90&Height=40" alt="social icon">
488 </a>
489 </li>
490 }
491
492 @foreach (var Some in GetLoop("Item.Area.SocialMediaFontawesomeIcons"))
493 {
494 string Link = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.Link");
495 string Icon = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.FontawesomeClass");
496 <li>
497 <a href="@Link" target="_blank" class="text-black text-3xl hover:text-grey-dark">
498 <i class="@Icon"></i>
499 </a>
500 </li>
501 }
502 </ul>
503 </div>
504 <div class="hidden lg:flex justify-center items-end w-full lg:w-2/4">
505 @{
506 string footerStaffImagePath = String.Format("/Files/Images/Owners/Large/{0}.png", shopname);
507 string footerStaffGetImage = "";
508 if (!String.IsNullOrEmpty(footerStaffImagePath))
509 {
510 footerStaffGetImage = "/Admin/Public/GetImage.ashx?Image=" + footerStaffImagePath + "&Format=webP&Quality=90&width=640&height=300";
511 }
512 }
513 <img width="640" height="300" class="img-fit-contain-x" src="@footerStaffGetImage" alt="@shopname">
514 </div>
515 </div>
516 </section>
517
518 <section class="bg-beige-dark py-10">
519 <div class="container">
520 <div class="flex flex-wrap xl:flex-nowrap xl:flex-row gap-4 ">
521 <div class="w-full grid md:grid-cols-3 xl:grid-cols-6 gap-y-4 *:list-none *:text-center *:md:text-left *:text-sm *:leading-8">
522 <ul class="list-none col-span-3 md:col-span-1">
523 <strong>@GetString("Item.Area.Footer_Column_1_Header")</strong>
524 @foreach (var Link in GetLoop("Item.Area.Footer_Column_1_Links"))
525 {
526 string LinkText = Link.GetString("Item.Area.Footer_Column_1_Links.LinkText");
527 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_1_Links.Link");
528 <li>
529 <a href="@LinkDestination" class="text-black hover:underline hover:text-black">@LinkText</a>
530 </li>
531 }
532 </ul>
533 <ul class="list-none col-span-3 md:col-span-1">
534 <strong>@GetString("Item.Area.Footer_Column_2_Header")</strong>
535 @foreach (var Link in GetLoop("Item.Area.Footer_Column_2_Links"))
536 {
537 string LinkText = Link.GetString("Item.Area.Footer_Column_2_Links.LinkText");
538 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_2_Links.Link");
539 <li>
540 <a href="@LinkDestination" class="text-sm text-black">@LinkText</a>
541 </li>
542 }
543 </ul>
544 <ul class="list-none col-span-3 md:col-span-1">
545 <strong>@GetString("Item.Area.Footer_Column_3_Header")</strong>
546 @foreach (var Link in GetLoop("Item.Area.Footer_Column_3_Links"))
547 {
548 string LinkText = Link.GetString("Item.Area.Footer_Column_3_Links.LinkText");
549 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_3_Links.Link");
550 <li>
551 <a href="@LinkDestination" class="text-sm text-black">@LinkText</a>
552 </li>
553 }
554 </ul>
555
556 <div class="col-span-3">
557 <strong>@Translate("Co3.Newsletter.Headline.Text", "Møblérs nyhedsbrev")</strong>
558 <newsletter></newsletter>
559 </div>
560 </div>
561 </div>
562 </div>
563 </section>
564
565 <div class="py-4 bg-white">
566 <div class="container flex flex-col md:flex-row gap-y-4">
567 <div class="w-full xl:w-1/2 flex justify-center items-center md:justify-start text-xs">
568 © @currentYear @Translate("Copyright", "Møblér. All Rights Reserved.")
569 </div>
570 <div class="w-full xl:w-1/2 flex items-center md:justify-end">
571 <a href='@Translate("PersondataLink", "link")' class="text-xs underline text-black mr-2">@Translate("PersondataText", "Persondatapolitik")</a>
572 <paymentmethodlogos data-all-payments="true"></paymentmethodlogos>
573 </div>
574
575 </div>
576 </div>
577 }
578
579 <script type="module" src="https://viewer-cdn.cylindo.com/v1/index.mjs" defer=""></script>
580
581 @Pageview.AddViteScript()
582 </body>
583 </html>
584