Error compiling template "Designs/Mobler/_parsed/FAQ-categories.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 2216: The name 'MoblerHelpers' does not exist in the current context
Line 2264: 'Services' is obsolete: 'Use Dynamicweb.Content.Services instead.'
Line 2264: 'Services.Pages' is obsolete: 'Use Dynamicweb.Content.Services.Pages instead.'
Line 2266: The name 'MoblerHelpers' does not exist in the current context
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-categories.parsed.cshtml" 17 using System.Web; 18 19 #line default 20 #line hidden 21 22 #line 2 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 23 using System.Text.RegularExpressions; 24 25 #line default 26 #line hidden 27 28 #line 3 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 29 using Dynamicweb.Core.Helpers; 30 31 #line default 32 #line hidden 33 34 #line 4 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 35 using Dynamicweb.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.parsed.cshtml" 83 using Dynamicweb.Content.Items; 84 85 #line default 86 #line hidden 87 88 89 public class RazorEngine_3740446af9f84db0813f302ed3844a99 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 90 91 #line hidden 92 93 public RazorEngine_3740446af9f84db0813f302ed3844a99() { 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-categories.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&oslash;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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.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-categories.parsed.cshtml" 2210 2211 var CurrentPageView = Dynamicweb.Frontend.PageView.Current().Page; 2212 var CurrentPage = Dynamicweb.Services.Pages.GetPage(CurrentPageView.ID); 2213 var FaqCategories = new ItemCollection(); 2214 if (CurrentPage != null) 2215 { 2216 FaqCategories = MoblerHelpers.GetFaqCategories(CurrentPage); 2217 } 2218 2219 2220 #line default 2221 #line hidden 2222 WriteLiteral("\r\n\r\n"); 2223 2224 2225 #line 540 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2226 Write(RenderNavigation(new { ExpandMode = "All", Template = "breadcrumb.xslt" })); 2227 2228 2229 #line default 2230 #line hidden 2231 WriteLiteral("\r\n\r\n\r\n\r\n<div"); 2232 2233 WriteLiteral(" id=\"content2\""); 2234 2235 WriteLiteral(">"); 2236 2237 2238 #line 544 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2239 Write(GetValue("DwContent(content2)")); 2240 2241 2242 #line default 2243 #line hidden 2244 WriteLiteral("</div>\r\n\r\n<div"); 2245 2246 WriteLiteral(" class=\"container mb-5 mt-3\""); 2247 2248 WriteLiteral(">\r\n\r\n <div"); 2249 2250 WriteLiteral(" class=\"row\""); 2251 2252 WriteLiteral(">\r\n"); 2253 2254 2255 #line 549 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2256 2257 2258 #line default 2259 #line hidden 2260 2261 #line 549 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2262 foreach (Item FaqCategory in FaqCategories) 2263 { 2264 Dynamicweb.Content.Page faqCatPage = Dynamicweb.Services.Pages.GetPageForItem(FaqCategory.SystemName, FaqCategory.Id); 2265 2266 var link = MoblerHelpers.GetFriendlyUrl(faqCatPage.ID.ToString()); 2267 var svg = FaqCategory["Icon"].ToString(); 2268 2269 2270 2271 #line default 2272 #line hidden 2273 WriteLiteral(" <div"); 2274 2275 WriteLiteral(" class=\"col-12 col-sm-6 col-md-4 mb-4\""); 2276 2277 WriteLiteral(">\r\n <a"); 2278 2279 WriteAttribute("href", Tuple.Create(" href=\"", 29440), Tuple.Create("\"", 29452) 2280 2281 #line 557 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2282 , Tuple.Create(Tuple.Create("", 29447), Tuple.Create<System.Object, System.Int32>(link 2283 2284 #line default 2285 #line hidden 2286 , 29447), false) 2287 ); 2288 2289 WriteLiteral(" class=\"faq-category h-100 text-white no-underline p-3 pt-5 bg-brand flex flex-co" + 2290 "l items-center\""); 2291 2292 WriteLiteral(">\r\n <img"); 2293 2294 WriteLiteral(" class=\"mt-5 mb-3\""); 2295 2296 WriteAttribute("src", Tuple.Create(" src=\"", 29592), Tuple.Create("\"", 29602) 2297 2298 #line 558 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2299 , Tuple.Create(Tuple.Create("", 29598), Tuple.Create<System.Object, System.Int32>(svg 2300 2301 #line default 2302 #line hidden 2303 , 29598), false) 2304 ); 2305 2306 WriteLiteral(">\r\n <h4"); 2307 2308 WriteLiteral(" class=\"text-uppercase\""); 2309 2310 WriteLiteral(">"); 2311 2312 2313 #line 559 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2314 Write(FaqCategory["Category"]); 2315 2316 2317 #line default 2318 #line hidden 2319 WriteLiteral("</h4>\r\n <div"); 2320 2321 WriteLiteral(" class=\"font-bold text-center\""); 2322 2323 WriteLiteral(">"); 2324 2325 2326 #line 560 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2327 Write(FaqCategory["CategoryDescription"]); 2328 2329 2330 #line default 2331 #line hidden 2332 WriteLiteral("</div>\r\n </a>\r\n </div>\r\n"); 2333 2334 2335 #line 563 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2336 } 2337 2338 2339 #line default 2340 #line hidden 2341 WriteLiteral(" </div>\r\n\r\n</div>\r\n\r\n<div"); 2342 2343 WriteLiteral(" id=\"content1\""); 2344 2345 WriteLiteral(">"); 2346 2347 2348 #line 568 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2349 Write(GetValue("DwContent(content1)")); 2350 2351 2352 #line default 2353 #line hidden 2354 WriteLiteral("</div>\r\n\r\n\r\n\r\n"); 2355 2356 2357 #line 572 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2358 2359 2360 #line default 2361 #line hidden 2362 2363 #line 572 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2364 if (!IsCheckoutStep) 2365 { 2366 if (!isCheckoutFirstStep) 2367 { 2368 var brandsLoop = @GetLoop("Item.Page.Brand_Icon.Value"); 2369 2370 2371 #line default 2372 #line hidden 2373 WriteLiteral("<!-- TODO: (Out of scope) Clean this up so we don\'t repeat -->\r\n"); 2374 2375 WriteLiteral("\t\t\t<section"); 2376 2377 WriteLiteral(" class=\"container py-8\""); 2378 2379 WriteLiteral(">\r\n\t\t\t\t<div"); 2380 2381 WriteLiteral(" class=\"grid grid-cols-3 md:grid-cols-6 gap-4\""); 2382 2383 WriteLiteral(">\r\n"); 2384 2385 2386 #line 580 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2387 2388 2389 #line default 2390 #line hidden 2391 2392 #line 580 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2393 if (brandsLoop.Count <= 0) 2394 { 2395 foreach (var item in GetLoop("Item.Area.Featured_Brands")) 2396 { 2397 string Link = item.GetString("Item.Area.Featured_Brands.Brand.Value"); 2398 var Brand = Firstweb.Custom.CustomCode.Frontend.Helpers.Brands.GetBrand(Link); 2399 2400 if (!String.IsNullOrEmpty(Brand.Name)) 2401 { 2402 2403 2404 #line default 2405 #line hidden 2406 WriteLiteral("\t\t\t\t\t\t\t\t<a"); 2407 2408 WriteAttribute("href", Tuple.Create(" href=\"", 30557), Tuple.Create("\"", 30575) 2409 2410 #line 589 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2411 , Tuple.Create(Tuple.Create("", 30564), Tuple.Create<System.Object, System.Int32>(Brand.Link 2412 2413 #line default 2414 #line hidden 2415 , 30564), false) 2416 ); 2417 2418 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img"); 2419 2420 WriteLiteral(" width=\"900\""); 2421 2422 WriteLiteral(" height=\"400\""); 2423 2424 WriteLiteral(" class=\"img-fit-contain-x\""); 2425 2426 WriteAttribute("src", Tuple.Create(" src=\"", 30643), Tuple.Create("\"", 30728) 2427 , Tuple.Create(Tuple.Create("", 30649), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 30649), true) 2428 2429 #line 590 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2430 , Tuple.Create(Tuple.Create("", 30683), Tuple.Create<System.Object, System.Int32>(Brand.Logo 2431 2432 #line default 2433 #line hidden 2434 , 30683), false) 2435 , Tuple.Create(Tuple.Create("", 30694), Tuple.Create("&Format=webP&Quality=90&Height=400", 30694), true) 2436 ); 2437 2438 WriteAttribute("alt", Tuple.Create(" alt=\"", 30729), Tuple.Create("\"", 30746) 2439 2440 #line 590 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2441 , Tuple.Create(Tuple.Create("", 30735), Tuple.Create<System.Object, System.Int32>(Brand.Name 2442 2443 #line default 2444 #line hidden 2445 , 30735), false) 2446 ); 2447 2448 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n"); 2449 2450 2451 #line 592 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2452 } 2453 } 2454 } 2455 else 2456 { 2457 foreach (var item in brandsLoop) 2458 { 2459 string image = item.GetString("Item.Page.Brand_Icon.Value.Image.Value"); 2460 string link = item.GetString("Item.Page.Brand_Icon.Value.LinkDestination.Value"); 2461 2462 if (!String.IsNullOrEmpty(image)) 2463 { 2464 2465 2466 #line default 2467 #line hidden 2468 WriteLiteral("\t\t\t\t\t\t\t\t<a"); 2469 2470 WriteAttribute("href", Tuple.Create(" href=\"", 31094), Tuple.Create("\"", 31106) 2471 2472 #line 604 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2473 , Tuple.Create(Tuple.Create("", 31101), Tuple.Create<System.Object, System.Int32>(link 2474 2475 #line default 2476 #line hidden 2477 , 31101), false) 2478 ); 2479 2480 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img"); 2481 2482 WriteLiteral(" width=\"900\""); 2483 2484 WriteLiteral(" height=\"400\""); 2485 2486 WriteLiteral(" class=\"img-fluid\""); 2487 2488 WriteAttribute("src", Tuple.Create(" src=\"", 31166), Tuple.Create("\"", 31246) 2489 , Tuple.Create(Tuple.Create("", 31172), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 31172), true) 2490 2491 #line 605 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2492 , Tuple.Create(Tuple.Create("", 31206), Tuple.Create<System.Object, System.Int32>(image 2493 2494 #line default 2495 #line hidden 2496 , 31206), false) 2497 , Tuple.Create(Tuple.Create("", 31212), Tuple.Create("&Format=webP&Quality=90&Height=400", 31212), true) 2498 ); 2499 2500 WriteLiteral(" alt=\"\""); 2501 2502 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n"); 2503 2504 2505 #line 607 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2506 } 2507 } 2508 } 2509 2510 2511 #line default 2512 #line hidden 2513 WriteLiteral("\t\t\t\t</div>\r\n\t\t\t</section>\r\n"); 2514 2515 2516 #line 612 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2517 } 2518 2519 2520 2521 #line default 2522 #line hidden 2523 WriteLiteral("\t\t<section"); 2524 2525 WriteLiteral(" class=\"bg-beige pt-14 lg:pt-28\""); 2526 2527 WriteLiteral(">\r\n\t\t\t<div"); 2528 2529 WriteLiteral(" class=\"container flex flex-wrap\""); 2530 2531 WriteLiteral(">\r\n\t\t\t\t<div"); 2532 2533 WriteLiteral(" class=\"w-full md:w-3/4 lg:w-1/2 flex flex-col md:items-start gap-y-4\""); 2534 2535 WriteLiteral(">\r\n\t\t\t\t\t<a"); 2536 2537 WriteLiteral(" href=\"/\""); 2538 2539 WriteLiteral(" class=\"flex flex-col md:items-center\""); 2540 2541 WriteLiteral(">\r\n\t\t\t\t\t\t<img"); 2542 2543 WriteLiteral(" width=\"400\""); 2544 2545 WriteLiteral(" height=\"46\""); 2546 2547 WriteLiteral(" class=\"max-h-[46px] hidden md:inline-block\""); 2548 2549 WriteAttribute("src", Tuple.Create(" src=\"", 31636), Tuple.Create("\"", 31650) 2550 2551 #line 618 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2552 , Tuple.Create(Tuple.Create("", 31642), Tuple.Create<System.Object, System.Int32>(logoSrc 2553 2554 #line default 2555 #line hidden 2556 , 31642), false) 2557 ); 2558 2559 WriteAttribute("alt", Tuple.Create(" alt=\'", 31651), Tuple.Create("\'", 31732) 2560 2561 #line 618 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2562 , Tuple.Create(Tuple.Create("", 31657), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning") 2563 2564 #line default 2565 #line hidden 2566 , 31657), false) 2567 ); 2568 2569 WriteLiteral(">\r\n\t\t\t\t\t\t<img"); 2570 2571 WriteLiteral(" width=\"400\""); 2572 2573 WriteLiteral(" height=\"46\""); 2574 2575 WriteLiteral(" class=\"max-h-[46px] w-full object-contain object-left inline md:hidden\""); 2576 2577 WriteAttribute("src", Tuple.Create(" src=\"", 31842), Tuple.Create("\"", 31862) 2578 2579 #line 619 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2580 , Tuple.Create(Tuple.Create("", 31848), Tuple.Create<System.Object, System.Int32>(logoSrcMobile 2581 2582 #line default 2583 #line hidden 2584 , 31848), false) 2585 ); 2586 2587 WriteAttribute("alt", Tuple.Create(" alt=\'", 31863), Tuple.Create("\'", 31944) 2588 2589 #line 619 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2590 , Tuple.Create(Tuple.Create("", 31869), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning") 2591 2592 #line default 2593 #line hidden 2594 , 31869), false) 2595 ); 2596 2597 WriteLiteral(">\r\n"); 2598 2599 2600 #line 620 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2601 2602 2603 #line default 2604 #line hidden 2605 2606 #line 620 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2607 if (shopname.ToLower() != "møblér") 2608 { 2609 2610 2611 #line default 2612 #line hidden 2613 WriteLiteral("\t\t\t\t\t\t<small"); 2614 2615 WriteLiteral(" class=\"text-xs text-grey-dark text-center hidden md:block\""); 2616 2617 WriteLiteral(">"); 2618 2619 2620 #line 622 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2621 Write(Translate("LogoServiceText", "Ordren serviceres af Møbler.dk")); 2622 2623 2624 #line default 2625 #line hidden 2626 WriteLiteral("</small>\r\n"); 2627 2628 2629 #line 623 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2630 } 2631 2632 2633 #line default 2634 #line hidden 2635 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"); 2636 2637 2638 #line 627 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2639 2640 2641 #line default 2642 #line hidden 2643 2644 #line 627 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2645 if (shopnameEncoded == "M%c3%b8bl%c3%a9r") 2646 { 2647 2648 2649 #line default 2650 #line hidden 2651 WriteLiteral("\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t<p"); 2652 2653 WriteLiteral(" class=\"mb-0 font-bold\""); 2654 2655 WriteLiteral(">"); 2656 2657 2658 #line 630 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2659 Write(GetString("Item.Area.Header")); 2660 2661 2662 #line default 2663 #line hidden 2664 WriteLiteral("</p>\r\n\t\t\t\t\t\t\t<p>\r\n"); 2665 2666 WriteLiteral("\t\t\t\t\t\t\t\t"); 2667 2668 2669 #line 632 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2670 Write(GetString("Item.Area.About")); 2671 2672 2673 #line default 2674 #line hidden 2675 WriteLiteral("\r\n\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t<a"); 2676 2677 WriteAttribute("href", Tuple.Create(" href=\"", 32438), Tuple.Create("\"", 32467) 2678 2679 #line 634 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2680 , Tuple.Create(Tuple.Create("", 32445), Tuple.Create<System.Object, System.Int32>(FooterLinkDestination 2681 2682 #line default 2683 #line hidden 2684 , 32445), false) 2685 ); 2686 2687 WriteLiteral("><u>"); 2688 2689 2690 #line 634 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2691 Write(Translate("FooterAboutReadMore", "L&aelig;s mere om M&oslash;blér k&aelig;den her")); 2692 2693 2694 #line default 2695 #line hidden 2696 WriteLiteral("</u></a>\r\n\t\t\t\t\t\t</div>\r\n"); 2697 2698 2699 #line 636 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2700 } 2701 else 2702 { 2703 if (GetString("Item.SystemName") == "TextPage") 2704 { 2705 string CurrentAboutUsShopName = GetString("DwPageName_2"); 2706 shopInfo = Website.ShopInfo(CurrentAboutUsShopName); 2707 shopname = CurrentAboutUsShopName; 2708 } 2709 2710 2711 2712 #line default 2713 #line hidden 2714 WriteLiteral("\t\t\t\t\t\t<div"); 2715 2716 WriteLiteral(" class=\"flex flex-wrap gap-y-4 w-full\""); 2717 2718 WriteLiteral(">\r\n\t\t\t\t\t\t\t<div"); 2719 2720 WriteLiteral(" class=\"w-full md:w-1/2\""); 2721 2722 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<ul"); 2723 2724 WriteLiteral(" class=\"list-none\""); 2725 2726 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<li"); 2727 2728 WriteLiteral(" class=\"mb-2\""); 2729 2730 WriteLiteral("><strong>"); 2731 2732 2733 #line 649 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2734 Write(shopInfo.ShopName); 2735 2736 2737 #line default 2738 #line hidden 2739 WriteLiteral("</strong></li>\r\n\t\t\t\t\t\t\t\t\t<li>"); 2740 2741 2742 #line 650 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2743 Write(shopInfo.Address); 2744 2745 2746 #line default 2747 #line hidden 2748 WriteLiteral("</li>\r\n\t\t\t\t\t\t\t\t\t<li>"); 2749 2750 2751 #line 651 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2752 Write(shopInfo.PostalAndCity); 2753 2754 2755 #line default 2756 #line hidden 2757 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"); 2758 2759 WriteAttribute("href", Tuple.Create(" href=\"", 33149), Tuple.Create("\"", 33170) 2760 2761 #line 653 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2762 , Tuple.Create(Tuple.Create("", 33156), Tuple.Create<System.Object, System.Int32>(localShopPage 2763 2764 #line default 2765 #line hidden 2766 , 33156), false) 2767 ); 2768 2769 WriteLiteral(" class=\"underline text-black\""); 2770 2771 WriteLiteral(">"); 2772 2773 2774 #line 653 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2775 Write(Translate("ShowOnMap", "Vis p&#229; kort")); 2776 2777 2778 #line default 2779 #line hidden 2780 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t\t</li>\r\n\r\n"); 2781 2782 2783 #line 656 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2784 2785 2786 #line default 2787 #line hidden 2788 2789 #line 656 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2790 if (!String.IsNullOrEmpty(shopInfo.Address1)) 2791 { 2792 2793 2794 #line default 2795 #line hidden 2796 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<li>"); 2797 2798 2799 #line 658 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2800 Write(shopInfo.Address1); 2801 2802 2803 #line default 2804 #line hidden 2805 WriteLiteral(", "); 2806 2807 2808 #line 658 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2809 Write(shopInfo.PostalAndCity1); 2810 2811 2812 #line default 2813 #line hidden 2814 WriteLiteral("</li>\r\n"); 2815 2816 2817 #line 659 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2818 } 2819 2820 2821 #line default 2822 #line hidden 2823 WriteLiteral("\t\t\t\t\t\t\t\t\t"); 2824 2825 2826 #line 660 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2827 if (!String.IsNullOrEmpty(shopInfo.Address2)) 2828 { 2829 2830 2831 #line default 2832 #line hidden 2833 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<li>"); 2834 2835 2836 #line 662 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2837 Write(shopInfo.Address2); 2838 2839 2840 #line default 2841 #line hidden 2842 WriteLiteral(", "); 2843 2844 2845 #line 662 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2846 Write(shopInfo.PostalAndCity2); 2847 2848 2849 #line default 2850 #line hidden 2851 WriteLiteral("</li>\r\n"); 2852 2853 2854 #line 663 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2855 } 2856 2857 2858 #line default 2859 #line hidden 2860 WriteLiteral("\t\t\t\t\t\t\t\t\t<li"); 2861 2862 WriteLiteral(" class=\"mt-4\""); 2863 2864 WriteLiteral(">"); 2865 2866 2867 #line 664 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2868 Write(shopInfo.Phone); 2869 2870 2871 #line default 2872 #line hidden 2873 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"); 2874 2875 WriteAttribute("href", Tuple.Create(" href=\"", 33635), Tuple.Create("\"", 33664) 2876 , Tuple.Create(Tuple.Create("", 33642), Tuple.Create("mailto:", 33642), true) 2877 2878 #line 666 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2879 , Tuple.Create(Tuple.Create("", 33649), Tuple.Create<System.Object, System.Int32>(shopInfo.Email 2880 2881 #line default 2882 #line hidden 2883 , 33649), false) 2884 ); 2885 2886 WriteLiteral(" class=\"underline text-black\""); 2887 2888 WriteLiteral(">"); 2889 2890 2891 #line 666 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2892 Write(shopInfo.Email); 2893 2894 2895 #line default 2896 #line hidden 2897 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"); 2898 2899 WriteLiteral(" class=\"w-full md:w-1/2\""); 2900 2901 WriteLiteral(">\r\n"); 2902 2903 2904 #line 672 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2905 2906 2907 #line default 2908 #line hidden 2909 2910 #line 672 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2911 if (shopInfo.ShopInformationList.Count > 0 || shopInfo.OpeningHours != null) 2912 { 2913 2914 2915 #line default 2916 #line hidden 2917 WriteLiteral("\t\t\t\t\t\t\t\t\t<p"); 2918 2919 WriteLiteral(" class=\"mb-2\""); 2920 2921 WriteLiteral("><strong>"); 2922 2923 2924 #line 674 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2925 Write(Translate("openinghours", "&#197;bningstider")); 2926 2927 2928 #line default 2929 #line hidden 2930 WriteLiteral("</strong></p>\r\n"); 2931 2932 2933 #line 675 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2934 } 2935 2936 2937 #line default 2938 #line hidden 2939 WriteLiteral("\t\t\t\t\t\t\t\t"); 2940 2941 2942 #line 676 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2943 if (shopInfo.ShopInformationList.Count > 0) 2944 { 2945 foreach (var row in shopInfo.ShopInformationList) 2946 { 2947 var rowClass = !string.IsNullOrEmpty(row.columnTwo) ? "basis-1/2" : ""; 2948 2949 2950 #line default 2951 #line hidden 2952 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<div"); 2953 2954 WriteLiteral(" class=\"flex gap-x-2\""); 2955 2956 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t\t<div"); 2957 2958 WriteAttribute("class", Tuple.Create(" class=\"", 34279), Tuple.Create("\"", 34296) 2959 2960 #line 682 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2961 , Tuple.Create(Tuple.Create("", 34287), Tuple.Create<System.Object, System.Int32>(rowClass 2962 2963 #line default 2964 #line hidden 2965 , 34287), false) 2966 ); 2967 2968 WriteLiteral(">\r\n"); 2969 2970 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t"); 2971 2972 2973 #line 683 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2974 Write(row.columnOne); 2975 2976 2977 #line default 2978 #line hidden 2979 WriteLiteral("\r\n\t\t\t\t\t\t\t\t\t\t\t</div>\r\n"); 2980 2981 2982 #line 685 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2983 2984 2985 #line default 2986 #line hidden 2987 2988 #line 685 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2989 if (!string.IsNullOrEmpty(row.columnTwo)) 2990 { 2991 2992 2993 #line default 2994 #line hidden 2995 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t<div>"); 2996 2997 2998 #line 687 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 2999 Write(row.columnTwo); 3000 3001 3002 #line default 3003 #line hidden 3004 WriteLiteral("</div>\r\n"); 3005 3006 3007 #line 688 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3008 } 3009 3010 3011 #line default 3012 #line hidden 3013 WriteLiteral("\t\t\t\t\t\t\t\t\t\t</div>\r\n"); 3014 3015 3016 #line 690 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3017 } 3018 } 3019 else if (shopInfo.OpeningHours != null) 3020 { 3021 3022 3023 #line default 3024 #line hidden 3025 WriteLiteral("\t\t\t\t\t\t\t\t\t<div"); 3026 3027 WriteLiteral(" class=\"flex flex-col justify-content items-center gap-2 md:items-start\""); 3028 3029 WriteLiteral(">"); 3030 3031 3032 #line 694 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3033 Write(shopInfo.OpeningHours); 3034 3035 3036 #line default 3037 #line hidden 3038 WriteLiteral("</div>\r\n"); 3039 3040 3041 #line 695 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3042 } 3043 3044 3045 #line default 3046 #line hidden 3047 WriteLiteral("\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n"); 3048 3049 3050 #line 699 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3051 } 3052 3053 3054 #line default 3055 #line hidden 3056 WriteLiteral("\t\t\t\t\t<ul"); 3057 3058 WriteLiteral(" class=\"list-none flex gap-2 mb-8\""); 3059 3060 WriteLiteral(">\r\n"); 3061 3062 3063 #line 701 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3064 3065 3066 #line default 3067 #line hidden 3068 3069 #line 701 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3070 foreach (var Some in GetLoop("Item.Area.SocialMediaIcons")) 3071 { 3072 string Link = Some.GetString("Item.Area.SocialMediaIcons.Link"); 3073 string Icon = Some.GetString("Item.Area.SocialMediaIcons.Icon.Value"); 3074 3075 3076 #line default 3077 #line hidden 3078 WriteLiteral("\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t<a"); 3079 3080 WriteAttribute("href", Tuple.Create(" href=\"", 35033), Tuple.Create("\"", 35045) 3081 3082 #line 706 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3083 , Tuple.Create(Tuple.Create("", 35040), Tuple.Create<System.Object, System.Int32>(Link 3084 3085 #line default 3086 #line hidden 3087 , 35040), false) 3088 ); 3089 3090 WriteLiteral(" target=\"_blank\""); 3091 3092 WriteLiteral(" class=\"text-black text-2xl hover:text-grey-dark\""); 3093 3094 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img"); 3095 3096 WriteLiteral(" width=\"37\""); 3097 3098 WriteLiteral(" height=\"37\""); 3099 3100 WriteAttribute("src", Tuple.Create(" src=\"", 35150), Tuple.Create("\"", 35228) 3101 , Tuple.Create(Tuple.Create("", 35156), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 35156), true) 3102 3103 #line 707 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3104 , Tuple.Create(Tuple.Create("", 35190), Tuple.Create<System.Object, System.Int32>(Icon 3105 3106 #line default 3107 #line hidden 3108 , 35190), false) 3109 , Tuple.Create(Tuple.Create("", 35195), Tuple.Create("&Format=webP&Quality=90&Height=40", 35195), true) 3110 ); 3111 3112 WriteLiteral(" alt=\"social icon\""); 3113 3114 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t</li>\r\n"); 3115 3116 3117 #line 710 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3118 } 3119 3120 3121 #line default 3122 #line hidden 3123 WriteLiteral("\r\n"); 3124 3125 3126 #line 712 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3127 3128 3129 #line default 3130 #line hidden 3131 3132 #line 712 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3133 foreach (var Some in GetLoop("Item.Area.SocialMediaFontawesomeIcons")) 3134 { 3135 string Link = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.Link"); 3136 string Icon = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.FontawesomeClass"); 3137 3138 3139 #line default 3140 #line hidden 3141 WriteLiteral("\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t<a"); 3142 3143 WriteAttribute("href", Tuple.Create(" href=\"", 35580), Tuple.Create("\"", 35592) 3144 3145 #line 717 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3146 , Tuple.Create(Tuple.Create("", 35587), Tuple.Create<System.Object, System.Int32>(Link 3147 3148 #line default 3149 #line hidden 3150 , 35587), false) 3151 ); 3152 3153 WriteLiteral(" target=\"_blank\""); 3154 3155 WriteLiteral(" class=\"text-black text-3xl hover:text-grey-dark\""); 3156 3157 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<i"); 3158 3159 WriteAttribute("class", Tuple.Create(" class=\"", 35672), Tuple.Create("\"", 35685) 3160 3161 #line 718 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3162 , Tuple.Create(Tuple.Create("", 35680), Tuple.Create<System.Object, System.Int32>(Icon 3163 3164 #line default 3165 #line hidden 3166 , 35680), false) 3167 ); 3168 3169 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"); 3170 3171 3172 #line 721 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3173 } 3174 3175 3176 #line default 3177 #line hidden 3178 WriteLiteral("\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div"); 3179 3180 WriteLiteral(" class=\"hidden lg:flex justify-center items-end w-full lg:w-2/4\""); 3181 3182 WriteLiteral(">\r\n"); 3183 3184 3185 #line 725 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3186 3187 3188 #line default 3189 #line hidden 3190 3191 #line 725 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3192 3193 string footerStaffImagePath = String.Format("/Files/Images/Owners/Large/{0}.png", shopname); 3194 string footerStaffGetImage = ""; 3195 if (!String.IsNullOrEmpty(footerStaffImagePath)) 3196 { 3197 footerStaffGetImage = "/Admin/Public/GetImage.ashx?Image=" + footerStaffImagePath + "&Format=webP&Quality=90&width=640&height=300"; 3198 } 3199 3200 3201 #line default 3202 #line hidden 3203 WriteLiteral("\r\n\t\t\t\t\t<img"); 3204 3205 WriteLiteral(" width=\"640\""); 3206 3207 WriteLiteral(" height=\"300\""); 3208 3209 WriteLiteral(" class=\"img-fit-contain-x\""); 3210 3211 WriteAttribute("src", Tuple.Create(" src=\"", 36260), Tuple.Create("\"", 36286) 3212 3213 #line 733 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3214 , Tuple.Create(Tuple.Create("", 36266), Tuple.Create<System.Object, System.Int32>(footerStaffGetImage 3215 3216 #line default 3217 #line hidden 3218 , 36266), false) 3219 ); 3220 3221 WriteAttribute("alt", Tuple.Create(" alt=\"", 36287), Tuple.Create("\"", 36302) 3222 3223 #line 733 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3224 , Tuple.Create(Tuple.Create("", 36293), Tuple.Create<System.Object, System.Int32>(shopname 3225 3226 #line default 3227 #line hidden 3228 , 36293), false) 3229 ); 3230 3231 WriteLiteral(">\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</section>\r\n"); 3232 3233 3234 #line 737 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3235 3236 3237 3238 #line default 3239 #line hidden 3240 WriteLiteral("\t\t<section"); 3241 3242 WriteLiteral(" class=\"bg-beige-dark py-10\""); 3243 3244 WriteLiteral(">\r\n\t\t\t<div"); 3245 3246 WriteLiteral(" class=\"container\""); 3247 3248 WriteLiteral(">\r\n\t\t\t\t<div"); 3249 3250 WriteLiteral(" class=\"flex flex-wrap xl:flex-nowrap xl:flex-row gap-4 \""); 3251 3252 WriteLiteral(">\r\n\t\t\t\t\t<div"); 3253 3254 WriteLiteral(" class=\"w-full grid md:grid-cols-3 xl:grid-cols-6 gap-y-4 *:list-none *:text-cent" + 3255 "er *:md:text-left *:text-sm *:leading-8\""); 3256 3257 WriteLiteral(">\r\n\t\t\t\t\t\t<ul"); 3258 3259 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\""); 3260 3261 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>"); 3262 3263 3264 #line 743 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3265 Write(GetString("Item.Area.Footer_Column_1_Header")); 3266 3267 3268 #line default 3269 #line hidden 3270 WriteLiteral("</strong>\r\n"); 3271 3272 3273 #line 744 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3274 3275 3276 #line default 3277 #line hidden 3278 3279 #line 744 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3280 foreach (var Link in GetLoop("Item.Area.Footer_Column_1_Links")) 3281 { 3282 string LinkText = Link.GetString("Item.Area.Footer_Column_1_Links.LinkText"); 3283 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_1_Links.Link"); 3284 3285 3286 #line default 3287 #line hidden 3288 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a"); 3289 3290 WriteAttribute("href", Tuple.Create(" href=\"", 37051), Tuple.Create("\"", 37074) 3291 3292 #line 749 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3293 , Tuple.Create(Tuple.Create("", 37058), Tuple.Create<System.Object, System.Int32>(LinkDestination 3294 3295 #line default 3296 #line hidden 3297 , 37058), false) 3298 ); 3299 3300 WriteLiteral(" class=\"text-black hover:underline hover:text-black\""); 3301 3302 WriteLiteral(">"); 3303 3304 3305 #line 749 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3306 Write(LinkText); 3307 3308 3309 #line default 3310 #line hidden 3311 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n"); 3312 3313 3314 #line 751 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3315 } 3316 3317 3318 #line default 3319 #line hidden 3320 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t<ul"); 3321 3322 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\""); 3323 3324 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>"); 3325 3326 3327 #line 754 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3328 Write(GetString("Item.Area.Footer_Column_2_Header")); 3329 3330 3331 #line default 3332 #line hidden 3333 WriteLiteral("</strong>\r\n"); 3334 3335 3336 #line 755 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3337 3338 3339 #line default 3340 #line hidden 3341 3342 #line 755 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3343 foreach (var Link in GetLoop("Item.Area.Footer_Column_2_Links")) 3344 { 3345 string LinkText = Link.GetString("Item.Area.Footer_Column_2_Links.LinkText"); 3346 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_2_Links.Link"); 3347 3348 3349 #line default 3350 #line hidden 3351 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a"); 3352 3353 WriteAttribute("href", Tuple.Create(" href=\"", 37616), Tuple.Create("\"", 37639) 3354 3355 #line 760 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3356 , Tuple.Create(Tuple.Create("", 37623), Tuple.Create<System.Object, System.Int32>(LinkDestination 3357 3358 #line default 3359 #line hidden 3360 , 37623), false) 3361 ); 3362 3363 WriteLiteral(" class=\"text-sm text-black\""); 3364 3365 WriteLiteral(">"); 3366 3367 3368 #line 760 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3369 Write(LinkText); 3370 3371 3372 #line default 3373 #line hidden 3374 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n"); 3375 3376 3377 #line 762 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3378 } 3379 3380 3381 #line default 3382 #line hidden 3383 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t<ul"); 3384 3385 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\""); 3386 3387 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>"); 3388 3389 3390 #line 765 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3391 Write(GetString("Item.Area.Footer_Column_3_Header")); 3392 3393 3394 #line default 3395 #line hidden 3396 WriteLiteral("</strong>\r\n"); 3397 3398 3399 #line 766 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3400 3401 3402 #line default 3403 #line hidden 3404 3405 #line 766 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3406 foreach (var Link in GetLoop("Item.Area.Footer_Column_3_Links")) 3407 { 3408 string LinkText = Link.GetString("Item.Area.Footer_Column_3_Links.LinkText"); 3409 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_3_Links.Link"); 3410 3411 3412 #line default 3413 #line hidden 3414 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a"); 3415 3416 WriteAttribute("href", Tuple.Create(" href=\"", 38156), Tuple.Create("\"", 38179) 3417 3418 #line 771 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3419 , Tuple.Create(Tuple.Create("", 38163), Tuple.Create<System.Object, System.Int32>(LinkDestination 3420 3421 #line default 3422 #line hidden 3423 , 38163), false) 3424 ); 3425 3426 WriteLiteral(" class=\"text-sm text-black\""); 3427 3428 WriteLiteral(">"); 3429 3430 3431 #line 771 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3432 Write(LinkText); 3433 3434 3435 #line default 3436 #line hidden 3437 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n"); 3438 3439 3440 #line 773 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3441 } 3442 3443 3444 #line default 3445 #line hidden 3446 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\r\n\t\t\t\t\t\t<div"); 3447 3448 WriteLiteral(" class=\"col-span-3\""); 3449 3450 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>"); 3451 3452 3453 #line 777 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3454 Write(Translate("Co3.Newsletter.Headline.Text", "Møblérs nyhedsbrev")); 3455 3456 3457 #line default 3458 #line hidden 3459 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" + 3460 ">\r\n\t\t\t</div>\r\n\t\t</section>\r\n"); 3461 3462 3463 #line 784 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3464 3465 3466 3467 #line default 3468 #line hidden 3469 WriteLiteral("\t\t<div"); 3470 3471 WriteLiteral(" class=\"py-4 bg-white\""); 3472 3473 WriteLiteral(">\r\n\t\t\t<div"); 3474 3475 WriteLiteral(" class=\"container flex flex-col md:flex-row gap-y-4\""); 3476 3477 WriteLiteral(">\r\n\t\t\t\t<div"); 3478 3479 WriteLiteral(" class=\"w-full xl:w-1/2 flex justify-center items-center md:justify-start text-xs" + 3480 "\""); 3481 3482 WriteLiteral(">\r\n\t\t\t\t\t© "); 3483 3484 3485 #line 788 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3486 Write(currentYear); 3487 3488 3489 #line default 3490 #line hidden 3491 WriteLiteral(" "); 3492 3493 3494 #line 788 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3495 Write(Translate("Copyright", "Møblér. All Rights Reserved.")); 3496 3497 3498 #line default 3499 #line hidden 3500 WriteLiteral("\r\n\t\t\t\t</div>\r\n\t\t\t\t<div"); 3501 3502 WriteLiteral(" class=\"w-full xl:w-1/2 flex items-center md:justify-end\""); 3503 3504 WriteLiteral(">\r\n\t\t\t\t\t<a"); 3505 3506 WriteAttribute("href", Tuple.Create(" href=\'", 38835), Tuple.Create("\'", 38878) 3507 3508 #line 791 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3509 , Tuple.Create(Tuple.Create("", 38842), Tuple.Create<System.Object, System.Int32>(Translate("PersondataLink", "link") 3510 3511 #line default 3512 #line hidden 3513 , 38842), false) 3514 ); 3515 3516 WriteLiteral(" class=\"text-xs underline text-black mr-2\""); 3517 3518 WriteLiteral(">"); 3519 3520 3521 #line 791 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3522 Write(Translate("PersondataText", "Persondatapolitik")); 3523 3524 3525 #line default 3526 #line hidden 3527 WriteLiteral("</a>\r\n\t\t\t\t\t<paymentmethodlogos"); 3528 3529 WriteLiteral(" data-all-payments=\"true\""); 3530 3531 WriteLiteral("></paymentmethodlogos>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t</div>\r\n"); 3532 3533 3534 #line 797 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3535 } 3536 3537 3538 #line default 3539 #line hidden 3540 WriteLiteral("\r\n\t<script"); 3541 3542 WriteLiteral(" type=\"module\""); 3543 3544 WriteLiteral(" src=\"https://viewer-cdn.cylindo.com/v1/index.mjs\""); 3545 3546 WriteLiteral(" defer=\"\""); 3547 3548 WriteLiteral("></script>\r\n\r\n"); 3549 3550 WriteLiteral("\t"); 3551 3552 3553 #line 801 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-categories.parsed.cshtml" 3554 Write(Pageview.AddViteScript()); 3555 3556 3557 #line default 3558 #line hidden 3559 WriteLiteral("\r\n</body>\r\n</html>\r\n"); 3560 3561 } 3562 } 3563 } 3564

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&oslash;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 FaqCategories = new ItemCollection(); 534 if (CurrentPage != null) 535 { 536 FaqCategories = MoblerHelpers.GetFaqCategories(CurrentPage); 537 } 538 } 539 540 @RenderNavigation(new { ExpandMode = "All", Template = "breadcrumb.xslt" }) 541 542 543 544 <div id="content2">@GetValue("DwContent(content2)")</div> 545 546 <div class="container mb-5 mt-3"> 547 548 <div class="row"> 549 @foreach (Item FaqCategory in FaqCategories) 550 { 551 Dynamicweb.Content.Page faqCatPage = Dynamicweb.Services.Pages.GetPageForItem(FaqCategory.SystemName, FaqCategory.Id); 552 553 var link = MoblerHelpers.GetFriendlyUrl(faqCatPage.ID.ToString()); 554 var svg = FaqCategory["Icon"].ToString(); 555 556 <div class="col-12 col-sm-6 col-md-4 mb-4"> 557 <a href="@link" class="faq-category h-100 text-white no-underline p-3 pt-5 bg-brand flex flex-col items-center"> 558 <img class="mt-5 mb-3" src="@svg"> 559 <h4 class="text-uppercase">@FaqCategory["Category"]</h4> 560 <div class="font-bold text-center">@FaqCategory["CategoryDescription"]</div> 561 </a> 562 </div> 563 } 564 </div> 565 566 </div> 567 568 <div id="content1">@GetValue("DwContent(content1)")</div> 569 570 571 572 @if (!IsCheckoutStep) 573 { 574 if (!isCheckoutFirstStep) 575 { 576 var brandsLoop = @GetLoop("Item.Page.Brand_Icon.Value"); 577 <!-- TODO: (Out of scope) Clean this up so we don't repeat --> 578 <section class="container py-8"> 579 <div class="grid grid-cols-3 md:grid-cols-6 gap-4"> 580 @if (brandsLoop.Count <= 0) 581 { 582 foreach (var item in GetLoop("Item.Area.Featured_Brands")) 583 { 584 string Link = item.GetString("Item.Area.Featured_Brands.Brand.Value"); 585 var Brand = Firstweb.Custom.CustomCode.Frontend.Helpers.Brands.GetBrand(Link); 586 587 if (!String.IsNullOrEmpty(Brand.Name)) 588 { 589 <a href="@Brand.Link"> 590 <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"> 591 </a> 592 } 593 } 594 } 595 else 596 { 597 foreach (var item in brandsLoop) 598 { 599 string image = item.GetString("Item.Page.Brand_Icon.Value.Image.Value"); 600 string link = item.GetString("Item.Page.Brand_Icon.Value.LinkDestination.Value"); 601 602 if (!String.IsNullOrEmpty(image)) 603 { 604 <a href="@link"> 605 <img width="900" height="400" class="img-fluid" src="/Admin/Public/GetImage.ashx?Image=@image&Format=webP&Quality=90&Height=400" alt=""> 606 </a> 607 } 608 } 609 } 610 </div> 611 </section> 612 } 613 614 <section class="bg-beige pt-14 lg:pt-28"> 615 <div class="container flex flex-wrap"> 616 <div class="w-full md:w-3/4 lg:w-1/2 flex flex-col md:items-start gap-y-4"> 617 <a href="/" class="flex flex-col md:items-center"> 618 <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")'> 619 <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")'> 620 @if (shopname.ToLower() != "møblér") 621 { 622 <small class="text-xs text-grey-dark text-center hidden md:block">@Translate("LogoServiceText", "Ordren serviceres af Møbler.dk")</small> 623 } 624 </a> 625 626 <!-- TODO: This has not been tested and styled --> 627 @if (shopnameEncoded == "M%c3%b8bl%c3%a9r") 628 { 629 <div> 630 <p class="mb-0 font-bold">@GetString("Item.Area.Header")</p> 631 <p> 632 @GetString("Item.Area.About") 633 </p> 634 <a href="@FooterLinkDestination"><u>@Translate("FooterAboutReadMore", "L&aelig;s mere om M&oslash;blér k&aelig;den her")</u></a> 635 </div> 636 } 637 else 638 { 639 if (GetString("Item.SystemName") == "TextPage") 640 { 641 string CurrentAboutUsShopName = GetString("DwPageName_2"); 642 shopInfo = Website.ShopInfo(CurrentAboutUsShopName); 643 shopname = CurrentAboutUsShopName; 644 } 645 646 <div class="flex flex-wrap gap-y-4 w-full"> 647 <div class="w-full md:w-1/2"> 648 <ul class="list-none"> 649 <li class="mb-2"><strong>@shopInfo.ShopName</strong></li> 650 <li>@shopInfo.Address</li> 651 <li>@shopInfo.PostalAndCity</li> 652 <li> 653 <a href="@localShopPage" class="underline text-black">@Translate("ShowOnMap", "Vis p&#229; kort")</a> 654 </li> 655 656 @if (!String.IsNullOrEmpty(shopInfo.Address1)) 657 { 658 <li>@shopInfo.Address1, @shopInfo.PostalAndCity1</li> 659 } 660 @if (!String.IsNullOrEmpty(shopInfo.Address2)) 661 { 662 <li>@shopInfo.Address2, @shopInfo.PostalAndCity2</li> 663 } 664 <li class="mt-4">@shopInfo.Phone</li> 665 <li> 666 <a href="mailto:@shopInfo.Email" class="underline text-black">@shopInfo.Email</a> 667 </li> 668 </ul> 669 </div> 670 671 <div class="w-full md:w-1/2"> 672 @if (shopInfo.ShopInformationList.Count > 0 || shopInfo.OpeningHours != null) 673 { 674 <p class="mb-2"><strong>@Translate("openinghours", "&#197;bningstider")</strong></p> 675 } 676 @if (shopInfo.ShopInformationList.Count > 0) 677 { 678 foreach (var row in shopInfo.ShopInformationList) 679 { 680 var rowClass = !string.IsNullOrEmpty(row.columnTwo) ? "basis-1/2" : ""; 681 <div class="flex gap-x-2"> 682 <div class="@rowClass"> 683 @row.columnOne 684 </div> 685 @if (!string.IsNullOrEmpty(row.columnTwo)) 686 { 687 <div>@row.columnTwo</div> 688 } 689 </div> 690 } 691 } 692 else if (shopInfo.OpeningHours != null) 693 { 694 <div class="flex flex-col justify-content items-center gap-2 md:items-start">@shopInfo.OpeningHours</div> 695 } 696 </div> 697 698 </div> 699 } 700 <ul class="list-none flex gap-2 mb-8"> 701 @foreach (var Some in GetLoop("Item.Area.SocialMediaIcons")) 702 { 703 string Link = Some.GetString("Item.Area.SocialMediaIcons.Link"); 704 string Icon = Some.GetString("Item.Area.SocialMediaIcons.Icon.Value"); 705 <li> 706 <a href="@Link" target="_blank" class="text-black text-2xl hover:text-grey-dark"> 707 <img width="37" height="37" src="/Admin/Public/GetImage.ashx?Image=@Icon&Format=webP&Quality=90&Height=40" alt="social icon"> 708 </a> 709 </li> 710 } 711 712 @foreach (var Some in GetLoop("Item.Area.SocialMediaFontawesomeIcons")) 713 { 714 string Link = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.Link"); 715 string Icon = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.FontawesomeClass"); 716 <li> 717 <a href="@Link" target="_blank" class="text-black text-3xl hover:text-grey-dark"> 718 <i class="@Icon"></i> 719 </a> 720 </li> 721 } 722 </ul> 723 </div> 724 <div class="hidden lg:flex justify-center items-end w-full lg:w-2/4"> 725 @{ 726 string footerStaffImagePath = String.Format("/Files/Images/Owners/Large/{0}.png", shopname); 727 string footerStaffGetImage = ""; 728 if (!String.IsNullOrEmpty(footerStaffImagePath)) 729 { 730 footerStaffGetImage = "/Admin/Public/GetImage.ashx?Image=" + footerStaffImagePath + "&Format=webP&Quality=90&width=640&height=300"; 731 } 732 } 733 <img width="640" height="300" class="img-fit-contain-x" src="@footerStaffGetImage" alt="@shopname"> 734 </div> 735 </div> 736 </section> 737 738 <section class="bg-beige-dark py-10"> 739 <div class="container"> 740 <div class="flex flex-wrap xl:flex-nowrap xl:flex-row gap-4 "> 741 <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"> 742 <ul class="list-none col-span-3 md:col-span-1"> 743 <strong>@GetString("Item.Area.Footer_Column_1_Header")</strong> 744 @foreach (var Link in GetLoop("Item.Area.Footer_Column_1_Links")) 745 { 746 string LinkText = Link.GetString("Item.Area.Footer_Column_1_Links.LinkText"); 747 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_1_Links.Link"); 748 <li> 749 <a href="@LinkDestination" class="text-black hover:underline hover:text-black">@LinkText</a> 750 </li> 751 } 752 </ul> 753 <ul class="list-none col-span-3 md:col-span-1"> 754 <strong>@GetString("Item.Area.Footer_Column_2_Header")</strong> 755 @foreach (var Link in GetLoop("Item.Area.Footer_Column_2_Links")) 756 { 757 string LinkText = Link.GetString("Item.Area.Footer_Column_2_Links.LinkText"); 758 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_2_Links.Link"); 759 <li> 760 <a href="@LinkDestination" class="text-sm text-black">@LinkText</a> 761 </li> 762 } 763 </ul> 764 <ul class="list-none col-span-3 md:col-span-1"> 765 <strong>@GetString("Item.Area.Footer_Column_3_Header")</strong> 766 @foreach (var Link in GetLoop("Item.Area.Footer_Column_3_Links")) 767 { 768 string LinkText = Link.GetString("Item.Area.Footer_Column_3_Links.LinkText"); 769 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_3_Links.Link"); 770 <li> 771 <a href="@LinkDestination" class="text-sm text-black">@LinkText</a> 772 </li> 773 } 774 </ul> 775 776 <div class="col-span-3"> 777 <strong>@Translate("Co3.Newsletter.Headline.Text", "Møblérs nyhedsbrev")</strong> 778 <newsletter></newsletter> 779 </div> 780 </div> 781 </div> 782 </div> 783 </section> 784 785 <div class="py-4 bg-white"> 786 <div class="container flex flex-col md:flex-row gap-y-4"> 787 <div class="w-full xl:w-1/2 flex justify-center items-center md:justify-start text-xs"> 788 © @currentYear @Translate("Copyright", "Møblér. All Rights Reserved.") 789 </div> 790 <div class="w-full xl:w-1/2 flex items-center md:justify-end"> 791 <a href='@Translate("PersondataLink", "link")' class="text-xs underline text-black mr-2">@Translate("PersondataText", "Persondatapolitik")</a> 792 <paymentmethodlogos data-all-payments="true"></paymentmethodlogos> 793 </div> 794 795 </div> 796 </div> 797 } 798 799 <script type="module" src="https://viewer-cdn.cylindo.com/v1/index.mjs" defer=""></script> 800 801 @Pageview.AddViteScript() 802 </body> 803 </html> 804