Error compiling template "Designs/Mobler/_parsed/FAQ-categories.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 1055: The name 'MoblerHelpers' does not exist in the current context
Line 1103: 'Services' is obsolete: 'Use Dynamicweb.Content.Services instead.'
Line 1103: 'Services.Pages' is obsolete: 'Use Dynamicweb.Content.Services.Pages instead.'
Line 1105: The name 'MoblerHelpers' does not exist in the current context
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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.parsed.cshtml"
89 using Dynamicweb.Content.Items;
90
91 #line default
92 #line hidden
93
94
95 public class RazorEngine_06c48272cfec4c20bca9589bf44e8efe : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> {
96
97 #line hidden
98
99 public RazorEngine_06c48272cfec4c20bca9589bf44e8efe() {
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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.parsed.cshtml"
1049
1050 var CurrentPageView = Dynamicweb.Frontend.PageView.Current().Page;
1051 var CurrentPage = Dynamicweb.Services.Pages.GetPage(CurrentPageView.ID);
1052 var FaqCategories = new ItemCollection();
1053 if (CurrentPage != null)
1054 {
1055 FaqCategories = MoblerHelpers.GetFaqCategories(CurrentPage);
1056 }
1057
1058
1059 #line default
1060 #line hidden
1061 WriteLiteral("\r\n\r\n");
1062
1063
1064 #line 319 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1065 Write(RenderNavigation(new { ExpandMode = "All", Template = "breadcrumb.xslt" }));
1066
1067
1068 #line default
1069 #line hidden
1070 WriteLiteral("\r\n\r\n\r\n\r\n<div");
1071
1072 WriteLiteral(" id=\"content2\"");
1073
1074 WriteLiteral(">");
1075
1076
1077 #line 323 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1078 Write(GetValue("DwContent(content2)"));
1079
1080
1081 #line default
1082 #line hidden
1083 WriteLiteral("</div>\r\n\r\n<div");
1084
1085 WriteLiteral(" class=\"container mb-5 mt-3\"");
1086
1087 WriteLiteral(">\r\n\r\n <div");
1088
1089 WriteLiteral(" class=\"row\"");
1090
1091 WriteLiteral(">\r\n");
1092
1093
1094 #line 328 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1095
1096
1097 #line default
1098 #line hidden
1099
1100 #line 328 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1101 foreach (Item FaqCategory in FaqCategories)
1102 {
1103 Dynamicweb.Content.Page faqCatPage = Dynamicweb.Services.Pages.GetPageForItem(FaqCategory.SystemName, FaqCategory.Id);
1104
1105 var link = MoblerHelpers.GetFriendlyUrl(faqCatPage.ID.ToString());
1106 var svg = FaqCategory["Icon"].ToString();
1107
1108
1109
1110 #line default
1111 #line hidden
1112 WriteLiteral(" <div");
1113
1114 WriteLiteral(" class=\"col-12 col-sm-6 col-md-4 mb-4\"");
1115
1116 WriteLiteral(">\r\n <a");
1117
1118 WriteAttribute("href", Tuple.Create(" href=\"", 17477), Tuple.Create("\"", 17489)
1119
1120 #line 336 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1121 , Tuple.Create(Tuple.Create("", 17484), Tuple.Create<System.Object, System.Int32>(link
1122
1123 #line default
1124 #line hidden
1125 , 17484), false)
1126 );
1127
1128 WriteLiteral(" class=\"faq-category h-100 text-white no-underline p-3 pt-5 bg-brand flex flex-co" +
1129 "l items-center\"");
1130
1131 WriteLiteral(">\r\n <img");
1132
1133 WriteLiteral(" class=\"mt-5 mb-3\"");
1134
1135 WriteAttribute("src", Tuple.Create(" src=\"", 17629), Tuple.Create("\"", 17639)
1136
1137 #line 337 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1138 , Tuple.Create(Tuple.Create("", 17635), Tuple.Create<System.Object, System.Int32>(svg
1139
1140 #line default
1141 #line hidden
1142 , 17635), false)
1143 );
1144
1145 WriteLiteral(">\r\n <h4");
1146
1147 WriteLiteral(" class=\"text-uppercase\"");
1148
1149 WriteLiteral(">");
1150
1151
1152 #line 338 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1153 Write(FaqCategory["Category"]);
1154
1155
1156 #line default
1157 #line hidden
1158 WriteLiteral("</h4>\r\n <div");
1159
1160 WriteLiteral(" class=\"font-bold text-center\"");
1161
1162 WriteLiteral(">");
1163
1164
1165 #line 339 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1166 Write(FaqCategory["CategoryDescription"]);
1167
1168
1169 #line default
1170 #line hidden
1171 WriteLiteral("</div>\r\n </a>\r\n </div>\r\n");
1172
1173
1174 #line 342 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1175 }
1176
1177
1178 #line default
1179 #line hidden
1180 WriteLiteral(" </div>\r\n\r\n</div>\r\n\r\n<div");
1181
1182 WriteLiteral(" id=\"content1\"");
1183
1184 WriteLiteral(">");
1185
1186
1187 #line 347 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1188 Write(GetValue("DwContent(content1)"));
1189
1190
1191 #line default
1192 #line hidden
1193 WriteLiteral("</div>\r\n\r\n\r\n\r\n");
1194
1195
1196 #line 351 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1197
1198
1199 #line default
1200 #line hidden
1201
1202 #line 351 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1203 if (!IsCheckoutStep)
1204 {
1205 if (!isCheckoutFirstStep)
1206 {
1207 var brandsLoop = @GetLoop("Item.Page.Brand_Icon.Value");
1208
1209
1210 #line default
1211 #line hidden
1212 WriteLiteral("<!-- TODO: (Out of scope) Clean this up so we don\'t repeat -->\r\n");
1213
1214 WriteLiteral("\t\t\t<section");
1215
1216 WriteLiteral(" class=\"container py-8\"");
1217
1218 WriteLiteral(">\r\n\t\t\t\t<div");
1219
1220 WriteLiteral(" class=\"grid grid-cols-3 md:grid-cols-6 gap-4\"");
1221
1222 WriteLiteral(">\r\n");
1223
1224
1225 #line 359 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1226
1227
1228 #line default
1229 #line hidden
1230
1231 #line 359 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1232 if (brandsLoop.Count <= 0)
1233 {
1234 foreach (var item in GetLoop("Item.Area.Featured_Brands"))
1235 {
1236 string Link = item.GetString("Item.Area.Featured_Brands.Brand.Value");
1237 var Brand = Firstweb.Custom.CustomCode.Frontend.Helpers.Brands.GetBrand(Link);
1238
1239 if (!String.IsNullOrEmpty(Brand.Name))
1240 {
1241
1242
1243 #line default
1244 #line hidden
1245 WriteLiteral("\t\t\t\t\t\t\t\t<a");
1246
1247 WriteAttribute("href", Tuple.Create(" href=\"", 18594), Tuple.Create("\"", 18612)
1248
1249 #line 368 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1250 , Tuple.Create(Tuple.Create("", 18601), Tuple.Create<System.Object, System.Int32>(Brand.Link
1251
1252 #line default
1253 #line hidden
1254 , 18601), false)
1255 );
1256
1257 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img");
1258
1259 WriteLiteral(" width=\"900\"");
1260
1261 WriteLiteral(" height=\"400\"");
1262
1263 WriteLiteral(" class=\"img-fit-contain-x\"");
1264
1265 WriteAttribute("src", Tuple.Create(" src=\"", 18680), Tuple.Create("\"", 18765)
1266 , Tuple.Create(Tuple.Create("", 18686), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 18686), true)
1267
1268 #line 369 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1269 , Tuple.Create(Tuple.Create("", 18720), Tuple.Create<System.Object, System.Int32>(Brand.Logo
1270
1271 #line default
1272 #line hidden
1273 , 18720), false)
1274 , Tuple.Create(Tuple.Create("", 18731), Tuple.Create("&Format=webP&Quality=90&Height=400", 18731), true)
1275 );
1276
1277 WriteAttribute("alt", Tuple.Create(" alt=\"", 18766), Tuple.Create("\"", 18783)
1278
1279 #line 369 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1280 , Tuple.Create(Tuple.Create("", 18772), Tuple.Create<System.Object, System.Int32>(Brand.Name
1281
1282 #line default
1283 #line hidden
1284 , 18772), false)
1285 );
1286
1287 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n");
1288
1289
1290 #line 371 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1291 }
1292 }
1293 }
1294 else
1295 {
1296 foreach (var item in brandsLoop)
1297 {
1298 string image = item.GetString("Item.Page.Brand_Icon.Value.Image.Value");
1299 string link = item.GetString("Item.Page.Brand_Icon.Value.LinkDestination.Value");
1300
1301 if (!String.IsNullOrEmpty(image))
1302 {
1303
1304
1305 #line default
1306 #line hidden
1307 WriteLiteral("\t\t\t\t\t\t\t\t<a");
1308
1309 WriteAttribute("href", Tuple.Create(" href=\"", 19131), Tuple.Create("\"", 19143)
1310
1311 #line 383 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1312 , Tuple.Create(Tuple.Create("", 19138), Tuple.Create<System.Object, System.Int32>(link
1313
1314 #line default
1315 #line hidden
1316 , 19138), false)
1317 );
1318
1319 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img");
1320
1321 WriteLiteral(" width=\"900\"");
1322
1323 WriteLiteral(" height=\"400\"");
1324
1325 WriteLiteral(" class=\"img-fluid\"");
1326
1327 WriteAttribute("src", Tuple.Create(" src=\"", 19203), Tuple.Create("\"", 19283)
1328 , Tuple.Create(Tuple.Create("", 19209), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 19209), true)
1329
1330 #line 384 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1331 , Tuple.Create(Tuple.Create("", 19243), Tuple.Create<System.Object, System.Int32>(image
1332
1333 #line default
1334 #line hidden
1335 , 19243), false)
1336 , Tuple.Create(Tuple.Create("", 19249), Tuple.Create("&Format=webP&Quality=90&Height=400", 19249), true)
1337 );
1338
1339 WriteLiteral(" alt=\"\"");
1340
1341 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n");
1342
1343
1344 #line 386 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1345 }
1346 }
1347 }
1348
1349
1350 #line default
1351 #line hidden
1352 WriteLiteral("\t\t\t\t</div>\r\n\t\t\t</section>\r\n");
1353
1354
1355 #line 391 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1356 }
1357
1358
1359
1360 #line default
1361 #line hidden
1362 WriteLiteral("\t\t<section");
1363
1364 WriteLiteral(" class=\"bg-beige pt-14 lg:pt-28\"");
1365
1366 WriteLiteral(">\r\n\t\t\t<div");
1367
1368 WriteLiteral(" class=\"container flex flex-wrap\"");
1369
1370 WriteLiteral(">\r\n\t\t\t\t<div");
1371
1372 WriteLiteral(" class=\"w-full md:w-3/4 lg:w-1/2 flex flex-col md:items-start gap-y-4\"");
1373
1374 WriteLiteral(">\r\n\t\t\t\t\t<a");
1375
1376 WriteLiteral(" href=\"/\"");
1377
1378 WriteLiteral(" class=\"flex flex-col md:items-center\"");
1379
1380 WriteLiteral(">\r\n\t\t\t\t\t\t<img");
1381
1382 WriteLiteral(" width=\"400\"");
1383
1384 WriteLiteral(" height=\"46\"");
1385
1386 WriteLiteral(" class=\"max-h-[46px] hidden md:inline-block\"");
1387
1388 WriteAttribute("src", Tuple.Create(" src=\"", 19673), Tuple.Create("\"", 19687)
1389
1390 #line 397 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1391 , Tuple.Create(Tuple.Create("", 19679), Tuple.Create<System.Object, System.Int32>(logoSrc
1392
1393 #line default
1394 #line hidden
1395 , 19679), false)
1396 );
1397
1398 WriteAttribute("alt", Tuple.Create(" alt=\'", 19688), Tuple.Create("\'", 19769)
1399
1400 #line 397 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1401 , Tuple.Create(Tuple.Create("", 19694), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
1402
1403 #line default
1404 #line hidden
1405 , 19694), false)
1406 );
1407
1408 WriteLiteral(">\r\n\t\t\t\t\t\t<img");
1409
1410 WriteLiteral(" width=\"400\"");
1411
1412 WriteLiteral(" height=\"46\"");
1413
1414 WriteLiteral(" class=\"max-h-[46px] w-full object-contain object-left inline md:hidden\"");
1415
1416 WriteAttribute("src", Tuple.Create(" src=\"", 19879), Tuple.Create("\"", 19899)
1417
1418 #line 398 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1419 , Tuple.Create(Tuple.Create("", 19885), Tuple.Create<System.Object, System.Int32>(logoSrcMobile
1420
1421 #line default
1422 #line hidden
1423 , 19885), false)
1424 );
1425
1426 WriteAttribute("alt", Tuple.Create(" alt=\'", 19900), Tuple.Create("\'", 19981)
1427
1428 #line 398 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1429 , Tuple.Create(Tuple.Create("", 19906), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
1430
1431 #line default
1432 #line hidden
1433 , 19906), false)
1434 );
1435
1436 WriteLiteral(">\r\n");
1437
1438
1439 #line 399 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1440
1441
1442 #line default
1443 #line hidden
1444
1445 #line 399 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1446 if (shopname.ToLower() != "møblér")
1447 {
1448
1449
1450 #line default
1451 #line hidden
1452 WriteLiteral("\t\t\t\t\t\t<small");
1453
1454 WriteLiteral(" class=\"text-xs text-grey-dark text-center hidden md:block\"");
1455
1456 WriteLiteral(">");
1457
1458
1459 #line 401 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1460 Write(Translate("LogoServiceText", "Ordren serviceres af Møbler.dk"));
1461
1462
1463 #line default
1464 #line hidden
1465 WriteLiteral("</small>\r\n");
1466
1467
1468 #line 402 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1469 }
1470
1471
1472 #line default
1473 #line hidden
1474 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");
1475
1476
1477 #line 406 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1478
1479
1480 #line default
1481 #line hidden
1482
1483 #line 406 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1484 if (shopnameEncoded == "M%c3%b8bl%c3%a9r")
1485 {
1486
1487
1488 #line default
1489 #line hidden
1490 WriteLiteral("\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t<p");
1491
1492 WriteLiteral(" class=\"mb-0 font-bold\"");
1493
1494 WriteLiteral(">");
1495
1496
1497 #line 409 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1498 Write(GetString("Item.Area.Header"));
1499
1500
1501 #line default
1502 #line hidden
1503 WriteLiteral("</p>\r\n\t\t\t\t\t\t\t<p>\r\n");
1504
1505 WriteLiteral("\t\t\t\t\t\t\t\t");
1506
1507
1508 #line 411 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1509 Write(GetString("Item.Area.About"));
1510
1511
1512 #line default
1513 #line hidden
1514 WriteLiteral("\r\n\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t<a");
1515
1516 WriteAttribute("href", Tuple.Create(" href=\"", 20475), Tuple.Create("\"", 20504)
1517
1518 #line 413 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1519 , Tuple.Create(Tuple.Create("", 20482), Tuple.Create<System.Object, System.Int32>(FooterLinkDestination
1520
1521 #line default
1522 #line hidden
1523 , 20482), false)
1524 );
1525
1526 WriteLiteral("><u>");
1527
1528
1529 #line 413 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1530 Write(Translate("FooterAboutReadMore", "Læs mere om Møblér kæden her"));
1531
1532
1533 #line default
1534 #line hidden
1535 WriteLiteral("</u></a>\r\n\t\t\t\t\t\t</div>\r\n");
1536
1537
1538 #line 415 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1539 }
1540 else
1541 {
1542 if (GetString("Item.SystemName") == "TextPage")
1543 {
1544 string CurrentAboutUsShopName = GetString("DwPageName_2");
1545 shopInfo = Website.ShopInfo(CurrentAboutUsShopName);
1546 shopname = CurrentAboutUsShopName;
1547 }
1548
1549
1550
1551 #line default
1552 #line hidden
1553 WriteLiteral("\t\t\t\t\t\t<div");
1554
1555 WriteLiteral(" class=\"flex flex-wrap gap-y-4 w-full\"");
1556
1557 WriteLiteral(">\r\n\t\t\t\t\t\t\t<div");
1558
1559 WriteLiteral(" class=\"w-full md:w-1/2\"");
1560
1561 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<ul");
1562
1563 WriteLiteral(" class=\"list-none\"");
1564
1565 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<li");
1566
1567 WriteLiteral(" class=\"mb-2\"");
1568
1569 WriteLiteral("><strong>");
1570
1571
1572 #line 428 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1573 Write(shopInfo.ShopName);
1574
1575
1576 #line default
1577 #line hidden
1578 WriteLiteral("</strong></li>\r\n\t\t\t\t\t\t\t\t\t<li>");
1579
1580
1581 #line 429 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1582 Write(shopInfo.Address);
1583
1584
1585 #line default
1586 #line hidden
1587 WriteLiteral("</li>\r\n\t\t\t\t\t\t\t\t\t<li>");
1588
1589
1590 #line 430 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1591 Write(shopInfo.PostalAndCity);
1592
1593
1594 #line default
1595 #line hidden
1596 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");
1597
1598 WriteAttribute("href", Tuple.Create(" href=\"", 21186), Tuple.Create("\"", 21207)
1599
1600 #line 432 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1601 , Tuple.Create(Tuple.Create("", 21193), Tuple.Create<System.Object, System.Int32>(localShopPage
1602
1603 #line default
1604 #line hidden
1605 , 21193), false)
1606 );
1607
1608 WriteLiteral(" class=\"underline text-black\"");
1609
1610 WriteLiteral(">");
1611
1612
1613 #line 432 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1614 Write(Translate("ShowOnMap", "Vis på kort"));
1615
1616
1617 #line default
1618 #line hidden
1619 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t\t</li>\r\n\r\n");
1620
1621
1622 #line 435 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1623
1624
1625 #line default
1626 #line hidden
1627
1628 #line 435 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1629 if (!String.IsNullOrEmpty(shopInfo.Address1))
1630 {
1631
1632
1633 #line default
1634 #line hidden
1635 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<li>");
1636
1637
1638 #line 437 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1639 Write(shopInfo.Address1);
1640
1641
1642 #line default
1643 #line hidden
1644 WriteLiteral(", ");
1645
1646
1647 #line 437 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1648 Write(shopInfo.PostalAndCity1);
1649
1650
1651 #line default
1652 #line hidden
1653 WriteLiteral("</li>\r\n");
1654
1655
1656 #line 438 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1657 }
1658
1659
1660 #line default
1661 #line hidden
1662 WriteLiteral("\t\t\t\t\t\t\t\t\t");
1663
1664
1665 #line 439 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1666 if (!String.IsNullOrEmpty(shopInfo.Address2))
1667 {
1668
1669
1670 #line default
1671 #line hidden
1672 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<li>");
1673
1674
1675 #line 441 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1676 Write(shopInfo.Address2);
1677
1678
1679 #line default
1680 #line hidden
1681 WriteLiteral(", ");
1682
1683
1684 #line 441 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1685 Write(shopInfo.PostalAndCity2);
1686
1687
1688 #line default
1689 #line hidden
1690 WriteLiteral("</li>\r\n");
1691
1692
1693 #line 442 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1694 }
1695
1696
1697 #line default
1698 #line hidden
1699 WriteLiteral("\t\t\t\t\t\t\t\t\t<li");
1700
1701 WriteLiteral(" class=\"mt-4\"");
1702
1703 WriteLiteral(">");
1704
1705
1706 #line 443 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1707 Write(shopInfo.Phone);
1708
1709
1710 #line default
1711 #line hidden
1712 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");
1713
1714 WriteAttribute("href", Tuple.Create(" href=\"", 21672), Tuple.Create("\"", 21701)
1715 , Tuple.Create(Tuple.Create("", 21679), Tuple.Create("mailto:", 21679), true)
1716
1717 #line 445 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1718 , Tuple.Create(Tuple.Create("", 21686), Tuple.Create<System.Object, System.Int32>(shopInfo.Email
1719
1720 #line default
1721 #line hidden
1722 , 21686), false)
1723 );
1724
1725 WriteLiteral(" class=\"underline text-black\"");
1726
1727 WriteLiteral(">");
1728
1729
1730 #line 445 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1731 Write(shopInfo.Email);
1732
1733
1734 #line default
1735 #line hidden
1736 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");
1737
1738 WriteLiteral(" class=\"w-full md:w-1/2\"");
1739
1740 WriteLiteral(">\r\n");
1741
1742
1743 #line 451 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1744
1745
1746 #line default
1747 #line hidden
1748
1749 #line 451 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1750 if (shopInfo.ShopInformationList.Count > 0 || shopInfo.OpeningHours != null)
1751 {
1752
1753
1754 #line default
1755 #line hidden
1756 WriteLiteral("\t\t\t\t\t\t\t\t\t<p");
1757
1758 WriteLiteral(" class=\"mb-2\"");
1759
1760 WriteLiteral("><strong>");
1761
1762
1763 #line 453 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1764 Write(Translate("openinghours", "Åbningstider"));
1765
1766
1767 #line default
1768 #line hidden
1769 WriteLiteral("</strong></p>\r\n");
1770
1771
1772 #line 454 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1773 }
1774
1775
1776 #line default
1777 #line hidden
1778 WriteLiteral("\t\t\t\t\t\t\t\t");
1779
1780
1781 #line 455 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1782 if (shopInfo.ShopInformationList.Count > 0)
1783 {
1784 foreach (var row in shopInfo.ShopInformationList)
1785 {
1786 var rowClass = !string.IsNullOrEmpty(row.columnTwo) ? "basis-1/2" : "";
1787
1788
1789 #line default
1790 #line hidden
1791 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<div");
1792
1793 WriteLiteral(" class=\"flex gap-x-2\"");
1794
1795 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t\t<div");
1796
1797 WriteAttribute("class", Tuple.Create(" class=\"", 22316), Tuple.Create("\"", 22333)
1798
1799 #line 461 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1800 , Tuple.Create(Tuple.Create("", 22324), Tuple.Create<System.Object, System.Int32>(rowClass
1801
1802 #line default
1803 #line hidden
1804 , 22324), false)
1805 );
1806
1807 WriteLiteral(">\r\n");
1808
1809 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t");
1810
1811
1812 #line 462 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1813 Write(row.columnOne);
1814
1815
1816 #line default
1817 #line hidden
1818 WriteLiteral("\r\n\t\t\t\t\t\t\t\t\t\t\t</div>\r\n");
1819
1820
1821 #line 464 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1822
1823
1824 #line default
1825 #line hidden
1826
1827 #line 464 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1828 if (!string.IsNullOrEmpty(row.columnTwo))
1829 {
1830
1831
1832 #line default
1833 #line hidden
1834 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t<div>");
1835
1836
1837 #line 466 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1838 Write(row.columnTwo);
1839
1840
1841 #line default
1842 #line hidden
1843 WriteLiteral("</div>\r\n");
1844
1845
1846 #line 467 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1847 }
1848
1849
1850 #line default
1851 #line hidden
1852 WriteLiteral("\t\t\t\t\t\t\t\t\t\t</div>\r\n");
1853
1854
1855 #line 469 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1856 }
1857 }
1858 else if (shopInfo.OpeningHours != null)
1859 {
1860
1861
1862 #line default
1863 #line hidden
1864 WriteLiteral("\t\t\t\t\t\t\t\t\t<div");
1865
1866 WriteLiteral(" class=\"flex flex-col justify-content items-center gap-2 md:items-start\"");
1867
1868 WriteLiteral(">");
1869
1870
1871 #line 473 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1872 Write(shopInfo.OpeningHours);
1873
1874
1875 #line default
1876 #line hidden
1877 WriteLiteral("</div>\r\n");
1878
1879
1880 #line 474 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1881 }
1882
1883
1884 #line default
1885 #line hidden
1886 WriteLiteral("\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n");
1887
1888
1889 #line 478 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1890 }
1891
1892
1893 #line default
1894 #line hidden
1895 WriteLiteral("\t\t\t\t\t<ul");
1896
1897 WriteLiteral(" class=\"list-none flex gap-2 mb-8\"");
1898
1899 WriteLiteral(">\r\n");
1900
1901
1902 #line 480 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1903
1904
1905 #line default
1906 #line hidden
1907
1908 #line 480 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1909 foreach (var Some in GetLoop("Item.Area.SocialMediaIcons"))
1910 {
1911 string Link = Some.GetString("Item.Area.SocialMediaIcons.Link");
1912 string Icon = Some.GetString("Item.Area.SocialMediaIcons.Icon.Value");
1913
1914
1915 #line default
1916 #line hidden
1917 WriteLiteral("\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t<a");
1918
1919 WriteAttribute("href", Tuple.Create(" href=\"", 23070), Tuple.Create("\"", 23082)
1920
1921 #line 485 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1922 , Tuple.Create(Tuple.Create("", 23077), Tuple.Create<System.Object, System.Int32>(Link
1923
1924 #line default
1925 #line hidden
1926 , 23077), false)
1927 );
1928
1929 WriteLiteral(" target=\"_blank\"");
1930
1931 WriteLiteral(" class=\"text-black text-2xl hover:text-grey-dark\"");
1932
1933 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img");
1934
1935 WriteLiteral(" width=\"37\"");
1936
1937 WriteLiteral(" height=\"37\"");
1938
1939 WriteAttribute("src", Tuple.Create(" src=\"", 23187), Tuple.Create("\"", 23265)
1940 , Tuple.Create(Tuple.Create("", 23193), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 23193), true)
1941
1942 #line 486 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1943 , Tuple.Create(Tuple.Create("", 23227), Tuple.Create<System.Object, System.Int32>(Icon
1944
1945 #line default
1946 #line hidden
1947 , 23227), false)
1948 , Tuple.Create(Tuple.Create("", 23232), Tuple.Create("&Format=webP&Quality=90&Height=40", 23232), true)
1949 );
1950
1951 WriteLiteral(" alt=\"social icon\"");
1952
1953 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t</li>\r\n");
1954
1955
1956 #line 489 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1957 }
1958
1959
1960 #line default
1961 #line hidden
1962 WriteLiteral("\r\n");
1963
1964
1965 #line 491 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1966
1967
1968 #line default
1969 #line hidden
1970
1971 #line 491 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1972 foreach (var Some in GetLoop("Item.Area.SocialMediaFontawesomeIcons"))
1973 {
1974 string Link = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.Link");
1975 string Icon = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.FontawesomeClass");
1976
1977
1978 #line default
1979 #line hidden
1980 WriteLiteral("\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t<a");
1981
1982 WriteAttribute("href", Tuple.Create(" href=\"", 23617), Tuple.Create("\"", 23629)
1983
1984 #line 496 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
1985 , Tuple.Create(Tuple.Create("", 23624), Tuple.Create<System.Object, System.Int32>(Link
1986
1987 #line default
1988 #line hidden
1989 , 23624), false)
1990 );
1991
1992 WriteLiteral(" target=\"_blank\"");
1993
1994 WriteLiteral(" class=\"text-black text-3xl hover:text-grey-dark\"");
1995
1996 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<i");
1997
1998 WriteAttribute("class", Tuple.Create(" class=\"", 23709), Tuple.Create("\"", 23722)
1999
2000 #line 497 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2001 , Tuple.Create(Tuple.Create("", 23717), Tuple.Create<System.Object, System.Int32>(Icon
2002
2003 #line default
2004 #line hidden
2005 , 23717), false)
2006 );
2007
2008 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");
2009
2010
2011 #line 500 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2012 }
2013
2014
2015 #line default
2016 #line hidden
2017 WriteLiteral("\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div");
2018
2019 WriteLiteral(" class=\"hidden lg:flex justify-center items-end w-full lg:w-2/4\"");
2020
2021 WriteLiteral(">\r\n");
2022
2023
2024 #line 504 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2025
2026
2027 #line default
2028 #line hidden
2029
2030 #line 504 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2031
2032 string footerStaffImagePath = String.Format("/Files/Images/Owners/Large/{0}.png", shopname);
2033 string footerStaffGetImage = "";
2034 if (!String.IsNullOrEmpty(footerStaffImagePath))
2035 {
2036 footerStaffGetImage = "/Admin/Public/GetImage.ashx?Image=" + footerStaffImagePath + "&Format=webP&Quality=90&width=640&height=300";
2037 }
2038
2039
2040 #line default
2041 #line hidden
2042 WriteLiteral("\r\n\t\t\t\t\t<img");
2043
2044 WriteLiteral(" width=\"640\"");
2045
2046 WriteLiteral(" height=\"300\"");
2047
2048 WriteLiteral(" class=\"img-fit-contain-x\"");
2049
2050 WriteAttribute("src", Tuple.Create(" src=\"", 24297), Tuple.Create("\"", 24323)
2051
2052 #line 512 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2053 , Tuple.Create(Tuple.Create("", 24303), Tuple.Create<System.Object, System.Int32>(footerStaffGetImage
2054
2055 #line default
2056 #line hidden
2057 , 24303), false)
2058 );
2059
2060 WriteAttribute("alt", Tuple.Create(" alt=\"", 24324), Tuple.Create("\"", 24339)
2061
2062 #line 512 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2063 , Tuple.Create(Tuple.Create("", 24330), Tuple.Create<System.Object, System.Int32>(shopname
2064
2065 #line default
2066 #line hidden
2067 , 24330), false)
2068 );
2069
2070 WriteLiteral(">\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</section>\r\n");
2071
2072
2073 #line 516 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2074
2075
2076
2077 #line default
2078 #line hidden
2079 WriteLiteral("\t\t<section");
2080
2081 WriteLiteral(" class=\"bg-beige-dark py-10\"");
2082
2083 WriteLiteral(">\r\n\t\t\t<div");
2084
2085 WriteLiteral(" class=\"container\"");
2086
2087 WriteLiteral(">\r\n\t\t\t\t<div");
2088
2089 WriteLiteral(" class=\"flex flex-wrap xl:flex-nowrap xl:flex-row gap-4 \"");
2090
2091 WriteLiteral(">\r\n\t\t\t\t\t<div");
2092
2093 WriteLiteral(" class=\"w-full grid md:grid-cols-3 xl:grid-cols-6 gap-y-4 *:list-none *:text-cent" +
2094 "er *:md:text-left *:text-sm *:leading-8\"");
2095
2096 WriteLiteral(">\r\n\t\t\t\t\t\t<ul");
2097
2098 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\"");
2099
2100 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
2101
2102
2103 #line 522 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2104 Write(GetString("Item.Area.Footer_Column_1_Header"));
2105
2106
2107 #line default
2108 #line hidden
2109 WriteLiteral("</strong>\r\n");
2110
2111
2112 #line 523 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2113
2114
2115 #line default
2116 #line hidden
2117
2118 #line 523 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2119 foreach (var Link in GetLoop("Item.Area.Footer_Column_1_Links"))
2120 {
2121 string LinkText = Link.GetString("Item.Area.Footer_Column_1_Links.LinkText");
2122 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_1_Links.Link");
2123
2124
2125 #line default
2126 #line hidden
2127 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a");
2128
2129 WriteAttribute("href", Tuple.Create(" href=\"", 25088), Tuple.Create("\"", 25111)
2130
2131 #line 528 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2132 , Tuple.Create(Tuple.Create("", 25095), Tuple.Create<System.Object, System.Int32>(LinkDestination
2133
2134 #line default
2135 #line hidden
2136 , 25095), false)
2137 );
2138
2139 WriteLiteral(" class=\"text-black hover:underline hover:text-black\"");
2140
2141 WriteLiteral(">");
2142
2143
2144 #line 528 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2145 Write(LinkText);
2146
2147
2148 #line default
2149 #line hidden
2150 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n");
2151
2152
2153 #line 530 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2154 }
2155
2156
2157 #line default
2158 #line hidden
2159 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t<ul");
2160
2161 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\"");
2162
2163 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
2164
2165
2166 #line 533 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2167 Write(GetString("Item.Area.Footer_Column_2_Header"));
2168
2169
2170 #line default
2171 #line hidden
2172 WriteLiteral("</strong>\r\n");
2173
2174
2175 #line 534 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2176
2177
2178 #line default
2179 #line hidden
2180
2181 #line 534 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2182 foreach (var Link in GetLoop("Item.Area.Footer_Column_2_Links"))
2183 {
2184 string LinkText = Link.GetString("Item.Area.Footer_Column_2_Links.LinkText");
2185 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_2_Links.Link");
2186
2187
2188 #line default
2189 #line hidden
2190 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a");
2191
2192 WriteAttribute("href", Tuple.Create(" href=\"", 25653), Tuple.Create("\"", 25676)
2193
2194 #line 539 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2195 , Tuple.Create(Tuple.Create("", 25660), Tuple.Create<System.Object, System.Int32>(LinkDestination
2196
2197 #line default
2198 #line hidden
2199 , 25660), false)
2200 );
2201
2202 WriteLiteral(" class=\"text-sm text-black\"");
2203
2204 WriteLiteral(">");
2205
2206
2207 #line 539 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2208 Write(LinkText);
2209
2210
2211 #line default
2212 #line hidden
2213 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n");
2214
2215
2216 #line 541 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2217 }
2218
2219
2220 #line default
2221 #line hidden
2222 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t<ul");
2223
2224 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\"");
2225
2226 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
2227
2228
2229 #line 544 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2230 Write(GetString("Item.Area.Footer_Column_3_Header"));
2231
2232
2233 #line default
2234 #line hidden
2235 WriteLiteral("</strong>\r\n");
2236
2237
2238 #line 545 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2239
2240
2241 #line default
2242 #line hidden
2243
2244 #line 545 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2245 foreach (var Link in GetLoop("Item.Area.Footer_Column_3_Links"))
2246 {
2247 string LinkText = Link.GetString("Item.Area.Footer_Column_3_Links.LinkText");
2248 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_3_Links.Link");
2249
2250
2251 #line default
2252 #line hidden
2253 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a");
2254
2255 WriteAttribute("href", Tuple.Create(" href=\"", 26193), Tuple.Create("\"", 26216)
2256
2257 #line 550 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2258 , Tuple.Create(Tuple.Create("", 26200), Tuple.Create<System.Object, System.Int32>(LinkDestination
2259
2260 #line default
2261 #line hidden
2262 , 26200), false)
2263 );
2264
2265 WriteLiteral(" class=\"text-sm text-black\"");
2266
2267 WriteLiteral(">");
2268
2269
2270 #line 550 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2271 Write(LinkText);
2272
2273
2274 #line default
2275 #line hidden
2276 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n");
2277
2278
2279 #line 552 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2280 }
2281
2282
2283 #line default
2284 #line hidden
2285 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\r\n\t\t\t\t\t\t<div");
2286
2287 WriteLiteral(" class=\"col-span-3\"");
2288
2289 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
2290
2291
2292 #line 556 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2293 Write(Translate("Co3.Newsletter.Headline.Text", "Møblérs nyhedsbrev"));
2294
2295
2296 #line default
2297 #line hidden
2298 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" +
2299 ">\r\n\t\t\t</div>\r\n\t\t</section>\r\n");
2300
2301
2302 #line 563 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2303
2304
2305
2306 #line default
2307 #line hidden
2308 WriteLiteral("\t\t<div");
2309
2310 WriteLiteral(" class=\"py-4 bg-white\"");
2311
2312 WriteLiteral(">\r\n\t\t\t<div");
2313
2314 WriteLiteral(" class=\"container flex flex-col md:flex-row gap-y-4\"");
2315
2316 WriteLiteral(">\r\n\t\t\t\t<div");
2317
2318 WriteLiteral(" class=\"w-full xl:w-1/2 flex justify-center items-center md:justify-start text-xs" +
2319 "\"");
2320
2321 WriteLiteral(">\r\n\t\t\t\t\t© ");
2322
2323
2324 #line 567 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2325 Write(currentYear);
2326
2327
2328 #line default
2329 #line hidden
2330 WriteLiteral(" ");
2331
2332
2333 #line 567 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2334 Write(Translate("Copyright", "Møblér. All Rights Reserved."));
2335
2336
2337 #line default
2338 #line hidden
2339 WriteLiteral("\r\n\t\t\t\t</div>\r\n\t\t\t\t<div");
2340
2341 WriteLiteral(" class=\"w-full xl:w-1/2 flex items-center md:justify-end\"");
2342
2343 WriteLiteral(">\r\n\t\t\t\t\t<a");
2344
2345 WriteAttribute("href", Tuple.Create(" href=\'", 26872), Tuple.Create("\'", 26915)
2346
2347 #line 570 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2348 , Tuple.Create(Tuple.Create("", 26879), Tuple.Create<System.Object, System.Int32>(Translate("PersondataLink", "link")
2349
2350 #line default
2351 #line hidden
2352 , 26879), false)
2353 );
2354
2355 WriteLiteral(" class=\"text-xs underline text-black mr-2\"");
2356
2357 WriteLiteral(">");
2358
2359
2360 #line 570 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2361 Write(Translate("PersondataText", "Persondatapolitik"));
2362
2363
2364 #line default
2365 #line hidden
2366 WriteLiteral("</a>\r\n\t\t\t\t\t<paymentmethodlogos");
2367
2368 WriteLiteral(" data-all-payments=\"true\"");
2369
2370 WriteLiteral("></paymentmethodlogos>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t</div>\r\n");
2371
2372
2373 #line 576 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2374 }
2375
2376
2377 #line default
2378 #line hidden
2379 WriteLiteral("\r\n\t<script");
2380
2381 WriteLiteral(" type=\"module\"");
2382
2383 WriteLiteral(" src=\"https://viewer-cdn.cylindo.com/v1/index.mjs\"");
2384
2385 WriteLiteral(" defer=\"\"");
2386
2387 WriteLiteral("></script>\r\n\r\n");
2388
2389 WriteLiteral("\t");
2390
2391
2392 #line 580 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml"
2393 Write(Pageview.AddViteScript());
2394
2395
2396 #line default
2397 #line hidden
2398 WriteLiteral("\r\n</body>\r\n</html>\r\n");
2399
2400 }
2401 }
2402 }
2403
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 FaqCategories = new ItemCollection();
313 if (CurrentPage != null)
314 {
315 FaqCategories = MoblerHelpers.GetFaqCategories(CurrentPage);
316 }
317 }
318
319 @RenderNavigation(new { ExpandMode = "All", Template = "breadcrumb.xslt" })
320
321
322
323 <div id="content2">@GetValue("DwContent(content2)")</div>
324
325 <div class="container mb-5 mt-3">
326
327 <div class="row">
328 @foreach (Item FaqCategory in FaqCategories)
329 {
330 Dynamicweb.Content.Page faqCatPage = Dynamicweb.Services.Pages.GetPageForItem(FaqCategory.SystemName, FaqCategory.Id);
331
332 var link = MoblerHelpers.GetFriendlyUrl(faqCatPage.ID.ToString());
333 var svg = FaqCategory["Icon"].ToString();
334
335 <div class="col-12 col-sm-6 col-md-4 mb-4">
336 <a href="@link" class="faq-category h-100 text-white no-underline p-3 pt-5 bg-brand flex flex-col items-center">
337 <img class="mt-5 mb-3" src="@svg">
338 <h4 class="text-uppercase">@FaqCategory["Category"]</h4>
339 <div class="font-bold text-center">@FaqCategory["CategoryDescription"]</div>
340 </a>
341 </div>
342 }
343 </div>
344
345 </div>
346
347 <div id="content1">@GetValue("DwContent(content1)")</div>
348
349
350
351 @if (!IsCheckoutStep)
352 {
353 if (!isCheckoutFirstStep)
354 {
355 var brandsLoop = @GetLoop("Item.Page.Brand_Icon.Value");
356 <!-- TODO: (Out of scope) Clean this up so we don't repeat -->
357 <section class="container py-8">
358 <div class="grid grid-cols-3 md:grid-cols-6 gap-4">
359 @if (brandsLoop.Count <= 0)
360 {
361 foreach (var item in GetLoop("Item.Area.Featured_Brands"))
362 {
363 string Link = item.GetString("Item.Area.Featured_Brands.Brand.Value");
364 var Brand = Firstweb.Custom.CustomCode.Frontend.Helpers.Brands.GetBrand(Link);
365
366 if (!String.IsNullOrEmpty(Brand.Name))
367 {
368 <a href="@Brand.Link">
369 <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">
370 </a>
371 }
372 }
373 }
374 else
375 {
376 foreach (var item in brandsLoop)
377 {
378 string image = item.GetString("Item.Page.Brand_Icon.Value.Image.Value");
379 string link = item.GetString("Item.Page.Brand_Icon.Value.LinkDestination.Value");
380
381 if (!String.IsNullOrEmpty(image))
382 {
383 <a href="@link">
384 <img width="900" height="400" class="img-fluid" src="/Admin/Public/GetImage.ashx?Image=@image&Format=webP&Quality=90&Height=400" alt="">
385 </a>
386 }
387 }
388 }
389 </div>
390 </section>
391 }
392
393 <section class="bg-beige pt-14 lg:pt-28">
394 <div class="container flex flex-wrap">
395 <div class="w-full md:w-3/4 lg:w-1/2 flex flex-col md:items-start gap-y-4">
396 <a href="/" class="flex flex-col md:items-center">
397 <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")'>
398 <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")'>
399 @if (shopname.ToLower() != "møblér")
400 {
401 <small class="text-xs text-grey-dark text-center hidden md:block">@Translate("LogoServiceText", "Ordren serviceres af Møbler.dk")</small>
402 }
403 </a>
404
405 <!-- TODO: This has not been tested and styled -->
406 @if (shopnameEncoded == "M%c3%b8bl%c3%a9r")
407 {
408 <div>
409 <p class="mb-0 font-bold">@GetString("Item.Area.Header")</p>
410 <p>
411 @GetString("Item.Area.About")
412 </p>
413 <a href="@FooterLinkDestination"><u>@Translate("FooterAboutReadMore", "Læs mere om Møblér kæden her")</u></a>
414 </div>
415 }
416 else
417 {
418 if (GetString("Item.SystemName") == "TextPage")
419 {
420 string CurrentAboutUsShopName = GetString("DwPageName_2");
421 shopInfo = Website.ShopInfo(CurrentAboutUsShopName);
422 shopname = CurrentAboutUsShopName;
423 }
424
425 <div class="flex flex-wrap gap-y-4 w-full">
426 <div class="w-full md:w-1/2">
427 <ul class="list-none">
428 <li class="mb-2"><strong>@shopInfo.ShopName</strong></li>
429 <li>@shopInfo.Address</li>
430 <li>@shopInfo.PostalAndCity</li>
431 <li>
432 <a href="@localShopPage" class="underline text-black">@Translate("ShowOnMap", "Vis på kort")</a>
433 </li>
434
435 @if (!String.IsNullOrEmpty(shopInfo.Address1))
436 {
437 <li>@shopInfo.Address1, @shopInfo.PostalAndCity1</li>
438 }
439 @if (!String.IsNullOrEmpty(shopInfo.Address2))
440 {
441 <li>@shopInfo.Address2, @shopInfo.PostalAndCity2</li>
442 }
443 <li class="mt-4">@shopInfo.Phone</li>
444 <li>
445 <a href="mailto:@shopInfo.Email" class="underline text-black">@shopInfo.Email</a>
446 </li>
447 </ul>
448 </div>
449
450 <div class="w-full md:w-1/2">
451 @if (shopInfo.ShopInformationList.Count > 0 || shopInfo.OpeningHours != null)
452 {
453 <p class="mb-2"><strong>@Translate("openinghours", "Åbningstider")</strong></p>
454 }
455 @if (shopInfo.ShopInformationList.Count > 0)
456 {
457 foreach (var row in shopInfo.ShopInformationList)
458 {
459 var rowClass = !string.IsNullOrEmpty(row.columnTwo) ? "basis-1/2" : "";
460 <div class="flex gap-x-2">
461 <div class="@rowClass">
462 @row.columnOne
463 </div>
464 @if (!string.IsNullOrEmpty(row.columnTwo))
465 {
466 <div>@row.columnTwo</div>
467 }
468 </div>
469 }
470 }
471 else if (shopInfo.OpeningHours != null)
472 {
473 <div class="flex flex-col justify-content items-center gap-2 md:items-start">@shopInfo.OpeningHours</div>
474 }
475 </div>
476
477 </div>
478 }
479 <ul class="list-none flex gap-2 mb-8">
480 @foreach (var Some in GetLoop("Item.Area.SocialMediaIcons"))
481 {
482 string Link = Some.GetString("Item.Area.SocialMediaIcons.Link");
483 string Icon = Some.GetString("Item.Area.SocialMediaIcons.Icon.Value");
484 <li>
485 <a href="@Link" target="_blank" class="text-black text-2xl hover:text-grey-dark">
486 <img width="37" height="37" src="/Admin/Public/GetImage.ashx?Image=@Icon&Format=webP&Quality=90&Height=40" alt="social icon">
487 </a>
488 </li>
489 }
490
491 @foreach (var Some in GetLoop("Item.Area.SocialMediaFontawesomeIcons"))
492 {
493 string Link = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.Link");
494 string Icon = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.FontawesomeClass");
495 <li>
496 <a href="@Link" target="_blank" class="text-black text-3xl hover:text-grey-dark">
497 <i class="@Icon"></i>
498 </a>
499 </li>
500 }
501 </ul>
502 </div>
503 <div class="hidden lg:flex justify-center items-end w-full lg:w-2/4">
504 @{
505 string footerStaffImagePath = String.Format("/Files/Images/Owners/Large/{0}.png", shopname);
506 string footerStaffGetImage = "";
507 if (!String.IsNullOrEmpty(footerStaffImagePath))
508 {
509 footerStaffGetImage = "/Admin/Public/GetImage.ashx?Image=" + footerStaffImagePath + "&Format=webP&Quality=90&width=640&height=300";
510 }
511 }
512 <img width="640" height="300" class="img-fit-contain-x" src="@footerStaffGetImage" alt="@shopname">
513 </div>
514 </div>
515 </section>
516
517 <section class="bg-beige-dark py-10">
518 <div class="container">
519 <div class="flex flex-wrap xl:flex-nowrap xl:flex-row gap-4 ">
520 <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">
521 <ul class="list-none col-span-3 md:col-span-1">
522 <strong>@GetString("Item.Area.Footer_Column_1_Header")</strong>
523 @foreach (var Link in GetLoop("Item.Area.Footer_Column_1_Links"))
524 {
525 string LinkText = Link.GetString("Item.Area.Footer_Column_1_Links.LinkText");
526 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_1_Links.Link");
527 <li>
528 <a href="@LinkDestination" class="text-black hover:underline hover:text-black">@LinkText</a>
529 </li>
530 }
531 </ul>
532 <ul class="list-none col-span-3 md:col-span-1">
533 <strong>@GetString("Item.Area.Footer_Column_2_Header")</strong>
534 @foreach (var Link in GetLoop("Item.Area.Footer_Column_2_Links"))
535 {
536 string LinkText = Link.GetString("Item.Area.Footer_Column_2_Links.LinkText");
537 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_2_Links.Link");
538 <li>
539 <a href="@LinkDestination" class="text-sm text-black">@LinkText</a>
540 </li>
541 }
542 </ul>
543 <ul class="list-none col-span-3 md:col-span-1">
544 <strong>@GetString("Item.Area.Footer_Column_3_Header")</strong>
545 @foreach (var Link in GetLoop("Item.Area.Footer_Column_3_Links"))
546 {
547 string LinkText = Link.GetString("Item.Area.Footer_Column_3_Links.LinkText");
548 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_3_Links.Link");
549 <li>
550 <a href="@LinkDestination" class="text-sm text-black">@LinkText</a>
551 </li>
552 }
553 </ul>
554
555 <div class="col-span-3">
556 <strong>@Translate("Co3.Newsletter.Headline.Text", "Møblérs nyhedsbrev")</strong>
557 <newsletter></newsletter>
558 </div>
559 </div>
560 </div>
561 </div>
562 </section>
563
564 <div class="py-4 bg-white">
565 <div class="container flex flex-col md:flex-row gap-y-4">
566 <div class="w-full xl:w-1/2 flex justify-center items-center md:justify-start text-xs">
567 © @currentYear @Translate("Copyright", "Møblér. All Rights Reserved.")
568 </div>
569 <div class="w-full xl:w-1/2 flex items-center md:justify-end">
570 <a href='@Translate("PersondataLink", "link")' class="text-xs underline text-black mr-2">@Translate("PersondataText", "Persondatapolitik")</a>
571 <paymentmethodlogos data-all-payments="true"></paymentmethodlogos>
572 </div>
573
574 </div>
575 </div>
576 }
577
578 <script type="module" src="https://viewer-cdn.cylindo.com/v1/index.mjs" defer=""></script>
579
580 @Pageview.AddViteScript()
581 </body>
582 </html>
583