Error compiling template "Designs/ClientBase_generated/_parsed/DefaultPage.parsed.cshtml"
Line 439: The name 'favicon' does not exist in the current context
Line 452: The name 'favicon' does not exist in the current context
Line 569: 'User.GetCurrentExtranetUserId()' is obsolete: 'Use GetCurrentFrontendUserId() instead.'
Line 924: The variable 'hidePricesForGuests' 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
15 #line 616 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
16 using System.Linq;
17
18 #line default
19 #line hidden
20
21 #line 914 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
22 using Dynamicweb;
23
24 #line default
25 #line hidden
26
27 #line 3 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
28 using Bluedesk.Tools.Generic;
29
30 #line default
31 #line hidden
32
33 #line 4 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
34 using System.Globalization;
35
36 #line default
37 #line hidden
38
39 #line 5 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
40 using Bluedesk.DynamicWeb.ItemTypes.Settings.Configuration;
41
42 #line default
43 #line hidden
44
45 #line 610 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
46 using Dynamicweb.Content;
47
48 #line default
49 #line hidden
50
51 #line 428 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
52 using Dynamicweb.Extensibility;
53
54 #line default
55 #line hidden
56
57 #line 429 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
58 using Bluedesk.Tools.DynamicWeb.Generic;
59
60 #line default
61 #line hidden
62
63 #line 662 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
64 using Bluedesk.DynamicWeb.ItemTypes;
65
66 #line default
67 #line hidden
68
69 #line 607 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
70 using Bluedesk.DynamicWeb.ItemTypes.Pages;
71
72 #line default
73 #line hidden
74
75 #line 608 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
76 using Bluedesk.Tools.DynamicWeb.ExtensionMethods;
77
78 #line default
79 #line hidden
80
81
82 public class RazorEngine_a9f2d9e3280646a39f53ddd8ee15a12b : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> {
83
84 #line hidden
85
86 #line 362 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
87 public RazorEngine.Templating.TemplateWriter RenderHeaderUSP(string USP_content, string USP_icon)
88 {
89 #line default
90 #line hidden
91 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
92
93 #line 363 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
94
95 if (!string.IsNullOrWhiteSpace(USP_content))
96 {
97 var usp_icon_class = (!string.IsNullOrWhiteSpace(USP_icon)) ? USP_icon : "fal fa-check";
98
99
100
101 #line default
102 #line hidden
103 WriteLiteralTo(__razor_helper_writer, "\t\t<li");
104
105 WriteLiteralTo(__razor_helper_writer, " class=\"usp__item\"");
106
107 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t<i");
108
109 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 14013), Tuple.Create("\"", 14046)
110
111 #line 369 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
112 , Tuple.Create(Tuple.Create("", 14021), Tuple.Create<System.Object, System.Int32>(usp_icon_class
113
114 #line default
115 #line hidden
116 , 14021), false)
117 , Tuple.Create(Tuple.Create(" ", 14036), Tuple.Create("usp__icon", 14037), true)
118 );
119
120 WriteLiteralTo(__razor_helper_writer, "></i>\r\n\t\t\t<span>");
121
122
123 #line 370 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
124 WriteTo(__razor_helper_writer, USP_content);
125
126
127 #line default
128 #line hidden
129 WriteLiteralTo(__razor_helper_writer, "</span>\r\n\t\t</li>\r\n");
130
131
132 #line 372 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
133 }
134
135
136 #line default
137 #line hidden
138 });
139
140 #line 373 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
141 }
142 #line default
143 #line hidden
144
145
146 #line 900 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
147 public RazorEngine.Templating.TemplateWriter RenderFooterUSP(string USP_content, string USP_icon)
148 {
149 #line default
150 #line hidden
151 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
152
153 #line 901 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
154
155 if (!string.IsNullOrWhiteSpace(USP_content))
156 {
157 var usp_icon_class = (!string.IsNullOrWhiteSpace(USP_icon)) ? USP_icon : "fal fa-check";
158
159
160
161 #line default
162 #line hidden
163 WriteLiteralTo(__razor_helper_writer, "\t\t<li");
164
165 WriteLiteralTo(__razor_helper_writer, " class=\"footer-usp__item\"");
166
167 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t<i");
168
169 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 33718), Tuple.Create("\"", 33758)
170
171 #line 907 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
172 , Tuple.Create(Tuple.Create("", 33726), Tuple.Create<System.Object, System.Int32>(usp_icon_class
173
174 #line default
175 #line hidden
176 , 33726), false)
177 , Tuple.Create(Tuple.Create(" ", 33741), Tuple.Create("footer-usp__icon", 33742), true)
178 );
179
180 WriteLiteralTo(__razor_helper_writer, "></i>\r\n\t\t\t<span>");
181
182
183 #line 908 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
184 WriteTo(__razor_helper_writer, USP_content);
185
186
187 #line default
188 #line hidden
189 WriteLiteralTo(__razor_helper_writer, "</span>\r\n\t\t</li>\r\n");
190
191
192 #line 910 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
193 }
194
195
196 #line default
197 #line hidden
198 });
199
200 #line 911 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
201 }
202 #line default
203 #line hidden
204
205
206 public RazorEngine_a9f2d9e3280646a39f53ddd8ee15a12b() {
207 }
208
209 public override void Execute() {
210 WriteLiteral("\r\n");
211
212
213 #line 7 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
214
215 var httpdomain = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain();
216 var lang = GetString("LongLang").Split('-')[0];
217 var csrftoken = application._webapi.Helper.CSRFHelper.TokenHeaderValue();
218 var designRoot = "/Files/Templates/Designs/" + Pageview.Area.Layout.Design.Name;
219
220 var phonenumber = GetString("Item.Area.Phonenumber");
221 var formattedPhonenumber = phonenumber.Replace(" ", String.Empty);
222 var emailadress = GetString("Item.Area.Emailadress");
223 var buttonIconClass = Pageview.Area.Item["Global_button_icon"] != null ? Pageview.Area.Item["Global_button_icon"].ToString().Replace("+", " ") : "fal fa-arrow-right";
224 var callmebackformlink = GetString("Item.Area.Call_me_back_form");
225 var mobileThemeColor = GetString("Item.Area.Mobile_Theme_Color");
226
227 bool isOffline = false;
228 DateTime workingHoursStart = GetDate("Item.Area.OpeningTime");
229 DateTime workingHoursEnd = GetDate("Item.Area.ClosingTime");
230 DateTime today = DateTime.Now;
231 var cHour = DateTime.Now.TimeOfDay;
232 int cDay = (int)DateTime.Now.DayOfWeek;
233 string availableToHour24hFormat = workingHoursEnd.TimeOfDay.ToString().Substring(0,5);
234 var timeFromInput = DateTime.ParseExact(availableToHour24hFormat, "H:m", null, DateTimeStyles.None);
235 string availableToHour12hFormat = timeFromInput.ToString("hh:mm tt", CultureInfo.InvariantCulture);
236 var availableToHour = lang == "en" ? availableToHour12hFormat : availableToHour24hFormat;
237 bool isOvertime = cHour >= workingHoursEnd.TimeOfDay || cHour <= workingHoursStart.TimeOfDay;
238 bool isNoValidDate = today < workingHoursStart || today > workingHoursEnd;
239 if (isNoValidDate || isOvertime)
240 {
241 isOffline = true;
242 }
243
244
245 #line default
246 #line hidden
247 WriteLiteral("\r\n\r\n<!DOCTYPE html>\r\n<html");
248
249 WriteAttribute("lang", Tuple.Create(" lang=\"", 1968), Tuple.Create("\"", 1980)
250
251 #line 39 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
252 , Tuple.Create(Tuple.Create("", 1975), Tuple.Create<System.Object, System.Int32>(lang
253
254 #line default
255 #line hidden
256 , 1975), false)
257 );
258
259 WriteLiteral(" prefix=\"og: http://ogp.me/ns#\"");
260
261 WriteLiteral(">\r\n<head>\r\n\t<meta");
262
263 WriteLiteral(" charset=\"utf-8\"");
264
265 WriteLiteral(">\r\n\t<meta");
266
267 WriteLiteral(" http-equiv=\"X-UA-Compatible\"");
268
269 WriteLiteral(" content=\"IE=edge\"");
270
271 WriteLiteral(">\r\n\t<meta");
272
273 WriteLiteral(" name=\"viewport\"");
274
275 WriteLiteral(" content=\"width=device-width, initial-scale=1\"");
276
277 WriteLiteral(">\r\n\t<meta");
278
279 WriteLiteral(" name=\"theme-color\"");
280
281 WriteAttribute("content", Tuple.Create(" content=\"", 2200), Tuple.Create("\"", 2227)
282
283 #line 44 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
284 , Tuple.Create(Tuple.Create("", 2210), Tuple.Create<System.Object, System.Int32>(mobileThemeColor
285
286 #line default
287 #line hidden
288 , 2210), false)
289 );
290
291 WriteLiteral(">\r\n\t\r\n\t\r\n\r\n");
292
293 WriteLiteral("\t");
294
295
296 #line 48 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
297 Write(RenderSnippet("canonical"));
298
299
300 #line default
301 #line hidden
302 WriteLiteral("\r\n\r\n");
303
304 WriteLiteral("\t");
305
306
307 #line 50 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
308 Write(RenderSnippet("ogTags"));
309
310
311 #line default
312 #line hidden
313 WriteLiteral("\r\n\r\n\t<title>");
314
315
316 #line 52 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
317 Write(GetValue("Title"));
318
319
320 #line default
321 #line hidden
322 WriteLiteral("</title>\r\n");
323
324
325 #line 53 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
326 Write(GetValue("MetaTags"));
327
328
329 #line default
330 #line hidden
331 WriteLiteral("\r\n");
332
333
334 #line 54 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
335 Write(GetValue("CopyRightNotice"));
336
337
338 #line default
339 #line hidden
340 WriteLiteral("\r\n\r\n\r\n");
341
342
343 #line 57 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
344
345
346 #line default
347 #line hidden
348
349 #line 57 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
350
351
352
353 var appcss = Cache.VersionedFile(designRoot + "/dist/app.css");
354
355
356 #line default
357 #line hidden
358 WriteLiteral("\t\t<link");
359
360 WriteAttribute("href", Tuple.Create(" href=\"", 2477), Tuple.Create("\"", 2491)
361
362 #line 61 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
363 , Tuple.Create(Tuple.Create("", 2484), Tuple.Create<System.Object, System.Int32>(appcss
364
365 #line default
366 #line hidden
367 , 2484), false)
368 );
369
370 WriteLiteral(" rel=\"stylesheet\"");
371
372 WriteLiteral(">\r\n");
373
374
375 #line 62 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
376
377 var favicon32 = Cache.VersionedFile(designRoot + "/assets/img/favicon-32.png", true);
378 var favicon16 = Cache.VersionedFile(designRoot + "/assets/img/favicon-16.png", true);
379 var favico = Cache.VersionedFile(designRoot + "/assets/img/favicon.ico", true);
380
381 if (!string.IsNullOrWhiteSpace(favicon32))
382 {
383
384
385 #line default
386 #line hidden
387 WriteLiteral("\t\t\t<link");
388
389 WriteLiteral(" rel=\"icon\"");
390
391 WriteLiteral(" type=\"image/png\"");
392
393 WriteLiteral(" sizes=\"32x32\"");
394
395 WriteAttribute("href", Tuple.Create(" href=\"", 2878), Tuple.Create("\"", 2895)
396
397 #line 69 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
398 , Tuple.Create(Tuple.Create("", 2885), Tuple.Create<System.Object, System.Int32>(favicon32
399
400 #line default
401 #line hidden
402 , 2885), false)
403 );
404
405 WriteLiteral(">\r\n");
406
407
408 #line 70 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
409 }
410 if (!string.IsNullOrWhiteSpace(favicon16))
411 {
412
413
414 #line default
415 #line hidden
416 WriteLiteral("\t\t\t<link");
417
418 WriteLiteral(" rel=\"icon\"");
419
420 WriteLiteral(" type=\"image/png\"");
421
422 WriteLiteral(" sizes=\"16x16\"");
423
424 WriteAttribute("href", Tuple.Create(" href=\"", 3005), Tuple.Create("\"", 3022)
425
426 #line 73 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
427 , Tuple.Create(Tuple.Create("", 3012), Tuple.Create<System.Object, System.Int32>(favicon16
428
429 #line default
430 #line hidden
431 , 3012), false)
432 );
433
434 WriteLiteral(">\r\n");
435
436
437 #line 74 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
438 }
439 if (!string.IsNullOrWhiteSpace(favicon))
440 {
441
442
443 #line default
444 #line hidden
445 WriteLiteral("\t\t\t<link");
446
447 WriteLiteral(" rel=\"shortcut icon\"");
448
449 WriteAttribute("href", Tuple.Create(" href=\"", 3108), Tuple.Create("\"", 3123)
450
451 #line 77 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
452 , Tuple.Create(Tuple.Create("", 3115), Tuple.Create<System.Object, System.Int32>(favicon
453
454 #line default
455 #line hidden
456 , 3115), false)
457 );
458
459 WriteLiteral(">\r\n");
460
461
462 #line 78 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
463 }
464
465
466 #line default
467 #line hidden
468 WriteLiteral("\r\n\r\n");
469
470
471 #line 81 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
472
473
474 #line default
475 #line hidden
476
477 #line 81 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
478 foreach (var language in GetLoop("Languages"))
479 {
480 string pageid = language.GetString("PageID");
481 string url = language.GetString("PrimaryDomain") + Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("default.aspx?id=" + pageid);
482
483
484
485 #line default
486 #line hidden
487 WriteLiteral("\t\t<link");
488
489 WriteLiteral(" rel=\"alternate\"");
490
491 WriteAttribute("href", Tuple.Create(" href=\'", 3410), Tuple.Create("\'", 3421)
492
493 #line 86 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
494 , Tuple.Create(Tuple.Create("", 3417), Tuple.Create<System.Object, System.Int32>(url
495
496 #line default
497 #line hidden
498 , 3417), false)
499 );
500
501 WriteAttribute("hreflang", Tuple.Create(" hreflang=\'", 3422), Tuple.Create("\'", 3463)
502
503 #line 86 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
504 , Tuple.Create(Tuple.Create("", 3433), Tuple.Create<System.Object, System.Int32>(language.GetString("Culture")
505
506 #line default
507 #line hidden
508 , 3433), false)
509 );
510
511 WriteLiteral(">\r\n");
512
513
514 #line 87 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
515 }
516
517
518 #line default
519 #line hidden
520 WriteLiteral("\r\n\t<script>\r\n\t\twindow.globals = {\r\n\t\t\tpageId: \'");
521
522
523 #line 91 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
524 Write(Pageview.ID);
525
526
527 #line default
528 #line hidden
529 WriteLiteral("\',\r\n\t\t\tToken: \'");
530
531
532 #line 92 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
533 Write(csrftoken);
534
535
536 #line default
537 #line hidden
538 WriteLiteral("\',\r\n\t\t\tDW_AREA_CULTURE: \'");
539
540
541 #line 93 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
542 Write(GetString("LongLang"));
543
544
545 #line default
546 #line hidden
547 WriteLiteral("\',\r\n\t\t\tDW_AREA_CULTURE_SHORT: \'");
548
549
550 #line 94 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
551 Write(lang);
552
553
554 #line default
555 #line hidden
556 WriteLiteral("\',\r\n\t\t\tglobalIconClass: \'");
557
558
559 #line 95 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
560 Write(buttonIconClass);
561
562
563 #line default
564 #line hidden
565 WriteLiteral("\',\r\n\t\t\tDW_USERID: \'");
566
567
568 #line 96 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
569 Write(Dynamicweb.Security.UserManagement.User.GetCurrentExtranetUserId());
570
571
572 #line default
573 #line hidden
574 WriteLiteral("\'\r\n\t\t};\r\n\t</script>\r\n\r\n");
575
576 WriteLiteral("\t");
577
578
579 #line 100 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
580 Write(GetString("Item.Area.HeadScript"));
581
582
583 #line default
584 #line hidden
585 WriteLiteral("\r\n");
586
587
588 #line 101 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
589
590
591 #line default
592 #line hidden
593
594 #line 101 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
595
596 var _cookieOptinLevel = Dynamicweb.Environment.CookieManager.GetCookieOptInLevel();
597 var _enabledCookieCategories = Dynamicweb.Environment.CookieManager.GetCookieOptInCategories();
598 if (_cookieOptinLevel.ToString() == "All" || _enabledCookieCategories.Contains("Marketing_Cookies"))
599 {
600
601
602 #line default
603 #line hidden
604
605 #line 106 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
606 Write(GetString("Item.Area.HeadScriptAfterConsent"));
607
608
609 #line default
610 #line hidden
611
612 #line 106 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
613
614 }
615
616
617 #line default
618 #line hidden
619 WriteLiteral("\r\n\r\n");
620
621
622 #line 110 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
623
624
625 #line default
626 #line hidden
627
628 #line 110 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
629
630 var reviewName = GetString("Item.Area.Review_Name") != null ? GetString("Item.Area.Review_Name") : "";
631 var reviewBestRating = GetString("Item.Area.Review_Best_Rating") != null ? GetString("Item.Area.Review_Best_Rating") : "";
632 var reviewWorstRating = GetString("Item.Area.Review_Worst_Rating") != null ? GetString("Item.Area.Review_Worst_Rating") : "";
633 var reviewRatingValue = GetString("Item.Area.Review_Rating_Value") != null ? GetString("Item.Area.Review_Rating_Value") : "";
634 var reviewCount = GetString("Item.Area.Review_Count") != null ? GetString("Item.Area.Review_Count") : "";
635 var reviewUrl = GetString("Item.Area.Review_URL") != null ? GetString("Item.Area.Review_URL") : "";
636
637 var searchPageID = Bluedesk.Tools.DynamicWeb.Generic.PageHelper.GetPageIDByNavigationTag("searchresults", Pageview.AreaID);
638 var domain = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain();
639
640
641 #line default
642 #line hidden
643 WriteLiteral("\r\n\r\n<script");
644
645 WriteLiteral(" type=\"application/ld+json\"");
646
647 WriteLiteral(">\r\n [{\r\n \"");
648
649 WriteLiteral("@context\": \"https://schema.org\",\r\n \"");
650
651 WriteLiteral("@type\": \"Organization\",\r\n \"name\" : \"");
652
653
654 #line 126 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
655 Write(GetString("Item.Area.CompanyName"));
656
657
658 #line default
659 #line hidden
660 WriteLiteral("\",\r\n \"url\": \"");
661
662
663 #line 127 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
664 Write(domain);
665
666
667 #line default
668 #line hidden
669 WriteLiteral("\",\r\n \"sameAs\" : \"");
670
671
672 #line 128 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
673 Write(GetString("Item.Area.Facebook"));
674
675
676 #line default
677 #line hidden
678 WriteLiteral("\",\r\n \"logo\": \"");
679
680
681 #line 129 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
682 Write(domain);
683
684
685 #line default
686 #line hidden
687
688 #line 129 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
689 Write(GetString("Item.Area.Logo"));
690
691
692 #line default
693 #line hidden
694 WriteLiteral("\",\r\n \"contactPoint\" : [{\r\n \"");
695
696 WriteLiteral("@type\" : \"ContactPoint\",\r\n \"telephone\" : \"");
697
698
699 #line 132 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
700 Write(GetString("Item.Area.Phonenumber"));
701
702
703 #line default
704 #line hidden
705 WriteLiteral("\",\r\n \"contactType\" : \"customer service\" ,\r\n \"");
706
707 WriteLiteral("@context\": \"https://schema.org\",\r\n \"");
708
709 WriteLiteral("@id\": \"");
710
711
712 #line 135 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
713 Write(domain);
714
715
716 #line default
717 #line hidden
718 WriteLiteral("\",\r\n \"name\": \"");
719
720
721 #line 136 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
722 Write(GetString("Item.Area.CompanyName"));
723
724
725 #line default
726 #line hidden
727 WriteLiteral("\"\r\n }],\r\n \"address\": {\r\n \"");
728
729 WriteLiteral("@type\": \"PostalAddress\",\r\n \"streetAddress\": \"");
730
731
732 #line 140 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
733 Write(GetString("Item.Area.Address"));
734
735
736 #line default
737 #line hidden
738 WriteLiteral("\",\r\n \"addressLocality\": \"");
739
740
741 #line 141 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
742 Write(GetString("Item.Area.City"));
743
744
745 #line default
746 #line hidden
747 WriteLiteral("\",\r\n \"postalCode\": \"");
748
749
750 #line 142 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
751 Write(GetString("Item.Area.Zipcode"));
752
753
754 #line default
755 #line hidden
756 WriteLiteral("\",\r\n \"addressRegion\": \"");
757
758
759 #line 143 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
760 Write(GetString("Item.Area.Region"));
761
762
763 #line default
764 #line hidden
765 WriteLiteral("\",\r\n \"addressCountry\": \"");
766
767
768 #line 144 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
769 Write(GetString("Item.Area.Country"));
770
771
772 #line default
773 #line hidden
774 WriteLiteral("\"\r\n }\r\n },\r\n {\r\n \"");
775
776 WriteLiteral("@context\": \"https://schema.org\",\r\n \"");
777
778 WriteLiteral("@type\": \"WebSite\",\r\n \"name\" : \"");
779
780
781 #line 150 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
782 Write(GetString("Item.Area.CompanyName"));
783
784
785 #line default
786 #line hidden
787 WriteLiteral("\",\r\n \"alternateName\" : \"");
788
789
790 #line 151 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
791 Write(GetString("Item.Area.AltCompanyName"));
792
793
794 #line default
795 #line hidden
796 WriteLiteral("\",\r\n \"url\": \"");
797
798
799 #line 152 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
800 Write(domain);
801
802
803 #line default
804 #line hidden
805 WriteLiteral("\",\r\n \"potentialAction\": {\r\n \"");
806
807 WriteLiteral("@type\": \"SearchAction\",\r\n \"target\": \"");
808
809
810 #line 155 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
811 Write(domain);
812
813
814 #line default
815 #line hidden
816 WriteLiteral("/Default.aspx?ID=");
817
818
819 #line 155 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
820 Write(searchPageID);
821
822
823 #line default
824 #line hidden
825 WriteLiteral("&q={search_term_string}\",\r\n \"query-input\": \"required name=search_term_" +
826 "string\"\r\n }\r\n }]\r\n</script>\r\n\r\n<script");
827
828 WriteLiteral(" type=\"application/ld+json\"");
829
830 WriteLiteral(">\r\n {\r\n \"");
831
832 WriteLiteral("@context\": \"https://schema.org\",\r\n \"");
833
834 WriteLiteral("@type\": \"Product\",\r\n \"name\": \"");
835
836
837 #line 165 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
838 Write(reviewName);
839
840
841 #line default
842 #line hidden
843 WriteLiteral("\",\r\n \"url\":\"");
844
845
846 #line 166 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
847 Write(reviewUrl);
848
849
850 #line default
851 #line hidden
852 WriteLiteral("\",\r\n \"aggregateRating\": {\r\n \"");
853
854 WriteLiteral("@type\": \"AggregateRating\",\r\n \"bestRating\": \"");
855
856
857 #line 169 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
858 Write(reviewBestRating);
859
860
861 #line default
862 #line hidden
863 WriteLiteral("\",\r\n \"worstRating\": \"");
864
865
866 #line 170 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
867 Write(reviewWorstRating);
868
869
870 #line default
871 #line hidden
872 WriteLiteral("\",\r\n \"ratingValue\": \"");
873
874
875 #line 171 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
876 Write(reviewRatingValue);
877
878
879 #line default
880 #line hidden
881 WriteLiteral("\",\r\n \"reviewCount\": \"");
882
883
884 #line 172 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
885 Write(reviewCount);
886
887
888 #line default
889 #line hidden
890 WriteLiteral("\"\r\n }\r\n }\r\n</script>\r\n");
891
892 WriteLiteral("\t");
893
894
895 #line 176 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
896 Write(RenderSnippet("DataLayer"));
897
898
899 #line default
900 #line hidden
901 WriteLiteral("\r\n\r\n");
902
903 WriteLiteral("\t");
904
905
906 #line 178 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
907 Write(RenderSnippet("GoogleMapsScript"));
908
909
910 #line default
911 #line hidden
912 WriteLiteral("\r\n\r\n");
913
914
915 #line 180 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
916
917
918 #line default
919 #line hidden
920
921 #line 180 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
922
923 // TODO: Add there options to master config for product overview
924 bool hidePricesForGuests = false;
925 bool hideShoppingCartForGuests = false;
926
927 bool enableShoppingCart = hideShoppingCartForGuests && Pageview.User == null ? false : (bool) GetBoolean("Item.Area.ConfigModuleShoppingCart");
928 bool enableLogin = (bool) GetBoolean("Item.Area.ConfigModuleLogin");
929 bool enableQuickOrder = (bool) GetBoolean("Item.Area.ConfigModuleQuickOrder");
930 bool enableAdvancedSearch = (bool) GetBoolean("Item.Area.ConfigModuleAdvancedSearch");
931 bool enableCallMeBack = (bool) GetBoolean("Item.Area.ConfigModuleCallMeBack");
932 bool enableDyslexicFont = (bool) GetBoolean("Item.Area.ConfigModuleDyslexicFont");
933 bool enableProductCompare = (bool) GetBoolean("Item.Area.ConfigModuleProductCompare");
934
935
936 #line default
937 #line hidden
938 WriteLiteral("\r\n\r\n");
939
940
941 #line 194 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
942 Write(GetValue("Stylesheets"));
943
944
945 #line default
946 #line hidden
947 WriteLiteral("\r\n");
948
949
950 #line 195 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
951 Write(GetValue("Javascripts"));
952
953
954 #line default
955 #line hidden
956 WriteLiteral("\r\n</head>\r\n\r\n<body>\r\n");
957
958 WriteLiteral("\t");
959
960
961 #line 199 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
962 Write(GetString("Item.Area.BodyScript"));
963
964
965 #line default
966 #line hidden
967 WriteLiteral("\r\n");
968
969
970 #line 200 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
971
972
973 #line default
974 #line hidden
975
976 #line 200 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
977
978 if (_cookieOptinLevel.ToString() == "All" || _enabledCookieCategories.Contains("Marketing_Cookies"))
979 {
980
981
982 #line default
983 #line hidden
984
985 #line 203 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
986 Write(GetString("Item.Area.BodyScriptAfterConsent"));
987
988
989 #line default
990 #line hidden
991
992 #line 203 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
993
994 }
995
996
997 #line default
998 #line hidden
999 WriteLiteral("\r\n");
1000
1001 WriteLiteral("\t");
1002
1003
1004 #line 206 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1005 Write(GetString("Item.Area.TailScript"));
1006
1007
1008 #line default
1009 #line hidden
1010 WriteLiteral("\r\n\r\n");
1011
1012
1013 #line 208 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1014
1015
1016 #line default
1017 #line hidden
1018 WriteLiteral("\r\n");
1019
1020
1021 #line 211 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1022
1023 string logo = GetString("Item.Area.Logo");
1024 string logoAlt = GetString("Item.Area.Logo_Alt");
1025
1026 int SearchPageID = Bluedesk.Tools.DynamicWeb.Generic.PageHelper.GetPageIDByNavigationTag("searchresults", Pageview.AreaID);
1027 var SearchPlaceholder = Translate("Searchbox.PlaceholderValue", "Search...");
1028 var SearchPlaceholderHover = Translate("Search.PlaceholderValue2", "Zoekt u misschien een ...?");
1029 var SearchPrefill = Dynamicweb.Context.Current.Request["q"];
1030 var SearchboxClass = !string.IsNullOrWhiteSpace(SearchPrefill) ? "open" : "";
1031 var SearchtoggleClass = !string.IsNullOrWhiteSpace(SearchPrefill) ? "close" : "";
1032
1033
1034 #line default
1035 #line hidden
1036 WriteLiteral("\r\n\r\n<header");
1037
1038 WriteLiteral(" class=\"header header--mobile\"");
1039
1040 WriteLiteral(">\r\n\r\n\t<div");
1041
1042 WriteLiteral(" class=\"flex items-center\"");
1043
1044 WriteLiteral(">\r\n\t\t<a");
1045
1046 WriteLiteral(" href=\"/\"");
1047
1048 WriteLiteral(" class=\"w-full mr-4 header__logo__wrapper\"");
1049
1050 WriteLiteral(">\r\n\t\t\t<img");
1051
1052 WriteLiteral(" class=\"header__logo\"");
1053
1054 WriteAttribute("src", Tuple.Create(" src=\"", 9327), Tuple.Create("\"", 9427)
1055 , Tuple.Create(Tuple.Create("", 9333), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 9333), true)
1056
1057 #line 227 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1058 , Tuple.Create(Tuple.Create("", 9367), Tuple.Create<System.Object, System.Int32>(logo
1059
1060 #line default
1061 #line hidden
1062 , 9367), false)
1063 , Tuple.Create(Tuple.Create("", 9372), Tuple.Create("&Crop=5&Format=webp&Quality=99&Compression=80&Width=400", 9372), true)
1064 );
1065
1066 WriteLiteral(" alt=\"Logo\"");
1067
1068 WriteLiteral(" width=\"400\"");
1069
1070 WriteLiteral(" height=\"200\"");
1071
1072 WriteLiteral(">\r\n\t\t</a>\r\n\r\n");
1073
1074
1075 #line 230 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1076
1077
1078 #line default
1079 #line hidden
1080 WriteLiteral("\r\n");
1081
1082
1083 #line 236 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1084 if (LanguageSwitcher.GetLanguages().Count > 1)
1085 {
1086
1087
1088 #line default
1089 #line hidden
1090 WriteLiteral("\t<div");
1091
1092 WriteLiteral(" class=\"top-toggles\"");
1093
1094 WriteLiteral(">\r\n\t\t<div");
1095
1096 WriteLiteral(" class=\"language\"");
1097
1098 WriteLiteral(">\r\n\t\t\t<div");
1099
1100 WriteLiteral(" class=\"language-dropdown\"");
1101
1102 WriteLiteral(">\r\n\t\t\t\t<button");
1103
1104 WriteLiteral(" class=\"language-dropdown__toggle\"");
1105
1106 WriteLiteral(" type=\"button\"");
1107
1108 WriteLiteral(" aria-label=\"Change language\"");
1109
1110 WriteLiteral(">\r\n\t\t\t\t\t<span");
1111
1112 WriteAttribute("class", Tuple.Create(" class=\"", 9971), Tuple.Create("\"", 10051)
1113 , Tuple.Create(Tuple.Create("", 9979), Tuple.Create("flag", 9979), true)
1114 , Tuple.Create(Tuple.Create(" ", 9983), Tuple.Create("flag-icon", 9984), true)
1115 , Tuple.Create(Tuple.Create(" ", 9993), Tuple.Create("flag-icon-", 9994), true)
1116
1117 #line 242 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1118 , Tuple.Create(Tuple.Create("", 10004), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Culture.Substring(3,2).ToLower()
1119
1120 #line default
1121 #line hidden
1122 , 10004), false)
1123 );
1124
1125 WriteLiteral("></span>\r\n\t\t\t\t\t<i");
1126
1127 WriteLiteral(" class=\"fal fa-chevron-down\"");
1128
1129 WriteLiteral("></i>\r\n\t\t\t\t</button>\r\n\t\t\t\t<ul");
1130
1131 WriteLiteral(" class=\"language-dropdown__options\"");
1132
1133 WriteLiteral(">\r\n");
1134
1135
1136 #line 246 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1137
1138
1139 #line default
1140 #line hidden
1141
1142 #line 246 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1143 foreach (var l in LanguageSwitcher.GetLanguages())
1144 {
1145 string languageName = @l.NativeName.ToString().Split('(')[0];
1146
1147
1148 #line default
1149 #line hidden
1150 WriteLiteral("<li");
1151
1152 WriteLiteral(" class=\"language-dropdown__item\"");
1153
1154 WriteLiteral(">\r\n\t\t\t\t\t\t\t<a");
1155
1156 WriteAttribute("href", Tuple.Create(" href=\'", 10352), Tuple.Create("\'", 10365)
1157
1158 #line 250 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1159 , Tuple.Create(Tuple.Create("", 10359), Tuple.Create<System.Object, System.Int32>(l.Url
1160
1161 #line default
1162 #line hidden
1163 , 10359), false)
1164 );
1165
1166 WriteAttribute("title", Tuple.Create(" title=\"", 10366), Tuple.Create("\"", 10387)
1167
1168 #line 250 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1169 , Tuple.Create(Tuple.Create("", 10374), Tuple.Create<System.Object, System.Int32>(languageName
1170
1171 #line default
1172 #line hidden
1173 , 10374), false)
1174 );
1175
1176 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<span");
1177
1178 WriteAttribute("class", Tuple.Create(" class=\"", 10404), Tuple.Create("\"", 10446)
1179 , Tuple.Create(Tuple.Create("", 10412), Tuple.Create("flag-icon", 10412), true)
1180 , Tuple.Create(Tuple.Create(" ", 10421), Tuple.Create("flag-icon-", 10422), true)
1181
1182 #line 251 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1183 , Tuple.Create(Tuple.Create("", 10432), Tuple.Create<System.Object, System.Int32>(l.CountryCode
1184
1185 #line default
1186 #line hidden
1187 , 10432), false)
1188 );
1189
1190 WriteLiteral("></span>\r\n\t\t\t\t\t\t\t\t<span");
1191
1192 WriteLiteral(" class=\"language-dropdown__item-code\"");
1193
1194 WriteLiteral(">");
1195
1196
1197 #line 252 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1198 Write(languageName);
1199
1200
1201 #line default
1202 #line hidden
1203 WriteLiteral("</span>\r\n\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t</li>\r\n");
1204
1205
1206 #line 255 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1207 }
1208
1209
1210 #line default
1211 #line hidden
1212 WriteLiteral("\t\t\t\t</ul>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n");
1213
1214
1215 #line 260 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1216 }
1217
1218
1219 #line default
1220 #line hidden
1221 WriteLiteral("\r\n\r\n");
1222
1223
1224 #line 263 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1225
1226
1227 #line default
1228 #line hidden
1229
1230 #line 263 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1231 if(enableShoppingCart) {
1232
1233
1234 #line default
1235 #line hidden
1236 WriteLiteral("\t\t\t<div");
1237
1238 WriteLiteral(" class=\"app-shopping-cart\"");
1239
1240 WriteLiteral(" data-cart-location=\"header-mobile\"");
1241
1242 WriteLiteral(" data-enable-shoppingcart=\"");
1243
1244
1245 #line 264 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1246 Write(enableShoppingCart);
1247
1248
1249 #line default
1250 #line hidden
1251 WriteLiteral("\"");
1252
1253 WriteLiteral("></div>\r\n");
1254
1255
1256 #line 265 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1257 }
1258
1259
1260 #line default
1261 #line hidden
1262 WriteLiteral("\r\n\t\t<div");
1263
1264 WriteLiteral(" id=\"hamburger\"");
1265
1266 WriteLiteral(" class=\"icon__content\"");
1267
1268 WriteLiteral(">\r\n\t\t\t<i");
1269
1270 WriteLiteral(" class=\"fal fa-bars icon\"");
1271
1272 WriteLiteral("></i>\r\n\t\t</div>\r\n\r\n\t</div>\r\n\r\n</header>\r\n\r\n<header");
1273
1274 WriteLiteral(" class=\"header header--desktop\"");
1275
1276 WriteLiteral(">\r\n\r\n");
1277
1278
1279 #line 277 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1280
1281
1282 #line default
1283 #line hidden
1284 WriteLiteral("\r\n<section");
1285
1286 WriteLiteral(" class=\"topmenu\"");
1287
1288 WriteLiteral(">\r\n\r\n\t<div");
1289
1290 WriteLiteral(" class=\"topmenu__container container\"");
1291
1292 WriteLiteral(">\r\n\r\n\t\t<ul");
1293
1294 WriteLiteral(" class=\"usp__list\"");
1295
1296 WriteLiteral(">\r\n");
1297
1298 WriteLiteral("\t\t\t");
1299
1300
1301 #line 285 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1302 Write(RenderHeaderUSP(@GetString("Item.Area.USP_1.Value"), @GetString("Item.Area.USP_1_icon.Value")));
1303
1304
1305 #line default
1306 #line hidden
1307 WriteLiteral("\r\n");
1308
1309 WriteLiteral("\t\t\t");
1310
1311
1312 #line 286 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1313 Write(RenderHeaderUSP(@GetString("Item.Area.USP_2.Value"), @GetString("Item.Area.USP_2_icon.Value")));
1314
1315
1316 #line default
1317 #line hidden
1318 WriteLiteral("\r\n");
1319
1320 WriteLiteral("\t\t\t");
1321
1322
1323 #line 287 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1324 Write(RenderHeaderUSP(@GetString("Item.Area.USP_3.Value"), @GetString("Item.Area.USP_3_icon.Value")));
1325
1326
1327 #line default
1328 #line hidden
1329 WriteLiteral("\r\n");
1330
1331 WriteLiteral("\t\t\t");
1332
1333
1334 #line 288 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1335 Write(RenderHeaderUSP(@GetString("Item.Area.USP_4.Value"), @GetString("Item.Area.USP_4_icon.Value")));
1336
1337
1338 #line default
1339 #line hidden
1340 WriteLiteral("\r\n");
1341
1342 WriteLiteral("\t\t\t");
1343
1344
1345 #line 289 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1346 Write(RenderHeaderUSP(@GetString("Item.Area.USP_5.Value"), @GetString("Item.Area.USP_5_icon.Value")));
1347
1348
1349 #line default
1350 #line hidden
1351 WriteLiteral("\r\n\t\t</ul>\r\n\r\n\t\t<section");
1352
1353 WriteLiteral(" class=\"flex flex-row\"");
1354
1355 WriteLiteral(">\r\n\r\n\t\t\t<ul");
1356
1357 WriteLiteral(" class=\"topmenu__list\"");
1358
1359 WriteLiteral(">\r\n");
1360
1361 WriteLiteral("\t\t\t\t");
1362
1363
1364 #line 295 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1365 Write(GetValue("DwNavigation(topnavigation)"));
1366
1367
1368 #line default
1369 #line hidden
1370 WriteLiteral("\r\n");
1371
1372
1373 #line 296 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1374
1375
1376 #line default
1377 #line hidden
1378
1379 #line 296 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1380 if (enableLogin)
1381 {
1382 if (Pageview.User == null)
1383 {
1384
1385
1386 #line default
1387 #line hidden
1388 WriteLiteral("\t\t\t\t\t\t<li");
1389
1390 WriteLiteral(" class=\"topmenu__item topmenu__login\"");
1391
1392 WriteLiteral(">\r\n\t\t\t\t\t\t\t<a");
1393
1394 WriteLiteral(" href=\"javascript:;\"");
1395
1396 WriteLiteral(" class=\"topmenu__link topmenu__link--login\"");
1397
1398 WriteLiteral(">");
1399
1400
1401 #line 301 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1402 Write(Translate("User.Login", "Login"));
1403
1404
1405 #line default
1406 #line hidden
1407 WriteLiteral("</a>\r\n\t\t\t\t\t\t</li>\r\n");
1408
1409
1410 #line 303 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1411 }
1412 else
1413 {
1414
1415
1416 #line default
1417 #line hidden
1418 WriteLiteral("\t\t\t\t\t\t<li");
1419
1420 WriteLiteral(" class=\"topmenu__item topmenu__login\"");
1421
1422 WriteLiteral(">\r\n\t\t\t\t\t\t\t<a");
1423
1424 WriteAttribute("href", Tuple.Create(" href=\"", 12136), Tuple.Create("\"", 12197)
1425 , Tuple.Create(Tuple.Create("", 12143), Tuple.Create("/Admin/Public/ExtranetLogoff.aspx?ID=", 12143), true)
1426
1427 #line 307 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1428 , Tuple.Create(Tuple.Create("", 12180), Tuple.Create<System.Object, System.Int32>(Pageview.Page.ID
1429
1430 #line default
1431 #line hidden
1432 , 12180), false)
1433 );
1434
1435 WriteLiteral(" class=\"topmenu__link\"");
1436
1437 WriteLiteral(">");
1438
1439
1440 #line 307 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1441 Write(Translate("User.Logout", "Logout"));
1442
1443
1444 #line default
1445 #line hidden
1446 WriteLiteral("</a>\r\n\t\t\t\t\t\t</li>\r\n");
1447
1448
1449 #line 309 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1450 }
1451 }
1452
1453
1454 #line default
1455 #line hidden
1456 WriteLiteral("\t\t\t</ul>\r\n\t\t\t\t\t\t\r\n");
1457
1458
1459 #line 313 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1460
1461
1462 #line default
1463 #line hidden
1464
1465 #line 313 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1466 if (enableDyslexicFont)
1467 {
1468
1469
1470 #line default
1471 #line hidden
1472 WriteLiteral("\t\t\t\t<div");
1473
1474 WriteLiteral(" class=\"app-font-toggle\"");
1475
1476 WriteLiteral(" data-standardfont=\"Maven Pro\"");
1477
1478 WriteLiteral("></div>\r\n");
1479
1480
1481 #line 316 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1482 }
1483
1484
1485 #line default
1486 #line hidden
1487 WriteLiteral("\r\n");
1488
1489
1490 #line 318 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1491
1492
1493 #line default
1494 #line hidden
1495 WriteLiteral("\r\n");
1496
1497
1498 #line 324 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1499 if (LanguageSwitcher.GetLanguages().Count > 1)
1500 {
1501
1502
1503 #line default
1504 #line hidden
1505 WriteLiteral("\t<div");
1506
1507 WriteLiteral(" class=\"top-toggles\"");
1508
1509 WriteLiteral(">\r\n\t\t<div");
1510
1511 WriteLiteral(" class=\"language\"");
1512
1513 WriteLiteral(">\r\n\t\t\t<div");
1514
1515 WriteLiteral(" class=\"language-dropdown\"");
1516
1517 WriteLiteral(">\r\n\t\t\t\t<button");
1518
1519 WriteLiteral(" class=\"language-dropdown__toggle\"");
1520
1521 WriteLiteral(" type=\"button\"");
1522
1523 WriteLiteral(" aria-label=\"Change language\"");
1524
1525 WriteLiteral(">\r\n\t\t\t\t\t<span");
1526
1527 WriteAttribute("class", Tuple.Create(" class=\"", 12917), Tuple.Create("\"", 12997)
1528 , Tuple.Create(Tuple.Create("", 12925), Tuple.Create("flag", 12925), true)
1529 , Tuple.Create(Tuple.Create(" ", 12929), Tuple.Create("flag-icon", 12930), true)
1530 , Tuple.Create(Tuple.Create(" ", 12939), Tuple.Create("flag-icon-", 12940), true)
1531
1532 #line 330 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1533 , Tuple.Create(Tuple.Create("", 12950), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Culture.Substring(3,2).ToLower()
1534
1535 #line default
1536 #line hidden
1537 , 12950), false)
1538 );
1539
1540 WriteLiteral("></span>\r\n\t\t\t\t\t<i");
1541
1542 WriteLiteral(" class=\"fal fa-chevron-down\"");
1543
1544 WriteLiteral("></i>\r\n\t\t\t\t</button>\r\n\t\t\t\t<ul");
1545
1546 WriteLiteral(" class=\"language-dropdown__options\"");
1547
1548 WriteLiteral(">\r\n");
1549
1550
1551 #line 334 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1552
1553
1554 #line default
1555 #line hidden
1556
1557 #line 334 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1558 foreach (var l in LanguageSwitcher.GetLanguages())
1559 {
1560 string languageName = @l.NativeName.ToString().Split('(')[0];
1561
1562
1563 #line default
1564 #line hidden
1565 WriteLiteral("<li");
1566
1567 WriteLiteral(" class=\"language-dropdown__item\"");
1568
1569 WriteLiteral(">\r\n\t\t\t\t\t\t\t<a");
1570
1571 WriteAttribute("href", Tuple.Create(" href=\'", 13298), Tuple.Create("\'", 13311)
1572
1573 #line 338 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1574 , Tuple.Create(Tuple.Create("", 13305), Tuple.Create<System.Object, System.Int32>(l.Url
1575
1576 #line default
1577 #line hidden
1578 , 13305), false)
1579 );
1580
1581 WriteAttribute("title", Tuple.Create(" title=\"", 13312), Tuple.Create("\"", 13333)
1582
1583 #line 338 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1584 , Tuple.Create(Tuple.Create("", 13320), Tuple.Create<System.Object, System.Int32>(languageName
1585
1586 #line default
1587 #line hidden
1588 , 13320), false)
1589 );
1590
1591 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<span");
1592
1593 WriteAttribute("class", Tuple.Create(" class=\"", 13350), Tuple.Create("\"", 13392)
1594 , Tuple.Create(Tuple.Create("", 13358), Tuple.Create("flag-icon", 13358), true)
1595 , Tuple.Create(Tuple.Create(" ", 13367), Tuple.Create("flag-icon-", 13368), true)
1596
1597 #line 339 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1598 , Tuple.Create(Tuple.Create("", 13378), Tuple.Create<System.Object, System.Int32>(l.CountryCode
1599
1600 #line default
1601 #line hidden
1602 , 13378), false)
1603 );
1604
1605 WriteLiteral("></span>\r\n\t\t\t\t\t\t\t\t<span");
1606
1607 WriteLiteral(" class=\"language-dropdown__item-code\"");
1608
1609 WriteLiteral(">");
1610
1611
1612 #line 340 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1613 Write(languageName);
1614
1615
1616 #line default
1617 #line hidden
1618 WriteLiteral("</span>\r\n\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t</li>\r\n");
1619
1620
1621 #line 343 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1622 }
1623
1624
1625 #line default
1626 #line hidden
1627 WriteLiteral("\t\t\t\t</ul>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n");
1628
1629
1630 #line 348 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1631 }
1632
1633
1634 #line default
1635 #line hidden
1636 WriteLiteral("\r\n\r\n");
1637
1638
1639 #line 351 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1640
1641
1642 #line default
1643 #line hidden
1644
1645 #line 351 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1646 if (enableShoppingCart)
1647 {
1648
1649
1650 #line default
1651 #line hidden
1652 WriteLiteral("\t\t\t\t<div");
1653
1654 WriteLiteral(" class=\"app-shopping-cart\"");
1655
1656 WriteLiteral(" data-cart-location=\"header-desktop\"");
1657
1658 WriteLiteral(" data-enable-shoppingcart=\"");
1659
1660
1661 #line 353 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1662 Write(enableShoppingCart);
1663
1664
1665 #line default
1666 #line hidden
1667 WriteLiteral("\"");
1668
1669 WriteLiteral("></div>\r\n");
1670
1671
1672 #line 354 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1673 }
1674
1675
1676 #line default
1677 #line hidden
1678 WriteLiteral("\r\n\t\t</section>\r\n\t\t\r\n\t</div>\r\n\r\n</section>\r\n\r\n");
1679
1680 WriteLiteral("\r\n\r\n\t<section");
1681
1682 WriteLiteral(" class=\"header__container container\"");
1683
1684 WriteLiteral(">\r\n\r\n\t\t<a");
1685
1686 WriteLiteral(" href=\"/\"");
1687
1688 WriteLiteral(" class=\"flex items-center\"");
1689
1690 WriteLiteral(">\r\n\t\t\t<img");
1691
1692 WriteLiteral(" class=\"header__logo\"");
1693
1694 WriteAttribute("src", Tuple.Create(" src=\"", 14224), Tuple.Create("\"", 14324)
1695 , Tuple.Create(Tuple.Create("", 14230), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 14230), true)
1696
1697 #line 379 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1698 , Tuple.Create(Tuple.Create("", 14264), Tuple.Create<System.Object, System.Int32>(logo
1699
1700 #line default
1701 #line hidden
1702 , 14264), false)
1703 , Tuple.Create(Tuple.Create("", 14269), Tuple.Create("&Crop=5&Format=webp&Quality=99&Compression=80&Width=400", 14269), true)
1704 );
1705
1706 WriteLiteral(" alt=\"Logo\"");
1707
1708 WriteLiteral(" width=\"400\"");
1709
1710 WriteLiteral(" height=\"200\"");
1711
1712 WriteLiteral(">\r\n\t\t</a>\r\n\r\n");
1713
1714
1715 #line 382 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1716
1717
1718 #line default
1719 #line hidden
1720
1721 #line 382 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1722 if(enableAdvancedSearch) {
1723
1724
1725 #line default
1726 #line hidden
1727 WriteLiteral("\t\t\t<div");
1728
1729 WriteLiteral(" id=\"advanced-search\"");
1730
1731 WriteLiteral("></div>\r\n");
1732
1733
1734 #line 384 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1735 } else {
1736
1737
1738 #line default
1739 #line hidden
1740 WriteLiteral("\t\t\t<div");
1741
1742 WriteLiteral(" class=\"searchbox\"");
1743
1744 WriteLiteral(">\r\n <form");
1745
1746 WriteLiteral(" class=\"searchbox__form no-validate\"");
1747
1748 WriteLiteral(" method=\"get\"");
1749
1750 WriteLiteral(" action=\"/Default.aspx\"");
1751
1752 WriteLiteral(" autocomplete=\"off\"");
1753
1754 WriteLiteral(" role=\"search\"");
1755
1756 WriteLiteral(">\r\n <input");
1757
1758 WriteLiteral(" type=\"hidden\"");
1759
1760 WriteLiteral(" name=\"ID\"");
1761
1762 WriteAttribute("value", Tuple.Create(" value=\"", 14637), Tuple.Create("\"", 14658)
1763
1764 #line 387 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1765 , Tuple.Create(Tuple.Create("", 14645), Tuple.Create<System.Object, System.Int32>(SearchPageID
1766
1767 #line default
1768 #line hidden
1769 , 14645), false)
1770 );
1771
1772 WriteLiteral(">\r\n <input");
1773
1774 WriteLiteral(" type=\"text\"");
1775
1776 WriteLiteral(" name=\"q\"");
1777
1778 WriteAttribute("value", Tuple.Create(" value=\"", 14697), Tuple.Create("\"", 14719)
1779
1780 #line 388 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1781 , Tuple.Create(Tuple.Create("", 14705), Tuple.Create<System.Object, System.Int32>(SearchPrefill
1782
1783 #line default
1784 #line hidden
1785 , 14705), false)
1786 );
1787
1788 WriteLiteral(" class=\"input form__input input--text searchbox__input\"");
1789
1790 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 14775), Tuple.Create("\"", 14807)
1791
1792 #line 388 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1793 , Tuple.Create(Tuple.Create("", 14789), Tuple.Create<System.Object, System.Int32>(SearchPlaceholder
1794
1795 #line default
1796 #line hidden
1797 , 14789), false)
1798 );
1799
1800 WriteAttribute("aria-label", Tuple.Create(" aria-label=\"", 14808), Tuple.Create("\"", 14839)
1801
1802 #line 388 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1803 , Tuple.Create(Tuple.Create("", 14821), Tuple.Create<System.Object, System.Int32>(SearchPlaceholder
1804
1805 #line default
1806 #line hidden
1807 , 14821), false)
1808 );
1809
1810 WriteLiteral(" data-placeholder=\"");
1811
1812
1813 #line 388 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1814 Write(SearchPlaceholder);
1815
1816
1817 #line default
1818 #line hidden
1819 WriteLiteral("\"");
1820
1821 WriteLiteral(" data-hoverplaceholder=\"");
1822
1823
1824 #line 388 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1825 Write(SearchPlaceholderHover);
1826
1827
1828 #line default
1829 #line hidden
1830 WriteLiteral("\"");
1831
1832 WriteLiteral(">\r\n <div");
1833
1834 WriteLiteral(" class=\"searchbox__button\"");
1835
1836 WriteLiteral(">\r\n <button");
1837
1838 WriteLiteral(" type=\"submit\"");
1839
1840 WriteLiteral(" class=\"searchbox__form__submit icon icon--medium icon__search input__icon\"");
1841
1842 WriteLiteral(" aria-label=\"Search\"");
1843
1844 WriteLiteral(">\r\n <i");
1845
1846 WriteLiteral(" class=\"fal fa-search\"");
1847
1848 WriteLiteral("></i>\r\n </button>\r\n </div>\r\n </form>\r\n</div>\r\n");
1849
1850
1851 #line 396 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1852 }
1853
1854
1855 #line default
1856 #line hidden
1857 WriteLiteral("\r\n\t\t<div");
1858
1859 WriteLiteral(" class=\"header__cta\"");
1860
1861 WriteLiteral(">\r\n");
1862
1863
1864 #line 399 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1865
1866
1867 #line default
1868 #line hidden
1869
1870 #line 399 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1871 if (!isOffline)
1872 {
1873
1874
1875 #line default
1876 #line hidden
1877 WriteLiteral("\t\t\t\t<a");
1878
1879 WriteAttribute("href", Tuple.Create(" href=\"", 15277), Tuple.Create("\"", 15309)
1880 , Tuple.Create(Tuple.Create("", 15284), Tuple.Create("tel:", 15284), true)
1881
1882 #line 401 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1883 , Tuple.Create(Tuple.Create("", 15288), Tuple.Create<System.Object, System.Int32>(formattedPhonenumber
1884
1885 #line default
1886 #line hidden
1887 , 15288), false)
1888 );
1889
1890 WriteLiteral(" class=\"header__cta--phone phone-cta\"");
1891
1892 WriteLiteral(">\r\n\t\t\t\t\t<p");
1893
1894 WriteLiteral(" class=\"phone-cta__number\"");
1895
1896 WriteLiteral("><i");
1897
1898 WriteLiteral(" class=\"fas fa-phone-alt\"");
1899
1900 WriteLiteral("></i>");
1901
1902
1903 #line 402 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1904 Write(Translate("Header.CallUsOn", "Call us on"));
1905
1906
1907 #line default
1908 #line hidden
1909 WriteLiteral("<span>");
1910
1911
1912 #line 402 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1913 Write(phonenumber);
1914
1915
1916 #line default
1917 #line hidden
1918 WriteLiteral("</span></p>\r\n\t\t\t\t\t<div");
1919
1920 WriteLiteral(" class=\"phone-cta__availability__wrapper\"");
1921
1922 WriteLiteral(">\r\n\t\t\t\t\t\t<i");
1923
1924 WriteLiteral(" class=\"fas fa-circle phone-cta__availability__icon\"");
1925
1926 WriteLiteral("></i>\r\n\t\t\t\t\t\t<p");
1927
1928 WriteLiteral(" class=\"phone-cta__availability__description\"");
1929
1930 WriteLiteral(">");
1931
1932
1933 #line 405 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1934 Write(Translate("Header.AvailableUntill", "We are available until"));
1935
1936
1937 #line default
1938 #line hidden
1939 WriteLiteral(" ");
1940
1941
1942 #line 405 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1943 Write(availableToHour);
1944
1945
1946 #line default
1947 #line hidden
1948 WriteLiteral("</p>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</a>\r\n");
1949
1950
1951 #line 408 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1952 }
1953 else
1954 {
1955
1956
1957 #line default
1958 #line hidden
1959 WriteLiteral("\t\t\t\t<div");
1960
1961 WriteLiteral(" class=\"header__cta--callmeback callmeback-cta\"");
1962
1963 WriteLiteral(">\r\n\t\t\t\t\t<a");
1964
1965 WriteAttribute("href", Tuple.Create(" href=\"", 15858), Tuple.Create("\"", 15884)
1966
1967 #line 412 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1968 , Tuple.Create(Tuple.Create("", 15865), Tuple.Create<System.Object, System.Int32>(callmebackformlink
1969
1970 #line default
1971 #line hidden
1972 , 15865), false)
1973 );
1974
1975 WriteLiteral(" class=\"btn default-btn btn__outline btn--callmeback\"");
1976
1977 WriteLiteral(">\r\n\t\t\t\t\t\t<span");
1978
1979 WriteLiteral(" class=\"btn__text\"");
1980
1981 WriteLiteral(">");
1982
1983
1984 #line 413 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1985 Write(Translate("Header.CallMeBack", "Call me back"));
1986
1987
1988 #line default
1989 #line hidden
1990 WriteLiteral("</span>\r\n\t\t\t\t\t\t<i");
1991
1992 WriteLiteral(" class=\"btn__icon fas fa-phone\"");
1993
1994 WriteLiteral("></i>\r\n\t\t\t\t\t</a>\r\n\t\t\t\t</div>\r\n");
1995
1996
1997 #line 417 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
1998 }
1999
2000
2001 #line default
2002 #line hidden
2003 WriteLiteral("\t\t</div>\r\n\r\n\t</section>\r\n\r\n</header>\r\n\r\n<nav>\r\n");
2004
2005
2006 #line 425 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2007
2008
2009 #line default
2010 #line hidden
2011 WriteLiteral("\r\n<section");
2012
2013 WriteLiteral(" class=\"mainmenu mainmenu__container\"");
2014
2015 WriteLiteral(">\r\n\t<header-menu");
2016
2017 WriteLiteral(" id=\"header-menu\"");
2018
2019 WriteLiteral(" data-enable-quickorder=\"");
2020
2021
2022 #line 432 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2023 Write(enableQuickOrder);
2024
2025
2026 #line default
2027 #line hidden
2028 WriteLiteral("\"");
2029
2030 WriteLiteral(">\r\n\t\t<!-- Fall back menu for non vue-->\r\n\t\t<div");
2031
2032 WriteLiteral(" class=\"container\"");
2033
2034 WriteLiteral(">\r\n\t\t\t<ul");
2035
2036 WriteLiteral(" class=\"mainmenu__list h-full\"");
2037
2038 WriteLiteral(">\r\n");
2039
2040 WriteLiteral("\t\t\t\t");
2041
2042
2043 #line 436 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2044 Write(GetValue("DwNavigation(mainmenu)"));
2045
2046
2047 #line default
2048 #line hidden
2049 WriteLiteral("\r\n");
2050
2051
2052 #line 437 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2053
2054
2055 #line default
2056 #line hidden
2057
2058 #line 437 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2059 if(enableQuickOrder)
2060 {
2061
2062
2063 #line default
2064 #line hidden
2065 WriteLiteral("\t\t\t\t\t<li");
2066
2067 WriteLiteral(" class=\"mainmenu__item quickorder__toggle\"");
2068
2069 WriteLiteral(">\r\n\t\t\t\t\t\t<button");
2070
2071 WriteLiteral(" class=\"mainmenu__link\"");
2072
2073 WriteLiteral(">Quick Order</button>\r\n\t\t\t\t\t</li>\r\n");
2074
2075
2076 #line 442 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2077 }
2078
2079
2080 #line default
2081 #line hidden
2082 WriteLiteral("\t\t\t</ul>\r\n\t\t</div>\r\n\t</header-menu>\r\n</section>\r\n\r\n</nav>\r\n\r\n\r\n<!-- DO NOT REMOVE" +
2083 " -->\r\n<div");
2084
2085 WriteLiteral(" id=\"quick-order\"");
2086
2087 WriteLiteral("></div>\r\n<div");
2088
2089 WriteLiteral(" id=\"backdrop-megamenu\"");
2090
2091 WriteLiteral("></div>\r\n<mega-menu");
2092
2093 WriteLiteral(" id=\"mega-menu\"");
2094
2095 WriteLiteral("></mega-menu>\r\n<!-- DO NOT REMOVE -->\r\n\r\n");
2096
2097
2098 #line 457 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2099
2100
2101 #line default
2102 #line hidden
2103 WriteLiteral("\r\n");
2104
2105
2106 #line 460 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2107
2108 // cp = currentpage
2109 var cp_default = Dynamicweb.Context.Current.Items["defaultActive"];
2110 var cp_productOverview = Dynamicweb.Context.Current.Items["productOverviewActive"];
2111 var cp_productDetail = Dynamicweb.Context.Current.Items["productDetailActive"];
2112 string stickyHeaderCTAText = GetString("Item.Area.Sticky_header_cta_text");
2113 string stickyHeaderCTALink = GetString("Item.Area.Sticky_header_cta_link");
2114
2115 string stickyHeaderCTAIcon = GetString("Item.Area.Sticky_header_cta_icon");
2116 string stickyHeaderCTAIconClass = (!string.IsNullOrWhiteSpace(stickyHeaderCTAIcon)) ? stickyHeaderCTAIcon : "fal fa-shopping-cart";
2117
2118
2119 #line default
2120 #line hidden
2121 WriteLiteral("\r\n\r\n<section");
2122
2123 WriteLiteral(" class=\"stickymenu flex\"");
2124
2125 WriteLiteral(">\r\n\r\n\t<!-- Sticky menu - Desktop -->\r\n\t<div");
2126
2127 WriteLiteral(" class=\"hidden lg:flex container justify-between items-center\"");
2128
2129 WriteLiteral(">\r\n\t\t<div");
2130
2131 WriteLiteral(" class=\"mr-4 inline-block\"");
2132
2133 WriteLiteral(">\r\n\t\t\t<a");
2134
2135 WriteLiteral(" href=\"/\"");
2136
2137 WriteLiteral(" class=\"flex items-center\"");
2138
2139 WriteLiteral(">\r\n\t\t\t\t<img");
2140
2141 WriteLiteral(" class=\"header__logo--sticky\"");
2142
2143 WriteAttribute("src", Tuple.Create(" src=\"", 18092), Tuple.Create("\"", 18103)
2144
2145 #line 478 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2146 , Tuple.Create(Tuple.Create("", 18098), Tuple.Create<System.Object, System.Int32>(logo
2147
2148 #line default
2149 #line hidden
2150 , 18098), false)
2151 );
2152
2153 WriteLiteral(" alt=\"Logo\"");
2154
2155 WriteLiteral(" width=\"200\"");
2156
2157 WriteLiteral(" height=\"50\"");
2158
2159 WriteLiteral(">\r\n\t\t\t</a>\r\n\t\t</div>\r\n\r\n");
2160
2161
2162 #line 482 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2163
2164
2165 #line default
2166 #line hidden
2167
2168 #line 482 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2169 if (cp_productDetail != null && (bool)cp_productDetail)
2170 {
2171
2172
2173 #line default
2174 #line hidden
2175
2176 #line 484 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2177 Write(RenderSnippet("ProductDetailHeaderDesktop"));
2178
2179
2180 #line default
2181 #line hidden
2182
2183 #line 484 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2184
2185 }
2186 else if (cp_productOverview != null && (bool)cp_productOverview)
2187 {
2188
2189
2190 #line default
2191 #line hidden
2192 WriteLiteral("\t\t\t<div");
2193
2194 WriteLiteral(" class=\"searchbox\"");
2195
2196 WriteLiteral(">\r\n <form");
2197
2198 WriteLiteral(" class=\"searchbox__form no-validate\"");
2199
2200 WriteLiteral(" method=\"get\"");
2201
2202 WriteLiteral(" action=\"/Default.aspx\"");
2203
2204 WriteLiteral(" autocomplete=\"off\"");
2205
2206 WriteLiteral(" role=\"search\"");
2207
2208 WriteLiteral(">\r\n <input");
2209
2210 WriteLiteral(" type=\"hidden\"");
2211
2212 WriteLiteral(" name=\"ID\"");
2213
2214 WriteAttribute("value", Tuple.Create(" value=\"", 18538), Tuple.Create("\"", 18559)
2215
2216 #line 490 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2217 , Tuple.Create(Tuple.Create("", 18546), Tuple.Create<System.Object, System.Int32>(SearchPageID
2218
2219 #line default
2220 #line hidden
2221 , 18546), false)
2222 );
2223
2224 WriteLiteral(">\r\n <input");
2225
2226 WriteLiteral(" type=\"text\"");
2227
2228 WriteLiteral(" name=\"q\"");
2229
2230 WriteAttribute("value", Tuple.Create(" value=\"", 18598), Tuple.Create("\"", 18620)
2231
2232 #line 491 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2233 , Tuple.Create(Tuple.Create("", 18606), Tuple.Create<System.Object, System.Int32>(SearchPrefill
2234
2235 #line default
2236 #line hidden
2237 , 18606), false)
2238 );
2239
2240 WriteLiteral(" class=\"input form__input input--text searchbox__input\"");
2241
2242 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 18676), Tuple.Create("\"", 18708)
2243
2244 #line 491 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2245 , Tuple.Create(Tuple.Create("", 18690), Tuple.Create<System.Object, System.Int32>(SearchPlaceholder
2246
2247 #line default
2248 #line hidden
2249 , 18690), false)
2250 );
2251
2252 WriteAttribute("aria-label", Tuple.Create(" aria-label=\"", 18709), Tuple.Create("\"", 18740)
2253
2254 #line 491 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2255 , Tuple.Create(Tuple.Create("", 18722), Tuple.Create<System.Object, System.Int32>(SearchPlaceholder
2256
2257 #line default
2258 #line hidden
2259 , 18722), false)
2260 );
2261
2262 WriteLiteral(" data-placeholder=\"");
2263
2264
2265 #line 491 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2266 Write(SearchPlaceholder);
2267
2268
2269 #line default
2270 #line hidden
2271 WriteLiteral("\"");
2272
2273 WriteLiteral(" data-hoverplaceholder=\"");
2274
2275
2276 #line 491 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2277 Write(SearchPlaceholderHover);
2278
2279
2280 #line default
2281 #line hidden
2282 WriteLiteral("\"");
2283
2284 WriteLiteral(">\r\n <div");
2285
2286 WriteLiteral(" class=\"searchbox__button\"");
2287
2288 WriteLiteral(">\r\n <button");
2289
2290 WriteLiteral(" type=\"submit\"");
2291
2292 WriteLiteral(" class=\"searchbox__form__submit icon icon--medium icon__search input__icon\"");
2293
2294 WriteLiteral(" aria-label=\"Search\"");
2295
2296 WriteLiteral(">\r\n <i");
2297
2298 WriteLiteral(" class=\"fal fa-search\"");
2299
2300 WriteLiteral("></i>\r\n </button>\r\n </div>\r\n </form>\r\n</div>\r\n");
2301
2302
2303 #line 499 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2304
2305 if(@enableShoppingCart) {
2306
2307
2308 #line default
2309 #line hidden
2310 WriteLiteral("\t\t\t\t<div");
2311
2312 WriteLiteral(" class=\"app-shopping-cart\"");
2313
2314 WriteLiteral(" data-cart-location=\"sticky-desktop\"");
2315
2316 WriteLiteral(" data-enable-shoppingcart=\"");
2317
2318
2319 #line 501 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2320 Write(enableShoppingCart);
2321
2322
2323 #line default
2324 #line hidden
2325 WriteLiteral("\"");
2326
2327 WriteLiteral("></div>\r\n");
2328
2329
2330 #line 502 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2331 }
2332 }
2333 else
2334 {
2335
2336 if (!string.IsNullOrWhiteSpace(stickyHeaderCTAText))
2337 {
2338
2339
2340 #line default
2341 #line hidden
2342 WriteLiteral("\t\t\t\t<a");
2343
2344 WriteAttribute("href", Tuple.Create(" href=\"", 19362), Tuple.Create("\"", 19389)
2345
2346 #line 509 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2347 , Tuple.Create(Tuple.Create("", 19369), Tuple.Create<System.Object, System.Int32>(stickyHeaderCTALink
2348
2349 #line default
2350 #line hidden
2351 , 19369), false)
2352 );
2353
2354 WriteLiteral(" class=\"btn default-btn stickymenu__cta-btn\"");
2355
2356 WriteLiteral(">\r\n\t\t\t\t\t<span");
2357
2358 WriteLiteral(" class=\"btn__text stickymenu__cta-btn-label\"");
2359
2360 WriteLiteral(">");
2361
2362
2363 #line 510 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2364 Write(stickyHeaderCTAText);
2365
2366
2367 #line default
2368 #line hidden
2369 WriteLiteral("</span>\r\n\t\t\t\t\t<i");
2370
2371 WriteAttribute("class", Tuple.Create(" class=\"", 19529), Tuple.Create("\"", 19597)
2372 , Tuple.Create(Tuple.Create("", 19537), Tuple.Create("btn__icon", 19537), true)
2373
2374 #line 511 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2375 , Tuple.Create(Tuple.Create(" ", 19546), Tuple.Create<System.Object, System.Int32>(stickyHeaderCTAIconClass
2376
2377 #line default
2378 #line hidden
2379 , 19547), false)
2380 , Tuple.Create(Tuple.Create(" ", 19572), Tuple.Create("stickymenu__cta-btn-icon", 19573), true)
2381 );
2382
2383 WriteLiteral("></i>\r\n\t\t\t\t</a>\r\n");
2384
2385
2386 #line 513 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2387 }
2388
2389
2390
2391 #line default
2392 #line hidden
2393 WriteLiteral("\t\t\t<div");
2394
2395 WriteLiteral(" class=\"header__cta\"");
2396
2397 WriteLiteral(">\r\n");
2398
2399
2400 #line 516 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2401
2402
2403 #line default
2404 #line hidden
2405
2406 #line 516 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2407 if (!isOffline)
2408 {
2409
2410
2411 #line default
2412 #line hidden
2413 WriteLiteral("\t\t\t\t\t<a");
2414
2415 WriteAttribute("href", Tuple.Create(" href=\"", 19689), Tuple.Create("\"", 19721)
2416 , Tuple.Create(Tuple.Create("", 19696), Tuple.Create("tel:", 19696), true)
2417
2418 #line 518 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2419 , Tuple.Create(Tuple.Create("", 19700), Tuple.Create<System.Object, System.Int32>(formattedPhonenumber
2420
2421 #line default
2422 #line hidden
2423 , 19700), false)
2424 );
2425
2426 WriteLiteral(" class=\"header__cta--phone phone-cta phone-cta--compact\"");
2427
2428 WriteLiteral(">\r\n\t\t\t\t\t\t<p");
2429
2430 WriteLiteral(" class=\"phone-cta__number\"");
2431
2432 WriteLiteral("><i");
2433
2434 WriteLiteral(" class=\"fas fa-phone-alt\"");
2435
2436 WriteLiteral("></i><span>");
2437
2438
2439 #line 519 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2440 Write(phonenumber);
2441
2442
2443 #line default
2444 #line hidden
2445 WriteLiteral("</span></p>\r\n\t\t\t\t\t\t<p");
2446
2447 WriteLiteral(" class=\"phone-cta__availability__description\"");
2448
2449 WriteLiteral("><i");
2450
2451 WriteLiteral(" class=\"fas fa-circle phone-cta__availability__icon\"");
2452
2453 WriteLiteral("></i>");
2454
2455
2456 #line 520 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2457 Write(Translate("Header.Available", "Available"));
2458
2459
2460 #line default
2461 #line hidden
2462 WriteLiteral("</p>\r\n\t\t\t\t\t</a>\r\n");
2463
2464
2465 #line 522 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2466 }
2467 else
2468 {
2469
2470
2471 #line default
2472 #line hidden
2473 WriteLiteral("\t\t\t\t\t<div");
2474
2475 WriteLiteral(" class=\"header__cta--callmeback callmeback-cta\"");
2476
2477 WriteLiteral(">\r\n\t\t\t\t\t\t<a");
2478
2479 WriteAttribute("href", Tuple.Create(" href=\"", 20143), Tuple.Create("\"", 20169)
2480
2481 #line 526 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2482 , Tuple.Create(Tuple.Create("", 20150), Tuple.Create<System.Object, System.Int32>(callmebackformlink
2483
2484 #line default
2485 #line hidden
2486 , 20150), false)
2487 );
2488
2489 WriteLiteral(" class=\"btn default-btn btn__outline btn--callmeback\"");
2490
2491 WriteLiteral(">\r\n\t\t\t\t\t\t\t<span");
2492
2493 WriteLiteral(" class=\"btn__text\"");
2494
2495 WriteLiteral(">");
2496
2497
2498 #line 527 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2499 Write(Translate("Header.CallMeBack", "Call me back"));
2500
2501
2502 #line default
2503 #line hidden
2504 WriteLiteral("</span>\r\n\t\t\t\t\t\t\t<i");
2505
2506 WriteLiteral(" class=\"btn__icon fas fa-phone\"");
2507
2508 WriteLiteral("></i>\r\n\t\t\t\t\t\t</a>\r\n\t\t\t\t\t</div>\r\n");
2509
2510
2511 #line 531 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2512 }
2513
2514
2515 #line default
2516 #line hidden
2517 WriteLiteral("\t\t\t</div>\r\n");
2518
2519
2520 #line 533 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2521
2522 if(@enableShoppingCart) {
2523
2524
2525 #line default
2526 #line hidden
2527 WriteLiteral("\t\t\t\t<div");
2528
2529 WriteLiteral(" class=\"app-shopping-cart\"");
2530
2531 WriteLiteral(" data-cart-location=\"sticky-desktop\"");
2532
2533 WriteLiteral(" data-enable-shoppingcart=\"");
2534
2535
2536 #line 535 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2537 Write(enableShoppingCart);
2538
2539
2540 #line default
2541 #line hidden
2542 WriteLiteral("\"");
2543
2544 WriteLiteral("></div>\r\n");
2545
2546
2547 #line 536 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2548 }
2549 }
2550
2551
2552 #line default
2553 #line hidden
2554 WriteLiteral("\t</div>\r\n\r\n\t<!-- Sticky menu - Mobile -->\r\n\t<div");
2555
2556 WriteLiteral(" class=\"container flex lg:hidden justify-between items-center p-2\"");
2557
2558 WriteLiteral(">\r\n");
2559
2560
2561 #line 542 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2562
2563
2564 #line default
2565 #line hidden
2566
2567 #line 542 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2568 if (cp_productDetail != null && (bool)cp_productDetail)
2569 {
2570
2571
2572 #line default
2573 #line hidden
2574
2575 #line 544 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2576 Write(RenderSnippet("ProductDetailHeaderMobile"));
2577
2578
2579 #line default
2580 #line hidden
2581
2582 #line 544 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2583
2584 }
2585 else if (cp_productOverview != null && (bool)cp_productOverview)
2586 {
2587
2588
2589 #line default
2590 #line hidden
2591 WriteLiteral("\t\t\t<div");
2592
2593 WriteLiteral(" class=\"searchbox\"");
2594
2595 WriteLiteral(">\r\n <form");
2596
2597 WriteLiteral(" class=\"searchbox__form no-validate\"");
2598
2599 WriteLiteral(" method=\"get\"");
2600
2601 WriteLiteral(" action=\"/Default.aspx\"");
2602
2603 WriteLiteral(" autocomplete=\"off\"");
2604
2605 WriteLiteral(" role=\"search\"");
2606
2607 WriteLiteral(">\r\n <input");
2608
2609 WriteLiteral(" type=\"hidden\"");
2610
2611 WriteLiteral(" name=\"ID\"");
2612
2613 WriteAttribute("value", Tuple.Create(" value=\"", 21063), Tuple.Create("\"", 21084)
2614
2615 #line 550 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2616 , Tuple.Create(Tuple.Create("", 21071), Tuple.Create<System.Object, System.Int32>(SearchPageID
2617
2618 #line default
2619 #line hidden
2620 , 21071), false)
2621 );
2622
2623 WriteLiteral(">\r\n <input");
2624
2625 WriteLiteral(" type=\"text\"");
2626
2627 WriteLiteral(" name=\"q\"");
2628
2629 WriteAttribute("value", Tuple.Create(" value=\"", 21123), Tuple.Create("\"", 21145)
2630
2631 #line 551 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2632 , Tuple.Create(Tuple.Create("", 21131), Tuple.Create<System.Object, System.Int32>(SearchPrefill
2633
2634 #line default
2635 #line hidden
2636 , 21131), false)
2637 );
2638
2639 WriteLiteral(" class=\"input form__input input--text searchbox__input\"");
2640
2641 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 21201), Tuple.Create("\"", 21233)
2642
2643 #line 551 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2644 , Tuple.Create(Tuple.Create("", 21215), Tuple.Create<System.Object, System.Int32>(SearchPlaceholder
2645
2646 #line default
2647 #line hidden
2648 , 21215), false)
2649 );
2650
2651 WriteAttribute("aria-label", Tuple.Create(" aria-label=\"", 21234), Tuple.Create("\"", 21265)
2652
2653 #line 551 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2654 , Tuple.Create(Tuple.Create("", 21247), Tuple.Create<System.Object, System.Int32>(SearchPlaceholder
2655
2656 #line default
2657 #line hidden
2658 , 21247), false)
2659 );
2660
2661 WriteLiteral(" data-placeholder=\"");
2662
2663
2664 #line 551 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2665 Write(SearchPlaceholder);
2666
2667
2668 #line default
2669 #line hidden
2670 WriteLiteral("\"");
2671
2672 WriteLiteral(" data-hoverplaceholder=\"");
2673
2674
2675 #line 551 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2676 Write(SearchPlaceholderHover);
2677
2678
2679 #line default
2680 #line hidden
2681 WriteLiteral("\"");
2682
2683 WriteLiteral(">\r\n <div");
2684
2685 WriteLiteral(" class=\"searchbox__button\"");
2686
2687 WriteLiteral(">\r\n <button");
2688
2689 WriteLiteral(" type=\"submit\"");
2690
2691 WriteLiteral(" class=\"searchbox__form__submit icon icon--medium icon__search input__icon\"");
2692
2693 WriteLiteral(" aria-label=\"Search\"");
2694
2695 WriteLiteral(">\r\n <i");
2696
2697 WriteLiteral(" class=\"fal fa-search\"");
2698
2699 WriteLiteral("></i>\r\n </button>\r\n </div>\r\n </form>\r\n</div>\r\n");
2700
2701
2702 #line 559 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2703 }
2704 else
2705 {
2706 if (!string.IsNullOrWhiteSpace(stickyHeaderCTAText))
2707 {
2708
2709
2710 #line default
2711 #line hidden
2712 WriteLiteral("\t\t\t\t<a");
2713
2714 WriteAttribute("href", Tuple.Create(" href=\"", 21721), Tuple.Create("\"", 21748)
2715
2716 #line 564 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2717 , Tuple.Create(Tuple.Create("", 21728), Tuple.Create<System.Object, System.Int32>(stickyHeaderCTALink
2718
2719 #line default
2720 #line hidden
2721 , 21728), false)
2722 );
2723
2724 WriteLiteral(" class=\"btn default-btn stickymenu__cta-btn\"");
2725
2726 WriteLiteral(">\r\n\t\t\t\t\t<span");
2727
2728 WriteLiteral(" class=\"btn__text stickymenu__cta-btn-label\"");
2729
2730 WriteLiteral(">");
2731
2732
2733 #line 565 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2734 Write(stickyHeaderCTAText);
2735
2736
2737 #line default
2738 #line hidden
2739 WriteLiteral("</span>\r\n\t\t\t\t\t<i");
2740
2741 WriteAttribute("class", Tuple.Create(" class=\"", 21888), Tuple.Create("\"", 21956)
2742 , Tuple.Create(Tuple.Create("", 21896), Tuple.Create("btn__icon", 21896), true)
2743
2744 #line 566 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2745 , Tuple.Create(Tuple.Create(" ", 21905), Tuple.Create<System.Object, System.Int32>(stickyHeaderCTAIconClass
2746
2747 #line default
2748 #line hidden
2749 , 21906), false)
2750 , Tuple.Create(Tuple.Create(" ", 21931), Tuple.Create("stickymenu__cta-btn-icon", 21932), true)
2751 );
2752
2753 WriteLiteral("></i>\r\n\t\t\t\t</a>\r\n");
2754
2755
2756 #line 568 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2757 } else {
2758 // Empty element to fix justify-between alignment
2759
2760
2761 #line default
2762 #line hidden
2763 WriteLiteral("\t\t\t\t<span></span>\r\n");
2764
2765
2766 #line 571 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2767 }
2768 }
2769
2770
2771 #line default
2772 #line hidden
2773 WriteLiteral("\t\t<div");
2774
2775 WriteLiteral(" id=\"sticky-hamburger\"");
2776
2777 WriteLiteral(" class=\"icon__content\"");
2778
2779 WriteLiteral(">\r\n\t\t\t<i");
2780
2781 WriteLiteral(" class=\"fal fa-bars icon\"");
2782
2783 WriteLiteral("></i>\r\n\t\t</div>\r\n\t</div>\r\n</section>\r\n\r\n");
2784
2785
2786 #line 579 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2787
2788
2789 #line default
2790 #line hidden
2791 WriteLiteral("\r\n");
2792
2793
2794 #line 583 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2795
2796 var pid = ModuleOnlyParagraph.GetParagraphIDByTag<ModuleOnlyParagraph>("SideBarForm", Pageview.AreaID);
2797
2798 if (pid > 0)
2799 {
2800
2801
2802 #line default
2803 #line hidden
2804 WriteLiteral("\t\t<section");
2805
2806 WriteLiteral(" id=\"vue-side-bar-form\"");
2807
2808 WriteLiteral(" data-paragraphid=\"");
2809
2810
2811 #line 588 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2812 Write(pid);
2813
2814
2815 #line default
2816 #line hidden
2817 WriteLiteral("\"");
2818
2819 WriteLiteral(" data-telephone=\"");
2820
2821
2822 #line 588 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2823 Write(phonenumber);
2824
2825
2826 #line default
2827 #line hidden
2828 WriteLiteral("\"");
2829
2830 WriteLiteral(" data-formatphonenumber=\"");
2831
2832
2833 #line 588 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2834 Write(formattedPhonenumber);
2835
2836
2837 #line default
2838 #line hidden
2839 WriteLiteral("\"");
2840
2841 WriteLiteral(" data-isoffline=\"");
2842
2843
2844 #line 588 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2845 Write(isOffline);
2846
2847
2848 #line default
2849 #line hidden
2850 WriteLiteral("\"");
2851
2852 WriteLiteral("></section>\r\n");
2853
2854
2855 #line 589 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2856 }
2857
2858
2859 #line default
2860 #line hidden
2861 WriteLiteral("\r\n\r\n");
2862
2863
2864 #line 592 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2865
2866
2867 #line default
2868 #line hidden
2869
2870 #line 592 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2871 if(@enableProductCompare)
2872 {
2873
2874
2875 #line default
2876 #line hidden
2877 WriteLiteral("\t\t<div");
2878
2879 WriteLiteral(" id=\"vue-compare-list\"");
2880
2881 WriteLiteral("></div>\r\n");
2882
2883
2884 #line 595 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2885 }
2886
2887
2888 #line default
2889 #line hidden
2890 WriteLiteral("\r\n\t<style>\r\n\t\tmain.blur {\r\n\t\t\tfilter: grayscale(50%) blur(15px);\r\n\t\t\t-webkit-filt" +
2891 "er: grayscale(50%) blur(15px);\r\n\t\t}\r\n\t</style>\r\n\r\n\t<main>\r\n");
2892
2893
2894 #line 605 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2895
2896
2897 #line default
2898 #line hidden
2899 WriteLiteral("\r\n\r\n\r\n");
2900
2901 WriteLiteral("\r\n");
2902
2903
2904 #line 618 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2905
2906 var ogLocale = GetString("LongLang").Replace("-", "_");
2907 var ogSiteName = GetString("Item.Area.CompanyName");
2908 var ogurl = string.Format("{0}{1}", httpdomain, GetGlobalValue("Global:Pageview.Url"));
2909 var ogtitle = GetString("Title");
2910 var ogdesc = GetString("Meta.Description");
2911 var ogDefaultImg = GetString("Item.Area.DefaultOGImage");
2912 var ogImg = !string.IsNullOrWhiteSpace(ogDefaultImg) ? string.Format("{0}{1}", httpdomain, ogDefaultImg) : "";
2913
2914
2915 #line default
2916 #line hidden
2917 WriteLiteral("\r\n\r\n");
2918
2919
2920 #line 628 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2921 Write(SnippetStart("ogTags"));
2922
2923
2924 #line default
2925 #line hidden
2926 WriteLiteral("\r\n <meta");
2927
2928 WriteLiteral(" property=\"og:locale\"");
2929
2930 WriteAttribute("content", Tuple.Create(" content=\"", 23901), Tuple.Create("\"", 23920)
2931
2932 #line 629 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2933 , Tuple.Create(Tuple.Create("", 23911), Tuple.Create<System.Object, System.Int32>(ogLocale
2934
2935 #line default
2936 #line hidden
2937 , 23911), false)
2938 );
2939
2940 WriteLiteral(">\r\n <meta");
2941
2942 WriteLiteral(" property=\"og:site_name\"");
2943
2944 WriteAttribute("content", Tuple.Create(" content=\"", 23957), Tuple.Create("\"", 23978)
2945
2946 #line 630 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2947 , Tuple.Create(Tuple.Create("", 23967), Tuple.Create<System.Object, System.Int32>(ogSiteName
2948
2949 #line default
2950 #line hidden
2951 , 23967), false)
2952 );
2953
2954 WriteLiteral(">\r\n <meta");
2955
2956 WriteLiteral(" property=\"og:url\"");
2957
2958 WriteAttribute("content", Tuple.Create(" content=\"", 24009), Tuple.Create("\"", 24025)
2959
2960 #line 631 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2961 , Tuple.Create(Tuple.Create("", 24019), Tuple.Create<System.Object, System.Int32>(ogurl
2962
2963 #line default
2964 #line hidden
2965 , 24019), false)
2966 );
2967
2968 WriteLiteral(">\r\n <meta");
2969
2970 WriteLiteral(" property=\"og:type\"");
2971
2972 WriteLiteral(" content=\"website\"");
2973
2974 WriteLiteral(">\r\n <meta");
2975
2976 WriteLiteral(" property=\"og:title\"");
2977
2978 WriteAttribute("content", Tuple.Create(" content=\"", 24107), Tuple.Create("\"", 24125)
2979
2980 #line 633 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2981 , Tuple.Create(Tuple.Create("", 24117), Tuple.Create<System.Object, System.Int32>(ogtitle
2982
2983 #line default
2984 #line hidden
2985 , 24117), false)
2986 );
2987
2988 WriteLiteral(">\r\n <meta");
2989
2990 WriteLiteral(" property=\"og:description\"");
2991
2992 WriteAttribute("content", Tuple.Create(" content=\"", 24164), Tuple.Create("\"", 24181)
2993
2994 #line 634 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
2995 , Tuple.Create(Tuple.Create("", 24174), Tuple.Create<System.Object, System.Int32>(ogdesc
2996
2997 #line default
2998 #line hidden
2999 , 24174), false)
3000 );
3001
3002 WriteLiteral(">\r\n <meta");
3003
3004 WriteLiteral(" property=\"og:image\"");
3005
3006 WriteAttribute("content", Tuple.Create(" content=\"", 24214), Tuple.Create("\"", 24230)
3007
3008 #line 635 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3009 , Tuple.Create(Tuple.Create("", 24224), Tuple.Create<System.Object, System.Int32>(ogImg
3010
3011 #line default
3012 #line hidden
3013 , 24224), false)
3014 );
3015
3016 WriteLiteral(">\r\n");
3017
3018
3019 #line 636 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3020 Write(SnippetEnd("ogTags"));
3021
3022
3023 #line default
3024 #line hidden
3025 WriteLiteral("\r\n\r\n");
3026
3027
3028 #line 638 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3029
3030 Boolean showBreadcrumbs = Pageview.Page.PropertyItem != null && Pageview.Page.PropertyItem["ShowBreadcrumbs"] != null ? Convert.ToBoolean(Pageview.Page.PropertyItem["ShowBreadcrumbs"]) : false;
3031
3032
3033 #line default
3034 #line hidden
3035 WriteLiteral("\r\n\r\n<section");
3036
3037 WriteLiteral(" class=\"defaultpage__content\"");
3038
3039 WriteLiteral(">\r\n");
3040
3041 WriteLiteral("\t");
3042
3043
3044 #line 643 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3045 Write(GetValue("DwContent(jumbotron)"));
3046
3047
3048 #line default
3049 #line hidden
3050 WriteLiteral("\r\n</section>\r\n\r\n");
3051
3052
3053 #line 646 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3054 if(showBreadcrumbs) {
3055
3056
3057 #line default
3058 #line hidden
3059 WriteLiteral("\t<nav");
3060
3061 WriteLiteral(" class=\"breadcrumbs\"");
3062
3063 WriteLiteral(" id=\"breadcrumbs\"");
3064
3065 WriteLiteral(">\r\n\t<span");
3066
3067 WriteLiteral(" class=\"breadcrumbs__text\"");
3068
3069 WriteLiteral(">");
3070
3071
3072 #line 648 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3073 Write(Translate("Breadcrumbs.YouAreHere", "You are here"));
3074
3075
3076 #line default
3077 #line hidden
3078 WriteLiteral("</span>\r\n");
3079
3080 WriteLiteral("\t");
3081
3082
3083 #line 649 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3084 Write(GetValue("DwNavigation(breadcrumblist)"));
3085
3086
3087 #line default
3088 #line hidden
3089 WriteLiteral("\r\n</nav>");
3090
3091
3092 #line 650 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3093 ;
3094 }
3095
3096
3097 #line default
3098 #line hidden
3099 WriteLiteral("\r\n<section");
3100
3101 WriteLiteral(" class=\"defaultpage__content\"");
3102
3103 WriteLiteral(">\r\n");
3104
3105 WriteLiteral("\t");
3106
3107
3108 #line 654 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3109 Write(GetValue("DwContent(widecontent)"));
3110
3111
3112 #line default
3113 #line hidden
3114 WriteLiteral("\r\n</section>\r\n\r\n\r\n\t</main>\r\n\r\n");
3115
3116
3117 #line 660 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3118
3119
3120 #line default
3121 #line hidden
3122 WriteLiteral("\r\n");
3123
3124
3125 #line 664 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3126
3127 string footerLogo = GetString("Item.Area.FooterLogo");
3128 string footerDescription = GetString("Item.Area.FooterDescription");
3129
3130 var fb = GetString("Item.Area.Facebook");
3131 var twitter = GetString("Item.Area.Twitter");
3132 var linkedin = GetString("Item.Area.LinkedIn");
3133 var googlePlus = GetString("Item.Area.GooglePlus");
3134 var instagram = GetString("Item.Area.Instagram");
3135 var youtube = GetString("Item.Area.Youtube");
3136 var pinterest = GetString("Item.Area.Pinterest");
3137
3138 var Emailadress = GetString("Item.Area.Emailadress");
3139 var Phonenumber = GetString("Item.Area.Phonenumber");
3140 var Address = GetString("Item.Area.Address");
3141 var Zipcode = GetString("Item.Area.Zipcode");
3142 var City = GetString("Item.Area.City");
3143 var Country = GetString("Item.Area.Country");
3144
3145 var selectedPaymentLogos = @GetString("Item.Area.FooterPaymentLogos");
3146
3147
3148 #line default
3149 #line hidden
3150 WriteLiteral("\r\n\r\n<a");
3151
3152 WriteLiteral(" href=\"javascript:void(0);\"");
3153
3154 WriteLiteral(" id=\"scroll-to-top\"");
3155
3156 WriteLiteral(" class=\"scroll-to-top\"");
3157
3158 WriteLiteral(">\r\n\t<span");
3159
3160 WriteLiteral(" class=\"scroll-to-top__text\"");
3161
3162 WriteLiteral(">\r\n");
3163
3164 WriteLiteral("\t\t");
3165
3166
3167 #line 688 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3168 Write(Translate("Naar boven", "To Top"));
3169
3170
3171 #line default
3172 #line hidden
3173 WriteLiteral("\r\n\t</span>\r\n\t<i");
3174
3175 WriteLiteral(" class=\"fal fa-arrow-to-top scroll-to-top__icon\"");
3176
3177 WriteLiteral("></i>\r\n</a>\r\n\r\n");
3178
3179 WriteLiteral("\r\n");
3180
3181
3182 #line 696 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3183 if (Pageview.Page.ParentPageId > 0)
3184 {
3185 var siblings = Dynamicweb.Content.Services.Pages.GetPagesByParentID(Pageview.Page.ParentPageId).Where(p => p.Active).ToList();
3186 var parentpageItemType = Pageview.Page.Parent.ItemType;
3187 bool isParentPageOverviewpage = parentpageItemType == "OverviewPage";
3188
3189 if (siblings.Count() > 1 && isParentPageOverviewpage)
3190 {
3191 var prevPage = siblings.OrderByDescending(p => p.Sort).FirstOrDefault(p => p.Sort < Pageview.Page.Sort);
3192 var nextPage = siblings.OrderBy(p => p.Sort).FirstOrDefault(p => p.Sort > Pageview.Page.Sort);
3193 var overview = "/Default.aspx?ID=" + Pageview.Page.ParentPageId;
3194
3195
3196
3197 #line default
3198 #line hidden
3199 WriteLiteral("\t\t<section");
3200
3201 WriteLiteral(" class=\"page-navigation\"");
3202
3203 WriteLiteral(">\r\n");
3204
3205
3206 #line 709 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3207
3208
3209 #line default
3210 #line hidden
3211
3212 #line 709 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3213 if (prevPage != null)
3214 {
3215 var back = "/Default.aspx?ID=" + prevPage.ID;
3216
3217
3218 #line default
3219 #line hidden
3220 WriteLiteral("\t\t\t\t<a");
3221
3222 WriteAttribute("href", Tuple.Create(" href=\"", 27062), Tuple.Create("\"", 27074)
3223
3224 #line 712 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3225 , Tuple.Create(Tuple.Create("", 27069), Tuple.Create<System.Object, System.Int32>(back
3226
3227 #line default
3228 #line hidden
3229 , 27069), false)
3230 );
3231
3232 WriteLiteral(" class=\"page-navigation__item\"");
3233
3234 WriteLiteral(">\r\n\t\t\t\t\t<i");
3235
3236 WriteLiteral(" class=\"fal fa-arrow-alt-to-left page-navigation__item--icon\"");
3237
3238 WriteLiteral("></i>\r\n\t\t\t\t\t<label");
3239
3240 WriteLiteral(" class=\"page-navigation__item-label\"");
3241
3242 WriteLiteral(">");
3243
3244
3245 #line 714 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3246 Write(Translate("pagenavigation.previous", "Previous"));
3247
3248
3249 #line default
3250 #line hidden
3251 WriteLiteral("</label>\r\n\t\t\t\t</a>\r\n");
3252
3253
3254 #line 716 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3255 }
3256
3257
3258 #line default
3259 #line hidden
3260 WriteLiteral("\r\n\t\t\t<a");
3261
3262 WriteAttribute("href", Tuple.Create(" href=\"", 27313), Tuple.Create("\"", 27329)
3263
3264 #line 718 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3265 , Tuple.Create(Tuple.Create("", 27320), Tuple.Create<System.Object, System.Int32>(overview
3266
3267 #line default
3268 #line hidden
3269 , 27320), false)
3270 );
3271
3272 WriteLiteral(" class=\"page-navigation__item\"");
3273
3274 WriteLiteral(">\r\n\t\t\t\t<label");
3275
3276 WriteLiteral(" class=\"page-navigation__item-label\"");
3277
3278 WriteLiteral(">");
3279
3280
3281 #line 719 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3282 Write(Translate("pagenavigation.Overview", "To overview"));
3283
3284
3285 #line default
3286 #line hidden
3287 WriteLiteral("</label>\r\n\t\t\t\t<i");
3288
3289 WriteLiteral(" class=\"fas fa-th page-navigation__item--icon\"");
3290
3291 WriteLiteral("></i>\r\n\t\t\t</a>\r\n\r\n");
3292
3293
3294 #line 723 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3295
3296
3297 #line default
3298 #line hidden
3299
3300 #line 723 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3301 if (nextPage != null)
3302 {
3303 var forward = "/Default.aspx?ID=" + nextPage.ID;
3304
3305
3306 #line default
3307 #line hidden
3308 WriteLiteral("\t\t\t\t<a");
3309
3310 WriteAttribute("href", Tuple.Create(" href=\"", 27635), Tuple.Create("\"", 27650)
3311
3312 #line 726 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3313 , Tuple.Create(Tuple.Create("", 27642), Tuple.Create<System.Object, System.Int32>(forward
3314
3315 #line default
3316 #line hidden
3317 , 27642), false)
3318 );
3319
3320 WriteLiteral(" class=\"page-navigation__item\"");
3321
3322 WriteLiteral(">\r\n\t\t\t\t\t<label");
3323
3324 WriteLiteral(" class=\"page-navigation__item-label\"");
3325
3326 WriteLiteral(">");
3327
3328
3329 #line 727 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3330 Write(Translate("pagenavigation.next", "Next"));
3331
3332
3333 #line default
3334 #line hidden
3335 WriteLiteral("</label>\r\n\t\t\t\t\t<i");
3336
3337 WriteLiteral(" class=\"fal fa-arrow-alt-to-right page-navigation__item--icon\"");
3338
3339 WriteLiteral("></i>\r\n\t\t\t\t</a>\r\n");
3340
3341
3342 #line 730 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3343 }
3344
3345
3346 #line default
3347 #line hidden
3348 WriteLiteral("\t\t</section>\r\n");
3349
3350
3351 #line 732 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3352 }
3353 }
3354
3355
3356 #line default
3357 #line hidden
3358 WriteLiteral("\r\n\r\n<footer");
3359
3360 WriteLiteral(" class=\"footer\"");
3361
3362 WriteLiteral(">\r\n\r\n");
3363
3364
3365 #line 738 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3366
3367
3368 #line default
3369 #line hidden
3370
3371 #line 738 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3372 if (!string.IsNullOrWhiteSpace(@GetString("Item.Area.USP_1.Value")) || !string.IsNullOrWhiteSpace(@GetString("Item.Area.USP_2.Value")) || !string.IsNullOrWhiteSpace(@GetString("Item.Area.USP_3.Value")))
3373 {
3374
3375
3376 #line default
3377 #line hidden
3378 WriteLiteral("\t\t<div");
3379
3380 WriteLiteral(" class=\"footer-usp__wrapper\"");
3381
3382 WriteLiteral(">\r\n\t\t\t<div");
3383
3384 WriteLiteral(" class=\"container\"");
3385
3386 WriteLiteral(">\r\n\t\t\t\t<ul");
3387
3388 WriteLiteral(" class=\"footer-usp__list flex-wrap\"");
3389
3390 WriteLiteral(">\r\n");
3391
3392 WriteLiteral("\t\t\t\t\t");
3393
3394
3395 #line 743 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3396 Write(RenderFooterUSP(@GetString("Item.Area.USP_1.Value"), @GetString("Item.Area.USP_1_icon.Value")));
3397
3398
3399 #line default
3400 #line hidden
3401 WriteLiteral("\r\n");
3402
3403 WriteLiteral("\t\t\t\t\t");
3404
3405
3406 #line 744 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3407 Write(RenderFooterUSP(@GetString("Item.Area.USP_2.Value"), @GetString("Item.Area.USP_2_icon.Value")));
3408
3409
3410 #line default
3411 #line hidden
3412 WriteLiteral("\r\n");
3413
3414 WriteLiteral("\t\t\t\t\t");
3415
3416
3417 #line 745 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3418 Write(RenderFooterUSP(@GetString("Item.Area.USP_3.Value"), @GetString("Item.Area.USP_3_icon.Value")));
3419
3420
3421 #line default
3422 #line hidden
3423 WriteLiteral("\r\n");
3424
3425 WriteLiteral("\t\t\t\t\t");
3426
3427
3428 #line 746 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3429 Write(RenderFooterUSP(@GetString("Item.Area.USP_4.Value"), @GetString("Item.Area.USP_4_icon.Value")));
3430
3431
3432 #line default
3433 #line hidden
3434 WriteLiteral("\r\n");
3435
3436 WriteLiteral("\t\t\t\t\t");
3437
3438
3439 #line 747 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3440 Write(RenderFooterUSP(@GetString("Item.Area.USP_5.Value"), @GetString("Item.Area.USP_5_icon.Value")));
3441
3442
3443 #line default
3444 #line hidden
3445 WriteLiteral("\r\n\r\n\t\t\t\t</ul>\r\n\t\t\t</div>\r\n\t\t</div>\r\n");
3446
3447
3448 #line 752 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3449 }
3450
3451
3452 #line default
3453 #line hidden
3454 WriteLiteral("\r\n");
3455
3456
3457 #line 754 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3458
3459
3460 #line default
3461 #line hidden
3462 WriteLiteral("\r\n");
3463
3464
3465 #line 757 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3466
3467 var newsletterFormID = ModuleOnlyParagraph.GetParagraphIDByTag<ModuleOnlyParagraph>("Footer.Newsletter", Pageview.AreaID);
3468
3469 if (newsletterFormID > 0)
3470 {
3471
3472
3473 #line default
3474 #line hidden
3475 WriteLiteral("\t\t<section");
3476
3477 WriteLiteral(" class=\"footer__newsletter-container\"");
3478
3479 WriteLiteral(">\r\n\t\t\t<div");
3480
3481 WriteLiteral(" class=\"container footer__newsletter\"");
3482
3483 WriteLiteral(">\r\n\t\t\t\t<label");
3484
3485 WriteLiteral(" class=\"footer__newsletter-label\"");
3486
3487 WriteLiteral(">\r\n");
3488
3489 WriteLiteral("\t\t\t\t\t");
3490
3491
3492 #line 765 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3493 Write(Translate("Footer.SignUpNewsletter", "Sign up for the digital newsletter"));
3494
3495
3496 #line default
3497 #line hidden
3498 WriteLiteral("\r\n\t\t\t\t</label>\r\n");
3499
3500 WriteLiteral("\t\t\t\t");
3501
3502
3503 #line 767 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3504 Write(RenderParagraphContent(newsletterFormID));
3505
3506
3507 #line default
3508 #line hidden
3509 WriteLiteral("\r\n\t\t\t</div>\r\n\t\t</section>\r\n");
3510
3511
3512 #line 770 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3513 }
3514
3515
3516 #line default
3517 #line hidden
3518 WriteLiteral("\r\n\r\n\r\n\t<div");
3519
3520 WriteLiteral(" class=\"footer-paymentoptions\"");
3521
3522 WriteLiteral(" data-paymentmethods=\"");
3523
3524
3525 #line 774 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3526 Write(selectedPaymentLogos);
3527
3528
3529 #line default
3530 #line hidden
3531 WriteLiteral("\"");
3532
3533 WriteLiteral("></div>\r\n\r\n\t<section");
3534
3535 WriteLiteral(" class=\"container footer__content\"");
3536
3537 WriteLiteral(">\r\n\r\n\t\t<div");
3538
3539 WriteLiteral(" class=\"footer__link\"");
3540
3541 WriteLiteral(">\r\n");
3542
3543
3544 #line 779 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3545
3546
3547 #line default
3548 #line hidden
3549
3550 #line 779 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3551
3552 var footerColumn1 = RenderNavigation(new
3553 {
3554 id = "footernavigation-1",
3555 cssclass = "dwnavigation",
3556 startLevel = 1,
3557 endlevel = 4,
3558 template = "BottomNavigation.xslt",
3559 expandmode = "all",
3560 parenttag = "footer-column-1",
3561 });
3562
3563 if (!string.IsNullOrEmpty(footerColumn1))
3564 {
3565
3566
3567 #line default
3568 #line hidden
3569 WriteLiteral("\t\t\t\t\t<h2");
3570
3571 WriteLiteral(" class=\"footer__link-header\"");
3572
3573 WriteLiteral(">");
3574
3575
3576 #line 793 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3577 Write(Translate("Footer.Column1.Header", "What you need to know"));
3578
3579
3580 #line default
3581 #line hidden
3582 WriteLiteral("</h2>\r\n");
3583
3584 WriteLiteral("\t\t\t\t\t<ul");
3585
3586 WriteLiteral(" class=\"footer__link-list\"");
3587
3588 WriteLiteral(">\r\n");
3589
3590 WriteLiteral("\t\t\t\t\t\t");
3591
3592
3593 #line 795 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3594 Write(footerColumn1);
3595
3596
3597 #line default
3598 #line hidden
3599 WriteLiteral("\r\n\t\t\t\t\t</ul>\r\n");
3600
3601
3602 #line 797 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3603 }
3604
3605
3606 #line default
3607 #line hidden
3608 WriteLiteral("\r\n\t\t</div>\r\n\t\t<div");
3609
3610 WriteLiteral(" class=\"footer__link\"");
3611
3612 WriteLiteral(">\r\n");
3613
3614
3615 #line 801 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3616
3617
3618 #line default
3619 #line hidden
3620
3621 #line 801 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3622
3623 var footerColumn2 = RenderNavigation(new
3624 {
3625 id = "footernavigation-2",
3626 cssclass = "dwnavigation",
3627 startLevel = 1,
3628 endlevel = 4,
3629 template = "BottomNavigation.xslt",
3630 expandmode = "all",
3631 parenttag = "footer-column-2",
3632 });
3633
3634 if (!string.IsNullOrEmpty(footerColumn2))
3635 {
3636
3637
3638 #line default
3639 #line hidden
3640 WriteLiteral("\t\t\t\t\t<h2");
3641
3642 WriteLiteral(" class=\"footer__link-header\"");
3643
3644 WriteLiteral(">");
3645
3646
3647 #line 815 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3648 Write(Translate("Footer.Column2.Header", "Category two"));
3649
3650
3651 #line default
3652 #line hidden
3653 WriteLiteral("</h2>\r\n");
3654
3655 WriteLiteral("\t\t\t\t\t<ul");
3656
3657 WriteLiteral(" class=\"footer__link-list\"");
3658
3659 WriteLiteral(">\r\n");
3660
3661 WriteLiteral("\t\t\t\t\t\t");
3662
3663
3664 #line 817 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3665 Write(footerColumn2);
3666
3667
3668 #line default
3669 #line hidden
3670 WriteLiteral("\r\n\t\t\t\t\t</ul>\r\n");
3671
3672
3673 #line 819 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3674 }
3675
3676
3677 #line default
3678 #line hidden
3679 WriteLiteral("\r\n\t\t</div>\r\n\t\t<div");
3680
3681 WriteLiteral(" class=\"footer__link\"");
3682
3683 WriteLiteral(">\r\n");
3684
3685
3686 #line 823 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3687
3688
3689 #line default
3690 #line hidden
3691
3692 #line 823 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3693
3694 var footerColumn3 = RenderNavigation(new
3695 {
3696 id = "footernavigation-3",
3697 cssclass = "dwnavigation",
3698 startLevel = 1,
3699 endlevel = 4,
3700 template = "BottomNavigation.xslt",
3701 expandmode = "all",
3702 parenttag = "footer-column-3",
3703 });
3704
3705 if (!string.IsNullOrEmpty(footerColumn3))
3706 {
3707
3708
3709 #line default
3710 #line hidden
3711 WriteLiteral("\t\t\t\t\t<h2");
3712
3713 WriteLiteral(" class=\"footer__link-header\"");
3714
3715 WriteLiteral(">");
3716
3717
3718 #line 837 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3719 Write(Translate("Footer.Column3.Header", "Category three"));
3720
3721
3722 #line default
3723 #line hidden
3724 WriteLiteral("</h2>\r\n");
3725
3726 WriteLiteral("\t\t\t\t\t<ul");
3727
3728 WriteLiteral(" class=\"footer__link-list\"");
3729
3730 WriteLiteral(">\r\n");
3731
3732 WriteLiteral("\t\t\t\t\t\t");
3733
3734
3735 #line 839 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3736 Write(footerColumn3);
3737
3738
3739 #line default
3740 #line hidden
3741 WriteLiteral("\r\n\t\t\t\t\t</ul>\r\n");
3742
3743
3744 #line 841 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3745 }
3746
3747
3748 #line default
3749 #line hidden
3750 WriteLiteral("\r\n\t\t</div>\r\n\t\t<div");
3751
3752 WriteLiteral(" class=\"footer__description-container\"");
3753
3754 WriteLiteral(">\r\n\t\t\t<img");
3755
3756 WriteLiteral(" class=\"footer__logo\"");
3757
3758 WriteLiteral(" loading=\"lazy\"");
3759
3760 WriteAttribute("src", Tuple.Create(" src=\"", 31337), Tuple.Create("\"", 31443)
3761 , Tuple.Create(Tuple.Create("", 31343), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 31343), true)
3762
3763 #line 845 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3764 , Tuple.Create(Tuple.Create("", 31377), Tuple.Create<System.Object, System.Int32>(footerLogo
3765
3766 #line default
3767 #line hidden
3768 , 31377), false)
3769 , Tuple.Create(Tuple.Create("", 31388), Tuple.Create("&Crop=5&Format=webp&Quality=99&Compression=80&Width=400", 31388), true)
3770 );
3771
3772 WriteLiteral(" alt=\"Footer logo\"");
3773
3774 WriteLiteral(" width=\"400\"");
3775
3776 WriteLiteral(" height=\"200\"");
3777
3778 WriteLiteral(">\r\n\r\n\t\t\t<div");
3779
3780 WriteLiteral(" class=\"footer__description\"");
3781
3782 WriteLiteral(">\r\n");
3783
3784 WriteLiteral("\t\t\t\t");
3785
3786
3787 #line 848 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3788 Write(footerDescription);
3789
3790
3791 #line default
3792 #line hidden
3793 WriteLiteral("\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t</section>\r\n\r\n\t<section");
3794
3795 WriteLiteral(" class=\"footer__copyright\"");
3796
3797 WriteLiteral(">\r\n\r\n\t\t<div");
3798
3799 WriteLiteral(" class=\"container bottombar__container\"");
3800
3801 WriteLiteral(">\r\n");
3802
3803 WriteLiteral("\t\t\t");
3804
3805
3806 #line 858 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3807 Write(GetValue("DwNavigation(bottombarnavigation)"));
3808
3809
3810 #line default
3811 #line hidden
3812 WriteLiteral("\r\n\r\n");
3813
3814
3815 #line 860 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3816
3817
3818 #line default
3819 #line hidden
3820
3821 #line 860 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3822 if (!string.IsNullOrWhiteSpace(twitter) || !string.IsNullOrWhiteSpace(fb) || !string.IsNullOrWhiteSpace(linkedin) || !string.IsNullOrWhiteSpace(youtube) || !string.IsNullOrWhiteSpace(instagram) || !string.IsNullOrWhiteSpace(pinterest))
3823 {
3824
3825
3826 #line default
3827 #line hidden
3828 WriteLiteral("\t\t\t\t<section");
3829
3830 WriteLiteral(" class=\"footer__social-container\"");
3831
3832 WriteLiteral(">\r\n\r\n\t\t\t\t\t<span");
3833
3834 WriteLiteral(" class=\"footer__icon-labels\"");
3835
3836 WriteLiteral(">");
3837
3838
3839 #line 864 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3840 Write(Translate("Footer.FollowUs", "Volg ons op:"));
3841
3842
3843 #line default
3844 #line hidden
3845 WriteLiteral("</span>\r\n\r\n\t\t\t\t\t<div");
3846
3847 WriteLiteral(" class=\"footer__social-icon-container\"");
3848
3849 WriteLiteral(">\r\n");
3850
3851
3852 #line 867 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3853
3854
3855 #line default
3856 #line hidden
3857
3858 #line 867 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3859 if (!string.IsNullOrWhiteSpace(twitter))
3860 {
3861
3862
3863 #line default
3864 #line hidden
3865 WriteLiteral("\t\t\t\t\t\t\t<a");
3866
3867 WriteAttribute("href", Tuple.Create(" href=\"", 32244), Tuple.Create("\"", 32259)
3868
3869 #line 869 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3870 , Tuple.Create(Tuple.Create("", 32251), Tuple.Create<System.Object, System.Int32>(twitter
3871
3872 #line default
3873 #line hidden
3874 , 32251), false)
3875 );
3876
3877 WriteLiteral(" target=\"_blank\"");
3878
3879 WriteLiteral(" title=\"twitter\"");
3880
3881 WriteLiteral(" class=\"footer__social\"");
3882
3883 WriteLiteral(" rel=\"noreferrer\"");
3884
3885 WriteLiteral("><i");
3886
3887 WriteLiteral(" class=\"fab fa-twitter\"");
3888
3889 WriteLiteral("></i></a>\r\n");
3890
3891
3892 #line 870 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3893 }
3894
3895
3896 #line default
3897 #line hidden
3898 WriteLiteral("\t\t\t\t\t\t");
3899
3900
3901 #line 871 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3902 if (!string.IsNullOrWhiteSpace(fb))
3903 {
3904
3905
3906 #line default
3907 #line hidden
3908 WriteLiteral("\t\t\t\t\t\t\t<a");
3909
3910 WriteAttribute("href", Tuple.Create(" href=\"", 32440), Tuple.Create("\"", 32450)
3911
3912 #line 873 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3913 , Tuple.Create(Tuple.Create("", 32447), Tuple.Create<System.Object, System.Int32>(fb
3914
3915 #line default
3916 #line hidden
3917 , 32447), false)
3918 );
3919
3920 WriteLiteral(" target=\"_blank\"");
3921
3922 WriteLiteral(" title=\"facebook\"");
3923
3924 WriteLiteral(" class=\"footer__social\"");
3925
3926 WriteLiteral(" rel=\"noreferrer\"");
3927
3928 WriteLiteral("><i");
3929
3930 WriteLiteral(" class=\"fab fa-facebook\"");
3931
3932 WriteLiteral("></i></a>\r\n");
3933
3934
3935 #line 874 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3936 }
3937
3938
3939 #line default
3940 #line hidden
3941 WriteLiteral("\t\t\t\t\t\t");
3942
3943
3944 #line 875 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3945 if (!string.IsNullOrWhiteSpace(linkedin))
3946 {
3947
3948
3949 #line default
3950 #line hidden
3951 WriteLiteral("\t\t\t\t\t\t\t<a");
3952
3953 WriteAttribute("href", Tuple.Create(" href=\"", 32639), Tuple.Create("\"", 32655)
3954
3955 #line 877 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3956 , Tuple.Create(Tuple.Create("", 32646), Tuple.Create<System.Object, System.Int32>(linkedin
3957
3958 #line default
3959 #line hidden
3960 , 32646), false)
3961 );
3962
3963 WriteLiteral(" target=\"_blank\"");
3964
3965 WriteLiteral(" title=\"LinkedIn\"");
3966
3967 WriteLiteral(" class=\"footer__social\"");
3968
3969 WriteLiteral(" rel=\"noreferrer\"");
3970
3971 WriteLiteral("><i");
3972
3973 WriteLiteral(" class=\"fab fa-linkedin\"");
3974
3975 WriteLiteral("></i></a>\r\n");
3976
3977
3978 #line 878 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3979 }
3980
3981
3982 #line default
3983 #line hidden
3984 WriteLiteral("\t\t\t\t\t\t");
3985
3986
3987 #line 879 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3988 if (!string.IsNullOrWhiteSpace(youtube))
3989 {
3990
3991
3992 #line default
3993 #line hidden
3994 WriteLiteral("\t\t\t\t\t\t\t<a");
3995
3996 WriteAttribute("href", Tuple.Create(" href=\"", 32843), Tuple.Create("\"", 32858)
3997
3998 #line 881 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
3999 , Tuple.Create(Tuple.Create("", 32850), Tuple.Create<System.Object, System.Int32>(youtube
4000
4001 #line default
4002 #line hidden
4003 , 32850), false)
4004 );
4005
4006 WriteLiteral(" target=\"_blank\"");
4007
4008 WriteLiteral(" title=\"YouTube\"");
4009
4010 WriteLiteral(" class=\"footer__social\"");
4011
4012 WriteLiteral(" rel=\"noreferrer\"");
4013
4014 WriteLiteral("><i");
4015
4016 WriteLiteral(" class=\"fab fa-youtube\"");
4017
4018 WriteLiteral("></i></a>\r\n");
4019
4020
4021 #line 882 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4022 }
4023
4024
4025 #line default
4026 #line hidden
4027 WriteLiteral("\t\t\t\t\t\t");
4028
4029
4030 #line 883 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4031 if (!string.IsNullOrWhiteSpace(instagram))
4032 {
4033
4034
4035 #line default
4036 #line hidden
4037 WriteLiteral("\t\t\t\t\t\t\t<a");
4038
4039 WriteAttribute("href", Tuple.Create(" href=\"", 33046), Tuple.Create("\"", 33063)
4040
4041 #line 885 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4042 , Tuple.Create(Tuple.Create("", 33053), Tuple.Create<System.Object, System.Int32>(instagram
4043
4044 #line default
4045 #line hidden
4046 , 33053), false)
4047 );
4048
4049 WriteLiteral(" target=\"_blank\"");
4050
4051 WriteLiteral(" title=\"Instagram\"");
4052
4053 WriteLiteral(" class=\"footer__social\"");
4054
4055 WriteLiteral(" rel=\"noreferrer\"");
4056
4057 WriteLiteral("><i");
4058
4059 WriteLiteral(" class=\"fab fa-instagram\"");
4060
4061 WriteLiteral("></i></a>\r\n");
4062
4063
4064 #line 886 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4065 }
4066
4067
4068 #line default
4069 #line hidden
4070 WriteLiteral("\t\t\t\t\t\t");
4071
4072
4073 #line 887 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4074 if (!string.IsNullOrWhiteSpace(pinterest))
4075 {
4076
4077
4078 #line default
4079 #line hidden
4080 WriteLiteral("\t\t\t\t\t\t\t<a");
4081
4082 WriteAttribute("href", Tuple.Create(" href=\"", 33255), Tuple.Create("\"", 33272)
4083
4084 #line 889 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4085 , Tuple.Create(Tuple.Create("", 33262), Tuple.Create<System.Object, System.Int32>(pinterest
4086
4087 #line default
4088 #line hidden
4089 , 33262), false)
4090 );
4091
4092 WriteLiteral(" target=\"_blank\"");
4093
4094 WriteLiteral(" title=\"Pinterest\"");
4095
4096 WriteLiteral(" class=\"footer__social\"");
4097
4098 WriteLiteral(" rel=\"noreferrer\"");
4099
4100 WriteLiteral("><i");
4101
4102 WriteLiteral(" class=\"fab fa-pinterest\"");
4103
4104 WriteLiteral("></i></a>\r\n");
4105
4106
4107 #line 890 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4108 }
4109
4110
4111 #line default
4112 #line hidden
4113 WriteLiteral("\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</section>\r\n");
4114
4115
4116 #line 894 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4117 }
4118
4119
4120 #line default
4121 #line hidden
4122 WriteLiteral("\t\t</div>\r\n\r\n\t</section>\r\n</footer>\r\n\r\n");
4123
4124 WriteLiteral("\r\n");
4125
4126
4127 #line 913 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4128
4129
4130 #line default
4131 #line hidden
4132 WriteLiteral("\r\n<section");
4133
4134 WriteLiteral(" id=\"vue-modal\"");
4135
4136 WriteLiteral("></section>\r\n\r\n<section");
4137
4138 WriteLiteral(" id=\"vue-bottom-bar\"");
4139
4140 WriteLiteral(" data-phonenumber=\"");
4141
4142
4143 #line 918 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4144 Write(formattedPhonenumber);
4145
4146
4147 #line default
4148 #line hidden
4149 WriteLiteral("\"");
4150
4151 WriteLiteral(" data-isoffline=\"");
4152
4153
4154 #line 918 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4155 Write(isOffline);
4156
4157
4158 #line default
4159 #line hidden
4160 WriteLiteral("\"");
4161
4162 WriteLiteral(" data-emailadress=\"");
4163
4164
4165 #line 918 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4166 Write(emailadress);
4167
4168
4169 #line default
4170 #line hidden
4171 WriteLiteral("\"");
4172
4173 WriteLiteral(" data-currentpageid=\"");
4174
4175
4176 #line 918 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4177 Write(Pageview.Page.ID);
4178
4179
4180 #line default
4181 #line hidden
4182 WriteLiteral("\"");
4183
4184 WriteLiteral(" data-enable-login=\"");
4185
4186
4187 #line 918 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4188 Write(enableLogin);
4189
4190
4191 #line default
4192 #line hidden
4193 WriteLiteral("\"");
4194
4195 WriteLiteral(" data-enable-shoppingcart=\"");
4196
4197
4198 #line 918 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4199 Write(enableShoppingCart);
4200
4201
4202 #line default
4203 #line hidden
4204 WriteLiteral("\"");
4205
4206 WriteLiteral(" data-enable-advancedsearch=\"");
4207
4208
4209 #line 918 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4210 Write(enableAdvancedSearch);
4211
4212
4213 #line default
4214 #line hidden
4215 WriteLiteral("\"");
4216
4217 WriteLiteral(">\r\n</section>\r\n\r\n<section");
4218
4219 WriteLiteral(" class=\"bottombar__searchbox__wrapper\"");
4220
4221 WriteLiteral(">\r\n\t<div");
4222
4223 WriteLiteral(" class=\"searchbox\"");
4224
4225 WriteLiteral(">\r\n <form");
4226
4227 WriteLiteral(" class=\"searchbox__form no-validate\"");
4228
4229 WriteLiteral(" method=\"get\"");
4230
4231 WriteLiteral(" action=\"/Default.aspx\"");
4232
4233 WriteLiteral(" autocomplete=\"off\"");
4234
4235 WriteLiteral(" role=\"search\"");
4236
4237 WriteLiteral(">\r\n <input");
4238
4239 WriteLiteral(" type=\"hidden\"");
4240
4241 WriteLiteral(" name=\"ID\"");
4242
4243 WriteAttribute("value", Tuple.Create(" value=\"", 34543), Tuple.Create("\"", 34564)
4244
4245 #line 924 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4246 , Tuple.Create(Tuple.Create("", 34551), Tuple.Create<System.Object, System.Int32>(SearchPageID
4247
4248 #line default
4249 #line hidden
4250 , 34551), false)
4251 );
4252
4253 WriteLiteral(">\r\n <input");
4254
4255 WriteLiteral(" type=\"text\"");
4256
4257 WriteLiteral(" name=\"q\"");
4258
4259 WriteAttribute("value", Tuple.Create(" value=\"", 34603), Tuple.Create("\"", 34625)
4260
4261 #line 925 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4262 , Tuple.Create(Tuple.Create("", 34611), Tuple.Create<System.Object, System.Int32>(SearchPrefill
4263
4264 #line default
4265 #line hidden
4266 , 34611), false)
4267 );
4268
4269 WriteLiteral(" class=\"input form__input input--text searchbox__input\"");
4270
4271 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 34681), Tuple.Create("\"", 34713)
4272
4273 #line 925 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4274 , Tuple.Create(Tuple.Create("", 34695), Tuple.Create<System.Object, System.Int32>(SearchPlaceholder
4275
4276 #line default
4277 #line hidden
4278 , 34695), false)
4279 );
4280
4281 WriteAttribute("aria-label", Tuple.Create(" aria-label=\"", 34714), Tuple.Create("\"", 34745)
4282
4283 #line 925 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4284 , Tuple.Create(Tuple.Create("", 34727), Tuple.Create<System.Object, System.Int32>(SearchPlaceholder
4285
4286 #line default
4287 #line hidden
4288 , 34727), false)
4289 );
4290
4291 WriteLiteral(" data-placeholder=\"");
4292
4293
4294 #line 925 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4295 Write(SearchPlaceholder);
4296
4297
4298 #line default
4299 #line hidden
4300 WriteLiteral("\"");
4301
4302 WriteLiteral(" data-hoverplaceholder=\"");
4303
4304
4305 #line 925 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4306 Write(SearchPlaceholderHover);
4307
4308
4309 #line default
4310 #line hidden
4311 WriteLiteral("\"");
4312
4313 WriteLiteral(">\r\n <div");
4314
4315 WriteLiteral(" class=\"searchbox__button\"");
4316
4317 WriteLiteral(">\r\n <button");
4318
4319 WriteLiteral(" type=\"submit\"");
4320
4321 WriteLiteral(" class=\"searchbox__form__submit icon icon--medium icon__search input__icon\"");
4322
4323 WriteLiteral(" aria-label=\"Search\"");
4324
4325 WriteLiteral(">\r\n <i");
4326
4327 WriteLiteral(" class=\"fal fa-search\"");
4328
4329 WriteLiteral("></i>\r\n </button>\r\n </div>\r\n </form>\r\n</div>\r\n</section>\r\n\r\n" +
4330 "\t<div");
4331
4332 WriteLiteral(" id=\"backdrop\"");
4333
4334 WriteLiteral("></div>\r\n\r\n");
4335
4336
4337 #line 937 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4338
4339
4340 #line default
4341 #line hidden
4342
4343 #line 937 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4344
4345 var appbundlejs = Cache.VersionedFile(designRoot + "/dist/app.bundle.js");
4346 var appAsyncbundlejs = Cache.VersionedFile(designRoot + "/dist/appAsync.bundle.js");
4347 var vuebundlejs = Cache.VersionedFile(designRoot + "/dist/vue.bundle.js");
4348
4349
4350 #line default
4351 #line hidden
4352 WriteLiteral("\r\n\r\n\t<script");
4353
4354 WriteAttribute("src", Tuple.Create(" src=\"", 35421), Tuple.Create("\"", 35439)
4355
4356 #line 943 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4357 , Tuple.Create(Tuple.Create("", 35427), Tuple.Create<System.Object, System.Int32>(appbundlejs
4358
4359 #line default
4360 #line hidden
4361 , 35427), false)
4362 );
4363
4364 WriteLiteral("></script>\r\n\t<script defer");
4365
4366 WriteAttribute("src", Tuple.Create(" src=\"", 35466), Tuple.Create("\"", 35484)
4367
4368 #line 944 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4369 , Tuple.Create(Tuple.Create("", 35472), Tuple.Create<System.Object, System.Int32>(vuebundlejs
4370
4371 #line default
4372 #line hidden
4373 , 35472), false)
4374 );
4375
4376 WriteLiteral("></script>\r\n\t<script defer");
4377
4378 WriteAttribute("src", Tuple.Create(" src=\"", 35511), Tuple.Create("\"", 35534)
4379
4380 #line 945 "C:\home\site\wwwroot\files\Templates\Designs\ClientBase_generated\_parsed\DefaultPage.parsed.cshtml"
4381 , Tuple.Create(Tuple.Create("", 35517), Tuple.Create<System.Object, System.Int32>(appAsyncbundlejs
4382
4383 #line default
4384 #line hidden
4385 , 35517), false)
4386 );
4387
4388 WriteLiteral("></script>\r\n\t<link");
4389
4390 WriteLiteral(" rel=\"stylesheet\"");
4391
4392 WriteLiteral(" href=\"https://pro.fontawesome.com/releases/v5.15.4/css/all.css\"");
4393
4394 WriteLiteral(" integrity=\"sha384-rqn26AG5Pj86AF4SO72RK5fyefcQ/x32DNQfChxWvbXIyXFePlEktwD18fEz+k" +
4395 "QU\"");
4396
4397 WriteLiteral(" crossorigin=\"anonymous\"");
4398
4399 WriteLiteral(">\r\n\r\n</body>\r\n</html>\r\n");
4400
4401 }
4402 }
4403 }
4404
1 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
2 @using Dynamicweb;
3 @using Bluedesk.Tools.Generic;
4 @using System.Globalization;
5 @using Bluedesk.DynamicWeb.ItemTypes.Settings.Configuration;
6
7 @{
8 var httpdomain = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain();
9 var lang = GetString("LongLang").Split('-')[0];
10 var csrftoken = application._webapi.Helper.CSRFHelper.TokenHeaderValue();
11 var designRoot = "/Files/Templates/Designs/" + Pageview.Area.Layout.Design.Name;
12
13 var phonenumber = GetString("Item.Area.Phonenumber");
14 var formattedPhonenumber = phonenumber.Replace(" ", String.Empty);
15 var emailadress = GetString("Item.Area.Emailadress");
16 var buttonIconClass = Pageview.Area.Item["Global_button_icon"] != null ? Pageview.Area.Item["Global_button_icon"].ToString().Replace("+", " ") : "fal fa-arrow-right";
17 var callmebackformlink = GetString("Item.Area.Call_me_back_form");
18 var mobileThemeColor = GetString("Item.Area.Mobile_Theme_Color");
19
20 bool isOffline = false;
21 DateTime workingHoursStart = GetDate("Item.Area.OpeningTime");
22 DateTime workingHoursEnd = GetDate("Item.Area.ClosingTime");
23 DateTime today = DateTime.Now;
24 var cHour = DateTime.Now.TimeOfDay;
25 int cDay = (int)DateTime.Now.DayOfWeek;
26 string availableToHour24hFormat = workingHoursEnd.TimeOfDay.ToString().Substring(0,5);
27 var timeFromInput = DateTime.ParseExact(availableToHour24hFormat, "H:m", null, DateTimeStyles.None);
28 string availableToHour12hFormat = timeFromInput.ToString("hh:mm tt", CultureInfo.InvariantCulture);
29 var availableToHour = lang == "en" ? availableToHour12hFormat : availableToHour24hFormat;
30 bool isOvertime = cHour >= workingHoursEnd.TimeOfDay || cHour <= workingHoursStart.TimeOfDay;
31 bool isNoValidDate = today < workingHoursStart || today > workingHoursEnd;
32 if (isNoValidDate || isOvertime)
33 {
34 isOffline = true;
35 }
36 }
37
38 <!DOCTYPE html>
39 <html lang="@lang" prefix="og: http://ogp.me/ns#">
40 <head>
41 <meta charset="utf-8">
42 <meta http-equiv="X-UA-Compatible" content="IE=edge">
43 <meta name="viewport" content="width=device-width, initial-scale=1">
44 <meta name="theme-color" content="@mobileThemeColor">
45
46
47
48 @RenderSnippet("canonical")
49
50 @RenderSnippet("ogTags")
51
52 <title>@GetValue("Title")</title>
53 @GetValue("MetaTags")
54 @GetValue("CopyRightNotice")
55
56
57 @{
58
59
60 var appcss = Cache.VersionedFile(designRoot + "/dist/app.css");
61 <link href="@appcss" rel="stylesheet">
62
63 var favicon32 = Cache.VersionedFile(designRoot + "/assets/img/favicon-32.png", true);
64 var favicon16 = Cache.VersionedFile(designRoot + "/assets/img/favicon-16.png", true);
65 var favico = Cache.VersionedFile(designRoot + "/assets/img/favicon.ico", true);
66
67 if (!string.IsNullOrWhiteSpace(favicon32))
68 {
69 <link rel="icon" type="image/png" sizes="32x32" href="@favicon32">
70 }
71 if (!string.IsNullOrWhiteSpace(favicon16))
72 {
73 <link rel="icon" type="image/png" sizes="16x16" href="@favicon16">
74 }
75 if (!string.IsNullOrWhiteSpace(favicon))
76 {
77 <link rel="shortcut icon" href="@favicon">
78 }
79 }
80
81 @foreach (var language in GetLoop("Languages"))
82 {
83 string pageid = language.GetString("PageID");
84 string url = language.GetString("PrimaryDomain") + Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("default.aspx?id=" + pageid);
85
86 <link rel="alternate" href='@url' hreflang='@language.GetString("Culture")'>
87 }
88
89 <script>
90 window.globals = {
91 pageId: '@Pageview.ID',
92 Token: '@csrftoken',
93 DW_AREA_CULTURE: '@GetString("LongLang")',
94 DW_AREA_CULTURE_SHORT: '@lang',
95 globalIconClass: '@buttonIconClass',
96 DW_USERID: '@Dynamicweb.Security.UserManagement.User.GetCurrentExtranetUserId()'
97 };
98 </script>
99
100 @GetString("Item.Area.HeadScript")
101 @{
102 var _cookieOptinLevel = Dynamicweb.Environment.CookieManager.GetCookieOptInLevel();
103 var _enabledCookieCategories = Dynamicweb.Environment.CookieManager.GetCookieOptInCategories();
104 if (_cookieOptinLevel.ToString() == "All" || _enabledCookieCategories.Contains("Marketing_Cookies"))
105 {
106 @GetString("Item.Area.HeadScriptAfterConsent")
107 }
108 }
109
110 @{
111 var reviewName = GetString("Item.Area.Review_Name") != null ? GetString("Item.Area.Review_Name") : "";
112 var reviewBestRating = GetString("Item.Area.Review_Best_Rating") != null ? GetString("Item.Area.Review_Best_Rating") : "";
113 var reviewWorstRating = GetString("Item.Area.Review_Worst_Rating") != null ? GetString("Item.Area.Review_Worst_Rating") : "";
114 var reviewRatingValue = GetString("Item.Area.Review_Rating_Value") != null ? GetString("Item.Area.Review_Rating_Value") : "";
115 var reviewCount = GetString("Item.Area.Review_Count") != null ? GetString("Item.Area.Review_Count") : "";
116 var reviewUrl = GetString("Item.Area.Review_URL") != null ? GetString("Item.Area.Review_URL") : "";
117
118 var searchPageID = Bluedesk.Tools.DynamicWeb.Generic.PageHelper.GetPageIDByNavigationTag("searchresults", Pageview.AreaID);
119 var domain = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain();
120 }
121
122 <script type="application/ld+json">
123 [{
124 "@@context": "https://schema.org",
125 "@@type": "Organization",
126 "name" : "@GetString("Item.Area.CompanyName")",
127 "url": "@domain",
128 "sameAs" : "@GetString("Item.Area.Facebook")",
129 "logo": "@domain@GetString("Item.Area.Logo")",
130 "contactPoint" : [{
131 "@@type" : "ContactPoint",
132 "telephone" : "@GetString("Item.Area.Phonenumber")",
133 "contactType" : "customer service" ,
134 "@@context": "https://schema.org",
135 "@@id": "@domain",
136 "name": "@GetString("Item.Area.CompanyName")"
137 }],
138 "address": {
139 "@@type": "PostalAddress",
140 "streetAddress": "@GetString("Item.Area.Address")",
141 "addressLocality": "@GetString("Item.Area.City")",
142 "postalCode": "@GetString("Item.Area.Zipcode")",
143 "addressRegion": "@GetString("Item.Area.Region")",
144 "addressCountry": "@GetString("Item.Area.Country")"
145 }
146 },
147 {
148 "@@context": "https://schema.org",
149 "@@type": "WebSite",
150 "name" : "@GetString("Item.Area.CompanyName")",
151 "alternateName" : "@GetString("Item.Area.AltCompanyName")",
152 "url": "@domain",
153 "potentialAction": {
154 "@@type": "SearchAction",
155 "target": "@domain/Default.aspx?ID=@searchPageID&q={search_term_string}",
156 "query-input": "required name=search_term_string"
157 }
158 }]
159 </script>
160
161 <script type="application/ld+json">
162 {
163 "@@context": "https://schema.org",
164 "@@type": "Product",
165 "name": "@reviewName",
166 "url":"@reviewUrl",
167 "aggregateRating": {
168 "@@type": "AggregateRating",
169 "bestRating": "@reviewBestRating",
170 "worstRating": "@reviewWorstRating",
171 "ratingValue": "@reviewRatingValue",
172 "reviewCount": "@reviewCount"
173 }
174 }
175 </script>
176 @RenderSnippet("DataLayer")
177
178 @RenderSnippet("GoogleMapsScript")
179
180 @{
181 // TODO: Add there options to master config for product overview
182 bool hidePricesForGuests = false;
183 bool hideShoppingCartForGuests = false;
184
185 bool enableShoppingCart = hideShoppingCartForGuests && Pageview.User == null ? false : (bool) GetBoolean("Item.Area.ConfigModuleShoppingCart");
186 bool enableLogin = (bool) GetBoolean("Item.Area.ConfigModuleLogin");
187 bool enableQuickOrder = (bool) GetBoolean("Item.Area.ConfigModuleQuickOrder");
188 bool enableAdvancedSearch = (bool) GetBoolean("Item.Area.ConfigModuleAdvancedSearch");
189 bool enableCallMeBack = (bool) GetBoolean("Item.Area.ConfigModuleCallMeBack");
190 bool enableDyslexicFont = (bool) GetBoolean("Item.Area.ConfigModuleDyslexicFont");
191 bool enableProductCompare = (bool) GetBoolean("Item.Area.ConfigModuleProductCompare");
192 }
193
194 @GetValue("Stylesheets")
195 @GetValue("Javascripts")
196 </head>
197
198 <body>
199 @GetString("Item.Area.BodyScript")
200 @{
201 if (_cookieOptinLevel.ToString() == "All" || _enabledCookieCategories.Contains("Marketing_Cookies"))
202 {
203 @GetString("Item.Area.BodyScriptAfterConsent")
204 }
205 }
206 @GetString("Item.Area.TailScript")
207
208 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
209 @using Dynamicweb;
210
211 @{
212 string logo = GetString("Item.Area.Logo");
213 string logoAlt = GetString("Item.Area.Logo_Alt");
214
215 int SearchPageID = Bluedesk.Tools.DynamicWeb.Generic.PageHelper.GetPageIDByNavigationTag("searchresults", Pageview.AreaID);
216 var SearchPlaceholder = Translate("Searchbox.PlaceholderValue", "Search...");
217 var SearchPlaceholderHover = Translate("Search.PlaceholderValue2", "Zoekt u misschien een ...?");
218 var SearchPrefill = Dynamicweb.Context.Current.Request["q"];
219 var SearchboxClass = !string.IsNullOrWhiteSpace(SearchPrefill) ? "open" : "";
220 var SearchtoggleClass = !string.IsNullOrWhiteSpace(SearchPrefill) ? "close" : "";
221 }
222
223 <header class="header header--mobile">
224
225 <div class="flex items-center">
226 <a href="/" class="w-full mr-4 header__logo__wrapper">
227 <img class="header__logo" src="/Admin/Public/GetImage.ashx?Image=@logo&Crop=5&Format=webp&Quality=99&Compression=80&Width=400" alt="Logo" width="400" height="200">
228 </a>
229
230 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
231 @using Dynamicweb;
232 @using Dynamicweb.Content;
233 @using Dynamicweb.Extensibility;
234 @using Bluedesk.Tools.DynamicWeb.Generic;
235
236 @if (LanguageSwitcher.GetLanguages().Count > 1)
237 {
238 <div class="top-toggles">
239 <div class="language">
240 <div class="language-dropdown">
241 <button class="language-dropdown__toggle" type="button" aria-label="Change language">
242 <span class="flag flag-icon flag-icon-@Pageview.Area.Culture.Substring(3,2).ToLower()"></span>
243 <i class="fal fa-chevron-down"></i>
244 </button>
245 <ul class="language-dropdown__options">
246 @foreach (var l in LanguageSwitcher.GetLanguages())
247 {
248 string languageName = @l.NativeName.ToString().Split('(')[0];
249 <li class="language-dropdown__item">
250 <a href='@l.Url' title="@languageName">
251 <span class="flag-icon flag-icon-@l.CountryCode"></span>
252 <span class="language-dropdown__item-code">@languageName</span>
253 </a>
254 </li>
255 }
256 </ul>
257 </div>
258 </div>
259 </div>
260 }
261
262
263 @if(enableShoppingCart) {
264 <div class="app-shopping-cart" data-cart-location="header-mobile" data-enable-shoppingcart="@enableShoppingCart"></div>
265 }
266
267 <div id="hamburger" class="icon__content">
268 <i class="fal fa-bars icon"></i>
269 </div>
270
271 </div>
272
273 </header>
274
275 <header class="header header--desktop">
276
277 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
278 @using Dynamicweb;
279
280 <section class="topmenu">
281
282 <div class="topmenu__container container">
283
284 <ul class="usp__list">
285 @RenderHeaderUSP(@GetString("Item.Area.USP_1.Value"), @GetString("Item.Area.USP_1_icon.Value"))
286 @RenderHeaderUSP(@GetString("Item.Area.USP_2.Value"), @GetString("Item.Area.USP_2_icon.Value"))
287 @RenderHeaderUSP(@GetString("Item.Area.USP_3.Value"), @GetString("Item.Area.USP_3_icon.Value"))
288 @RenderHeaderUSP(@GetString("Item.Area.USP_4.Value"), @GetString("Item.Area.USP_4_icon.Value"))
289 @RenderHeaderUSP(@GetString("Item.Area.USP_5.Value"), @GetString("Item.Area.USP_5_icon.Value"))
290 </ul>
291
292 <section class="flex flex-row">
293
294 <ul class="topmenu__list">
295 @GetValue("DwNavigation(topnavigation)")
296 @if (enableLogin)
297 {
298 if (Pageview.User == null)
299 {
300 <li class="topmenu__item topmenu__login">
301 <a href="javascript:;" class="topmenu__link topmenu__link--login">@Translate("User.Login", "Login")</a>
302 </li>
303 }
304 else
305 {
306 <li class="topmenu__item topmenu__login">
307 <a href="/Admin/Public/ExtranetLogoff.aspx?ID=@Pageview.Page.ID" class="topmenu__link">@Translate("User.Logout", "Logout")</a>
308 </li>
309 }
310 }
311 </ul>
312
313 @if (enableDyslexicFont)
314 {
315 <div class="app-font-toggle" data-standardfont="Maven Pro"></div>
316 }
317
318 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
319 @using Dynamicweb;
320 @using Dynamicweb.Content;
321 @using Dynamicweb.Extensibility;
322 @using Bluedesk.Tools.DynamicWeb.Generic;
323
324 @if (LanguageSwitcher.GetLanguages().Count > 1)
325 {
326 <div class="top-toggles">
327 <div class="language">
328 <div class="language-dropdown">
329 <button class="language-dropdown__toggle" type="button" aria-label="Change language">
330 <span class="flag flag-icon flag-icon-@Pageview.Area.Culture.Substring(3,2).ToLower()"></span>
331 <i class="fal fa-chevron-down"></i>
332 </button>
333 <ul class="language-dropdown__options">
334 @foreach (var l in LanguageSwitcher.GetLanguages())
335 {
336 string languageName = @l.NativeName.ToString().Split('(')[0];
337 <li class="language-dropdown__item">
338 <a href='@l.Url' title="@languageName">
339 <span class="flag-icon flag-icon-@l.CountryCode"></span>
340 <span class="language-dropdown__item-code">@languageName</span>
341 </a>
342 </li>
343 }
344 </ul>
345 </div>
346 </div>
347 </div>
348 }
349
350
351 @if (enableShoppingCart)
352 {
353 <div class="app-shopping-cart" data-cart-location="header-desktop" data-enable-shoppingcart="@enableShoppingCart"></div>
354 }
355
356 </section>
357
358 </div>
359
360 </section>
361
362 @helper RenderHeaderUSP(string USP_content, string USP_icon)
363 {
364 if (!string.IsNullOrWhiteSpace(USP_content))
365 {
366 var usp_icon_class = (!string.IsNullOrWhiteSpace(USP_icon)) ? USP_icon : "fal fa-check";
367
368 <li class="usp__item">
369 <i class="@usp_icon_class usp__icon"></i>
370 <span>@USP_content</span>
371 </li>
372 }
373 }
374
375
376 <section class="header__container container">
377
378 <a href="/" class="flex items-center">
379 <img class="header__logo" src="/Admin/Public/GetImage.ashx?Image=@logo&Crop=5&Format=webp&Quality=99&Compression=80&Width=400" alt="Logo" width="400" height="200">
380 </a>
381
382 @if(enableAdvancedSearch) {
383 <div id="advanced-search"></div>
384 } else {
385 <div class="searchbox">
386 <form class="searchbox__form no-validate" method="get" action="/Default.aspx" autocomplete="off" role="search">
387 <input type="hidden" name="ID" value="@SearchPageID">
388 <input type="text" name="q" value="@SearchPrefill" class="input form__input input--text searchbox__input" placeholder="@SearchPlaceholder" aria-label="@SearchPlaceholder" data-placeholder="@SearchPlaceholder" data-hoverplaceholder="@SearchPlaceholderHover">
389 <div class="searchbox__button">
390 <button type="submit" class="searchbox__form__submit icon icon--medium icon__search input__icon" aria-label="Search">
391 <i class="fal fa-search"></i>
392 </button>
393 </div>
394 </form>
395 </div>
396 }
397
398 <div class="header__cta">
399 @if (!isOffline)
400 {
401 <a href="tel:@formattedPhonenumber" class="header__cta--phone phone-cta">
402 <p class="phone-cta__number"><i class="fas fa-phone-alt"></i>@Translate("Header.CallUsOn", "Call us on")<span>@phonenumber</span></p>
403 <div class="phone-cta__availability__wrapper">
404 <i class="fas fa-circle phone-cta__availability__icon"></i>
405 <p class="phone-cta__availability__description">@Translate("Header.AvailableUntill", "We are available until") @availableToHour</p>
406 </div>
407 </a>
408 }
409 else
410 {
411 <div class="header__cta--callmeback callmeback-cta">
412 <a href="@callmebackformlink" class="btn default-btn btn__outline btn--callmeback">
413 <span class="btn__text">@Translate("Header.CallMeBack", "Call me back")</span>
414 <i class="btn__icon fas fa-phone"></i>
415 </a>
416 </div>
417 }
418 </div>
419
420 </section>
421
422 </header>
423
424 <nav>
425 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
426 @using Dynamicweb;
427 @using Dynamicweb.Content;
428 @using Dynamicweb.Extensibility;
429 @using Bluedesk.Tools.DynamicWeb.Generic;
430
431 <section class="mainmenu mainmenu__container">
432 <header-menu id="header-menu" data-enable-quickorder="@enableQuickOrder">
433 <!-- Fall back menu for non vue-->
434 <div class="container">
435 <ul class="mainmenu__list h-full">
436 @GetValue("DwNavigation(mainmenu)")
437 @if(enableQuickOrder)
438 {
439 <li class="mainmenu__item quickorder__toggle">
440 <button class="mainmenu__link">Quick Order</button>
441 </li>
442 }
443 </ul>
444 </div>
445 </header-menu>
446 </section>
447
448 </nav>
449
450
451 <!-- DO NOT REMOVE -->
452 <div id="quick-order"></div>
453 <div id="backdrop-megamenu"></div>
454 <mega-menu id="mega-menu"></mega-menu>
455 <!-- DO NOT REMOVE -->
456
457 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
458 @using Dynamicweb;
459
460 @{
461 // cp = currentpage
462 var cp_default = Dynamicweb.Context.Current.Items["defaultActive"];
463 var cp_productOverview = Dynamicweb.Context.Current.Items["productOverviewActive"];
464 var cp_productDetail = Dynamicweb.Context.Current.Items["productDetailActive"];
465 string stickyHeaderCTAText = GetString("Item.Area.Sticky_header_cta_text");
466 string stickyHeaderCTALink = GetString("Item.Area.Sticky_header_cta_link");
467
468 string stickyHeaderCTAIcon = GetString("Item.Area.Sticky_header_cta_icon");
469 string stickyHeaderCTAIconClass = (!string.IsNullOrWhiteSpace(stickyHeaderCTAIcon)) ? stickyHeaderCTAIcon : "fal fa-shopping-cart";
470 }
471
472 <section class="stickymenu flex">
473
474 <!-- Sticky menu - Desktop -->
475 <div class="hidden lg:flex container justify-between items-center">
476 <div class="mr-4 inline-block">
477 <a href="/" class="flex items-center">
478 <img class="header__logo--sticky" src="@logo" alt="Logo" width="200" height="50">
479 </a>
480 </div>
481
482 @if (cp_productDetail != null && (bool)cp_productDetail)
483 {
484 @RenderSnippet("ProductDetailHeaderDesktop")
485 }
486 else if (cp_productOverview != null && (bool)cp_productOverview)
487 {
488 <div class="searchbox">
489 <form class="searchbox__form no-validate" method="get" action="/Default.aspx" autocomplete="off" role="search">
490 <input type="hidden" name="ID" value="@SearchPageID">
491 <input type="text" name="q" value="@SearchPrefill" class="input form__input input--text searchbox__input" placeholder="@SearchPlaceholder" aria-label="@SearchPlaceholder" data-placeholder="@SearchPlaceholder" data-hoverplaceholder="@SearchPlaceholderHover">
492 <div class="searchbox__button">
493 <button type="submit" class="searchbox__form__submit icon icon--medium icon__search input__icon" aria-label="Search">
494 <i class="fal fa-search"></i>
495 </button>
496 </div>
497 </form>
498 </div>
499
500 if(@enableShoppingCart) {
501 <div class="app-shopping-cart" data-cart-location="sticky-desktop" data-enable-shoppingcart="@enableShoppingCart"></div>
502 }
503 }
504 else
505 {
506
507 if (!string.IsNullOrWhiteSpace(stickyHeaderCTAText))
508 {
509 <a href="@stickyHeaderCTALink" class="btn default-btn stickymenu__cta-btn">
510 <span class="btn__text stickymenu__cta-btn-label">@stickyHeaderCTAText</span>
511 <i class="btn__icon @stickyHeaderCTAIconClass stickymenu__cta-btn-icon"></i>
512 </a>
513 }
514
515 <div class="header__cta">
516 @if (!isOffline)
517 {
518 <a href="tel:@formattedPhonenumber" class="header__cta--phone phone-cta phone-cta--compact">
519 <p class="phone-cta__number"><i class="fas fa-phone-alt"></i><span>@phonenumber</span></p>
520 <p class="phone-cta__availability__description"><i class="fas fa-circle phone-cta__availability__icon"></i>@Translate("Header.Available", "Available")</p>
521 </a>
522 }
523 else
524 {
525 <div class="header__cta--callmeback callmeback-cta">
526 <a href="@callmebackformlink" class="btn default-btn btn__outline btn--callmeback">
527 <span class="btn__text">@Translate("Header.CallMeBack", "Call me back")</span>
528 <i class="btn__icon fas fa-phone"></i>
529 </a>
530 </div>
531 }
532 </div>
533
534 if(@enableShoppingCart) {
535 <div class="app-shopping-cart" data-cart-location="sticky-desktop" data-enable-shoppingcart="@enableShoppingCart"></div>
536 }
537 }
538 </div>
539
540 <!-- Sticky menu - Mobile -->
541 <div class="container flex lg:hidden justify-between items-center p-2">
542 @if (cp_productDetail != null && (bool)cp_productDetail)
543 {
544 @RenderSnippet("ProductDetailHeaderMobile")
545 }
546 else if (cp_productOverview != null && (bool)cp_productOverview)
547 {
548 <div class="searchbox">
549 <form class="searchbox__form no-validate" method="get" action="/Default.aspx" autocomplete="off" role="search">
550 <input type="hidden" name="ID" value="@SearchPageID">
551 <input type="text" name="q" value="@SearchPrefill" class="input form__input input--text searchbox__input" placeholder="@SearchPlaceholder" aria-label="@SearchPlaceholder" data-placeholder="@SearchPlaceholder" data-hoverplaceholder="@SearchPlaceholderHover">
552 <div class="searchbox__button">
553 <button type="submit" class="searchbox__form__submit icon icon--medium icon__search input__icon" aria-label="Search">
554 <i class="fal fa-search"></i>
555 </button>
556 </div>
557 </form>
558 </div>
559 }
560 else
561 {
562 if (!string.IsNullOrWhiteSpace(stickyHeaderCTAText))
563 {
564 <a href="@stickyHeaderCTALink" class="btn default-btn stickymenu__cta-btn">
565 <span class="btn__text stickymenu__cta-btn-label">@stickyHeaderCTAText</span>
566 <i class="btn__icon @stickyHeaderCTAIconClass stickymenu__cta-btn-icon"></i>
567 </a>
568 } else {
569 // Empty element to fix justify-between alignment
570 <span></span>
571 }
572 }
573 <div id="sticky-hamburger" class="icon__content">
574 <i class="fal fa-bars icon"></i>
575 </div>
576 </div>
577 </section>
578
579 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
580 @using Dynamicweb;
581 @using Bluedesk.DynamicWeb.ItemTypes;
582
583 @{
584 var pid = ModuleOnlyParagraph.GetParagraphIDByTag<ModuleOnlyParagraph>("SideBarForm", Pageview.AreaID);
585
586 if (pid > 0)
587 {
588 <section id="vue-side-bar-form" data-paragraphid="@pid" data-telephone="@phonenumber" data-formatphonenumber="@formattedPhonenumber" data-isoffline="@isOffline"></section>
589 }
590 }
591
592 @if(@enableProductCompare)
593 {
594 <div id="vue-compare-list"></div>
595 }
596
597 <style>
598 main.blur {
599 filter: grayscale(50%) blur(15px);
600 -webkit-filter: grayscale(50%) blur(15px);
601 }
602 </style>
603
604 <main>
605 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
606 @using Dynamicweb;
607 @using Bluedesk.DynamicWeb.ItemTypes.Pages;
608 @using Bluedesk.Tools.DynamicWeb.ExtensionMethods;
609 @using System.Linq;
610 @using Dynamicweb.Content;
611
612
613
614 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
615 @using Dynamicweb;
616 @using System.Linq;
617
618 @{
619 var ogLocale = GetString("LongLang").Replace("-", "_");
620 var ogSiteName = GetString("Item.Area.CompanyName");
621 var ogurl = string.Format("{0}{1}", httpdomain, GetGlobalValue("Global:Pageview.Url"));
622 var ogtitle = GetString("Title");
623 var ogdesc = GetString("Meta.Description");
624 var ogDefaultImg = GetString("Item.Area.DefaultOGImage");
625 var ogImg = !string.IsNullOrWhiteSpace(ogDefaultImg) ? string.Format("{0}{1}", httpdomain, ogDefaultImg) : "";
626 }
627
628 @SnippetStart("ogTags")
629 <meta property="og:locale" content="@ogLocale">
630 <meta property="og:site_name" content="@ogSiteName">
631 <meta property="og:url" content="@ogurl">
632 <meta property="og:type" content="website">
633 <meta property="og:title" content="@ogtitle">
634 <meta property="og:description" content="@ogdesc">
635 <meta property="og:image" content="@ogImg">
636 @SnippetEnd("ogTags")
637
638 @{
639 Boolean showBreadcrumbs = Pageview.Page.PropertyItem != null && Pageview.Page.PropertyItem["ShowBreadcrumbs"] != null ? Convert.ToBoolean(Pageview.Page.PropertyItem["ShowBreadcrumbs"]) : false;
640 }
641
642 <section class="defaultpage__content">
643 @GetValue("DwContent(jumbotron)")
644 </section>
645
646 @if(showBreadcrumbs) {
647 <nav class="breadcrumbs" id="breadcrumbs">
648 <span class="breadcrumbs__text">@Translate("Breadcrumbs.YouAreHere", "You are here")</span>
649 @GetValue("DwNavigation(breadcrumblist)")
650 </nav>;
651 }
652
653 <section class="defaultpage__content">
654 @GetValue("DwContent(widecontent)")
655 </section>
656
657
658 </main>
659
660 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
661 @using Dynamicweb;
662 @using Bluedesk.DynamicWeb.ItemTypes;
663
664 @{
665 string footerLogo = GetString("Item.Area.FooterLogo");
666 string footerDescription = GetString("Item.Area.FooterDescription");
667
668 var fb = GetString("Item.Area.Facebook");
669 var twitter = GetString("Item.Area.Twitter");
670 var linkedin = GetString("Item.Area.LinkedIn");
671 var googlePlus = GetString("Item.Area.GooglePlus");
672 var instagram = GetString("Item.Area.Instagram");
673 var youtube = GetString("Item.Area.Youtube");
674 var pinterest = GetString("Item.Area.Pinterest");
675
676 var Emailadress = GetString("Item.Area.Emailadress");
677 var Phonenumber = GetString("Item.Area.Phonenumber");
678 var Address = GetString("Item.Area.Address");
679 var Zipcode = GetString("Item.Area.Zipcode");
680 var City = GetString("Item.Area.City");
681 var Country = GetString("Item.Area.Country");
682
683 var selectedPaymentLogos = @GetString("Item.Area.FooterPaymentLogos");
684 }
685
686 <a href="javascript:void(0);" id="scroll-to-top" class="scroll-to-top">
687 <span class="scroll-to-top__text">
688 @Translate("Naar boven", "To Top")
689 </span>
690 <i class="fal fa-arrow-to-top scroll-to-top__icon"></i>
691 </a>
692
693 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
694 @using Dynamicweb;
695
696 @if (Pageview.Page.ParentPageId > 0)
697 {
698 var siblings = Dynamicweb.Content.Services.Pages.GetPagesByParentID(Pageview.Page.ParentPageId).Where(p => p.Active).ToList();
699 var parentpageItemType = Pageview.Page.Parent.ItemType;
700 bool isParentPageOverviewpage = parentpageItemType == "OverviewPage";
701
702 if (siblings.Count() > 1 && isParentPageOverviewpage)
703 {
704 var prevPage = siblings.OrderByDescending(p => p.Sort).FirstOrDefault(p => p.Sort < Pageview.Page.Sort);
705 var nextPage = siblings.OrderBy(p => p.Sort).FirstOrDefault(p => p.Sort > Pageview.Page.Sort);
706 var overview = "/Default.aspx?ID=" + Pageview.Page.ParentPageId;
707
708 <section class="page-navigation">
709 @if (prevPage != null)
710 {
711 var back = "/Default.aspx?ID=" + prevPage.ID;
712 <a href="@back" class="page-navigation__item">
713 <i class="fal fa-arrow-alt-to-left page-navigation__item--icon"></i>
714 <label class="page-navigation__item-label">@Translate("pagenavigation.previous", "Previous")</label>
715 </a>
716 }
717
718 <a href="@overview" class="page-navigation__item">
719 <label class="page-navigation__item-label">@Translate("pagenavigation.Overview", "To overview")</label>
720 <i class="fas fa-th page-navigation__item--icon"></i>
721 </a>
722
723 @if (nextPage != null)
724 {
725 var forward = "/Default.aspx?ID=" + nextPage.ID;
726 <a href="@forward" class="page-navigation__item">
727 <label class="page-navigation__item-label">@Translate("pagenavigation.next", "Next")</label>
728 <i class="fal fa-arrow-alt-to-right page-navigation__item--icon"></i>
729 </a>
730 }
731 </section>
732 }
733 }
734
735
736 <footer class="footer">
737
738 @if (!string.IsNullOrWhiteSpace(@GetString("Item.Area.USP_1.Value")) || !string.IsNullOrWhiteSpace(@GetString("Item.Area.USP_2.Value")) || !string.IsNullOrWhiteSpace(@GetString("Item.Area.USP_3.Value")))
739 {
740 <div class="footer-usp__wrapper">
741 <div class="container">
742 <ul class="footer-usp__list flex-wrap">
743 @RenderFooterUSP(@GetString("Item.Area.USP_1.Value"), @GetString("Item.Area.USP_1_icon.Value"))
744 @RenderFooterUSP(@GetString("Item.Area.USP_2.Value"), @GetString("Item.Area.USP_2_icon.Value"))
745 @RenderFooterUSP(@GetString("Item.Area.USP_3.Value"), @GetString("Item.Area.USP_3_icon.Value"))
746 @RenderFooterUSP(@GetString("Item.Area.USP_4.Value"), @GetString("Item.Area.USP_4_icon.Value"))
747 @RenderFooterUSP(@GetString("Item.Area.USP_5.Value"), @GetString("Item.Area.USP_5_icon.Value"))
748
749 </ul>
750 </div>
751 </div>
752 }
753
754 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
755 @using Dynamicweb;
756
757 @{
758 var newsletterFormID = ModuleOnlyParagraph.GetParagraphIDByTag<ModuleOnlyParagraph>("Footer.Newsletter", Pageview.AreaID);
759
760 if (newsletterFormID > 0)
761 {
762 <section class="footer__newsletter-container">
763 <div class="container footer__newsletter">
764 <label class="footer__newsletter-label">
765 @Translate("Footer.SignUpNewsletter", "Sign up for the digital newsletter")
766 </label>
767 @RenderParagraphContent(newsletterFormID)
768 </div>
769 </section>
770 }
771 }
772
773
774 <div class="footer-paymentoptions" data-paymentmethods="@selectedPaymentLogos"></div>
775
776 <section class="container footer__content">
777
778 <div class="footer__link">
779 @{
780 var footerColumn1 = RenderNavigation(new
781 {
782 id = "footernavigation-1",
783 cssclass = "dwnavigation",
784 startLevel = 1,
785 endlevel = 4,
786 template = "BottomNavigation.xslt",
787 expandmode = "all",
788 parenttag = "footer-column-1",
789 });
790
791 if (!string.IsNullOrEmpty(footerColumn1))
792 {
793 <h2 class="footer__link-header">@Translate("Footer.Column1.Header", "What you need to know")</h2>
794 <ul class="footer__link-list">
795 @footerColumn1
796 </ul>
797 }
798 }
799 </div>
800 <div class="footer__link">
801 @{
802 var footerColumn2 = RenderNavigation(new
803 {
804 id = "footernavigation-2",
805 cssclass = "dwnavigation",
806 startLevel = 1,
807 endlevel = 4,
808 template = "BottomNavigation.xslt",
809 expandmode = "all",
810 parenttag = "footer-column-2",
811 });
812
813 if (!string.IsNullOrEmpty(footerColumn2))
814 {
815 <h2 class="footer__link-header">@Translate("Footer.Column2.Header", "Category two")</h2>
816 <ul class="footer__link-list">
817 @footerColumn2
818 </ul>
819 }
820 }
821 </div>
822 <div class="footer__link">
823 @{
824 var footerColumn3 = RenderNavigation(new
825 {
826 id = "footernavigation-3",
827 cssclass = "dwnavigation",
828 startLevel = 1,
829 endlevel = 4,
830 template = "BottomNavigation.xslt",
831 expandmode = "all",
832 parenttag = "footer-column-3",
833 });
834
835 if (!string.IsNullOrEmpty(footerColumn3))
836 {
837 <h2 class="footer__link-header">@Translate("Footer.Column3.Header", "Category three")</h2>
838 <ul class="footer__link-list">
839 @footerColumn3
840 </ul>
841 }
842 }
843 </div>
844 <div class="footer__description-container">
845 <img class="footer__logo" loading="lazy" src="/Admin/Public/GetImage.ashx?Image=@footerLogo&Crop=5&Format=webp&Quality=99&Compression=80&Width=400" alt="Footer logo" width="400" height="200">
846
847 <div class="footer__description">
848 @footerDescription
849 </div>
850
851 </div>
852
853 </section>
854
855 <section class="footer__copyright">
856
857 <div class="container bottombar__container">
858 @GetValue("DwNavigation(bottombarnavigation)")
859
860 @if (!string.IsNullOrWhiteSpace(twitter) || !string.IsNullOrWhiteSpace(fb) || !string.IsNullOrWhiteSpace(linkedin) || !string.IsNullOrWhiteSpace(youtube) || !string.IsNullOrWhiteSpace(instagram) || !string.IsNullOrWhiteSpace(pinterest))
861 {
862 <section class="footer__social-container">
863
864 <span class="footer__icon-labels">@Translate("Footer.FollowUs", "Volg ons op:")</span>
865
866 <div class="footer__social-icon-container">
867 @if (!string.IsNullOrWhiteSpace(twitter))
868 {
869 <a href="@twitter" target="_blank" title="twitter" class="footer__social" rel="noreferrer"><i class="fab fa-twitter"></i></a>
870 }
871 @if (!string.IsNullOrWhiteSpace(fb))
872 {
873 <a href="@fb" target="_blank" title="facebook" class="footer__social" rel="noreferrer"><i class="fab fa-facebook"></i></a>
874 }
875 @if (!string.IsNullOrWhiteSpace(linkedin))
876 {
877 <a href="@linkedin" target="_blank" title="LinkedIn" class="footer__social" rel="noreferrer"><i class="fab fa-linkedin"></i></a>
878 }
879 @if (!string.IsNullOrWhiteSpace(youtube))
880 {
881 <a href="@youtube" target="_blank" title="YouTube" class="footer__social" rel="noreferrer"><i class="fab fa-youtube"></i></a>
882 }
883 @if (!string.IsNullOrWhiteSpace(instagram))
884 {
885 <a href="@instagram" target="_blank" title="Instagram" class="footer__social" rel="noreferrer"><i class="fab fa-instagram"></i></a>
886 }
887 @if (!string.IsNullOrWhiteSpace(pinterest))
888 {
889 <a href="@pinterest" target="_blank" title="Pinterest" class="footer__social" rel="noreferrer"><i class="fab fa-pinterest"></i></a>
890 }
891 </div>
892
893 </section>
894 }
895 </div>
896
897 </section>
898 </footer>
899
900 @helper RenderFooterUSP(string USP_content, string USP_icon)
901 {
902 if (!string.IsNullOrWhiteSpace(USP_content))
903 {
904 var usp_icon_class = (!string.IsNullOrWhiteSpace(USP_icon)) ? USP_icon : "fal fa-check";
905
906 <li class="footer-usp__item">
907 <i class="@usp_icon_class footer-usp__icon"></i>
908 <span>@USP_content</span>
909 </li>
910 }
911 }
912
913 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>>
914 @using Dynamicweb;
915
916 <section id="vue-modal"></section>
917
918 <section id="vue-bottom-bar" data-phonenumber="@formattedPhonenumber" data-isoffline="@isOffline" data-emailadress="@emailadress" data-currentpageid="@Pageview.Page.ID" data-enable-login="@enableLogin" data-enable-shoppingcart="@enableShoppingCart" data-enable-advancedsearch="@enableAdvancedSearch">
919 </section>
920
921 <section class="bottombar__searchbox__wrapper">
922 <div class="searchbox">
923 <form class="searchbox__form no-validate" method="get" action="/Default.aspx" autocomplete="off" role="search">
924 <input type="hidden" name="ID" value="@SearchPageID">
925 <input type="text" name="q" value="@SearchPrefill" class="input form__input input--text searchbox__input" placeholder="@SearchPlaceholder" aria-label="@SearchPlaceholder" data-placeholder="@SearchPlaceholder" data-hoverplaceholder="@SearchPlaceholderHover">
926 <div class="searchbox__button">
927 <button type="submit" class="searchbox__form__submit icon icon--medium icon__search input__icon" aria-label="Search">
928 <i class="fal fa-search"></i>
929 </button>
930 </div>
931 </form>
932 </div>
933 </section>
934
935 <div id="backdrop"></div>
936
937 @{
938 var appbundlejs = Cache.VersionedFile(designRoot + "/dist/app.bundle.js");
939 var appAsyncbundlejs = Cache.VersionedFile(designRoot + "/dist/appAsync.bundle.js");
940 var vuebundlejs = Cache.VersionedFile(designRoot + "/dist/vue.bundle.js");
941 }
942
943 <script src="@appbundlejs"></script>
944 <script defer src="@vuebundlejs"></script>
945 <script defer src="@appAsyncbundlejs"></script>
946 <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.15.4/css/all.css" integrity="sha384-rqn26AG5Pj86AF4SO72RK5fyefcQ/x32DNQfChxWvbXIyXFePlEktwD18fEz+kQU" crossorigin="anonymous">
947
948 </body>
949 </html>
950