Error compiling template "Designs/Mobler/_parsed/FAQ-questions.parsed.cshtml"
Line 371: 'Group.Subgroups' is obsolete: 'Use Services.ProductGroups.GetSubgroups instead.'
Line 611: 'Group.Subgroups' is obsolete: 'Use Services.ProductGroups.GetSubgroups instead.'
Line 2212: 'Services' is obsolete: 'Use Dynamicweb.Content.Services instead.'
Line 2212: 'Services.Pages' is obsolete: 'Use Dynamicweb.Content.Services.Pages instead.'
Line 2213: The name 'MoblerHelpers' does not exist in the current context
Line 2282: 'Services' is obsolete: 'Use Dynamicweb.Content.Services instead.'
Line 2282: 'Services.Pages' is obsolete: 'Use Dynamicweb.Content.Services.Pages instead.'
Line 150: The variable 'FirstShopWithSameName' is assigned but its value is never used
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.42000
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 namespace CompiledRazorTemplates.Dynamic {
12 using System;
13 using System.Collections.Generic;
14 using System.Linq;
15
16 #line 1 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
17 using System.Web;
18
19 #line default
20 #line hidden
21
22 #line 2 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
23 using System.Text.RegularExpressions;
24
25 #line default
26 #line hidden
27
28 #line 3 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
29 using Dynamicweb.Core.Helpers;
30
31 #line default
32 #line hidden
33
34 #line 4 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
35 using Dynamicweb.Rendering.Translation;
36
37 #line default
38 #line hidden
39
40 #line 5 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
41 using Newtonsoft.Json;
42
43 #line default
44 #line hidden
45
46 #line 6 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
47 using NuGet;
48
49 #line default
50 #line hidden
51
52 #line 7 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
53 using Mobler.Website.CustomCode.Models;
54
55 #line default
56 #line hidden
57
58 #line 8 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
59 using Vite.Dw.Extensions;
60
61 #line default
62 #line hidden
63
64 #line 9 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
65 using HttpUtility = System.Web.HttpUtility;
66
67 #line default
68 #line hidden
69
70 #line 10 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
71 using Mobler.Website.CustomCode.Frontend.V2.Helpers;
72
73 #line default
74 #line hidden
75
76 #line 525 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
77 using Mobler.Website.CustomModules.MoblerHelpers;
78
79 #line default
80 #line hidden
81
82 #line 526 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
83 using Dynamicweb.Content.Items;
84
85 #line default
86 #line hidden
87
88
89 public class RazorEngine_9dca9660d91a43eb884a0264b99dea26 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> {
90
91 #line hidden
92
93 public RazorEngine_9dca9660d91a43eb884a0264b99dea26() {
94 }
95
96 public override void Execute() {
97 WriteLiteral("\r\n");
98
99
100 #line 14 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
101
102 string CurrentEcomShopId = Dynamicweb.Frontend.PageView.Current().Area.EcomShopId;
103 string CurrentEcomLanguageId = Dynamicweb.Ecommerce.Common.Context.LanguageID;
104 string MainShopLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("MainShopLink");
105 string shopname = Website.GetShopName();
106 string shopnameEncoded = HttpUtility.UrlEncode(shopname);
107 var shopInfo = Website.ShopInfo();
108 string globalAreaName = GetGlobalValue("Global:Area.Name");
109
110 string culture = Dynamicweb.Frontend.PageView.Current().Area.Culture;
111 string designFolder = Dynamicweb.Frontend.PageView.Current().Area.Layout.Design.Name;
112
113 string logoSrc = "";
114 string logoSrcMobile = "";
115
116 if (shopname.ToLower() != "møblér" && shopname.ToLower() != "mobler" && shopname.ToLower() != "m%c3%b8bl%c3%a9r" && !string.IsNullOrEmpty(shopname))
117 {
118 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + ".svg";
119 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + "-mobile.svg";
120 } else {
121 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg";
122 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg";
123 }
124
125 //this defines a shoppage
126 if (GetString("Item.SystemName") == "TextPage")
127 {
128 shopname = GetString("DwPageName_2");
129 }
130
131 string imageName = shopname.Replace(" ", string.Empty) + "-owner.png";
132 string localShopPage = Website.localshopPage();
133 string FindDealerPage = GetString("Item.Area.FindDealerPage");
134 string CartPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CartPage");
135
136 string SearchNoResults = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("NoResults");
137 string SearchPagePageSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") : "20";
138 string InstantSearchSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") : "10";
139
140 string SearchResultPageId = "";
141 if (Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=').Length > 1)
142 {
143 SearchResultPageId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=')[1];
144 }
145 string FooterLinkDestination = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Link");
146 int ShopPageId = GetInteger("Item.Area.ShopPageId");
147 string SearchBarPlaceholder = Translate("SearchbarPlaceholderText", "Søg..");
148 int GlobalNewsletterParagraphId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("GlobalNewsletterParagraphId");
149 int CartCount = GetLoop("OrderLines").Count;
150 bool FirstShopWithSameName = true;
151 string SelectPlaceholder = Translate("ShopSelectPlaceholder", "Indtast by, postnummer eller adresse");
152 string SelectNoResult = Translate("ShopSelectNoResult", "No such shop found");
153 int ProductPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("PrimaryProductPage");
154
155 DateTime today = DateTime.Today;
156 string currentYear = today.ToString("yyyy");
157
158 string BannerBackgroundColor = GetString("Item.Area.BannerBackgroundColor");
159 string BannerTextColor = GetString("Item.Area.BannerTextColor");
160 var TopBarNav = GetLoop("Item.Area.TopBarNavigation");
161 var TopbarHeaderContent = GetLoop("Item.Area.TopbarHeaderContent");
162 string TilbudBgColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudBackgroundColor.Value")) ? GetString("Item.Area.TilbudBackgroundColor.Value") : "#00AB5D";
163 string TilbudTextColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudTextColor.Value")) ? GetString("Item.Area.TilbudTextColor.Value") : "#FFFFFF";
164 string StrongPriceBgColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisBackgroundColor.Value")) ? GetString("Item.Area.St_rkPrisBackgroundColor.Value") : "#9d4778";
165 string StrongPriceTextColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisTextColor.Value")) ? GetString("Item.Area.St_rkPrisTextColor.Value") : "#FFFFFF";
166 var uniqueSellingPoints = GetLoop("Item.Area.UniqueSellingPoints");
167 string CookieText = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieText");
168 string CookieReadMore = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieReadMoreText");
169 var TopLevelGroups = Dynamicweb.Ecommerce.Services.ProductGroups.GetToplevelGroups().Where(g => g.ShopId == CurrentEcomShopId && g.LanguageId == CurrentEcomLanguageId && g.NavigationShowInMenu).ToList();
170 string CurrentUri = HttpContext.Current.Request.Url.PathAndQuery.ToString().Replace("/Default.aspx", "Default.aspx");
171 string convertedUri = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(CurrentUri);
172 string CanonicalUri = Website.createCanonical();
173 string CanonicalDomain = "mobler.dk";
174 if (Website.IsLocalWebshop())
175 {
176 CanonicalDomain = System.Web.HttpContext.Current.Request.Url.Host;
177 }
178 string CanonicalURL = "https://" + CanonicalDomain + CanonicalUri;
179 string AvisLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Avis");
180 string FindShopSearchPlaceholder = Translate("HeaderNav.FindShopPlaceholder", "Indtast postnr., by eller adresse");
181 string SetBannerEndpoint = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("GetCartJson");
182 bool ShowTopBanner = Mobler.Website.CustomCode.Frontend.V2.Helpers.MessageBanner.ShowMessageBanner();
183 bool EnableTopBarHeader = GetBoolean("Item.Area.EnableTopBarHeader.Value");
184 bool EnableTopBarNavigation = GetBoolean("Item.Area.EnableTopBarBanner.Value") && ShowTopBanner;
185
186 bool EnableGoogleShoppingScript = GetBoolean("Item.Area.EnableGoogleShoppingScript.Value");
187 string GoogleShoppingContentKey = GetString("Item.Area.GoogleShoppingContentKey.Value");
188
189 bool EnableFacebookScript = GetBoolean("Item.Area.EnableFacebookScript.Value");
190 string FacebookScriptContentKey = GetString("Item.Area.FacebookScriptContentKey.Value");
191 string PinterestDomainVerifyContentKey = GetString("Item.Area.PinterestDomainVerifyContentKey.Value");
192
193 bool IsCheckoutStep = false || HttpContext.Current.Request.RawUrl.Contains("checkout");
194 bool isCheckoutFirstStep = false || HttpContext.Current.Request.RawUrl.Contains("indkoebskurv");
195
196
197 #line default
198 #line hidden
199 WriteLiteral("\r\n\r\n<!doctype html>\r\n<html");
200
201 WriteLiteral(" lang=\"da\"");
202
203 WriteLiteral(" class=\"box-border overflow-x-hidden w-screen\"");
204
205 WriteLiteral(">\r\n\r\n");
206
207
208 #line 113 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
209 Write(SnippetStart("LocalShopPage"));
210
211
212 #line default
213 #line hidden
214 WriteLiteral("\r\n<a");
215
216 WriteLiteral(" class=\"menu-item py-2 px-3 px-md-0\"");
217
218 WriteAttribute("href", Tuple.Create(" href=\"", 7127), Tuple.Create("\"", 7148)
219
220 #line 114 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
221 , Tuple.Create(Tuple.Create("", 7134), Tuple.Create<System.Object, System.Int32>(localShopPage
222
223 #line default
224 #line hidden
225 , 7134), false)
226 );
227
228 WriteLiteral(">\r\n\t<span>");
229
230
231 #line 115 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
232 Write(Translate("MenuAboutUs.Text", "Om os"));
233
234
235 #line default
236 #line hidden
237 WriteLiteral("</span>\r\n\t<div");
238
239 WriteLiteral(" class=\"mobile-menu-arrow\"");
240
241 WriteLiteral(">\r\n\t\t<svg");
242
243 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
244
245 WriteLiteral(" width=\"24\"");
246
247 WriteLiteral(" height=\"24\"");
248
249 WriteLiteral(" fill-rule=\"evenodd\"");
250
251 WriteLiteral(" clip-rule=\"evenodd\"");
252
253 WriteLiteral("><path");
254
255 WriteLiteral(" d=\"M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609" +
256 "z\"");
257
258 WriteLiteral("></path></svg>\r\n\t</div>\r\n</a>\r\n");
259
260
261 #line 120 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
262 Write(SnippetEnd("LocalShopPage"));
263
264
265 #line default
266 #line hidden
267 WriteLiteral("\r\n\r\n");
268
269
270 #line 122 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
271 Write(SnippetStart("MenuArrowSvg"));
272
273
274 #line default
275 #line hidden
276 WriteLiteral("\r\n<div");
277
278 WriteLiteral(" class=\"mobile-menu-arrow\"");
279
280 WriteLiteral(">\r\n\t<svg");
281
282 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
283
284 WriteLiteral(" width=\"24\"");
285
286 WriteLiteral(" height=\"24\"");
287
288 WriteLiteral(" fill-rule=\"evenodd\"");
289
290 WriteLiteral(" clip-rule=\"evenodd\"");
291
292 WriteLiteral("><path");
293
294 WriteLiteral(" d=\"M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609" +
295 "z\"");
296
297 WriteLiteral("></path></svg>\r\n</div>\r\n");
298
299
300 #line 126 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
301 Write(SnippetEnd("MenuArrowSvg"));
302
303
304 #line default
305 #line hidden
306 WriteLiteral("\r\n\r\n");
307
308
309 #line 128 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
310 Write(SnippetStart("MenuDownArrowSvg"));
311
312
313 #line default
314 #line hidden
315 WriteLiteral("\r\n<div");
316
317 WriteLiteral(" class=\"mobile-menu-down-arrow\"");
318
319 WriteLiteral(">\r\n\t<svg");
320
321 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
322
323 WriteLiteral(" width=\"24\"");
324
325 WriteLiteral(" height=\"24\"");
326
327 WriteLiteral(" fill-rule=\"evenodd\"");
328
329 WriteLiteral(" clip-rule=\"evenodd\"");
330
331 WriteLiteral("><path");
332
333 WriteLiteral(" d=\"M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609" +
334 "z\"");
335
336 WriteLiteral("></path></svg>\r\n</div>\r\n");
337
338
339 #line 132 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
340 Write(SnippetEnd("MenuDownArrowSvg"));
341
342
343 #line default
344 #line hidden
345 WriteLiteral("\r\n\r\n");
346
347
348 #line 134 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
349 foreach (var TopLevelGroup in TopLevelGroups)
350 {
351 string snippetName = TopLevelGroup.Id;
352 if (snippetName.Contains("-"))
353 {
354 snippetName = snippetName.Split(new char[] { '-' })[1];
355 }
356
357
358
359 #line default
360 #line hidden
361
362 #line 142 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
363 Write(SnippetStart(snippetName));
364
365
366 #line default
367 #line hidden
368
369 #line 142 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
370
371 foreach (var primaryGroup in TopLevelGroup.Subgroups.Where(pg => pg.NavigationShowInMenu))
372 {
373 string primaryGroupUrl;
374 string menuLinkText = primaryGroup.Name;
375 string AlternativeLink = primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("alternativelink") != null ? "" + primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("alternativelink").Value : "";
376 string AlternativeLinkText = primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("alternativelinktext") != null ? "" + primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("alternativelinktext").Value : "";
377 if (!string.IsNullOrEmpty(AlternativeLinkText))
378 {
379 menuLinkText = AlternativeLinkText;
380 }
381
382 if (!string.IsNullOrEmpty(AlternativeLink))
383 {
384 primaryGroupUrl = AlternativeLink;
385 }
386 else
387 {
388 primaryGroupUrl = !string.IsNullOrEmpty(primaryGroup.ProductGroupFieldValues
389 .GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString()) ?
390 primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString() :
391 TopLevelGroup.Meta.PrimaryPage + "&GroupID=" + primaryGroup.Id;
392 }
393
394 // When using alternative link, to display a universe page, let's create an "All" link, for that category
395 string primaryGroupPage = "";
396 if (!string.IsNullOrEmpty(AlternativeLink))
397 {
398 primaryGroupPage = !string.IsNullOrEmpty(primaryGroup.ProductGroupFieldValues
399 .GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString()) ?
400 primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString() :
401 TopLevelGroup.Meta.PrimaryPage + "&GroupID=" + primaryGroup.Id;
402 }
403
404
405
406 #line default
407 #line hidden
408 WriteLiteral("\t\t<div");
409
410 WriteLiteral(" class=\"category\"");
411
412 WriteLiteral(">\r\n\t\t\t<div");
413
414 WriteLiteral(" class=\"sub-menu-item has-drop category-header justify-between items-center w-ful" +
415 "l px-3 py-2 flex md:hidden\"");
416
417 WriteLiteral(">\r\n");
418
419 WriteLiteral("\t\t\t\t");
420
421
422 #line 178 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
423 Write(primaryGroup.Name);
424
425
426 #line default
427 #line hidden
428 WriteLiteral("\r\n\t\t\t\t<div");
429
430 WriteLiteral(" class=\"mobile-menu-down-arrow\"");
431
432 WriteLiteral(">\r\n\t\t\t\t\t<svg");
433
434 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
435
436 WriteLiteral(" width=\"24\"");
437
438 WriteLiteral(" height=\"24\"");
439
440 WriteLiteral(" fill-rule=\"evenodd\"");
441
442 WriteLiteral(" clip-rule=\"evenodd\"");
443
444 WriteLiteral("><path");
445
446 WriteLiteral(" d=\"M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609" +
447 "z\"");
448
449 WriteLiteral("></path></svg>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div");
450
451 WriteLiteral(" class=\"sub-drop\"");
452
453 WriteLiteral(">\r\n\t\t\t\t<a");
454
455 WriteAttribute("href", Tuple.Create(" href=\"", 10571), Tuple.Create("\"", 10596)
456
457 #line 184 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
458 , Tuple.Create(Tuple.Create("", 10578), Tuple.Create<System.Object, System.Int32>(primaryGroupUrl
459
460 #line default
461 #line hidden
462 , 10578), false)
463 );
464
465 WriteLiteral(">\r\n\t\t\t\t\t<div");
466
467 WriteLiteral(" class=\"sub-menu-item has-drop category-header link flex justify-between items-ce" +
468 "nter w-full px-3 py-2 md:px-0\"");
469
470 WriteLiteral(">\r\n\t\t\t\t\t\t<div");
471
472 WriteLiteral(" class=\"ml-3 ml-md-0\"");
473
474 WriteLiteral(">\r\n\t\t\t\t\t\t\t<div");
475
476 WriteLiteral(" class=\"inline md:hidden\"");
477
478 WriteLiteral(">");
479
480
481 #line 187 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
482 Write(Translate("Navigation.Mobile.GroupTitle", "Gå til:"));
483
484
485 #line default
486 #line hidden
487 WriteLiteral("</div> ");
488
489
490 #line 187 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
491 Write(menuLinkText);
492
493
494 #line default
495 #line hidden
496 WriteLiteral("\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div");
497
498 WriteLiteral(" class=\"mobile-menu-arrow\"");
499
500 WriteLiteral(">\r\n\t\t\t\t\t\t\t<svg");
501
502 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
503
504 WriteLiteral(" width=\"24\"");
505
506 WriteLiteral(" height=\"24\"");
507
508 WriteLiteral(" fill-rule=\"evenodd\"");
509
510 WriteLiteral(" clip-rule=\"evenodd\"");
511
512 WriteLiteral("><path");
513
514 WriteLiteral(" d=\"M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609" +
515 "z\"");
516
517 WriteLiteral("></path></svg>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</a>\r\n");
518
519
520 #line 194 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
521
522
523 #line default
524 #line hidden
525
526 #line 194 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
527 if (!string.IsNullOrEmpty(primaryGroupPage))
528 {
529
530
531 #line default
532 #line hidden
533 WriteLiteral("\t\t\t\t\t<div>\r\n\t\t\t\t\t\t<a");
534
535 WriteLiteral(" class=\"px-3 py-2 flex justify-between items-center w-full ecom-link\"");
536
537 WriteAttribute("href", Tuple.Create(" href=\"", 11320), Tuple.Create("\"", 11378)
538
539 #line 197 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
540 , Tuple.Create(Tuple.Create("", 11327), Tuple.Create<System.Object, System.Int32>(primaryGroupPage
541
542 #line default
543 #line hidden
544 , 11327), false)
545 , Tuple.Create(Tuple.Create("", 11346), Tuple.Create("#", 11346), true)
546
547 #line 197 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
548 , Tuple.Create(Tuple.Create("", 11347), Tuple.Create<System.Object, System.Int32>(CStrings.productListAnchorId
549
550 #line default
551 #line hidden
552 , 11347), false)
553 );
554
555 WriteLiteral(">\r\n\t\t\t\t\t\t\t<span");
556
557 WriteLiteral(" class=\"ml-2 ml-md-0\"");
558
559 WriteLiteral(">");
560
561
562 #line 198 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
563 Write(Translate("Navigation.Group.All", "Alle"));
564
565
566 #line default
567 #line hidden
568 WriteLiteral(" ");
569
570
571 #line 198 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
572 Write(primaryGroup.Name.ToLower());
573
574
575 #line default
576 #line hidden
577 WriteLiteral("</span>\r\n\t\t\t\t\t\t\t<div");
578
579 WriteLiteral(" class=\"mobile-menu-arrow\"");
580
581 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<svg");
582
583 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
584
585 WriteLiteral(" width=\"24\"");
586
587 WriteLiteral(" height=\"24\"");
588
589 WriteLiteral(" fill-rule=\"evenodd\"");
590
591 WriteLiteral(" clip-rule=\"evenodd\"");
592
593 WriteLiteral("><path");
594
595 WriteLiteral(" d=\"M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609" +
596 "z\"");
597
598 WriteLiteral("></path></svg>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</a>\r\n\t\t\t\t\t</div>\r\n");
599
600
601 #line 204 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
602 }
603
604
605 #line default
606 #line hidden
607 WriteLiteral("\t\t\t\t");
608
609
610 #line 205 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
611 foreach (var SubGroup in primaryGroup.Subgroups.Where(sg => sg.NavigationShowInMenu))
612 {
613 string GroupLink = SubGroup.ProductGroupFieldValues.GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").HasValue && !String.IsNullOrEmpty(SubGroup.ProductGroupFieldValues.GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString()) ? SubGroup.ProductGroupFieldValues.GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString() : "/" + TopLevelGroup.Meta.PrimaryPage + "&GroupID=" + SubGroup.Id;
614
615
616 #line default
617 #line hidden
618 WriteLiteral("\t\t\t\t\t<div>\r\n\t\t\t\t\t\t<a");
619
620 WriteLiteral(" class=\"px-3 py-2 flex justify-between items-center w-full ecom-link\"");
621
622 WriteAttribute("href", Tuple.Create(" href=\"", 12420), Tuple.Create("\"", 12471)
623
624 #line 209 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
625 , Tuple.Create(Tuple.Create("", 12427), Tuple.Create<System.Object, System.Int32>(GroupLink
626
627 #line default
628 #line hidden
629 , 12427), false)
630 , Tuple.Create(Tuple.Create("", 12439), Tuple.Create("#", 12439), true)
631
632 #line 209 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
633 , Tuple.Create(Tuple.Create("", 12440), Tuple.Create<System.Object, System.Int32>(CStrings.productListAnchorId
634
635 #line default
636 #line hidden
637 , 12440), false)
638 );
639
640 WriteLiteral(">\r\n\t\t\t\t\t\t\t<span");
641
642 WriteLiteral(" class=\"group-name\"");
643
644 WriteLiteral(">");
645
646
647 #line 210 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
648 Write(SubGroup.Name);
649
650
651 #line default
652 #line hidden
653 WriteLiteral("</span>\r\n\t\t\t\t\t\t\t<div");
654
655 WriteLiteral(" class=\"mobile-menu-arrow\"");
656
657 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<svg");
658
659 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
660
661 WriteLiteral(" width=\"24\"");
662
663 WriteLiteral(" height=\"24\"");
664
665 WriteLiteral(" fill-rule=\"evenodd\"");
666
667 WriteLiteral(" clip-rule=\"evenodd\"");
668
669 WriteLiteral("><path");
670
671 WriteLiteral(" d=\"M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609" +
672 "z\"");
673
674 WriteLiteral("></path></svg>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</a>\r\n\r\n\t\t\t\t\t</div>\r\n");
675
676
677 #line 217 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
678 }
679
680
681 #line default
682 #line hidden
683 WriteLiteral("\t\t\t</div>\r\n\t\t</div>\r\n");
684
685
686 #line 220 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
687 }
688
689
690 #line default
691 #line hidden
692
693 #line 221 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
694 Write(SnippetEnd(snippetName));
695
696
697 #line default
698 #line hidden
699
700 #line 221 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
701
702 }
703
704
705 #line default
706 #line hidden
707 WriteLiteral(@"
708 <head>
709 <script>
710 // Temporary workaround for hiding the Cookiebot banner from Web Vitals scans
711 // https://support.cookiebot.com/hc/en-us/articles/360020501579-Google-Core-Web-Vitals-and-Cookiebot-CMP#h_01H05PZGDJ2TGTZBP5R1FC8EMH
712 window.addEventListener(""CookiebotOnDialogInit"", function() {
713 if (Cookiebot.getDomainUrlParam(""CookiebotScan"") === ""true"")
714 Cookiebot.setOutOfRegion();
715 });
716 </script>
717 <script");
718
719 WriteLiteral(" id=\"Cookiebot\"");
720
721 WriteLiteral(" src=\"https://consent.cookiebot.com/uc.js\"");
722
723 WriteLiteral(" data-cbid=\"ec05aeab-ec7b-4d91-81fc-a8ebbcce1f2f\"");
724
725 WriteLiteral(" data-blockingmode=\"auto\"");
726
727 WriteLiteral(" type=\"text/javascript\"");
728
729 WriteLiteral("></script>\r\n\t<script");
730
731 WriteLiteral(" data-cookieconsent=\"ignore\"");
732
733 WriteLiteral(@">
734 window.domGaTrackingEvents = [];
735 window.domFbqTrackingEvents = [];
736
737 window.dataLayer = window.dataLayer || [];
738 function gtag() {
739 dataLayer.push(arguments);
740 }
741 gtag(""consent"", ""default"", {
742 ad_storage: ""denied"",
743 analytics_storage: ""denied"",
744 functionality_storage: ""denied"",
745 personalization_storage: ""denied"",
746 security_storage: ""granted"",
747 wait_for_update: 500,
748 });
749 gtag(""set"", ""ads_data_redaction"", true);
750 gtag(""set"", ""url_passthrough"", true);
751 </script>
752 ");
753
754 WriteLiteral("\r\n\t<script>\r\n\t\tvar ecomm_pagetype = \"other\";\r\n\t\tvar ecomm_totalvalue = 0;\r\n\t\tvar " +
755 "ecomm_prodid = \"\";\r\n\t</script>\r\n");
756
757 WriteLiteral("\t");
758
759
760 #line 259 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
761 Write(RenderSnippet("DataLayerOverwrites"));
762
763
764 #line default
765 #line hidden
766 WriteLiteral("\r\n\r\n");
767
768 WriteLiteral("\t");
769
770
771 #line 261 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
772 Write(RenderSnippet("DataLayerOverwriteReceipt"));
773
774
775 #line default
776 #line hidden
777 WriteLiteral("\r\n\r\n\t<!-- Google Tag Manager -->\r\n\t<script");
778
779 WriteLiteral(" data-cookieconsent=\"ignore\"");
780
781 WriteLiteral(">!function () { \"use strict\"; function e(e) { return function (e) { for (var t = " +
782 "0, r = document.cookie.split(\";\"); t < r.length; t++) { var n = r[t].split(\"=\");" +
783 " if (n[0].trim() === e) return n[1] } }(e) } function t(e) { return localStorage" +
784 ".getItem(e) } function r(e) { return window[e] } function n(e, t) { var r = docu" +
785 "ment.querySelector(e); return t ? null == r ? void 0 : r.getAttribute(t) : null " +
786 "== r ? void 0 : r.textContent } !function (o, i, a, c, u, l, s, v, d, f, g) { va" +
787 "r E, I, m, T; try { I = d && (m = navigator.userAgent, (T = new RegExp(\"Version/" +
788 "([0-9._]+)(.*Mobile)?.*Safari.*\").exec(m)) && parseFloat(T[1]) >= 16.4) ? functi" +
789 "on (o, i, a) { void 0 === i && (i = \"\"); var c = { cookie: e, localStorage: t, j" +
790 "sVariable: r, cssSelector: n }, u = Array.isArray(i) ? i : [i]; if (o && c[o]) f" +
791 "or (var l = c[o], s = 0, v = u; s < v.length; s++) { var d = v[s], f = a ? l(d, " +
792 "a) : l(d); if (f) return f } else console.warn(\"invalid uid source\", o) }(d, \"us" +
793 "er_id\", \"\") : void 0 } catch (e) { console.error(e) } var _ = o; _[c] = _[c] || " +
794 "[], _[c].push({ \"gtm.start\": (new Date).getTime(), event: \"gtm.js\" }); var p = i" +
795 ".getElementsByTagName(a)[0], A = I ? \"&bi=\" + encodeURIComponent(I) : \"\", N = i." +
796 "createElement(a), D = I ? \"kp\" + v : v, R = !I && s ? s : \"https://gtm.mobler.dk" +
797 "\"; N.async = !0, N.src = R + \"/\" + D + \".js?id=GTM-PN9ZSS\" + A, null === (E = p." +
798 "parentNode) || void 0 === E || E.insertBefore(N, p) }(window, document, \"script\"" +
799 ", \"dataLayer\", 0, 0, \"\", \"rcuxkqbl\", \"cookie\") }();</script>\r\n\t<!-- End Google T" +
800 "ag Manager -->\r\n\t<!-- Required meta tags -->\r\n\t<meta");
801
802 WriteLiteral(" charset=\"utf-8\"");
803
804 WriteLiteral(">\r\n\t<meta");
805
806 WriteLiteral(" name=\"viewport\"");
807
808 WriteLiteral(" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\"");
809
810 WriteLiteral(">\r\n\t\r\n");
811
812
813 #line 270 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
814
815
816 #line default
817 #line hidden
818
819 #line 270 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
820 if (string.IsNullOrEmpty(Dynamicweb.Context.Current.Request["productid"]))
821 {
822
823
824
825
826 #line default
827 #line hidden
828 WriteLiteral("\t\t<title>");
829
830
831 #line 274 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
832 Write(GetValue("Title"));
833
834
835 #line default
836 #line hidden
837 WriteLiteral("</title>\r\n");
838
839
840 #line 275 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
841
842
843 #line default
844 #line hidden
845
846 #line 275 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
847 Write(GetValue("MetaTags"));
848
849
850 #line default
851 #line hidden
852
853 #line 275 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
854
855
856
857 #line default
858 #line hidden
859
860 #line 276 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
861 Write(GetValue("CopyRightNotice"));
862
863
864 #line default
865 #line hidden
866
867 #line 276 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
868
869
870 }
871 else
872 {
873
874
875 #line default
876 #line hidden
877
878 #line 281 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
879 Write(RenderSnippet("ProductDetailsMeta"));
880
881
882 #line default
883 #line hidden
884
885 #line 281 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
886
887 }
888
889
890 #line default
891 #line hidden
892 WriteLiteral("\r\n");
893
894
895 #line 284 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
896
897
898 #line default
899 #line hidden
900
901 #line 284 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
902 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.AbsoluteUri.ToLower().Contains("groupid=pim-"))
903 {
904
905
906 #line default
907 #line hidden
908 WriteLiteral("\t\t<meta");
909
910 WriteLiteral(" name=\"robots\"");
911
912 WriteLiteral(" content=\"noindex\"");
913
914 WriteLiteral(">\r\n");
915
916
917 #line 287 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
918 }
919
920
921 #line default
922 #line hidden
923 WriteLiteral("\r\n");
924
925
926 #line 289 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
927
928
929 #line default
930 #line hidden
931
932 #line 289 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
933 if (!Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop())
934 {
935
936
937 #line default
938 #line hidden
939 WriteLiteral("\t\t<link");
940
941 WriteLiteral(" rel=\"canonical\"");
942
943 WriteAttribute("href", Tuple.Create(" href=\"", 16701), Tuple.Create("\"", 16721)
944
945 #line 291 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
946 , Tuple.Create(Tuple.Create("", 16708), Tuple.Create<System.Object, System.Int32>(CanonicalURL
947
948 #line default
949 #line hidden
950 , 16708), false)
951 );
952
953 WriteLiteral(">\r\n");
954
955
956 #line 292 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
957 }
958
959
960 #line default
961 #line hidden
962 WriteLiteral("\t<meta");
963
964 WriteLiteral(" property=\"og:url\"");
965
966 WriteAttribute("content", Tuple.Create(" content=\"", 16753), Tuple.Create("\"", 16776)
967
968 #line 293 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
969 , Tuple.Create(Tuple.Create("", 16763), Tuple.Create<System.Object, System.Int32>(CanonicalURL
970
971 #line default
972 #line hidden
973 , 16763), false)
974 );
975
976 WriteLiteral(">\r\n\t<meta");
977
978 WriteLiteral(" property=\"og:title\"");
979
980 WriteAttribute("content", Tuple.Create(" content=\"", 16806), Tuple.Create("\"", 16835)
981
982 #line 294 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
983 , Tuple.Create(Tuple.Create("", 16816), Tuple.Create<System.Object, System.Int32>(GetValue(" title")
984
985 #line default
986 #line hidden
987 , 16816), false)
988 );
989
990 WriteLiteral("=\"\">\r\n\r\n\t<link");
991
992 WriteLiteral(" rel=\"shortcut icon\"");
993
994 WriteLiteral(" type=\"image/ico\"");
995
996 WriteLiteral(" href=\"/Files/Templates/Designs/Mobler2016/images/icons/favicon.ico\"");
997
998 WriteLiteral(">\r\n\r\n");
999
1000
1001 #line 298 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1002
1003
1004 #line default
1005 #line hidden
1006
1007 #line 298 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1008 if (GetString("Item.SystemName") == "BlogPost")
1009 {
1010 string imageMasterPage = GetString("Item.Billede.Value");
1011 string TeaserText = Regex.Replace(GetString("Item.TeaserTekst"), "<.*?>", String.Empty);
1012
1013
1014 #line default
1015 #line hidden
1016 WriteLiteral("\t\t<meta");
1017
1018 WriteLiteral(" property=\"og:type\"");
1019
1020 WriteLiteral(" content=\"article\"");
1021
1022 WriteLiteral(">\r\n");
1023
1024 WriteLiteral("\t\t<meta");
1025
1026 WriteLiteral(" property=\"og:description\"");
1027
1028 WriteAttribute("content", Tuple.Create(" content=\"", 17248), Tuple.Create("\"", 17269)
1029
1030 #line 303 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1031 , Tuple.Create(Tuple.Create("", 17258), Tuple.Create<System.Object, System.Int32>(TeaserText
1032
1033 #line default
1034 #line hidden
1035 , 17258), false)
1036 );
1037
1038 WriteLiteral(">\r\n");
1039
1040 WriteLiteral("\t\t<meta");
1041
1042 WriteLiteral(" property=\"og:image\"");
1043
1044 WriteAttribute("content", Tuple.Create(" content=\"", 17300), Tuple.Create("\"", 17326)
1045
1046 #line 304 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1047 , Tuple.Create(Tuple.Create("", 17310), Tuple.Create<System.Object, System.Int32>(imageMasterPage
1048
1049 #line default
1050 #line hidden
1051 , 17310), false)
1052 );
1053
1054 WriteLiteral(">\r\n");
1055
1056
1057 #line 305 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1058 }
1059 else if (GetString("Item.SystemName") == "Brand")
1060 {
1061 string imageMasterPage = GetString("Item.Logo.Value");
1062 string TeaserText = GetString("Item.Navn");
1063
1064
1065 #line default
1066 #line hidden
1067 WriteLiteral("\t\t<meta");
1068
1069 WriteLiteral(" property=\"og:type\"");
1070
1071 WriteLiteral(" content=\"article\"");
1072
1073 WriteLiteral(">\r\n");
1074
1075 WriteLiteral("\t\t<meta");
1076
1077 WriteLiteral(" property=\"og:description\"");
1078
1079 WriteAttribute("content", Tuple.Create(" content=\"", 17575), Tuple.Create("\"", 17596)
1080
1081 #line 311 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1082 , Tuple.Create(Tuple.Create("", 17585), Tuple.Create<System.Object, System.Int32>(TeaserText
1083
1084 #line default
1085 #line hidden
1086 , 17585), false)
1087 );
1088
1089 WriteLiteral(">\r\n");
1090
1091 WriteLiteral("\t\t<meta");
1092
1093 WriteLiteral(" property=\"og:image\"");
1094
1095 WriteAttribute("content", Tuple.Create(" content=\"", 17627), Tuple.Create("\"", 17653)
1096
1097 #line 312 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1098 , Tuple.Create(Tuple.Create("", 17637), Tuple.Create<System.Object, System.Int32>(imageMasterPage
1099
1100 #line default
1101 #line hidden
1102 , 17637), false)
1103 );
1104
1105 WriteLiteral(">\r\n");
1106
1107
1108 #line 313 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1109 }
1110 else if (System.Web.HttpContext.Current.Items["OverrideOgTags"] != null)
1111 {
1112
1113
1114 #line default
1115 #line hidden
1116
1117 #line 316 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1118 Write(RenderSnippet("OgTags"));
1119
1120
1121 #line default
1122 #line hidden
1123
1124 #line 316 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1125
1126 }
1127 else
1128 {
1129
1130
1131 #line default
1132 #line hidden
1133 WriteLiteral("\t\t<meta");
1134
1135 WriteLiteral(" property=\"og:type\"");
1136
1137 WriteLiteral(" content=\"business.business\"");
1138
1139 WriteLiteral(">\r\n");
1140
1141 WriteLiteral("\t\t<meta");
1142
1143 WriteLiteral(" property=\"og:description\"");
1144
1145 WriteAttribute("content", Tuple.Create(" content=\"", 17873), Tuple.Create("\"", 17914)
1146
1147 #line 321 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1148 , Tuple.Create(Tuple.Create("", 17883), Tuple.Create<System.Object, System.Int32>(GetString(" meta.description")
1149
1150 #line default
1151 #line hidden
1152 , 17883), false)
1153 );
1154
1155 WriteLiteral("=\"\">\r\n");
1156
1157 WriteLiteral("\t\t<meta");
1158
1159 WriteLiteral(" property=\"og:image\"");
1160
1161 WriteLiteral(" content=\"https://mobler.dk/Files/Templates/Designs/Mobler2018/dist/logos/mobler." +
1162 "svg\"");
1163
1164 WriteLiteral(">\r\n");
1165
1166
1167 #line 323 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1168 }
1169
1170
1171 #line default
1172 #line hidden
1173 WriteLiteral("\r\n\r\n");
1174
1175
1176 #line 326 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1177
1178
1179 #line default
1180 #line hidden
1181
1182 #line 326 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1183 if (EnableGoogleShoppingScript && !string.IsNullOrEmpty(GoogleShoppingContentKey))
1184 {
1185
1186
1187 #line default
1188 #line hidden
1189 WriteLiteral("\t\t<meta");
1190
1191 WriteLiteral(" name=\"google-site-verification\"");
1192
1193 WriteAttribute("content", Tuple.Create(" content=\"", 18173), Tuple.Create("\"", 18208)
1194
1195 #line 328 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1196 , Tuple.Create(Tuple.Create("", 18183), Tuple.Create<System.Object, System.Int32>(GoogleShoppingContentKey
1197
1198 #line default
1199 #line hidden
1200 , 18183), false)
1201 );
1202
1203 WriteLiteral(">\r\n");
1204
1205
1206 #line 329 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1207 }
1208
1209
1210 #line default
1211 #line hidden
1212 WriteLiteral("\r\n");
1213
1214
1215 #line 331 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1216
1217
1218 #line default
1219 #line hidden
1220
1221 #line 331 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1222 if (EnableFacebookScript && !string.IsNullOrEmpty(FacebookScriptContentKey))
1223 {
1224
1225
1226 #line default
1227 #line hidden
1228 WriteLiteral("\t\t<meta");
1229
1230 WriteLiteral(" name=\"facebook-domain-verification\"");
1231
1232 WriteAttribute("content", Tuple.Create(" content=\"", 18345), Tuple.Create("\"", 18380)
1233
1234 #line 333 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1235 , Tuple.Create(Tuple.Create("", 18355), Tuple.Create<System.Object, System.Int32>(FacebookScriptContentKey
1236
1237 #line default
1238 #line hidden
1239 , 18355), false)
1240 );
1241
1242 WriteLiteral(">\r\n");
1243
1244
1245 #line 334 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1246 }
1247
1248
1249 #line default
1250 #line hidden
1251 WriteLiteral("\r\n");
1252
1253
1254 #line 336 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1255
1256
1257 #line default
1258 #line hidden
1259
1260 #line 336 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1261 if (EnableFacebookScript && !string.IsNullOrEmpty(PinterestDomainVerifyContentKey))
1262 {
1263
1264
1265 #line default
1266 #line hidden
1267 WriteLiteral("\t\t<meta");
1268
1269 WriteLiteral(" name=\"p:domain_verify\"");
1270
1271 WriteAttribute("content", Tuple.Create(" content=\"", 18511), Tuple.Create("\"", 18553)
1272
1273 #line 338 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1274 , Tuple.Create(Tuple.Create("", 18521), Tuple.Create<System.Object, System.Int32>(PinterestDomainVerifyContentKey
1275
1276 #line default
1277 #line hidden
1278 , 18521), false)
1279 );
1280
1281 WriteLiteral(">\r\n");
1282
1283
1284 #line 339 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1285 }
1286
1287
1288 #line default
1289 #line hidden
1290 WriteLiteral("\r\n");
1291
1292 WriteLiteral("\t");
1293
1294
1295 #line 341 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1296 Write(Pageview.AddViteStyles());
1297
1298
1299 #line default
1300 #line hidden
1301 WriteLiteral("\r\n\r\n\t<link");
1302
1303 WriteLiteral(" rel=\"preconnect\"");
1304
1305 WriteLiteral(" href=\"https://content.cylindo.com\"");
1306
1307 WriteLiteral(" crossorigin=\"\"");
1308
1309 WriteLiteral(">\r\n\r\n\r\n");
1310
1311
1312 #line 346 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1313 Write(GetValue("Stylesheets"));
1314
1315
1316 #line default
1317 #line hidden
1318 WriteLiteral("\r\n");
1319
1320
1321 #line 347 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1322 Write(GetValue("Javascripts"));
1323
1324
1325 #line default
1326 #line hidden
1327 WriteLiteral("\r\n</head>\r\n");
1328
1329
1330 #line 349 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1331
1332 bool isBlackFriday = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetBoolean("BlackFridayTheme");
1333 string blackFridayThemeClass = isBlackFriday ? "theme--black-friday" : "";
1334
1335
1336 #line default
1337 #line hidden
1338 WriteLiteral("\r\n<body");
1339
1340 WriteAttribute("class", Tuple.Create(" class=\"", 18932), Tuple.Create("\"", 18962)
1341
1342 #line 353 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1343 , Tuple.Create(Tuple.Create("", 18940), Tuple.Create<System.Object, System.Int32>(blackFridayThemeClass
1344
1345 #line default
1346 #line hidden
1347 , 18940), false)
1348 );
1349
1350 WriteLiteral(" data-bind=\"viewModel: \'MasterViewModel\', Cookies\"");
1351
1352 WriteLiteral(" data-currentshopislocalwebshop=\"");
1353
1354
1355 #line 353 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1356 Write(Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop());
1357
1358
1359 #line default
1360 #line hidden
1361 WriteLiteral("\"");
1362
1363 WriteLiteral(" data-mainshoplink=\"");
1364
1365
1366 #line 353 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1367 Write(MainShopLink);
1368
1369
1370 #line default
1371 #line hidden
1372 WriteLiteral("\"");
1373
1374 WriteLiteral(" data-culture=\"");
1375
1376
1377 #line 353 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1378 Write(culture);
1379
1380
1381 #line default
1382 #line hidden
1383 WriteLiteral("\"");
1384
1385 WriteLiteral(" data-design=\"");
1386
1387
1388 #line 353 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1389 Write(designFolder);
1390
1391
1392 #line default
1393 #line hidden
1394 WriteLiteral("\"");
1395
1396 WriteLiteral(">\r\n\r\n\t<!-- Google Tag Manager (noscript) -->\r\n\t<noscript><iframe");
1397
1398 WriteLiteral(" src=\"https://gtm.mobler.dk/ns.html?id=GTM-PN9ZSS\"");
1399
1400 WriteLiteral(" height=\"0\"");
1401
1402 WriteLiteral(" width=\"0\"");
1403
1404 WriteLiteral(" style=\"display:none;visibility:hidden\"");
1405
1406 WriteLiteral("></iframe></noscript>\r\n\t<!-- End Google Tag Manager (noscript) -->\r\n\r\n\t<div");
1407
1408 WriteLiteral(" data-bind=\"viewModel: \'HeaderViewModel\'\"");
1409
1410 WriteLiteral(">\r\n\t\t<div");
1411
1412 WriteLiteral(" class=\"menu-open-overlay\"");
1413
1414 WriteLiteral(" data-bind=\"css: { active: MenuOpen }, click: ToggleMenu\"");
1415
1416 WriteLiteral("></div>\r\n\t\t<header");
1417
1418 WriteLiteral(" class=\"js-header\"");
1419
1420 WriteLiteral(">\r\n\t\t\t<topnavigation></topnavigation>\r\n\r\n");
1421
1422
1423 #line 364 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1424
1425
1426 #line default
1427 #line hidden
1428
1429 #line 364 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1430 if (EnableTopBarNavigation && !IsCheckoutStep && TopBarNav != null)
1431 {
1432 dynamic NotificationData = new
1433 {
1434 bannerStyle = new
1435 {
1436 backgroundColor = BannerBackgroundColor,
1437 textColor = BannerTextColor
1438 },
1439 bannerContent = TopBarNav.Select(item => new
1440 {
1441 link = item.GetString("Item.Area.TopBarNavigation.NavItemLink"),
1442 text = item.GetString("Item.Area.TopBarNavigation.NavItemText")
1443 }).ToList()
1444 };
1445 object NotificationDataJson = HttpUtility.HtmlAttributeEncode(Newtonsoft.Json.JsonConvert.SerializeObject(NotificationData));
1446
1447
1448 #line default
1449 #line hidden
1450 WriteLiteral("\t\t\t\t<script>//console.log(\"%cNotificationDataJson\", \"color:white;background:rebec" +
1451 "capurple;padding:5px;\", ");
1452
1453
1454 #line 380 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1455 Write(Newtonsoft.Json.JsonConvert.SerializeObject(NotificationData, new Newtonsoft.Json.JsonSerializerSettings {ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore, PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects}));
1456
1457
1458 #line default
1459 #line hidden
1460 WriteLiteral(");</script>\r\n");
1461
1462
1463 #line 381 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1464
1465
1466
1467 #line default
1468 #line hidden
1469 WriteLiteral("\t\t\t\t<notificationelement");
1470
1471 WriteLiteral(" data-theme=\"info\"");
1472
1473 WriteLiteral(" data-content=\"");
1474
1475
1476 #line 382 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1477 Write(NotificationDataJson);
1478
1479
1480 #line default
1481 #line hidden
1482 WriteLiteral("\"");
1483
1484 WriteLiteral("></notificationelement>\r\n");
1485
1486
1487 #line 383 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1488
1489
1490 #line default
1491 #line hidden
1492
1493 #line 406 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1494
1495 }
1496
1497
1498 #line default
1499 #line hidden
1500 WriteLiteral("\t\t\t<div");
1501
1502 WriteLiteral(" class=\"container-fluid lg:border-b lg:border-b-grey\"");
1503
1504 WriteLiteral(">\r\n\t\t\t\t<div");
1505
1506 WriteLiteral(" class=\"container\"");
1507
1508 WriteLiteral(">\r\n");
1509
1510
1511 #line 410 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1512
1513
1514 #line default
1515 #line hidden
1516
1517 #line 410 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1518
1519 var GridRowsClass = IsCheckoutStep ? "grid-rows-1" : "grid-rows-2";
1520 string completedOrderParameter = System.Web.HttpContext.Current.Request.QueryString["CompletedOrderId"];
1521
1522
1523 #line default
1524 #line hidden
1525 WriteLiteral("\r\n\t\t\t\t\t<div");
1526
1527 WriteAttribute("class", Tuple.Create(" class=\"", 22004), Tuple.Create("\"", 22138)
1528 , Tuple.Create(Tuple.Create("", 22012), Tuple.Create("grid", 22012), true)
1529 , Tuple.Create(Tuple.Create(" ", 22016), Tuple.Create("items-center", 22017), true)
1530 , Tuple.Create(Tuple.Create(" ", 22029), Tuple.Create("gap-x-2", 22030), true)
1531 , Tuple.Create(Tuple.Create(" ", 22037), Tuple.Create("gap-y-4", 22038), true)
1532 , Tuple.Create(Tuple.Create(" ", 22045), Tuple.Create("xl:gap-8", 22046), true)
1533 , Tuple.Create(Tuple.Create(" ", 22054), Tuple.Create("pt-4", 22055), true)
1534 , Tuple.Create(Tuple.Create(" ", 22059), Tuple.Create("lg:py-4", 22060), true)
1535
1536 #line 414 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1537 , Tuple.Create(Tuple.Create(" ", 22067), Tuple.Create<System.Object, System.Int32>(GridRowsClass
1538
1539 #line default
1540 #line hidden
1541 , 22068), false)
1542 , Tuple.Create(Tuple.Create(" ", 22082), Tuple.Create("lg:grid-rows-1", 22083), true)
1543 , Tuple.Create(Tuple.Create(" ", 22097), Tuple.Create("grid-cols-4", 22098), true)
1544 , Tuple.Create(Tuple.Create(" ", 22109), Tuple.Create("lg:grid-cols-3", 22110), true)
1545 , Tuple.Create(Tuple.Create(" ", 22124), Tuple.Create("auto-rows-max", 22125), true)
1546 );
1547
1548 WriteLiteral(">\r\n");
1549
1550
1551 #line 415 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1552
1553
1554 #line default
1555 #line hidden
1556
1557 #line 415 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1558 if (IsCheckoutStep)
1559 {
1560
1561
1562 #line default
1563 #line hidden
1564
1565 #line 417 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1566
1567 if (string.IsNullOrEmpty(completedOrderParameter))
1568 {
1569
1570
1571 #line default
1572 #line hidden
1573 WriteLiteral("\t\t\t\t\t\t\t\t<div");
1574
1575 WriteLiteral(" onclick=\"window.history.back()\"");
1576
1577 WriteLiteral(" class=\"w-fit col-span-2 lg:col-span-1 px-6 py-2 rounded-full bg-white text-black" +
1578 " border-2 border-black hover:text-black hover:border-grey-dark hover:cursor-poin" +
1579 "ter active:border-grey-dark active:bg-grey\"");
1580
1581 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<span>\r\n\t\t\t\t\t\t\t\t\t\t<i");
1582
1583 WriteLiteral(" class=\"fa-solid fa-arrow-left mr-1\"");
1584
1585 WriteLiteral("></i> Tilbage\r\n\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t</div>\r\n");
1586
1587
1588 #line 425 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1589 }
1590
1591
1592
1593
1594 #line default
1595 #line hidden
1596 WriteLiteral("\t\t\t\t\t\t\t<div");
1597
1598 WriteLiteral(" class=\"flex lg:items-center lg:justify-center col-span-2 col-start-3 lg:col-span" +
1599 "-1 lg:col-start-2\"");
1600
1601 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<div");
1602
1603 WriteLiteral(" class=\"w-full\"");
1604
1605 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<a");
1606
1607 WriteLiteral(" href=\"/\"");
1608
1609 WriteLiteral(" class=\"flex flex-col md:items-center\"");
1610
1611 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t<img");
1612
1613 WriteLiteral(" width=\"400\"");
1614
1615 WriteLiteral(" height=\"46\"");
1616
1617 WriteLiteral(" class=\"max-h-[50px] hidden md:inline-block\"");
1618
1619 WriteAttribute("src", Tuple.Create(" src=\"", 22957), Tuple.Create("\"", 22971)
1620
1621 #line 431 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1622 , Tuple.Create(Tuple.Create("", 22963), Tuple.Create<System.Object, System.Int32>(logoSrc
1623
1624 #line default
1625 #line hidden
1626 , 22963), false)
1627 );
1628
1629 WriteAttribute("alt", Tuple.Create(" alt=\'", 22972), Tuple.Create("\'", 23053)
1630
1631 #line 431 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1632 , Tuple.Create(Tuple.Create("", 22978), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
1633
1634 #line default
1635 #line hidden
1636 , 22978), false)
1637 );
1638
1639 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t<img");
1640
1641 WriteLiteral(" width=\"400\"");
1642
1643 WriteLiteral(" height=\"46\"");
1644
1645 WriteLiteral(" class=\"max-h-[50px] w-full object-contain object-left inline md:hidden\"");
1646
1647 WriteAttribute("src", Tuple.Create(" src=\"", 23167), Tuple.Create("\"", 23187)
1648
1649 #line 432 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1650 , Tuple.Create(Tuple.Create("", 23173), Tuple.Create<System.Object, System.Int32>(logoSrcMobile
1651
1652 #line default
1653 #line hidden
1654 , 23173), false)
1655 );
1656
1657 WriteAttribute("alt", Tuple.Create(" alt=\'", 23188), Tuple.Create("\'", 23269)
1658
1659 #line 432 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1660 , Tuple.Create(Tuple.Create("", 23194), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
1661
1662 #line default
1663 #line hidden
1664 , 23194), false)
1665 );
1666
1667 WriteLiteral(">\r\n");
1668
1669
1670 #line 433 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1671
1672
1673 #line default
1674 #line hidden
1675
1676 #line 433 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1677 if (shopname.ToLower() != "møblér" && shopname.ToLower() != "mobler" && shopname.ToLower() != "m%c3%b8bl%c3%a9r" && !string.IsNullOrEmpty(shopname))
1678 {
1679
1680
1681 #line default
1682 #line hidden
1683 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t<small");
1684
1685 WriteLiteral(" class=\"text-xs text-grey-dark md:text-center\"");
1686
1687 WriteLiteral(">");
1688
1689
1690 #line 435 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1691 Write(Translate("LogoServiceText", "Ordren serviceres af Møbler.dk"));
1692
1693
1694 #line default
1695 #line hidden
1696 WriteLiteral("</small>\r\n");
1697
1698
1699 #line 436 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1700 }
1701
1702
1703 #line default
1704 #line hidden
1705 WriteLiteral("\t\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n");
1706
1707
1708 #line 440 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1709 }
1710
1711
1712 #line default
1713 #line hidden
1714 WriteLiteral("\r\n");
1715
1716
1717 #line 442 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1718
1719
1720 #line default
1721 #line hidden
1722
1723 #line 442 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1724 if (!IsCheckoutStep)
1725 {
1726
1727
1728 #line default
1729 #line hidden
1730 WriteLiteral("\t\t\t\t\t\t\t<div");
1731
1732 WriteLiteral(" class=\"flex lg:items-center lg:justify-center col-span-2 lg:col-span-1 lg:col-st" +
1733 "art-2\"");
1734
1735 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<div");
1736
1737 WriteLiteral(" class=\"w-full\"");
1738
1739 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<a");
1740
1741 WriteLiteral(" href=\"/\"");
1742
1743 WriteLiteral(" class=\"flex flex-col md:items-center\"");
1744
1745 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t<img");
1746
1747 WriteLiteral(" width=\"400\"");
1748
1749 WriteLiteral(" height=\"46\"");
1750
1751 WriteLiteral(" class=\"max-h-[50px] hidden md:inline-block\"");
1752
1753 WriteAttribute("src", Tuple.Create(" src=\"", 23966), Tuple.Create("\"", 23980)
1754
1755 #line 447 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1756 , Tuple.Create(Tuple.Create("", 23972), Tuple.Create<System.Object, System.Int32>(logoSrc
1757
1758 #line default
1759 #line hidden
1760 , 23972), false)
1761 );
1762
1763 WriteAttribute("alt", Tuple.Create(" alt=\'", 23981), Tuple.Create("\'", 24062)
1764
1765 #line 447 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1766 , Tuple.Create(Tuple.Create("", 23987), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
1767
1768 #line default
1769 #line hidden
1770 , 23987), false)
1771 );
1772
1773 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t<img");
1774
1775 WriteLiteral(" width=\"400\"");
1776
1777 WriteLiteral(" height=\"46\"");
1778
1779 WriteLiteral(" class=\"max-h-[50px] w-full object-contain object-left inline md:hidden\"");
1780
1781 WriteAttribute("src", Tuple.Create(" src=\"", 24176), Tuple.Create("\"", 24196)
1782
1783 #line 448 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1784 , Tuple.Create(Tuple.Create("", 24182), Tuple.Create<System.Object, System.Int32>(logoSrcMobile
1785
1786 #line default
1787 #line hidden
1788 , 24182), false)
1789 );
1790
1791 WriteAttribute("alt", Tuple.Create(" alt=\'", 24197), Tuple.Create("\'", 24278)
1792
1793 #line 448 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1794 , Tuple.Create(Tuple.Create("", 24203), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
1795
1796 #line default
1797 #line hidden
1798 , 24203), false)
1799 );
1800
1801 WriteLiteral(">\r\n");
1802
1803
1804 #line 449 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1805
1806
1807 #line default
1808 #line hidden
1809
1810 #line 449 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1811 if (shopname.ToLower() != "møblér" && shopname.ToLower() != "mobler" && shopname.ToLower() != "m%c3%b8bl%c3%a9r" && !string.IsNullOrEmpty(shopname))
1812 {
1813
1814
1815 #line default
1816 #line hidden
1817 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t<small");
1818
1819 WriteLiteral(" class=\"text-xs text-grey-dark md:text-center\"");
1820
1821 WriteLiteral(">");
1822
1823
1824 #line 451 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1825 Write(Translate("LogoServiceText", "Ordren serviceres af Møbler.dk"));
1826
1827
1828 #line default
1829 #line hidden
1830 WriteLiteral("</small>\r\n");
1831
1832
1833 #line 452 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1834 }
1835
1836
1837 #line default
1838 #line hidden
1839 WriteLiteral("\t\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n");
1840
1841
1842 #line 456 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1843
1844
1845
1846 #line default
1847 #line hidden
1848 WriteLiteral("\t\t\t\t\t\t\t<actionbar");
1849
1850 WriteLiteral(" class=\"flex items-center col-span-2 lg:col-span-1\"");
1851
1852 WriteLiteral("></actionbar>\r\n");
1853
1854
1855 #line 458 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1856
1857
1858
1859 #line default
1860 #line hidden
1861 WriteLiteral("\t\t\t\t\t\t\t<div");
1862
1863 WriteLiteral(" class=\"flex col-span-full gap-x-2 lg:col-span-1 lg:col-start-1 lg:row-start-1\"");
1864
1865 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<div");
1866
1867 WriteLiteral(" class=\"flex flex-col justify-center items-center w-12 lg:hidden\"");
1868
1869 WriteLiteral(" id=\"mobileMenuIcon\"");
1870
1871 WriteLiteral(" data-bind=\"click: ToggleMenu\"");
1872
1873 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<i");
1874
1875 WriteLiteral(" class=\"fa-light fa-bars fa-xl\"");
1876
1877 WriteLiteral("></i>\r\n\t\t\t\t\t\t\t\t\t<p");
1878
1879 WriteLiteral(" class=\"mt-1 text-xs md:text-sm\"");
1880
1881 WriteLiteral(">");
1882
1883
1884 #line 462 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1885 Write(Translate("MobileMenu.Text", "Menu"));
1886
1887
1888 #line default
1889 #line hidden
1890 WriteLiteral("</p>\r\n\t\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t\t\t<searchbar");
1891
1892 WriteLiteral(" id=\"js-search-bar\"");
1893
1894 WriteLiteral(" class=\"w-full\"");
1895
1896 WriteLiteral(" data-no-results=\"");
1897
1898
1899 #line 465 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1900 Write(SearchNoResults);
1901
1902
1903 #line default
1904 #line hidden
1905 WriteLiteral("\"");
1906
1907 WriteLiteral("></searchbar>\r\n\t\t\t\t\t\t\t</div>\r\n");
1908
1909
1910 #line 467 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1911 }
1912 else
1913 {
1914
1915
1916 #line default
1917 #line hidden
1918 WriteLiteral("\t\t\t\t\t\t\t<div");
1919
1920 WriteLiteral(" class=\"flex items-center justify-end col-span-2 lg:col-span-1\"");
1921
1922 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<shopwidget></shopwidget>\r\n\t\t\t\t\t\t\t</div>\r\n");
1923
1924
1925 #line 473 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1926 }
1927
1928
1929 #line default
1930 #line hidden
1931 WriteLiteral("\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n");
1932
1933
1934 #line 477 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1935
1936
1937 #line default
1938 #line hidden
1939
1940 #line 477 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1941 if (!IsCheckoutStep)
1942 {
1943
1944
1945 #line default
1946 #line hidden
1947 WriteLiteral("\t\t\t\t<div");
1948
1949 WriteLiteral(" class=\"container py-4\"");
1950
1951 WriteLiteral(">\r\n\t\t\t\t\t<div");
1952
1953 WriteLiteral(" class=\"relative\"");
1954
1955 WriteLiteral(">\r\n\t\t\t\t\t\t<nav");
1956
1957 WriteLiteral(" class=\"menu mt-md-3 mt-lg-4\"");
1958
1959 WriteLiteral(" data-bind=\"css: { open: MenuOpen }, menuToggler: { menuItemSelector: \'.menu-item" +
1960 ".has-drop\', subMenuItemSelector: \'.sub-menu-item.has-drop\', isMenuOpenObs: MenuO" +
1961 "pen, productsArray: Products, searchError: SearchError }\"");
1962
1963 WriteLiteral(">\r\n\t\t\t\t\t\t\t<div");
1964
1965 WriteLiteral(" class=\"mobile-navigation-top p-4 flex justify-content-between md:hidden js-mobil" +
1966 "e-navigation\"");
1967
1968 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<div");
1969
1970 WriteLiteral(" class=\"w-full\"");
1971
1972 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<a");
1973
1974 WriteLiteral(" href=\"/\"");
1975
1976 WriteLiteral(" class=\"flex flex-col md:items-center\"");
1977
1978 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t<img");
1979
1980 WriteLiteral(" width=\"400\"");
1981
1982 WriteLiteral(" height=\"46\"");
1983
1984 WriteLiteral(" class=\"max-h-[46px] hidden md:inline-block\"");
1985
1986 WriteAttribute("src", Tuple.Create(" src=\"", 26071), Tuple.Create("\"", 26085)
1987
1988 #line 485 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1989 , Tuple.Create(Tuple.Create("", 26077), Tuple.Create<System.Object, System.Int32>(logoSrc
1990
1991 #line default
1992 #line hidden
1993 , 26077), false)
1994 );
1995
1996 WriteAttribute("alt", Tuple.Create(" alt=\'", 26086), Tuple.Create("\'", 26167)
1997
1998 #line 485 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
1999 , Tuple.Create(Tuple.Create("", 26092), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
2000
2001 #line default
2002 #line hidden
2003 , 26092), false)
2004 );
2005
2006 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t<img");
2007
2008 WriteLiteral(" width=\"400\"");
2009
2010 WriteLiteral(" height=\"46\"");
2011
2012 WriteLiteral(" class=\"max-h-[46px] w-full object-contain object-left inline md:hidden\"");
2013
2014 WriteAttribute("src", Tuple.Create(" src=\"", 26281), Tuple.Create("\"", 26301)
2015
2016 #line 486 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2017 , Tuple.Create(Tuple.Create("", 26287), Tuple.Create<System.Object, System.Int32>(logoSrcMobile
2018
2019 #line default
2020 #line hidden
2021 , 26287), false)
2022 );
2023
2024 WriteAttribute("alt", Tuple.Create(" alt=\'", 26302), Tuple.Create("\'", 26383)
2025
2026 #line 486 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2027 , Tuple.Create(Tuple.Create("", 26308), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
2028
2029 #line default
2030 #line hidden
2031 , 26308), false)
2032 );
2033
2034 WriteLiteral(">\r\n");
2035
2036
2037 #line 487 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2038
2039
2040 #line default
2041 #line hidden
2042
2043 #line 487 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2044 if (shopname.ToLower() != "møblér")
2045 {
2046
2047
2048 #line default
2049 #line hidden
2050 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<small");
2051
2052 WriteLiteral(" class=\"text-xs text-grey-dark text-center hidden md:block\"");
2053
2054 WriteLiteral(">");
2055
2056
2057 #line 489 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2058 Write(Translate("LogoServiceText", "Ordren serviceres af Møbler.dk"));
2059
2060
2061 #line default
2062 #line hidden
2063 WriteLiteral("</small>\r\n");
2064
2065
2066 #line 490 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2067 }
2068
2069
2070 #line default
2071 #line hidden
2072 WriteLiteral("\t\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t<div");
2073
2074 WriteLiteral(" class=\"mobile-menu-closer px-3 flex flex-col items-center justify-center\"");
2075
2076 WriteLiteral(" data-bind=\"click: ToggleMenu\"");
2077
2078 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<svg");
2079
2080 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2081
2082 WriteLiteral(" width=\"24\"");
2083
2084 WriteLiteral(" height=\"24\"");
2085
2086 WriteLiteral(" fill-rule=\"evenodd\"");
2087
2088 WriteLiteral(" clip-rule=\"evenodd\"");
2089
2090 WriteLiteral("><path");
2091
2092 WriteLiteral(" d=\"M12 11.293l10.293-10.293.707.707-10.293 10.293 10.293 10.293-.707.707-10.293-" +
2093 "10.293-10.293 10.293-.707-.707 10.293-10.293-10.293-10.293.707-.707 10.293 10.29" +
2094 "3z\"");
2095
2096 WriteLiteral("></path></svg>\r\n\t\t\t\t\t\t\t\t\t<p");
2097
2098 WriteLiteral(" class=\"mb-0\"");
2099
2100 WriteLiteral(">");
2101
2102
2103 #line 495 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2104 Write(Translate("Close", "Luk"));
2105
2106
2107 #line default
2108 #line hidden
2109 WriteLiteral("</p>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div");
2110
2111 WriteLiteral(" class=\"hidden md:block z-30\"");
2112
2113 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<div");
2114
2115 WriteLiteral(" class=\"menu-closer pointer\"");
2116
2117 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<button");
2118
2119 WriteLiteral(" type=\"button\"");
2120
2121 WriteLiteral(" class=\"justify-self-end px-3 text-base hover:underline\"");
2122
2123 WriteLiteral(" data-bind=\"click: ToggleMenu\"");
2124
2125 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t<span");
2126
2127 WriteLiteral(" class=\"mr-2\"");
2128
2129 WriteLiteral(">Luk</span>\r\n\t\t\t\t\t\t\t\t\t\t<i");
2130
2131 WriteLiteral(" class=\"fa-light fa-close\"");
2132
2133 WriteLiteral("></i>\r\n\t\t\t\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div");
2134
2135 WriteLiteral(" class=\"flex flex-wrap md:gap-x-6 w-full justify-start\"");
2136
2137 WriteLiteral(">\r\n");
2138
2139 WriteLiteral("\t\t\t\t\t\t\t\t");
2140
2141
2142 #line 507 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2143 Write(RenderNavigation(new
2144 {
2145 ExpandMode = "All",
2146 Template = "navigation.xslt",
2147 TilbudTextColor = "color: " + TilbudTextColor + ";",
2148 TilbudBgColor = "background-color: " + TilbudBgColor + ";",
2149 StrongPriceBg = "background-color: " + StrongPriceBgColor + ";",
2150 StrongPriceTextColor = "color: " + StrongPriceTextColor + ";"
2151 }));
2152
2153
2154 #line default
2155 #line hidden
2156 WriteLiteral("\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</nav>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n");
2157
2158
2159 #line 520 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2160 }
2161
2162
2163 #line default
2164 #line hidden
2165 WriteLiteral("\t\t</header>\r\n\t\t<localshopmodal");
2166
2167 WriteLiteral(" data-show=\"false\"");
2168
2169 WriteLiteral(" data-text=\"");
2170
2171
2172 #line 522 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2173 Write(GetString(" item.area.localwebshoptext"));
2174
2175
2176 #line default
2177 #line hidden
2178 WriteLiteral("\"");
2179
2180 WriteLiteral("=\"\" data-shop-name=\"");
2181
2182
2183 #line 522 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2184 Write(shopnameEncoded);
2185
2186
2187 #line default
2188 #line hidden
2189 WriteLiteral("\" data-is-local-shop=\"");
2190
2191
2192 #line 522 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2193 Write(Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop().ToString().ToLower());
2194
2195
2196 #line default
2197 #line hidden
2198 WriteLiteral("\"></localshopmodal>\r\n\t</div>\r\n\r\n");
2199
2200
2201 #line 525 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2202
2203
2204 #line default
2205 #line hidden
2206 WriteLiteral("\r\n");
2207
2208
2209 #line 530 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2210
2211 var CurrentPageView = Dynamicweb.Frontend.PageView.Current().Page;
2212 var CurrentPage = Dynamicweb.Services.Pages.GetPage(CurrentPageView.ID);
2213 var Questions = MoblerHelpers.GetFaqQuestions(CurrentPage);
2214 int QuestionCounter = 1;
2215
2216
2217 #line default
2218 #line hidden
2219 WriteLiteral("\r\n\r\n");
2220
2221
2222 #line 537 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2223 Write(RenderNavigation(new { ExpandMode = "All", Template = "breadcrumb.xslt" }));
2224
2225
2226 #line default
2227 #line hidden
2228 WriteLiteral("\r\n\r\n<div");
2229
2230 WriteLiteral(" class=\"container my-3\"");
2231
2232 WriteLiteral(">\r\n <h1");
2233
2234 WriteLiteral(" class=\"text-uppercase mb-5\"");
2235
2236 WriteLiteral(">");
2237
2238
2239 #line 540 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2240 Write(CurrentPage.MenuText);
2241
2242
2243 #line default
2244 #line hidden
2245 WriteLiteral("</h1>\r\n</div>\r\n\r\n<div");
2246
2247 WriteLiteral(" class=\"box-shadow mb-5 mt-3\"");
2248
2249 WriteLiteral(">\r\n <div");
2250
2251 WriteLiteral(" class=\"container py-5\"");
2252
2253 WriteLiteral(">\r\n <p");
2254
2255 WriteLiteral(" class=\"font-bold\"");
2256
2257 WriteLiteral(">");
2258
2259
2260 #line 545 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2261 Write(Translate("FAQHeader", "Ofte stillede spørgsmål"));
2262
2263
2264 #line default
2265 #line hidden
2266 WriteLiteral("</p>\r\n <div");
2267
2268 WriteLiteral(" class=\"row\"");
2269
2270 WriteLiteral(">\r\n");
2271
2272
2273 #line 547 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2274
2275
2276 #line default
2277 #line hidden
2278
2279 #line 547 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2280 foreach (var Question in Questions)
2281 {
2282 Dynamicweb.Content.Page QuestionPage = Dynamicweb.Services.Pages.GetPageForItem(Question.SystemName, Question.Id);
2283
2284 string Url = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(QuestionPage.Parent.ID);
2285 string CollapseId = "collapse-" + QuestionCounter;
2286
2287
2288 #line default
2289 #line hidden
2290 WriteLiteral(" <div");
2291
2292 WriteLiteral(" class=\"col-12 col-md-6 faq-question\"");
2293
2294 WriteLiteral(">\r\n <div");
2295
2296 WriteLiteral(" class=\"p-2 pointer\"");
2297
2298 WriteLiteral(" data-toggle=\"collapse\"");
2299
2300 WriteLiteral(" data-target=\"#");
2301
2302
2303 #line 554 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2304 Write(CollapseId);
2305
2306
2307 #line default
2308 #line hidden
2309 WriteLiteral("\"");
2310
2311 WriteLiteral(">\r\n <p");
2312
2313 WriteLiteral(" class=\"flex-fill flex justify-content-between items-center mb-0 text-primary\"");
2314
2315 WriteLiteral(">");
2316
2317
2318 #line 555 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2319 Write(Question["Question"]);
2320
2321
2322 #line default
2323 #line hidden
2324 WriteLiteral(" <i");
2325
2326 WriteLiteral(" class=\"fas fa-chevron-right\"");
2327
2328 WriteLiteral("></i></p>\r\n </div>\r\n <div");
2329
2330 WriteLiteral(" class=\"collapse\"");
2331
2332 WriteAttribute("id", Tuple.Create(" id=\"", 29914), Tuple.Create("\"", 29930)
2333
2334 #line 557 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2335 , Tuple.Create(Tuple.Create("", 29919), Tuple.Create<System.Object, System.Int32>(CollapseId
2336
2337 #line default
2338 #line hidden
2339 , 29919), false)
2340 );
2341
2342 WriteLiteral(">\r\n <div");
2343
2344 WriteLiteral(" class=\"p-2 answer\"");
2345
2346 WriteLiteral(">\r\n <div>");
2347
2348
2349 #line 559 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2350 Write(Question["Answer"]);
2351
2352
2353 #line default
2354 #line hidden
2355 WriteLiteral("</div>\r\n </div>\r\n </div>\r\n " +
2356 " </div>\r\n");
2357
2358
2359 #line 563 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2360 QuestionCounter++;
2361 }
2362
2363
2364 #line default
2365 #line hidden
2366 WriteLiteral(" </div>\r\n </div>\r\n</div>\r\n\r\n<div");
2367
2368 WriteLiteral(" id=\"content1\"");
2369
2370 WriteLiteral(">");
2371
2372
2373 #line 569 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2374 Write(GetValue("DwContent(content1)"));
2375
2376
2377 #line default
2378 #line hidden
2379 WriteLiteral("</div>\r\n\r\n\r\n\r\n");
2380
2381
2382 #line 573 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2383
2384
2385 #line default
2386 #line hidden
2387
2388 #line 573 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2389 if (!IsCheckoutStep)
2390 {
2391 if (!isCheckoutFirstStep)
2392 {
2393 var brandsLoop = @GetLoop("Item.Page.Brand_Icon.Value");
2394
2395
2396 #line default
2397 #line hidden
2398 WriteLiteral("<!-- TODO: (Out of scope) Clean this up so we don\'t repeat -->\r\n");
2399
2400 WriteLiteral("\t\t\t<section");
2401
2402 WriteLiteral(" class=\"container py-8\"");
2403
2404 WriteLiteral(">\r\n\t\t\t\t<div");
2405
2406 WriteLiteral(" class=\"grid grid-cols-3 md:grid-cols-6 gap-4\"");
2407
2408 WriteLiteral(">\r\n");
2409
2410
2411 #line 581 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2412
2413
2414 #line default
2415 #line hidden
2416
2417 #line 581 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2418 if (brandsLoop.Count <= 0)
2419 {
2420 foreach (var item in GetLoop("Item.Area.Featured_Brands"))
2421 {
2422 string Link = item.GetString("Item.Area.Featured_Brands.Brand.Value");
2423 var Brand = Firstweb.Custom.CustomCode.Frontend.Helpers.Brands.GetBrand(Link);
2424
2425 if (!String.IsNullOrEmpty(Brand.Name))
2426 {
2427
2428
2429 #line default
2430 #line hidden
2431 WriteLiteral("\t\t\t\t\t\t\t\t<a");
2432
2433 WriteAttribute("href", Tuple.Create(" href=\"", 30918), Tuple.Create("\"", 30936)
2434
2435 #line 590 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2436 , Tuple.Create(Tuple.Create("", 30925), Tuple.Create<System.Object, System.Int32>(Brand.Link
2437
2438 #line default
2439 #line hidden
2440 , 30925), false)
2441 );
2442
2443 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img");
2444
2445 WriteLiteral(" width=\"900\"");
2446
2447 WriteLiteral(" height=\"400\"");
2448
2449 WriteLiteral(" class=\"img-fit-contain-x\"");
2450
2451 WriteAttribute("src", Tuple.Create(" src=\"", 31004), Tuple.Create("\"", 31089)
2452 , Tuple.Create(Tuple.Create("", 31010), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 31010), true)
2453
2454 #line 591 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2455 , Tuple.Create(Tuple.Create("", 31044), Tuple.Create<System.Object, System.Int32>(Brand.Logo
2456
2457 #line default
2458 #line hidden
2459 , 31044), false)
2460 , Tuple.Create(Tuple.Create("", 31055), Tuple.Create("&Format=webP&Quality=90&Height=400", 31055), true)
2461 );
2462
2463 WriteAttribute("alt", Tuple.Create(" alt=\"", 31090), Tuple.Create("\"", 31107)
2464
2465 #line 591 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2466 , Tuple.Create(Tuple.Create("", 31096), Tuple.Create<System.Object, System.Int32>(Brand.Name
2467
2468 #line default
2469 #line hidden
2470 , 31096), false)
2471 );
2472
2473 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n");
2474
2475
2476 #line 593 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2477 }
2478 }
2479 }
2480 else
2481 {
2482 foreach (var item in brandsLoop)
2483 {
2484 string image = item.GetString("Item.Page.Brand_Icon.Value.Image.Value");
2485 string link = item.GetString("Item.Page.Brand_Icon.Value.LinkDestination.Value");
2486
2487 if (!String.IsNullOrEmpty(image))
2488 {
2489
2490
2491 #line default
2492 #line hidden
2493 WriteLiteral("\t\t\t\t\t\t\t\t<a");
2494
2495 WriteAttribute("href", Tuple.Create(" href=\"", 31455), Tuple.Create("\"", 31467)
2496
2497 #line 605 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2498 , Tuple.Create(Tuple.Create("", 31462), Tuple.Create<System.Object, System.Int32>(link
2499
2500 #line default
2501 #line hidden
2502 , 31462), false)
2503 );
2504
2505 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img");
2506
2507 WriteLiteral(" width=\"900\"");
2508
2509 WriteLiteral(" height=\"400\"");
2510
2511 WriteLiteral(" class=\"img-fluid\"");
2512
2513 WriteAttribute("src", Tuple.Create(" src=\"", 31527), Tuple.Create("\"", 31607)
2514 , Tuple.Create(Tuple.Create("", 31533), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 31533), true)
2515
2516 #line 606 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2517 , Tuple.Create(Tuple.Create("", 31567), Tuple.Create<System.Object, System.Int32>(image
2518
2519 #line default
2520 #line hidden
2521 , 31567), false)
2522 , Tuple.Create(Tuple.Create("", 31573), Tuple.Create("&Format=webP&Quality=90&Height=400", 31573), true)
2523 );
2524
2525 WriteLiteral(" alt=\"\"");
2526
2527 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n");
2528
2529
2530 #line 608 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2531 }
2532 }
2533 }
2534
2535
2536 #line default
2537 #line hidden
2538 WriteLiteral("\t\t\t\t</div>\r\n\t\t\t</section>\r\n");
2539
2540
2541 #line 613 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2542 }
2543
2544
2545
2546 #line default
2547 #line hidden
2548 WriteLiteral("\t\t<section");
2549
2550 WriteLiteral(" class=\"bg-beige pt-14 lg:pt-28\"");
2551
2552 WriteLiteral(">\r\n\t\t\t<div");
2553
2554 WriteLiteral(" class=\"container flex flex-wrap\"");
2555
2556 WriteLiteral(">\r\n\t\t\t\t<div");
2557
2558 WriteLiteral(" class=\"w-full md:w-3/4 lg:w-1/2 flex flex-col md:items-start gap-y-4\"");
2559
2560 WriteLiteral(">\r\n\t\t\t\t\t<a");
2561
2562 WriteLiteral(" href=\"/\"");
2563
2564 WriteLiteral(" class=\"flex flex-col md:items-center\"");
2565
2566 WriteLiteral(">\r\n\t\t\t\t\t\t<img");
2567
2568 WriteLiteral(" width=\"400\"");
2569
2570 WriteLiteral(" height=\"46\"");
2571
2572 WriteLiteral(" class=\"max-h-[46px] hidden md:inline-block\"");
2573
2574 WriteAttribute("src", Tuple.Create(" src=\"", 31997), Tuple.Create("\"", 32011)
2575
2576 #line 619 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2577 , Tuple.Create(Tuple.Create("", 32003), Tuple.Create<System.Object, System.Int32>(logoSrc
2578
2579 #line default
2580 #line hidden
2581 , 32003), false)
2582 );
2583
2584 WriteAttribute("alt", Tuple.Create(" alt=\'", 32012), Tuple.Create("\'", 32093)
2585
2586 #line 619 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2587 , Tuple.Create(Tuple.Create("", 32018), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
2588
2589 #line default
2590 #line hidden
2591 , 32018), false)
2592 );
2593
2594 WriteLiteral(">\r\n\t\t\t\t\t\t<img");
2595
2596 WriteLiteral(" width=\"400\"");
2597
2598 WriteLiteral(" height=\"46\"");
2599
2600 WriteLiteral(" class=\"max-h-[46px] w-full object-contain object-left inline md:hidden\"");
2601
2602 WriteAttribute("src", Tuple.Create(" src=\"", 32203), Tuple.Create("\"", 32223)
2603
2604 #line 620 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2605 , Tuple.Create(Tuple.Create("", 32209), Tuple.Create<System.Object, System.Int32>(logoSrcMobile
2606
2607 #line default
2608 #line hidden
2609 , 32209), false)
2610 );
2611
2612 WriteAttribute("alt", Tuple.Create(" alt=\'", 32224), Tuple.Create("\'", 32305)
2613
2614 #line 620 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2615 , Tuple.Create(Tuple.Create("", 32230), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")
2616
2617 #line default
2618 #line hidden
2619 , 32230), false)
2620 );
2621
2622 WriteLiteral(">\r\n");
2623
2624
2625 #line 621 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2626
2627
2628 #line default
2629 #line hidden
2630
2631 #line 621 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2632 if (shopname.ToLower() != "møblér")
2633 {
2634
2635
2636 #line default
2637 #line hidden
2638 WriteLiteral("\t\t\t\t\t\t<small");
2639
2640 WriteLiteral(" class=\"text-xs text-grey-dark text-center hidden md:block\"");
2641
2642 WriteLiteral(">");
2643
2644
2645 #line 623 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2646 Write(Translate("LogoServiceText", "Ordren serviceres af Møbler.dk"));
2647
2648
2649 #line default
2650 #line hidden
2651 WriteLiteral("</small>\r\n");
2652
2653
2654 #line 624 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2655 }
2656
2657
2658 #line default
2659 #line hidden
2660 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");
2661
2662
2663 #line 628 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2664
2665
2666 #line default
2667 #line hidden
2668
2669 #line 628 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2670 if (shopnameEncoded == "M%c3%b8bl%c3%a9r")
2671 {
2672
2673
2674 #line default
2675 #line hidden
2676 WriteLiteral("\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t<p");
2677
2678 WriteLiteral(" class=\"mb-0 font-bold\"");
2679
2680 WriteLiteral(">");
2681
2682
2683 #line 631 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2684 Write(GetString("Item.Area.Header"));
2685
2686
2687 #line default
2688 #line hidden
2689 WriteLiteral("</p>\r\n\t\t\t\t\t\t\t<p>\r\n");
2690
2691 WriteLiteral("\t\t\t\t\t\t\t\t");
2692
2693
2694 #line 633 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2695 Write(GetString("Item.Area.About"));
2696
2697
2698 #line default
2699 #line hidden
2700 WriteLiteral("\r\n\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t<a");
2701
2702 WriteAttribute("href", Tuple.Create(" href=\"", 32799), Tuple.Create("\"", 32828)
2703
2704 #line 635 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2705 , Tuple.Create(Tuple.Create("", 32806), Tuple.Create<System.Object, System.Int32>(FooterLinkDestination
2706
2707 #line default
2708 #line hidden
2709 , 32806), false)
2710 );
2711
2712 WriteLiteral("><u>");
2713
2714
2715 #line 635 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2716 Write(Translate("FooterAboutReadMore", "Læs mere om Møblér kæden her"));
2717
2718
2719 #line default
2720 #line hidden
2721 WriteLiteral("</u></a>\r\n\t\t\t\t\t\t</div>\r\n");
2722
2723
2724 #line 637 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2725 }
2726 else
2727 {
2728 if (GetString("Item.SystemName") == "TextPage")
2729 {
2730 string CurrentAboutUsShopName = GetString("DwPageName_2");
2731 shopInfo = Website.ShopInfo(CurrentAboutUsShopName);
2732 shopname = CurrentAboutUsShopName;
2733 }
2734
2735
2736
2737 #line default
2738 #line hidden
2739 WriteLiteral("\t\t\t\t\t\t<div");
2740
2741 WriteLiteral(" class=\"flex flex-wrap gap-y-4 w-full\"");
2742
2743 WriteLiteral(">\r\n\t\t\t\t\t\t\t<div");
2744
2745 WriteLiteral(" class=\"w-full md:w-1/2\"");
2746
2747 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<ul");
2748
2749 WriteLiteral(" class=\"list-none\"");
2750
2751 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<li");
2752
2753 WriteLiteral(" class=\"mb-2\"");
2754
2755 WriteLiteral("><strong>");
2756
2757
2758 #line 650 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2759 Write(shopInfo.ShopName);
2760
2761
2762 #line default
2763 #line hidden
2764 WriteLiteral("</strong></li>\r\n\t\t\t\t\t\t\t\t\t<li>");
2765
2766
2767 #line 651 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2768 Write(shopInfo.Address);
2769
2770
2771 #line default
2772 #line hidden
2773 WriteLiteral("</li>\r\n\t\t\t\t\t\t\t\t\t<li>");
2774
2775
2776 #line 652 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2777 Write(shopInfo.PostalAndCity);
2778
2779
2780 #line default
2781 #line hidden
2782 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");
2783
2784 WriteAttribute("href", Tuple.Create(" href=\"", 33510), Tuple.Create("\"", 33531)
2785
2786 #line 654 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2787 , Tuple.Create(Tuple.Create("", 33517), Tuple.Create<System.Object, System.Int32>(localShopPage
2788
2789 #line default
2790 #line hidden
2791 , 33517), false)
2792 );
2793
2794 WriteLiteral(" class=\"underline text-black\"");
2795
2796 WriteLiteral(">");
2797
2798
2799 #line 654 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2800 Write(Translate("ShowOnMap", "Vis på kort"));
2801
2802
2803 #line default
2804 #line hidden
2805 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t\t</li>\r\n\r\n");
2806
2807
2808 #line 657 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2809
2810
2811 #line default
2812 #line hidden
2813
2814 #line 657 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2815 if (!String.IsNullOrEmpty(shopInfo.Address1))
2816 {
2817
2818
2819 #line default
2820 #line hidden
2821 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<li>");
2822
2823
2824 #line 659 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2825 Write(shopInfo.Address1);
2826
2827
2828 #line default
2829 #line hidden
2830 WriteLiteral(", ");
2831
2832
2833 #line 659 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2834 Write(shopInfo.PostalAndCity1);
2835
2836
2837 #line default
2838 #line hidden
2839 WriteLiteral("</li>\r\n");
2840
2841
2842 #line 660 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2843 }
2844
2845
2846 #line default
2847 #line hidden
2848 WriteLiteral("\t\t\t\t\t\t\t\t\t");
2849
2850
2851 #line 661 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2852 if (!String.IsNullOrEmpty(shopInfo.Address2))
2853 {
2854
2855
2856 #line default
2857 #line hidden
2858 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<li>");
2859
2860
2861 #line 663 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2862 Write(shopInfo.Address2);
2863
2864
2865 #line default
2866 #line hidden
2867 WriteLiteral(", ");
2868
2869
2870 #line 663 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2871 Write(shopInfo.PostalAndCity2);
2872
2873
2874 #line default
2875 #line hidden
2876 WriteLiteral("</li>\r\n");
2877
2878
2879 #line 664 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2880 }
2881
2882
2883 #line default
2884 #line hidden
2885 WriteLiteral("\t\t\t\t\t\t\t\t\t<li");
2886
2887 WriteLiteral(" class=\"mt-4\"");
2888
2889 WriteLiteral(">");
2890
2891
2892 #line 665 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2893 Write(shopInfo.Phone);
2894
2895
2896 #line default
2897 #line hidden
2898 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");
2899
2900 WriteAttribute("href", Tuple.Create(" href=\"", 33996), Tuple.Create("\"", 34025)
2901 , Tuple.Create(Tuple.Create("", 34003), Tuple.Create("mailto:", 34003), true)
2902
2903 #line 667 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2904 , Tuple.Create(Tuple.Create("", 34010), Tuple.Create<System.Object, System.Int32>(shopInfo.Email
2905
2906 #line default
2907 #line hidden
2908 , 34010), false)
2909 );
2910
2911 WriteLiteral(" class=\"underline text-black\"");
2912
2913 WriteLiteral(">");
2914
2915
2916 #line 667 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2917 Write(shopInfo.Email);
2918
2919
2920 #line default
2921 #line hidden
2922 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");
2923
2924 WriteLiteral(" class=\"w-full md:w-1/2\"");
2925
2926 WriteLiteral(">\r\n");
2927
2928
2929 #line 673 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2930
2931
2932 #line default
2933 #line hidden
2934
2935 #line 673 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2936 if (shopInfo.ShopInformationList.Count > 0 || shopInfo.OpeningHours != null)
2937 {
2938
2939
2940 #line default
2941 #line hidden
2942 WriteLiteral("\t\t\t\t\t\t\t\t\t<p");
2943
2944 WriteLiteral(" class=\"mb-2\"");
2945
2946 WriteLiteral("><strong>");
2947
2948
2949 #line 675 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2950 Write(Translate("openinghours", "Åbningstider"));
2951
2952
2953 #line default
2954 #line hidden
2955 WriteLiteral("</strong></p>\r\n");
2956
2957
2958 #line 676 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2959 }
2960
2961
2962 #line default
2963 #line hidden
2964 WriteLiteral("\t\t\t\t\t\t\t\t");
2965
2966
2967 #line 677 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2968 if (shopInfo.ShopInformationList.Count > 0)
2969 {
2970 foreach (var row in shopInfo.ShopInformationList)
2971 {
2972 var rowClass = !string.IsNullOrEmpty(row.columnTwo) ? "basis-1/2" : "";
2973
2974
2975 #line default
2976 #line hidden
2977 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<div");
2978
2979 WriteLiteral(" class=\"flex gap-x-2\"");
2980
2981 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t\t<div");
2982
2983 WriteAttribute("class", Tuple.Create(" class=\"", 34640), Tuple.Create("\"", 34657)
2984
2985 #line 683 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2986 , Tuple.Create(Tuple.Create("", 34648), Tuple.Create<System.Object, System.Int32>(rowClass
2987
2988 #line default
2989 #line hidden
2990 , 34648), false)
2991 );
2992
2993 WriteLiteral(">\r\n");
2994
2995 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t");
2996
2997
2998 #line 684 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
2999 Write(row.columnOne);
3000
3001
3002 #line default
3003 #line hidden
3004 WriteLiteral("\r\n\t\t\t\t\t\t\t\t\t\t\t</div>\r\n");
3005
3006
3007 #line 686 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3008
3009
3010 #line default
3011 #line hidden
3012
3013 #line 686 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3014 if (!string.IsNullOrEmpty(row.columnTwo))
3015 {
3016
3017
3018 #line default
3019 #line hidden
3020 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t<div>");
3021
3022
3023 #line 688 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3024 Write(row.columnTwo);
3025
3026
3027 #line default
3028 #line hidden
3029 WriteLiteral("</div>\r\n");
3030
3031
3032 #line 689 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3033 }
3034
3035
3036 #line default
3037 #line hidden
3038 WriteLiteral("\t\t\t\t\t\t\t\t\t\t</div>\r\n");
3039
3040
3041 #line 691 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3042 }
3043 }
3044 else if (shopInfo.OpeningHours != null)
3045 {
3046
3047
3048 #line default
3049 #line hidden
3050 WriteLiteral("\t\t\t\t\t\t\t\t\t<div");
3051
3052 WriteLiteral(" class=\"flex flex-col justify-content items-center gap-2 md:items-start\"");
3053
3054 WriteLiteral(">");
3055
3056
3057 #line 695 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3058 Write(shopInfo.OpeningHours);
3059
3060
3061 #line default
3062 #line hidden
3063 WriteLiteral("</div>\r\n");
3064
3065
3066 #line 696 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3067 }
3068
3069
3070 #line default
3071 #line hidden
3072 WriteLiteral("\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n");
3073
3074
3075 #line 700 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3076 }
3077
3078
3079 #line default
3080 #line hidden
3081 WriteLiteral("\t\t\t\t\t<ul");
3082
3083 WriteLiteral(" class=\"list-none flex gap-2 mb-8\"");
3084
3085 WriteLiteral(">\r\n");
3086
3087
3088 #line 702 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3089
3090
3091 #line default
3092 #line hidden
3093
3094 #line 702 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3095 foreach (var Some in GetLoop("Item.Area.SocialMediaIcons"))
3096 {
3097 string Link = Some.GetString("Item.Area.SocialMediaIcons.Link");
3098 string Icon = Some.GetString("Item.Area.SocialMediaIcons.Icon.Value");
3099
3100
3101 #line default
3102 #line hidden
3103 WriteLiteral("\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t<a");
3104
3105 WriteAttribute("href", Tuple.Create(" href=\"", 35394), Tuple.Create("\"", 35406)
3106
3107 #line 707 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3108 , Tuple.Create(Tuple.Create("", 35401), Tuple.Create<System.Object, System.Int32>(Link
3109
3110 #line default
3111 #line hidden
3112 , 35401), false)
3113 );
3114
3115 WriteLiteral(" target=\"_blank\"");
3116
3117 WriteLiteral(" class=\"text-black text-2xl hover:text-grey-dark\"");
3118
3119 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img");
3120
3121 WriteLiteral(" width=\"37\"");
3122
3123 WriteLiteral(" height=\"37\"");
3124
3125 WriteAttribute("src", Tuple.Create(" src=\"", 35511), Tuple.Create("\"", 35589)
3126 , Tuple.Create(Tuple.Create("", 35517), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 35517), true)
3127
3128 #line 708 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3129 , Tuple.Create(Tuple.Create("", 35551), Tuple.Create<System.Object, System.Int32>(Icon
3130
3131 #line default
3132 #line hidden
3133 , 35551), false)
3134 , Tuple.Create(Tuple.Create("", 35556), Tuple.Create("&Format=webP&Quality=90&Height=40", 35556), true)
3135 );
3136
3137 WriteLiteral(" alt=\"social icon\"");
3138
3139 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t</li>\r\n");
3140
3141
3142 #line 711 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3143 }
3144
3145
3146 #line default
3147 #line hidden
3148 WriteLiteral("\r\n");
3149
3150
3151 #line 713 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3152
3153
3154 #line default
3155 #line hidden
3156
3157 #line 713 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3158 foreach (var Some in GetLoop("Item.Area.SocialMediaFontawesomeIcons"))
3159 {
3160 string Link = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.Link");
3161 string Icon = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.FontawesomeClass");
3162
3163
3164 #line default
3165 #line hidden
3166 WriteLiteral("\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t<a");
3167
3168 WriteAttribute("href", Tuple.Create(" href=\"", 35941), Tuple.Create("\"", 35953)
3169
3170 #line 718 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3171 , Tuple.Create(Tuple.Create("", 35948), Tuple.Create<System.Object, System.Int32>(Link
3172
3173 #line default
3174 #line hidden
3175 , 35948), false)
3176 );
3177
3178 WriteLiteral(" target=\"_blank\"");
3179
3180 WriteLiteral(" class=\"text-black text-3xl hover:text-grey-dark\"");
3181
3182 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<i");
3183
3184 WriteAttribute("class", Tuple.Create(" class=\"", 36033), Tuple.Create("\"", 36046)
3185
3186 #line 719 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3187 , Tuple.Create(Tuple.Create("", 36041), Tuple.Create<System.Object, System.Int32>(Icon
3188
3189 #line default
3190 #line hidden
3191 , 36041), false)
3192 );
3193
3194 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");
3195
3196
3197 #line 722 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3198 }
3199
3200
3201 #line default
3202 #line hidden
3203 WriteLiteral("\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div");
3204
3205 WriteLiteral(" class=\"hidden lg:flex justify-center items-end w-full lg:w-2/4\"");
3206
3207 WriteLiteral(">\r\n");
3208
3209
3210 #line 726 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3211
3212
3213 #line default
3214 #line hidden
3215
3216 #line 726 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3217
3218 string footerStaffImagePath = String.Format("/Files/Images/Owners/Large/{0}.png", shopname);
3219 string footerStaffGetImage = "";
3220 if (!String.IsNullOrEmpty(footerStaffImagePath))
3221 {
3222 footerStaffGetImage = "/Admin/Public/GetImage.ashx?Image=" + footerStaffImagePath + "&Format=webP&Quality=90&width=640&height=300";
3223 }
3224
3225
3226 #line default
3227 #line hidden
3228 WriteLiteral("\r\n\t\t\t\t\t<img");
3229
3230 WriteLiteral(" width=\"640\"");
3231
3232 WriteLiteral(" height=\"300\"");
3233
3234 WriteLiteral(" class=\"img-fit-contain-x\"");
3235
3236 WriteAttribute("src", Tuple.Create(" src=\"", 36621), Tuple.Create("\"", 36647)
3237
3238 #line 734 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3239 , Tuple.Create(Tuple.Create("", 36627), Tuple.Create<System.Object, System.Int32>(footerStaffGetImage
3240
3241 #line default
3242 #line hidden
3243 , 36627), false)
3244 );
3245
3246 WriteAttribute("alt", Tuple.Create(" alt=\"", 36648), Tuple.Create("\"", 36663)
3247
3248 #line 734 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3249 , Tuple.Create(Tuple.Create("", 36654), Tuple.Create<System.Object, System.Int32>(shopname
3250
3251 #line default
3252 #line hidden
3253 , 36654), false)
3254 );
3255
3256 WriteLiteral(">\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</section>\r\n");
3257
3258
3259 #line 738 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3260
3261
3262
3263 #line default
3264 #line hidden
3265 WriteLiteral("\t\t<section");
3266
3267 WriteLiteral(" class=\"bg-beige-dark py-10\"");
3268
3269 WriteLiteral(">\r\n\t\t\t<div");
3270
3271 WriteLiteral(" class=\"container\"");
3272
3273 WriteLiteral(">\r\n\t\t\t\t<div");
3274
3275 WriteLiteral(" class=\"flex flex-wrap xl:flex-nowrap xl:flex-row gap-4 \"");
3276
3277 WriteLiteral(">\r\n\t\t\t\t\t<div");
3278
3279 WriteLiteral(" class=\"w-full grid md:grid-cols-3 xl:grid-cols-6 gap-y-4 *:list-none *:text-cent" +
3280 "er *:md:text-left *:text-sm *:leading-8\"");
3281
3282 WriteLiteral(">\r\n\t\t\t\t\t\t<ul");
3283
3284 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\"");
3285
3286 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
3287
3288
3289 #line 744 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3290 Write(GetString("Item.Area.Footer_Column_1_Header"));
3291
3292
3293 #line default
3294 #line hidden
3295 WriteLiteral("</strong>\r\n");
3296
3297
3298 #line 745 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3299
3300
3301 #line default
3302 #line hidden
3303
3304 #line 745 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3305 foreach (var Link in GetLoop("Item.Area.Footer_Column_1_Links"))
3306 {
3307 string LinkText = Link.GetString("Item.Area.Footer_Column_1_Links.LinkText");
3308 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_1_Links.Link");
3309
3310
3311 #line default
3312 #line hidden
3313 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a");
3314
3315 WriteAttribute("href", Tuple.Create(" href=\"", 37412), Tuple.Create("\"", 37435)
3316
3317 #line 750 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3318 , Tuple.Create(Tuple.Create("", 37419), Tuple.Create<System.Object, System.Int32>(LinkDestination
3319
3320 #line default
3321 #line hidden
3322 , 37419), false)
3323 );
3324
3325 WriteLiteral(" class=\"text-black hover:underline hover:text-black\"");
3326
3327 WriteLiteral(">");
3328
3329
3330 #line 750 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3331 Write(LinkText);
3332
3333
3334 #line default
3335 #line hidden
3336 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n");
3337
3338
3339 #line 752 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3340 }
3341
3342
3343 #line default
3344 #line hidden
3345 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t<ul");
3346
3347 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\"");
3348
3349 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
3350
3351
3352 #line 755 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3353 Write(GetString("Item.Area.Footer_Column_2_Header"));
3354
3355
3356 #line default
3357 #line hidden
3358 WriteLiteral("</strong>\r\n");
3359
3360
3361 #line 756 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3362
3363
3364 #line default
3365 #line hidden
3366
3367 #line 756 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3368 foreach (var Link in GetLoop("Item.Area.Footer_Column_2_Links"))
3369 {
3370 string LinkText = Link.GetString("Item.Area.Footer_Column_2_Links.LinkText");
3371 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_2_Links.Link");
3372
3373
3374 #line default
3375 #line hidden
3376 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a");
3377
3378 WriteAttribute("href", Tuple.Create(" href=\"", 37977), Tuple.Create("\"", 38000)
3379
3380 #line 761 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3381 , Tuple.Create(Tuple.Create("", 37984), Tuple.Create<System.Object, System.Int32>(LinkDestination
3382
3383 #line default
3384 #line hidden
3385 , 37984), false)
3386 );
3387
3388 WriteLiteral(" class=\"text-sm text-black\"");
3389
3390 WriteLiteral(">");
3391
3392
3393 #line 761 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3394 Write(LinkText);
3395
3396
3397 #line default
3398 #line hidden
3399 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n");
3400
3401
3402 #line 763 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3403 }
3404
3405
3406 #line default
3407 #line hidden
3408 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t<ul");
3409
3410 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\"");
3411
3412 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
3413
3414
3415 #line 766 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3416 Write(GetString("Item.Area.Footer_Column_3_Header"));
3417
3418
3419 #line default
3420 #line hidden
3421 WriteLiteral("</strong>\r\n");
3422
3423
3424 #line 767 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3425
3426
3427 #line default
3428 #line hidden
3429
3430 #line 767 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3431 foreach (var Link in GetLoop("Item.Area.Footer_Column_3_Links"))
3432 {
3433 string LinkText = Link.GetString("Item.Area.Footer_Column_3_Links.LinkText");
3434 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_3_Links.Link");
3435
3436
3437 #line default
3438 #line hidden
3439 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a");
3440
3441 WriteAttribute("href", Tuple.Create(" href=\"", 38517), Tuple.Create("\"", 38540)
3442
3443 #line 772 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3444 , Tuple.Create(Tuple.Create("", 38524), Tuple.Create<System.Object, System.Int32>(LinkDestination
3445
3446 #line default
3447 #line hidden
3448 , 38524), false)
3449 );
3450
3451 WriteLiteral(" class=\"text-sm text-black\"");
3452
3453 WriteLiteral(">");
3454
3455
3456 #line 772 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3457 Write(LinkText);
3458
3459
3460 #line default
3461 #line hidden
3462 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n");
3463
3464
3465 #line 774 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3466 }
3467
3468
3469 #line default
3470 #line hidden
3471 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\r\n\t\t\t\t\t\t<div");
3472
3473 WriteLiteral(" class=\"col-span-3\"");
3474
3475 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>");
3476
3477
3478 #line 778 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3479 Write(Translate("Co3.Newsletter.Headline.Text", "Møblérs nyhedsbrev"));
3480
3481
3482 #line default
3483 #line hidden
3484 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" +
3485 ">\r\n\t\t\t</div>\r\n\t\t</section>\r\n");
3486
3487
3488 #line 785 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3489
3490
3491
3492 #line default
3493 #line hidden
3494 WriteLiteral("\t\t<div");
3495
3496 WriteLiteral(" class=\"py-4 bg-white\"");
3497
3498 WriteLiteral(">\r\n\t\t\t<div");
3499
3500 WriteLiteral(" class=\"container flex flex-col md:flex-row gap-y-4\"");
3501
3502 WriteLiteral(">\r\n\t\t\t\t<div");
3503
3504 WriteLiteral(" class=\"w-full xl:w-1/2 flex justify-center items-center md:justify-start text-xs" +
3505 "\"");
3506
3507 WriteLiteral(">\r\n\t\t\t\t\t© ");
3508
3509
3510 #line 789 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3511 Write(currentYear);
3512
3513
3514 #line default
3515 #line hidden
3516 WriteLiteral(" ");
3517
3518
3519 #line 789 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3520 Write(Translate("Copyright", "Møblér. All Rights Reserved."));
3521
3522
3523 #line default
3524 #line hidden
3525 WriteLiteral("\r\n\t\t\t\t</div>\r\n\t\t\t\t<div");
3526
3527 WriteLiteral(" class=\"w-full xl:w-1/2 flex items-center md:justify-end\"");
3528
3529 WriteLiteral(">\r\n\t\t\t\t\t<a");
3530
3531 WriteAttribute("href", Tuple.Create(" href=\'", 39196), Tuple.Create("\'", 39239)
3532
3533 #line 792 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3534 , Tuple.Create(Tuple.Create("", 39203), Tuple.Create<System.Object, System.Int32>(Translate("PersondataLink", "link")
3535
3536 #line default
3537 #line hidden
3538 , 39203), false)
3539 );
3540
3541 WriteLiteral(" class=\"text-xs underline text-black mr-2\"");
3542
3543 WriteLiteral(">");
3544
3545
3546 #line 792 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3547 Write(Translate("PersondataText", "Persondatapolitik"));
3548
3549
3550 #line default
3551 #line hidden
3552 WriteLiteral("</a>\r\n\t\t\t\t\t<paymentmethodlogos");
3553
3554 WriteLiteral(" data-all-payments=\"true\"");
3555
3556 WriteLiteral("></paymentmethodlogos>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t</div>\r\n");
3557
3558
3559 #line 798 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3560 }
3561
3562
3563 #line default
3564 #line hidden
3565 WriteLiteral("\r\n\t<script");
3566
3567 WriteLiteral(" type=\"module\"");
3568
3569 WriteLiteral(" src=\"https://viewer-cdn.cylindo.com/v1/index.mjs\"");
3570
3571 WriteLiteral(" defer=\"\"");
3572
3573 WriteLiteral("></script>\r\n\r\n");
3574
3575 WriteLiteral("\t");
3576
3577
3578 #line 802 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml"
3579 Write(Pageview.AddViteScript());
3580
3581
3582 #line default
3583 #line hidden
3584 WriteLiteral("\r\n</body>\r\n</html>\r\n");
3585
3586 }
3587 }
3588 }
3589
1 @using System.Web;
2 @using System.Text.RegularExpressions
3 @using Dynamicweb.Core.Helpers
4 @using Dynamicweb.Rendering.Translation
5 @using Newtonsoft.Json
6 @using NuGet
7 @using Mobler.Website.CustomCode.Models
8 @using Vite.Dw.Extensions
9 @using HttpUtility = System.Web.HttpUtility
10 @using Mobler.Website.CustomCode.Frontend.V2.Helpers
11
12 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
13
14 @{
15 string CurrentEcomShopId = Dynamicweb.Frontend.PageView.Current().Area.EcomShopId;
16 string CurrentEcomLanguageId = Dynamicweb.Ecommerce.Common.Context.LanguageID;
17 string MainShopLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("MainShopLink");
18 string shopname = Website.GetShopName();
19 string shopnameEncoded = HttpUtility.UrlEncode(shopname);
20 var shopInfo = Website.ShopInfo();
21 string globalAreaName = GetGlobalValue("Global:Area.Name");
22
23 string culture = Dynamicweb.Frontend.PageView.Current().Area.Culture;
24 string designFolder = Dynamicweb.Frontend.PageView.Current().Area.Layout.Design.Name;
25
26 string logoSrc = "";
27 string logoSrcMobile = "";
28
29 if (shopname.ToLower() != "møblér" && shopname.ToLower() != "mobler" && shopname.ToLower() != "m%c3%b8bl%c3%a9r" && !string.IsNullOrEmpty(shopname))
30 {
31 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + ".svg";
32 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + "-mobile.svg";
33 } else {
34 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg";
35 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg";
36 }
37
38 //this defines a shoppage
39 if (GetString("Item.SystemName") == "TextPage")
40 {
41 shopname = GetString("DwPageName_2");
42 }
43
44 string imageName = shopname.Replace(" ", string.Empty) + "-owner.png";
45 string localShopPage = Website.localshopPage();
46 string FindDealerPage = GetString("Item.Area.FindDealerPage");
47 string CartPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CartPage");
48
49 string SearchNoResults = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("NoResults");
50 string SearchPagePageSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") : "20";
51 string InstantSearchSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") : "10";
52
53 string SearchResultPageId = "";
54 if (Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=').Length > 1)
55 {
56 SearchResultPageId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=')[1];
57 }
58 string FooterLinkDestination = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Link");
59 int ShopPageId = GetInteger("Item.Area.ShopPageId");
60 string SearchBarPlaceholder = Translate("SearchbarPlaceholderText", "Søg..");
61 int GlobalNewsletterParagraphId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("GlobalNewsletterParagraphId");
62 int CartCount = GetLoop("OrderLines").Count;
63 bool FirstShopWithSameName = true;
64 string SelectPlaceholder = Translate("ShopSelectPlaceholder", "Indtast by, postnummer eller adresse");
65 string SelectNoResult = Translate("ShopSelectNoResult", "No such shop found");
66 int ProductPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("PrimaryProductPage");
67
68 DateTime today = DateTime.Today;
69 string currentYear = today.ToString("yyyy");
70
71 string BannerBackgroundColor = GetString("Item.Area.BannerBackgroundColor");
72 string BannerTextColor = GetString("Item.Area.BannerTextColor");
73 var TopBarNav = GetLoop("Item.Area.TopBarNavigation");
74 var TopbarHeaderContent = GetLoop("Item.Area.TopbarHeaderContent");
75 string TilbudBgColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudBackgroundColor.Value")) ? GetString("Item.Area.TilbudBackgroundColor.Value") : "#00AB5D";
76 string TilbudTextColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudTextColor.Value")) ? GetString("Item.Area.TilbudTextColor.Value") : "#FFFFFF";
77 string StrongPriceBgColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisBackgroundColor.Value")) ? GetString("Item.Area.St_rkPrisBackgroundColor.Value") : "#9d4778";
78 string StrongPriceTextColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisTextColor.Value")) ? GetString("Item.Area.St_rkPrisTextColor.Value") : "#FFFFFF";
79 var uniqueSellingPoints = GetLoop("Item.Area.UniqueSellingPoints");
80 string CookieText = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieText");
81 string CookieReadMore = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieReadMoreText");
82 var TopLevelGroups = Dynamicweb.Ecommerce.Services.ProductGroups.GetToplevelGroups().Where(g => g.ShopId == CurrentEcomShopId && g.LanguageId == CurrentEcomLanguageId && g.NavigationShowInMenu).ToList();
83 string CurrentUri = HttpContext.Current.Request.Url.PathAndQuery.ToString().Replace("/Default.aspx", "Default.aspx");
84 string convertedUri = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(CurrentUri);
85 string CanonicalUri = Website.createCanonical();
86 string CanonicalDomain = "mobler.dk";
87 if (Website.IsLocalWebshop())
88 {
89 CanonicalDomain = System.Web.HttpContext.Current.Request.Url.Host;
90 }
91 string CanonicalURL = "https://" + CanonicalDomain + CanonicalUri;
92 string AvisLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Avis");
93 string FindShopSearchPlaceholder = Translate("HeaderNav.FindShopPlaceholder", "Indtast postnr., by eller adresse");
94 string SetBannerEndpoint = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("GetCartJson");
95 bool ShowTopBanner = Mobler.Website.CustomCode.Frontend.V2.Helpers.MessageBanner.ShowMessageBanner();
96 bool EnableTopBarHeader = GetBoolean("Item.Area.EnableTopBarHeader.Value");
97 bool EnableTopBarNavigation = GetBoolean("Item.Area.EnableTopBarBanner.Value") && ShowTopBanner;
98
99 bool EnableGoogleShoppingScript = GetBoolean("Item.Area.EnableGoogleShoppingScript.Value");
100 string GoogleShoppingContentKey = GetString("Item.Area.GoogleShoppingContentKey.Value");
101
102 bool EnableFacebookScript = GetBoolean("Item.Area.EnableFacebookScript.Value");
103 string FacebookScriptContentKey = GetString("Item.Area.FacebookScriptContentKey.Value");
104 string PinterestDomainVerifyContentKey = GetString("Item.Area.PinterestDomainVerifyContentKey.Value");
105
106 bool IsCheckoutStep = false || HttpContext.Current.Request.RawUrl.Contains("checkout");
107 bool isCheckoutFirstStep = false || HttpContext.Current.Request.RawUrl.Contains("indkoebskurv");
108 }
109
110 <!doctype html>
111 <html lang="da" class="box-border overflow-x-hidden w-screen">
112
113 @SnippetStart("LocalShopPage")
114 <a class="menu-item py-2 px-3 px-md-0" href="@localShopPage">
115 <span>@Translate("MenuAboutUs.Text", "Om os")</span>
116 <div class="mobile-menu-arrow">
117 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill-rule="evenodd" clip-rule="evenodd"><path d="M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609z"></path></svg>
118 </div>
119 </a>
120 @SnippetEnd("LocalShopPage")
121
122 @SnippetStart("MenuArrowSvg")
123 <div class="mobile-menu-arrow">
124 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill-rule="evenodd" clip-rule="evenodd"><path d="M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609z"></path></svg>
125 </div>
126 @SnippetEnd("MenuArrowSvg")
127
128 @SnippetStart("MenuDownArrowSvg")
129 <div class="mobile-menu-down-arrow">
130 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill-rule="evenodd" clip-rule="evenodd"><path d="M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609z"></path></svg>
131 </div>
132 @SnippetEnd("MenuDownArrowSvg")
133
134 @foreach (var TopLevelGroup in TopLevelGroups)
135 {
136 string snippetName = TopLevelGroup.Id;
137 if (snippetName.Contains("-"))
138 {
139 snippetName = snippetName.Split(new char[] { '-' })[1];
140 }
141
142 @SnippetStart(snippetName)
143 foreach (var primaryGroup in TopLevelGroup.Subgroups.Where(pg => pg.NavigationShowInMenu))
144 {
145 string primaryGroupUrl;
146 string menuLinkText = primaryGroup.Name;
147 string AlternativeLink = primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("alternativelink") != null ? "" + primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("alternativelink").Value : "";
148 string AlternativeLinkText = primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("alternativelinktext") != null ? "" + primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("alternativelinktext").Value : "";
149 if (!string.IsNullOrEmpty(AlternativeLinkText))
150 {
151 menuLinkText = AlternativeLinkText;
152 }
153
154 if (!string.IsNullOrEmpty(AlternativeLink))
155 {
156 primaryGroupUrl = AlternativeLink;
157 }
158 else
159 {
160 primaryGroupUrl = !string.IsNullOrEmpty(primaryGroup.ProductGroupFieldValues
161 .GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString()) ?
162 primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString() :
163 TopLevelGroup.Meta.PrimaryPage + "&GroupID=" + primaryGroup.Id;
164 }
165
166 // When using alternative link, to display a universe page, let's create an "All" link, for that category
167 string primaryGroupPage = "";
168 if (!string.IsNullOrEmpty(AlternativeLink))
169 {
170 primaryGroupPage = !string.IsNullOrEmpty(primaryGroup.ProductGroupFieldValues
171 .GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString()) ?
172 primaryGroup.ProductGroupFieldValues.GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString() :
173 TopLevelGroup.Meta.PrimaryPage + "&GroupID=" + primaryGroup.Id;
174 }
175
176 <div class="category">
177 <div class="sub-menu-item has-drop category-header justify-between items-center w-full px-3 py-2 flex md:hidden">
178 @primaryGroup.Name
179 <div class="mobile-menu-down-arrow">
180 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill-rule="evenodd" clip-rule="evenodd"><path d="M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609z"></path></svg>
181 </div>
182 </div>
183 <div class="sub-drop">
184 <a href="@(primaryGroupUrl)">
185 <div class="sub-menu-item has-drop category-header link flex justify-between items-center w-full px-3 py-2 md:px-0">
186 <div class="ml-3 ml-md-0">
187 <div class="inline md:hidden">@Translate("Navigation.Mobile.GroupTitle", "Gå til:")</div> @menuLinkText
188 </div>
189 <div class="mobile-menu-arrow">
190 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill-rule="evenodd" clip-rule="evenodd"><path d="M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609z"></path></svg>
191 </div>
192 </div>
193 </a>
194 @if (!string.IsNullOrEmpty(primaryGroupPage))
195 {
196 <div>
197 <a class="px-3 py-2 flex justify-between items-center w-full ecom-link" href="@(primaryGroupPage)#@(CStrings.productListAnchorId)">
198 <span class="ml-2 ml-md-0">@Translate("Navigation.Group.All", "Alle") @primaryGroup.Name.ToLower()</span>
199 <div class="mobile-menu-arrow">
200 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill-rule="evenodd" clip-rule="evenodd"><path d="M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609z"></path></svg>
201 </div>
202 </a>
203 </div>
204 }
205 @foreach (var SubGroup in primaryGroup.Subgroups.Where(sg => sg.NavigationShowInMenu))
206 {
207 string GroupLink = SubGroup.ProductGroupFieldValues.GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").HasValue && !String.IsNullOrEmpty(SubGroup.ProductGroupFieldValues.GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString()) ? SubGroup.ProductGroupFieldValues.GetProductGroupFieldValue("LinkToGroupsPrimaryPosition").Value.ToString() : "/" + TopLevelGroup.Meta.PrimaryPage + "&GroupID=" + SubGroup.Id;
208 <div>
209 <a class="px-3 py-2 flex justify-between items-center w-full ecom-link" href="@(GroupLink)#@(CStrings.productListAnchorId)">
210 <span class="group-name">@SubGroup.Name</span>
211 <div class="mobile-menu-arrow">
212 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill-rule="evenodd" clip-rule="evenodd"><path d="M23.245 4l-11.245 14.374-11.219-14.374-.781.619 12 15.381 12-15.391-.755-.609z"></path></svg>
213 </div>
214 </a>
215
216 </div>
217 }
218 </div>
219 </div>
220 }
221 @SnippetEnd(snippetName)
222 }
223
224 <head>
225 <script>
226 // Temporary workaround for hiding the Cookiebot banner from Web Vitals scans
227 // https://support.cookiebot.com/hc/en-us/articles/360020501579-Google-Core-Web-Vitals-and-Cookiebot-CMP#h_01H05PZGDJ2TGTZBP5R1FC8EMH
228 window.addEventListener("CookiebotOnDialogInit", function() {
229 if (Cookiebot.getDomainUrlParam("CookiebotScan") === "true")
230 Cookiebot.setOutOfRegion();
231 });
232 </script>
233 <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="ec05aeab-ec7b-4d91-81fc-a8ebbcce1f2f" data-blockingmode="auto" type="text/javascript"></script>
234 <script data-cookieconsent="ignore">
235 window.domGaTrackingEvents = [];
236 window.domFbqTrackingEvents = [];
237
238 window.dataLayer = window.dataLayer || [];
239 function gtag() {
240 dataLayer.push(arguments);
241 }
242 gtag("consent", "default", {
243 ad_storage: "denied",
244 analytics_storage: "denied",
245 functionality_storage: "denied",
246 personalization_storage: "denied",
247 security_storage: "granted",
248 wait_for_update: 500,
249 });
250 gtag("set", "ads_data_redaction", true);
251 gtag("set", "url_passthrough", true);
252 </script>
253 @*GTM*@
254 <script>
255 var ecomm_pagetype = "other";
256 var ecomm_totalvalue = 0;
257 var ecomm_prodid = "";
258 </script>
259 @RenderSnippet("DataLayerOverwrites")
260
261 @RenderSnippet("DataLayerOverwriteReceipt")
262
263 <!-- Google Tag Manager -->
264 <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>
265 <!-- End Google Tag Manager -->
266 <!-- Required meta tags -->
267 <meta charset="utf-8">
268 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
269
270 @if (string.IsNullOrEmpty(Dynamicweb.Context.Current.Request["productid"]))
271 {
272
273
274 <title>@GetValue("Title")</title>
275 @GetValue("MetaTags")
276 @GetValue("CopyRightNotice")
277
278 }
279 else
280 {
281 @RenderSnippet("ProductDetailsMeta")
282 }
283
284 @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.AbsoluteUri.ToLower().Contains("groupid=pim-"))
285 {
286 <meta name="robots" content="noindex">
287 }
288
289 @if (!Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop())
290 {
291 <link rel="canonical" href="@CanonicalURL">
292 }
293 <meta property="og:url" content="@CanonicalURL">
294 <meta property="og:title" content="@GetValue(" title")"="">
295
296 <link rel="shortcut icon" type="image/ico" href="/Files/Templates/Designs/Mobler2016/images/icons/favicon.ico">
297
298 @if (GetString("Item.SystemName") == "BlogPost")
299 {
300 string imageMasterPage = GetString("Item.Billede.Value");
301 string TeaserText = Regex.Replace(GetString("Item.TeaserTekst"), "<.*?>", String.Empty);
302 <meta property="og:type" content="article">
303 <meta property="og:description" content="@TeaserText">
304 <meta property="og:image" content="@imageMasterPage">
305 }
306 else if (GetString("Item.SystemName") == "Brand")
307 {
308 string imageMasterPage = GetString("Item.Logo.Value");
309 string TeaserText = GetString("Item.Navn");
310 <meta property="og:type" content="article">
311 <meta property="og:description" content="@TeaserText">
312 <meta property="og:image" content="@imageMasterPage">
313 }
314 else if (System.Web.HttpContext.Current.Items["OverrideOgTags"] != null)
315 {
316 @RenderSnippet("OgTags")
317 }
318 else
319 {
320 <meta property="og:type" content="business.business">
321 <meta property="og:description" content="@GetString(" meta.description")"="">
322 <meta property="og:image" content="https://mobler.dk/Files/Templates/Designs/Mobler2018/dist/logos/mobler.svg">
323 }
324
325
326 @if (EnableGoogleShoppingScript && !string.IsNullOrEmpty(GoogleShoppingContentKey))
327 {
328 <meta name="google-site-verification" content="@GoogleShoppingContentKey">
329 }
330
331 @if (EnableFacebookScript && !string.IsNullOrEmpty(FacebookScriptContentKey))
332 {
333 <meta name="facebook-domain-verification" content="@FacebookScriptContentKey">
334 }
335
336 @if (EnableFacebookScript && !string.IsNullOrEmpty(PinterestDomainVerifyContentKey))
337 {
338 <meta name="p:domain_verify" content="@PinterestDomainVerifyContentKey">
339 }
340
341 @Pageview.AddViteStyles()
342
343 <link rel="preconnect" href="https://content.cylindo.com" crossorigin="">
344
345
346 @GetValue("Stylesheets")
347 @GetValue("Javascripts")
348 </head>
349 @{
350 bool isBlackFriday = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetBoolean("BlackFridayTheme");
351 string blackFridayThemeClass = isBlackFriday ? "theme--black-friday" : "";
352 }
353 <body class="@blackFridayThemeClass" data-bind="viewModel: 'MasterViewModel', Cookies" data-currentshopislocalwebshop="@Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop()" data-mainshoplink="@MainShopLink" data-culture="@culture" data-design="@designFolder">
354
355 <!-- Google Tag Manager (noscript) -->
356 <noscript><iframe src="https://gtm.mobler.dk/ns.html?id=GTM-PN9ZSS" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
357 <!-- End Google Tag Manager (noscript) -->
358
359 <div data-bind="viewModel: 'HeaderViewModel'">
360 <div class="menu-open-overlay" data-bind="css: { active: MenuOpen }, click: ToggleMenu"></div>
361 <header class="js-header">
362 <topnavigation></topnavigation>
363
364 @if (EnableTopBarNavigation && !IsCheckoutStep && TopBarNav != null)
365 {
366 dynamic NotificationData = new
367 {
368 bannerStyle = new
369 {
370 backgroundColor = BannerBackgroundColor,
371 textColor = BannerTextColor
372 },
373 bannerContent = TopBarNav.Select(item => new
374 {
375 link = item.GetString("Item.Area.TopBarNavigation.NavItemLink"),
376 text = item.GetString("Item.Area.TopBarNavigation.NavItemText")
377 }).ToList()
378 };
379 object NotificationDataJson = HttpUtility.HtmlAttributeEncode(Newtonsoft.Json.JsonConvert.SerializeObject(NotificationData));
380 <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>
381
382 <notificationelement data-theme="info" data-content="@NotificationDataJson"></notificationelement>
383 @*<div class="container-fluid js-top-banner topbar-nav">
384
385 <div class="text-center" style="background-color:@BannerBackgroundColor;">
386 <div class="flex justify-center items- py-1">
387 <ul class="list-none">
388 @foreach (var navItem in TopBarNav)
389 {
390 string ItemLink = navItem.GetString("Item.Area.TopBarNavigation.NavItemLink");
391 string ItemText = navItem.GetString("Item.Area.TopBarNavigation.NavItemText");
392 <li>
393 <a class="nav-link p-1 rte-content" href='@ItemLink' style="color:@BannerTextColor;">
394 @ItemText
395 </a>
396 </li>
397 }
398 </ul>
399 <div class="ml-2">
400 <a href="#" data-bind="topBanner: { target: '.js-top-banner', endpoint: '@SetBannerEndpoint' }">
401 <i class="fa-solid fa-xmark" style="color:@BannerTextColor;"></i>
402 </a>
403 </div>
404 </div>
405 </div>
406 </div>*@
407 }
408 <div class="container-fluid lg:border-b lg:border-b-grey">
409 <div class="container">
410 @{
411 var GridRowsClass = IsCheckoutStep ? "grid-rows-1" : "grid-rows-2";
412 string completedOrderParameter = System.Web.HttpContext.Current.Request.QueryString["CompletedOrderId"];
413 }
414 <div class="grid items-center gap-x-2 gap-y-4 xl:gap-8 pt-4 lg:py-4 @GridRowsClass lg:grid-rows-1 grid-cols-4 lg:grid-cols-3 auto-rows-max">
415 @if (IsCheckoutStep)
416 {
417 @* If we are on the receipt page *@
418 if (string.IsNullOrEmpty(completedOrderParameter))
419 {
420 <div onclick="window.history.back()" class="w-fit col-span-2 lg:col-span-1 px-6 py-2 rounded-full bg-white text-black border-2 border-black hover:text-black hover:border-grey-dark hover:cursor-pointer active:border-grey-dark active:bg-grey">
421 <span>
422 <i class="fa-solid fa-arrow-left mr-1"></i> Tilbage
423 </span>
424 </div>
425 }
426
427
428 <div class="flex lg:items-center lg:justify-center col-span-2 col-start-3 lg:col-span-1 lg:col-start-2">
429 <div class="w-full">
430 <a href="/" class="flex flex-col md:items-center">
431 <img width="400" height="46" class="max-h-[50px] hidden md:inline-block" src="@logoSrc" alt='@Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")'>
432 <img width="400" height="46" class="max-h-[50px] w-full object-contain object-left inline md:hidden" src="@logoSrcMobile" alt='@Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")'>
433 @if (shopname.ToLower() != "møblér" && shopname.ToLower() != "mobler" && shopname.ToLower() != "m%c3%b8bl%c3%a9r" && !string.IsNullOrEmpty(shopname))
434 {
435 <small class="text-xs text-grey-dark md:text-center">@Translate("LogoServiceText", "Ordren serviceres af Møbler.dk")</small>
436 }
437 </a>
438 </div>
439 </div>
440 }
441
442 @if (!IsCheckoutStep)
443 {
444 <div class="flex lg:items-center lg:justify-center col-span-2 lg:col-span-1 lg:col-start-2">
445 <div class="w-full">
446 <a href="/" class="flex flex-col md:items-center">
447 <img width="400" height="46" class="max-h-[50px] hidden md:inline-block" src="@logoSrc" alt='@Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")'>
448 <img width="400" height="46" class="max-h-[50px] w-full object-contain object-left inline md:hidden" src="@logoSrcMobile" alt='@Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")'>
449 @if (shopname.ToLower() != "møblér" && shopname.ToLower() != "mobler" && shopname.ToLower() != "m%c3%b8bl%c3%a9r" && !string.IsNullOrEmpty(shopname))
450 {
451 <small class="text-xs text-grey-dark md:text-center">@Translate("LogoServiceText", "Ordren serviceres af Møbler.dk")</small>
452 }
453 </a>
454 </div>
455 </div>
456
457 <actionbar class="flex items-center col-span-2 lg:col-span-1"></actionbar>
458
459 <div class="flex col-span-full gap-x-2 lg:col-span-1 lg:col-start-1 lg:row-start-1">
460 <div class="flex flex-col justify-center items-center w-12 lg:hidden" id="mobileMenuIcon" data-bind="click: ToggleMenu">
461 <i class="fa-light fa-bars fa-xl"></i>
462 <p class="mt-1 text-xs md:text-sm">@Translate("MobileMenu.Text", "Menu")</p>
463 </div>
464
465 <searchbar id="js-search-bar" class="w-full" data-no-results="@SearchNoResults"></searchbar>
466 </div>
467 }
468 else
469 {
470 <div class="flex items-center justify-end col-span-2 lg:col-span-1">
471 <shopwidget></shopwidget>
472 </div>
473 }
474 </div>
475 </div>
476 </div>
477 @if (!IsCheckoutStep)
478 {
479 <div class="container py-4">
480 <div class="relative">
481 <nav class="menu mt-md-3 mt-lg-4" data-bind="css: { open: MenuOpen }, menuToggler: { menuItemSelector: '.menu-item.has-drop', subMenuItemSelector: '.sub-menu-item.has-drop', isMenuOpenObs: MenuOpen, productsArray: Products, searchError: SearchError }">
482 <div class="mobile-navigation-top p-4 flex justify-content-between md:hidden js-mobile-navigation">
483 <div class="w-full">
484 <a href="/" class="flex flex-col md:items-center">
485 <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")'>
486 <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")'>
487 @if (shopname.ToLower() != "møblér")
488 {
489 <small class="text-xs text-grey-dark text-center hidden md:block">@Translate("LogoServiceText", "Ordren serviceres af Møbler.dk")</small>
490 }
491 </a>
492 </div>
493 <div class="mobile-menu-closer px-3 flex flex-col items-center justify-center" data-bind="click: ToggleMenu">
494 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill-rule="evenodd" clip-rule="evenodd"><path d="M12 11.293l10.293-10.293.707.707-10.293 10.293 10.293 10.293-.707.707-10.293-10.293-10.293 10.293-.707-.707 10.293-10.293-10.293-10.293.707-.707 10.293 10.293z"></path></svg>
495 <p class="mb-0">@Translate("Close", "Luk")</p>
496 </div>
497 </div>
498 <div class="hidden md:block z-30">
499 <div class="menu-closer pointer">
500 <button type="button" class="justify-self-end px-3 text-base hover:underline" data-bind="click: ToggleMenu">
501 <span class="mr-2">Luk</span>
502 <i class="fa-light fa-close"></i>
503 </button>
504 </div>
505 </div>
506 <div class="flex flex-wrap md:gap-x-6 w-full justify-start">
507 @RenderNavigation(new
508 {
509 ExpandMode = "All",
510 Template = "navigation.xslt",
511 TilbudTextColor = "color: " + TilbudTextColor + ";",
512 TilbudBgColor = "background-color: " + TilbudBgColor + ";",
513 StrongPriceBg = "background-color: " + StrongPriceBgColor + ";",
514 StrongPriceTextColor = "color: " + StrongPriceTextColor + ";"
515 })
516 </div>
517 </nav>
518 </div>
519 </div>
520 }
521 </header>
522 <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>
523 </div>
524
525 @using Mobler.Website.CustomModules.MoblerHelpers;
526 @using Dynamicweb.Content.Items;
527 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
528
529
530 @{
531 var CurrentPageView = Dynamicweb.Frontend.PageView.Current().Page;
532 var CurrentPage = Dynamicweb.Services.Pages.GetPage(CurrentPageView.ID);
533 var Questions = MoblerHelpers.GetFaqQuestions(CurrentPage);
534 int QuestionCounter = 1;
535 }
536
537 @RenderNavigation(new { ExpandMode = "All", Template = "breadcrumb.xslt" })
538
539 <div class="container my-3">
540 <h1 class="text-uppercase mb-5">@CurrentPage.MenuText</h1>
541 </div>
542
543 <div class="box-shadow mb-5 mt-3">
544 <div class="container py-5">
545 <p class="font-bold">@Translate("FAQHeader", "Ofte stillede spørgsmål")</p>
546 <div class="row">
547 @foreach (var Question in Questions)
548 {
549 Dynamicweb.Content.Page QuestionPage = Dynamicweb.Services.Pages.GetPageForItem(Question.SystemName, Question.Id);
550
551 string Url = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(QuestionPage.Parent.ID);
552 string CollapseId = "collapse-" + QuestionCounter;
553 <div class="col-12 col-md-6 faq-question">
554 <div class="p-2 pointer" data-toggle="collapse" data-target="#@CollapseId">
555 <p class="flex-fill flex justify-content-between items-center mb-0 text-primary">@Question["Question"] <i class="fas fa-chevron-right"></i></p>
556 </div>
557 <div class="collapse" id="@CollapseId">
558 <div class="p-2 answer">
559 <div>@Question["Answer"]</div>
560 </div>
561 </div>
562 </div>
563 QuestionCounter++;
564 }
565 </div>
566 </div>
567 </div>
568
569 <div id="content1">@GetValue("DwContent(content1)")</div>
570
571
572
573 @if (!IsCheckoutStep)
574 {
575 if (!isCheckoutFirstStep)
576 {
577 var brandsLoop = @GetLoop("Item.Page.Brand_Icon.Value");
578 <!-- TODO: (Out of scope) Clean this up so we don't repeat -->
579 <section class="container py-8">
580 <div class="grid grid-cols-3 md:grid-cols-6 gap-4">
581 @if (brandsLoop.Count <= 0)
582 {
583 foreach (var item in GetLoop("Item.Area.Featured_Brands"))
584 {
585 string Link = item.GetString("Item.Area.Featured_Brands.Brand.Value");
586 var Brand = Firstweb.Custom.CustomCode.Frontend.Helpers.Brands.GetBrand(Link);
587
588 if (!String.IsNullOrEmpty(Brand.Name))
589 {
590 <a href="@Brand.Link">
591 <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">
592 </a>
593 }
594 }
595 }
596 else
597 {
598 foreach (var item in brandsLoop)
599 {
600 string image = item.GetString("Item.Page.Brand_Icon.Value.Image.Value");
601 string link = item.GetString("Item.Page.Brand_Icon.Value.LinkDestination.Value");
602
603 if (!String.IsNullOrEmpty(image))
604 {
605 <a href="@link">
606 <img width="900" height="400" class="img-fluid" src="/Admin/Public/GetImage.ashx?Image=@image&Format=webP&Quality=90&Height=400" alt="">
607 </a>
608 }
609 }
610 }
611 </div>
612 </section>
613 }
614
615 <section class="bg-beige pt-14 lg:pt-28">
616 <div class="container flex flex-wrap">
617 <div class="w-full md:w-3/4 lg:w-1/2 flex flex-col md:items-start gap-y-4">
618 <a href="/" class="flex flex-col md:items-center">
619 <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")'>
620 <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")'>
621 @if (shopname.ToLower() != "møblér")
622 {
623 <small class="text-xs text-grey-dark text-center hidden md:block">@Translate("LogoServiceText", "Ordren serviceres af Møbler.dk")</small>
624 }
625 </a>
626
627 <!-- TODO: This has not been tested and styled -->
628 @if (shopnameEncoded == "M%c3%b8bl%c3%a9r")
629 {
630 <div>
631 <p class="mb-0 font-bold">@GetString("Item.Area.Header")</p>
632 <p>
633 @GetString("Item.Area.About")
634 </p>
635 <a href="@FooterLinkDestination"><u>@Translate("FooterAboutReadMore", "Læs mere om Møblér kæden her")</u></a>
636 </div>
637 }
638 else
639 {
640 if (GetString("Item.SystemName") == "TextPage")
641 {
642 string CurrentAboutUsShopName = GetString("DwPageName_2");
643 shopInfo = Website.ShopInfo(CurrentAboutUsShopName);
644 shopname = CurrentAboutUsShopName;
645 }
646
647 <div class="flex flex-wrap gap-y-4 w-full">
648 <div class="w-full md:w-1/2">
649 <ul class="list-none">
650 <li class="mb-2"><strong>@shopInfo.ShopName</strong></li>
651 <li>@shopInfo.Address</li>
652 <li>@shopInfo.PostalAndCity</li>
653 <li>
654 <a href="@localShopPage" class="underline text-black">@Translate("ShowOnMap", "Vis på kort")</a>
655 </li>
656
657 @if (!String.IsNullOrEmpty(shopInfo.Address1))
658 {
659 <li>@shopInfo.Address1, @shopInfo.PostalAndCity1</li>
660 }
661 @if (!String.IsNullOrEmpty(shopInfo.Address2))
662 {
663 <li>@shopInfo.Address2, @shopInfo.PostalAndCity2</li>
664 }
665 <li class="mt-4">@shopInfo.Phone</li>
666 <li>
667 <a href="mailto:@shopInfo.Email" class="underline text-black">@shopInfo.Email</a>
668 </li>
669 </ul>
670 </div>
671
672 <div class="w-full md:w-1/2">
673 @if (shopInfo.ShopInformationList.Count > 0 || shopInfo.OpeningHours != null)
674 {
675 <p class="mb-2"><strong>@Translate("openinghours", "Åbningstider")</strong></p>
676 }
677 @if (shopInfo.ShopInformationList.Count > 0)
678 {
679 foreach (var row in shopInfo.ShopInformationList)
680 {
681 var rowClass = !string.IsNullOrEmpty(row.columnTwo) ? "basis-1/2" : "";
682 <div class="flex gap-x-2">
683 <div class="@rowClass">
684 @row.columnOne
685 </div>
686 @if (!string.IsNullOrEmpty(row.columnTwo))
687 {
688 <div>@row.columnTwo</div>
689 }
690 </div>
691 }
692 }
693 else if (shopInfo.OpeningHours != null)
694 {
695 <div class="flex flex-col justify-content items-center gap-2 md:items-start">@shopInfo.OpeningHours</div>
696 }
697 </div>
698
699 </div>
700 }
701 <ul class="list-none flex gap-2 mb-8">
702 @foreach (var Some in GetLoop("Item.Area.SocialMediaIcons"))
703 {
704 string Link = Some.GetString("Item.Area.SocialMediaIcons.Link");
705 string Icon = Some.GetString("Item.Area.SocialMediaIcons.Icon.Value");
706 <li>
707 <a href="@Link" target="_blank" class="text-black text-2xl hover:text-grey-dark">
708 <img width="37" height="37" src="/Admin/Public/GetImage.ashx?Image=@Icon&Format=webP&Quality=90&Height=40" alt="social icon">
709 </a>
710 </li>
711 }
712
713 @foreach (var Some in GetLoop("Item.Area.SocialMediaFontawesomeIcons"))
714 {
715 string Link = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.Link");
716 string Icon = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.FontawesomeClass");
717 <li>
718 <a href="@Link" target="_blank" class="text-black text-3xl hover:text-grey-dark">
719 <i class="@Icon"></i>
720 </a>
721 </li>
722 }
723 </ul>
724 </div>
725 <div class="hidden lg:flex justify-center items-end w-full lg:w-2/4">
726 @{
727 string footerStaffImagePath = String.Format("/Files/Images/Owners/Large/{0}.png", shopname);
728 string footerStaffGetImage = "";
729 if (!String.IsNullOrEmpty(footerStaffImagePath))
730 {
731 footerStaffGetImage = "/Admin/Public/GetImage.ashx?Image=" + footerStaffImagePath + "&Format=webP&Quality=90&width=640&height=300";
732 }
733 }
734 <img width="640" height="300" class="img-fit-contain-x" src="@footerStaffGetImage" alt="@shopname">
735 </div>
736 </div>
737 </section>
738
739 <section class="bg-beige-dark py-10">
740 <div class="container">
741 <div class="flex flex-wrap xl:flex-nowrap xl:flex-row gap-4 ">
742 <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">
743 <ul class="list-none col-span-3 md:col-span-1">
744 <strong>@GetString("Item.Area.Footer_Column_1_Header")</strong>
745 @foreach (var Link in GetLoop("Item.Area.Footer_Column_1_Links"))
746 {
747 string LinkText = Link.GetString("Item.Area.Footer_Column_1_Links.LinkText");
748 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_1_Links.Link");
749 <li>
750 <a href="@LinkDestination" class="text-black hover:underline hover:text-black">@LinkText</a>
751 </li>
752 }
753 </ul>
754 <ul class="list-none col-span-3 md:col-span-1">
755 <strong>@GetString("Item.Area.Footer_Column_2_Header")</strong>
756 @foreach (var Link in GetLoop("Item.Area.Footer_Column_2_Links"))
757 {
758 string LinkText = Link.GetString("Item.Area.Footer_Column_2_Links.LinkText");
759 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_2_Links.Link");
760 <li>
761 <a href="@LinkDestination" class="text-sm text-black">@LinkText</a>
762 </li>
763 }
764 </ul>
765 <ul class="list-none col-span-3 md:col-span-1">
766 <strong>@GetString("Item.Area.Footer_Column_3_Header")</strong>
767 @foreach (var Link in GetLoop("Item.Area.Footer_Column_3_Links"))
768 {
769 string LinkText = Link.GetString("Item.Area.Footer_Column_3_Links.LinkText");
770 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_3_Links.Link");
771 <li>
772 <a href="@LinkDestination" class="text-sm text-black">@LinkText</a>
773 </li>
774 }
775 </ul>
776
777 <div class="col-span-3">
778 <strong>@Translate("Co3.Newsletter.Headline.Text", "Møblérs nyhedsbrev")</strong>
779 <newsletter></newsletter>
780 </div>
781 </div>
782 </div>
783 </div>
784 </section>
785
786 <div class="py-4 bg-white">
787 <div class="container flex flex-col md:flex-row gap-y-4">
788 <div class="w-full xl:w-1/2 flex justify-center items-center md:justify-start text-xs">
789 © @currentYear @Translate("Copyright", "Møblér. All Rights Reserved.")
790 </div>
791 <div class="w-full xl:w-1/2 flex items-center md:justify-end">
792 <a href='@Translate("PersondataLink", "link")' class="text-xs underline text-black mr-2">@Translate("PersondataText", "Persondatapolitik")</a>
793 <paymentmethodlogos data-all-payments="true"></paymentmethodlogos>
794 </div>
795
796 </div>
797 </div>
798 }
799
800 <script type="module" src="https://viewer-cdn.cylindo.com/v1/index.mjs" defer=""></script>
801
802 @Pageview.AddViteScript()
803 </body>
804 </html>
805