Error compiling template "Designs/Esbjerg/_parsed/SubsitePage.parsed.cshtml"
Line 5475: Cannot implicitly convert type 'int' to 'string'
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.42000
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 namespace CompiledRazorTemplates.Dynamic {
12 using System;
13 using System.Collections.Generic;
14 using System.Linq;
15
16 #line 1 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
17 using System.Activities.Statements;
18
19 #line default
20 #line hidden
21
22 #line 1008 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
23 using Esbjerg.Logic;
24
25 #line default
26 #line hidden
27
28 #line 301 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
29 using Dynamicweb.Content;
30
31 #line default
32 #line hidden
33
34 #line 1158 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
35 using System.Web;
36
37 #line default
38 #line hidden
39
40 #line 719 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
41 using Dynamicweb.Frontend;
42
43 #line default
44 #line hidden
45
46 #line 1009 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
47 using Dynamicweb.Content.Items;
48
49 #line default
50 #line hidden
51
52
53 public class RazorEngine_4af07e5bee534e268e439362603e3a3d : Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> {
54
55 #line hidden
56
57 #line 995 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
58 public RazorEngine.Templating.TemplateWriter RenderColumnLink(ItemViewModel columnLink)
59 {
60 #line default
61 #line hidden
62 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
63
64 #line 996 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
65
66 var linkType = columnLink.GetList("LinkType").SelectedValue;
67 var linkTarget = columnLink.GetList("LinkTarget").SelectedValue;
68 var linkText = columnLink.GetString("LinkText");
69 var link = linkType == "external" ? columnLink.GetString("LinkExternal") : columnLink.GetString("LinkInternal");
70
71
72
73 #line default
74 #line hidden
75 WriteLiteralTo(__razor_helper_writer, " <li>\r\n <a");
76
77 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 70833), Tuple.Create("\"", 70845)
78
79 #line 1003 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
80 , Tuple.Create(Tuple.Create("", 70840), Tuple.Create<System.Object, System.Int32>(link
81
82 #line default
83 #line hidden
84 , 70840), false)
85 );
86
87 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 70846), Tuple.Create("\"", 70872)
88 , Tuple.Create(Tuple.Create("", 70854), Tuple.Create("Link", 70854), true)
89 , Tuple.Create(Tuple.Create(" ", 70858), Tuple.Create("til", 70859), true)
90
91 #line 1003 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
92 , Tuple.Create(Tuple.Create(" ", 70862), Tuple.Create<System.Object, System.Int32>(linkText
93
94 #line default
95 #line hidden
96 , 70863), false)
97 );
98
99 WriteAttributeTo(__razor_helper_writer, "target", Tuple.Create(" target=\"", 70873), Tuple.Create("\"", 70893)
100
101 #line 1003 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
102 , Tuple.Create(Tuple.Create("", 70882), Tuple.Create<System.Object, System.Int32>(linkTarget
103
104 #line default
105 #line hidden
106 , 70882), false)
107 );
108
109 WriteLiteralTo(__razor_helper_writer, " class=\"footer__link\"");
110
111 WriteLiteralTo(__razor_helper_writer, ">");
112
113
114 #line 1003 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
115 WriteTo(__razor_helper_writer, linkText);
116
117
118 #line default
119 #line hidden
120 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </li>\r\n");
121
122
123 #line 1005 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
124
125
126 #line default
127 #line hidden
128 });
129
130 #line 1005 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
131 }
132 #line default
133 #line hidden
134
135
136 #line 1263 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
137
138
139 private string GetThemeTextColor(string hex)
140 {
141 const string white = "#fff";
142 const string black = "#000";
143
144 var color = white;
145
146 switch (hex.ToLower())
147 {
148 case ThemeColors.Cornflower:
149 color = black;
150 break;
151 case ThemeColors.Surf:
152 color = black;
153 break;
154 case ThemeColors.BeautyBush:
155 color = black;
156 break;
157 case ThemeColors.Cerulean:
158 color = black;
159 break;
160 case ThemeColors.Cinnabar:
161 color = black;
162 break;
163 }
164
165 return color;
166 }
167
168 private string GetContrastColor(string hex)
169 {
170 var color = hex;
171
172 switch (hex.ToLower())
173 {
174 case ThemeColors.DeepSapphire:
175 color = "020305";
176 break;
177 case ThemeColors.RegalBlue:
178 color = "013150";
179 break;
180 case ThemeColors.DoveGray:
181 color = "505050";
182 break;
183 case ThemeColors.Valencia:
184 color = "b23646";
185 break;
186 case ThemeColors.Cornflower:
187 color = "8bbbd5";
188 break;
189 case ThemeColors.Surf:
190 color = "c3beb6";
191 break;
192 case ThemeColors.BeautyBush:
193 color = "e0e0e0";
194 break;
195 case ThemeColors.Cerulean:
196 color = "0079a8";
197 break;
198 case ThemeColors.Cinnabar:
199 color = "de3517";
200 break;
201 }
202
203 return color;
204 }
205
206 private string GetLinkColor(string hex)
207 {
208 var color = hex;
209
210 switch (hex.ToLower())
211 {
212 case ThemeColors.DeepSapphire:
213 color = "1d293b";
214 break;
215 case ThemeColors.Cornflower:
216 color = "085077";
217 break;
218 case ThemeColors.Surf:
219 color = "555555";
220 break;
221 case ThemeColors.BeautyBush:
222 color = "555555";
223 break;
224 case ThemeColors.Cerulean:
225 color = "0079a8";
226 break;
227 case ThemeColors.Cinnabar:
228 color = "de3517";
229 break;
230 }
231
232 return color;
233 }
234
235 private struct ThemeColors
236 {
237 public const string DeepSapphire = "0a2e68";
238 public const string RegalBlue = "004069";
239 public const string DoveGray = "666666";
240 public const string Valencia = "d53f53";
241 public const string Cornflower = "88bfe8";
242 public const string Surf = "b1d8b9";
243 public const string BeautyBush = "edc3c4";
244 public const string Cerulean = "009bd9";
245 public const string Cinnabar = "eb573d";
246 }
247
248 #line default
249 #line hidden
250
251
252 public RazorEngine_4af07e5bee534e268e439362603e3a3d() {
253 }
254
255 public override void Execute() {
256
257 #line 3 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
258 Write(Title("Subsite - Master"));
259
260
261 #line default
262 #line hidden
263 WriteLiteral("\r\n");
264
265
266 #line 4 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
267 Write(Description("Master template til subsites"));
268
269
270 #line default
271 #line hidden
272 WriteLiteral("\r\n");
273
274
275 #line 5 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
276
277 var bodyClass = "subsite";
278
279 // thema variables
280 var themeActive = Model.Area.Item.GetBoolean("Subsite");
281 var themeTop = Model.Area.Item.GetList("ThemeTop").SelectedValue;
282 var themeContentArea = Model.Area.Item.GetList("ThemeContentArea").SelectedValue;
283 var themeFooter = Model.Area.Item.GetList("ThemeFooter").SelectedValue;
284 var themeTopHex = themeActive && themeTop != null ? themeTop : "";
285 var themeContentHex = themeActive && themeContentArea != null ? themeContentArea : "";
286 var themeFooterHex = themeActive && themeFooter != null ? themeFooter : "";
287
288 var searchPageId = Model.Area.Item.GetInt64("SearchResultPage");
289 var bodyId = "";
290
291 // if current page is the searchresult page
292 if (searchPageId != 0)
293 {
294 if (Dynamicweb.Frontend.PageView.Current().Page.ID == searchPageId)
295 {
296 bodyId = "id=\"cludo-search-results\"";
297 }
298 }
299
300 if (Dynamicweb.Environment.ExecutingContext.IsAdminLoggedIn())
301 {
302 bodyClass += " logged-in";
303 }
304
305
306 #line default
307 #line hidden
308 WriteLiteral("\r\n\r\n<!DOCTYPE html>\r\n<html");
309
310 WriteAttribute("lang", Tuple.Create(" lang=\"", 1286), Tuple.Create("\"", 1379)
311
312 #line 36 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
313 , Tuple.Create(Tuple.Create("", 1293), Tuple.Create<System.Object, System.Int32>(Dynamicweb.Services.Areas.GetArea(Model.Area.ID).CultureInfo.TwoLetterISOLanguageName
314
315 #line default
316 #line hidden
317 , 1293), false)
318 );
319
320 WriteLiteral(" class=\"no-js\"");
321
322 WriteLiteral(">\r\n\r\n");
323
324 WriteLiteral("\r\n");
325
326
327 #line 42 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
328
329 string cssPath = "/Files/Templates/Designs/" + Pageview.Layout.Design.Name;
330 //Color codes
331 // string colorPrimary = "#007AB8";
332 // string colorPrimaryHover = "#004069";
333 // string colorPrimaryAlternate = "#00669F";
334 // string colorSecondary = "#007AB8";
335 // string textPrimary = "#FFFFFF";
336 // string textSecondary = "#FFFFFF";
337 // string colorLink = "#D53F53";
338 // string colorLinkAlternate = colorPrimary;
339
340 // if (Model.Area.Item.GetBoolean("Subsite"))
341 // {
342 // colorPrimary = Model.Area.Item.GetString("ColorArea1");
343 // colorPrimaryHover = Model.Area.Item.GetString("HoverColor"); // Need new color in BE here
344 // colorPrimaryAlternate = colorPrimaryHover;
345 // colorSecondary = Model.Area.Item.GetString("ColorArea2");
346 // textPrimary = Model.Area.Item.GetString("MenuTextColorPassive");
347 // textSecondary = Model.Area.Item.GetString("HeaderFooterMenuText");
348 // colorLink = colorPrimary;
349 // colorLinkAlternate = colorPrimary;
350 // }
351
352 string appleTouchIcon = @Model.Area.Item.GetString("Apple_touch_icon");
353 string Favicon32x32 = @Model.Area.Item.GetString("Favicon32x32");
354 string Favicon16x16 = @Model.Area.Item.GetString("Favicon16x16");
355
356
357 #line default
358 #line hidden
359 WriteLiteral("\r\n<head>\r\n <title>");
360
361
362 #line 71 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
363 Write(Model.Title);
364
365
366 #line default
367 #line hidden
368 WriteLiteral("</title>\r\n\t<meta");
369
370 WriteLiteral(" name=\"pageID\"");
371
372 WriteAttribute("content", Tuple.Create(" content=\'", 2849), Tuple.Create("\'", 2868)
373
374 #line 72 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
375 , Tuple.Create(Tuple.Create("", 2859), Tuple.Create<System.Object, System.Int32>(Model.ID
376
377 #line default
378 #line hidden
379 , 2859), false)
380 );
381
382 WriteLiteral(">\r\n\t<script");
383
384 WriteLiteral(" src=https://oplev.esbjerg.dk/\"https://cookiecontrol.bleau.dk/scripts/cookieconsent.js\"");
385
386 WriteLiteral("></script>\r\n\t<script");
387
388 WriteLiteral(" id=\"cookiecontrolfunctions\"");
389
390 WriteLiteral(" src=https://oplev.esbjerg.dk/\"https://cookiecontrol.bleau.dk/scripts/Cookiecontrolfunctions.js\"");
391
392 WriteLiteral(" data-cname=\"Esbjerg\"");
393
394 WriteLiteral(" data-defaultset=\"EsbjergDefault\"");
395
396 WriteLiteral("></script>\t \r\n <meta");
397
398 WriteLiteral(" name=\"description\"");
399
400 WriteAttribute("content", Tuple.Create(" content=\"", 3157), Tuple.Create("\"", 3185)
401
402 #line 75 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
403 , Tuple.Create(Tuple.Create("", 3167), Tuple.Create<System.Object, System.Int32>(Model.Description
404
405 #line default
406 #line hidden
407 , 3167), false)
408 );
409
410 WriteLiteral(" />\r\n <meta");
411
412 WriteLiteral(" name=\"keywords\"");
413
414 WriteAttribute("content", Tuple.Create(" content=\"", 3216), Tuple.Create("\"", 3241)
415
416 #line 76 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
417 , Tuple.Create(Tuple.Create("", 3226), Tuple.Create<System.Object, System.Int32>(Model.Keywords
418
419 #line default
420 #line hidden
421 , 3226), false)
422 );
423
424 WriteLiteral(" />\r\n <meta");
425
426 WriteLiteral(" charset=\"utf-8\"");
427
428 WriteLiteral(">\r\n <!-- Add to web.config -->\r\n <meta");
429
430 WriteLiteral(" http-equiv=\"X-UA-Compatible\"");
431
432 WriteLiteral(" content=\"IE=edge\"");
433
434 WriteLiteral(">\r\n <meta");
435
436 WriteLiteral(" name=\"viewport\"");
437
438 WriteLiteral(" content=\"width=device-width, initial-scale=1\"");
439
440 WriteLiteral(">\r\n <meta");
441
442 WriteLiteral(" name=\"format-detection\"");
443
444 WriteLiteral(" content=\"telephone=no\"");
445
446 WriteLiteral(">\r\n\r\n <!-- Change this to be dynamic -->\r\n");
447
448 WriteLiteral(" ");
449
450
451 #line 84 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
452 Write(RenderSnippet("MetaTags"));
453
454
455 #line default
456 #line hidden
457 WriteLiteral("\r\n\r\n <!-- Favicons ");
458
459
460 #line 86 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
461 Write(appleTouchIcon);
462
463
464 #line default
465 #line hidden
466 WriteLiteral(" test=\"");
467
468
469 #line 86 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
470 Write(!String.IsNullOrEmpty(appleTouchIcon) ? "@appleTouchIcon" : "/apple-touch-icon.png");
471
472
473 #line default
474 #line hidden
475 WriteLiteral("\" -->\r\n\r\n\r\n <link");
476
477 WriteLiteral(" rel=\"apple-touch-icon\"");
478
479 WriteLiteral(" sizes=\"180x180\"");
480
481 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 3760), Tuple.Create("\"", 3851)
482
483 #line 89 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
484 , Tuple.Create(Tuple.Create("", 3767), Tuple.Create<System.Object, System.Int32>(!String.IsNullOrEmpty(appleTouchIcon) ? @appleTouchIcon : "/apple-touch-icon.png"
485
486 #line default
487 #line hidden
488 , 3767), false)
489 );
490
491 WriteLiteral(">\r\n <link");
492
493 WriteLiteral(" rel=\"icon\"");
494
495 WriteLiteral(" type=\"image/png\"");
496
497 WriteLiteral(" sizes=\"32x32\"");
498
499 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 3906), Tuple.Create("\"", 3991)
500
501 #line 90 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
502 , Tuple.Create(Tuple.Create("", 3913), Tuple.Create<System.Object, System.Int32>(!String.IsNullOrEmpty(@Favicon32x32) ? @Favicon32x32 : "/favicon-32x32.png"
503
504 #line default
505 #line hidden
506 , 3913), false)
507 );
508
509 WriteLiteral(">\r\n <link");
510
511 WriteLiteral(" rel=\"icon\"");
512
513 WriteLiteral(" type=\"image/png\"");
514
515 WriteLiteral(" sizes=\"16x16\"");
516
517 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 4046), Tuple.Create("\"", 4131)
518
519 #line 91 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
520 , Tuple.Create(Tuple.Create("", 4053), Tuple.Create<System.Object, System.Int32>(!String.IsNullOrEmpty(@Favicon16x16) ? @Favicon16x16 : "/favicon-16x16.png"
521
522 #line default
523 #line hidden
524 , 4053), false)
525 );
526
527 WriteLiteral(">\r\n <link");
528
529 WriteLiteral(" rel=\"manifest\"");
530
531 WriteLiteral(" href=https://oplev.esbjerg.dk/\"/site.webmanifest\"");
532
533 WriteLiteral(">\r\n <link");
534
535 WriteLiteral(" rel=\"mask-icon\"");
536
537 WriteLiteral(" href=https://oplev.esbjerg.dk/\"/safari-pinned-tab.svg\"");
538
539 WriteLiteral(" color=\"Favicon32x32#5bbad5\"");
540
541 WriteLiteral(">\r\n <meta");
542
543 WriteLiteral(" name=\"msapplication-TileColor\"");
544
545 WriteLiteral(" content=\"#da532c\"");
546
547 WriteLiteral(">\r\n <meta");
548
549 WriteLiteral(" name=\"theme-color\"");
550
551 WriteLiteral(" content=\"#ffffff\"");
552
553 WriteLiteral(">\r\n\r\n");
554
555 WriteLiteral(" ");
556
557
558 #line 97 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
559 Write(RenderSnippet("EditorSnippet"));
560
561
562 #line default
563 #line hidden
564 WriteLiteral("\r\n\r\n <!-- Create a block of inline styling to display until the primary CSS is" +
565 " ready. -->\r\n <style");
566
567 WriteLiteral(" type=\"text/css\"");
568
569 WriteLiteral("> ");
570
571
572 #line 100 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
573 Write(Helpers.ReadFile(Pageview.Layout.Design.Path, "static/dist/css/critical-subsite.min.css"));
574
575
576 #line default
577 #line hidden
578 WriteLiteral("</style>\r\n ");
579
580 WriteLiteral("\r\n <link");
581
582 WriteLiteral(" rel=\"preload\"");
583
584 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 4888), Tuple.Create("\"", 4940)
585
586 #line 102 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
587 , Tuple.Create(Tuple.Create("", 4895), Tuple.Create<System.Object, System.Int32>(cssPath
588
589 #line default
590 #line hidden
591 , 4895), false)
592 , Tuple.Create(Tuple.Create("", 4903), Tuple.Create("/static/dist/css/main-subsite.min.css", 4903), true)
593 );
594
595 WriteLiteral(" as=\"style\"");
596
597 WriteLiteral(" onload=\"this.onload=null;this.rel=\'stylesheet\';window.esbjerg&&window.esbjerg.st" +
598 "ylesLoaded&&window.esbjerg.stylesLoaded()\"");
599
600 WriteLiteral(">\r\n <noscript><link");
601
602 WriteLiteral(" rel=\"stylesheet\"");
603
604 WriteLiteral(" type=\"text/css\"");
605
606 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 5130), Tuple.Create("\"", 5182)
607
608 #line 103 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
609 , Tuple.Create(Tuple.Create("", 5137), Tuple.Create<System.Object, System.Int32>(cssPath
610
611 #line default
612 #line hidden
613 , 5137), false)
614 , Tuple.Create(Tuple.Create("", 5145), Tuple.Create("/static/dist/css/main-subsite.min.css", 5145), true)
615 );
616
617 WriteLiteral("></noscript>\r\n <!-- www.Cludo.com search start CSS -->\r\n <link");
618
619 WriteLiteral(" href=https://oplev.esbjerg.dk/\"https://customer.cludo.com/assets/80/10930/cludo-search.min.css\"");
620
621 WriteLiteral(" type=\"text/css\"");
622
623 WriteLiteral(" rel=\"stylesheet\"");
624
625 WriteLiteral(">\r\n <!-- Preload our main script, since we know we are gonna load this later -" +
626 "->\r\n ");
627
628 WriteLiteral("\r\n\r\n <link");
629
630 WriteLiteral(" rel=\"preload\"");
631
632 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 5550), Tuple.Create("\"", 5615)
633
634 #line 109 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
635 , Tuple.Create(Tuple.Create("", 5557), Tuple.Create<System.Object, System.Int32>(cssPath
636
637 #line default
638 #line hidden
639 , 5557), false)
640 , Tuple.Create(Tuple.Create("", 5565), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Regular.woff2", 5565), true)
641 );
642
643 WriteLiteral(" as=\"font\"");
644
645 WriteLiteral(" type=\"font/woff2\"");
646
647 WriteLiteral(" crossorigin=\"anonymous\"");
648
649 WriteLiteral(">\r\n <link");
650
651 WriteLiteral(" rel=\"preload\"");
652
653 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 5694), Tuple.Create("\"", 5758)
654
655 #line 110 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
656 , Tuple.Create(Tuple.Create("", 5701), Tuple.Create<System.Object, System.Int32>(cssPath
657
658 #line default
659 #line hidden
660 , 5701), false)
661 , Tuple.Create(Tuple.Create("", 5709), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Regular.woff", 5709), true)
662 );
663
664 WriteLiteral(" as=\"font\"");
665
666 WriteLiteral(" type=\"font/woff\"");
667
668 WriteLiteral(" crossorigin=\"anonymous\"");
669
670 WriteLiteral(">\r\n <link");
671
672 WriteLiteral(" rel=\"preload\"");
673
674 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 5836), Tuple.Create("\"", 5899)
675
676 #line 111 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
677 , Tuple.Create(Tuple.Create("", 5843), Tuple.Create<System.Object, System.Int32>(cssPath
678
679 #line default
680 #line hidden
681 , 5843), false)
682 , Tuple.Create(Tuple.Create("", 5851), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Regular.ttf", 5851), true)
683 );
684
685 WriteLiteral(" as=\"font\"");
686
687 WriteLiteral(" type=\"font/ttf\"");
688
689 WriteLiteral(" crossorigin=\"anonymous\"");
690
691 WriteLiteral(">\r\n\r\n <link");
692
693 WriteLiteral(" rel=\"preload\"");
694
695 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 5978), Tuple.Create("\"", 6041)
696
697 #line 113 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
698 , Tuple.Create(Tuple.Create("", 5985), Tuple.Create<System.Object, System.Int32>(cssPath
699
700 #line default
701 #line hidden
702 , 5985), false)
703 , Tuple.Create(Tuple.Create("", 5993), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Light.woff2", 5993), true)
704 );
705
706 WriteLiteral(" as=\"font\"");
707
708 WriteLiteral(" type=\"font/woff2\"");
709
710 WriteLiteral(" crossorigin=\"anonymous\"");
711
712 WriteLiteral(">\r\n <link");
713
714 WriteLiteral(" rel=\"preload\"");
715
716 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 6120), Tuple.Create("\"", 6182)
717
718 #line 114 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
719 , Tuple.Create(Tuple.Create("", 6127), Tuple.Create<System.Object, System.Int32>(cssPath
720
721 #line default
722 #line hidden
723 , 6127), false)
724 , Tuple.Create(Tuple.Create("", 6135), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Light.woff", 6135), true)
725 );
726
727 WriteLiteral(" as=\"font\"");
728
729 WriteLiteral(" type=\"font/woff\"");
730
731 WriteLiteral(" crossorigin=\"anonymous\"");
732
733 WriteLiteral(">\r\n <link");
734
735 WriteLiteral(" rel=\"preload\"");
736
737 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 6260), Tuple.Create("\"", 6321)
738
739 #line 115 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
740 , Tuple.Create(Tuple.Create("", 6267), Tuple.Create<System.Object, System.Int32>(cssPath
741
742 #line default
743 #line hidden
744 , 6267), false)
745 , Tuple.Create(Tuple.Create("", 6275), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Light.ttf", 6275), true)
746 );
747
748 WriteLiteral(" as=\"font\"");
749
750 WriteLiteral(" type=\"font/ttf\"");
751
752 WriteLiteral(" crossorigin=\"anonymous\"");
753
754 WriteLiteral(">\r\n\r\n <link");
755
756 WriteLiteral(" rel=\"preload\"");
757
758 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 6400), Tuple.Create("\"", 6462)
759
760 #line 117 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
761 , Tuple.Create(Tuple.Create("", 6407), Tuple.Create<System.Object, System.Int32>(cssPath
762
763 #line default
764 #line hidden
765 , 6407), false)
766 , Tuple.Create(Tuple.Create("", 6415), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Bold.woff2", 6415), true)
767 );
768
769 WriteLiteral(" as=\"font\"");
770
771 WriteLiteral(" type=\"font/woff2\"");
772
773 WriteLiteral(" crossorigin=\"anonymous\"");
774
775 WriteLiteral(">\r\n <link");
776
777 WriteLiteral(" rel=\"preload\"");
778
779 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 6541), Tuple.Create("\"", 6602)
780
781 #line 118 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
782 , Tuple.Create(Tuple.Create("", 6548), Tuple.Create<System.Object, System.Int32>(cssPath
783
784 #line default
785 #line hidden
786 , 6548), false)
787 , Tuple.Create(Tuple.Create("", 6556), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Bold.woff", 6556), true)
788 );
789
790 WriteLiteral(" as=\"font\"");
791
792 WriteLiteral(" type=\"font/woff\"");
793
794 WriteLiteral(" crossorigin=\"anonymous\"");
795
796 WriteLiteral(">\r\n <link");
797
798 WriteLiteral(" rel=\"preload\"");
799
800 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 6680), Tuple.Create("\"", 6740)
801
802 #line 119 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
803 , Tuple.Create(Tuple.Create("", 6687), Tuple.Create<System.Object, System.Int32>(cssPath
804
805 #line default
806 #line hidden
807 , 6687), false)
808 , Tuple.Create(Tuple.Create("", 6695), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Bold.ttf", 6695), true)
809 );
810
811 WriteLiteral(" as=\"font\"");
812
813 WriteLiteral(" type=\"font/ttf\"");
814
815 WriteLiteral(" crossorigin=\"anonymous\"");
816
817 WriteLiteral(">\r\n\r\n\r\n\r\n <!-- You can use \"prefetch\" to preload other important assets (if yo" +
818 "u\'re not using HTTP/2 push) -->\r\n <!-- And you can tell the browser to pre-co" +
819 "nnect to other sites you know you are going to talk to eventually: -->\r\n <lin" +
820 "k");
821
822 WriteLiteral(" rel=\"dns-prefetch\"");
823
824 WriteLiteral(" href=https://oplev.esbjerg.dk/\"https://cdn.polyfill.io\"");
825
826 WriteLiteral(">\r\n\r\n <script");
827
828 WriteLiteral(" type=\"text/javascript\"");
829
830 WriteLiteral(">");
831
832
833 #line 127 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
834 Write(Helpers.ReadFile(Pageview.Layout.Design.Path, "static/dist/js/modernizr.js"));
835
836
837 #line default
838 #line hidden
839 WriteLiteral("</script>\r\n\r\n\t<!--Insights-->\r\n <script");
840
841 WriteLiteral(" type=\"text/javascript\"");
842
843 WriteLiteral(">\r\n !function (T, l, y) { var S = T.location, u = \"script\", k = \"instrumen" +
844 "tationKey\", D = \"ingestionendpoint\", C = \"disableExceptionTracking\", E = \"ai.dev" +
845 "ice.\", I = \"toLowerCase\", b = \"crossOrigin\", w = \"POST\", e = \"appInsightsSDK\", t" +
846 " = y.name || \"appInsights\"; (y.name || T[e]) && (T[e] = t); var n = T[t] || func" +
847 "tion (d) { var g = !1, f = !1, m = { initialize: !0, queue: [], sv: \"4\", version" +
848 ": 2, config: d }; function v(e, t) { var n = {}, a = \"Browser\"; return n[E + \"id" +
849 "\"] = a[I](), n[E + \"type\"] = a, n[\"ai.operation.name\"] = S && S.pathname || \"_un" +
850 "known_\", n[\"ai.internal.sdkVersion\"] = \"javascript:snippet_\" + (m.sv || m.versio" +
851 "n), { time: function () { var e = new Date; function t(e) { var t = \"\" + e; retu" +
852 "rn 1 === t.length && (t = \"0\" + t), t } return e.getUTCFullYear() + \"-\" + t(1 + " +
853 "e.getUTCMonth()) + \"-\" + t(e.getUTCDate()) + \"T\" + t(e.getUTCHours()) + \":\" + t(" +
854 "e.getUTCMinutes()) + \":\" + t(e.getUTCSeconds()) + \".\" + ((e.getUTCMilliseconds()" +
855 " / 1e3).toFixed(3) + \"\").slice(2, 5) + \"Z\" }(), iKey: e, name: \"Microsoft.Applic" +
856 "ationInsights.\" + e.replace(/-/g, \"\") + \".\" + t, sampleRate: 100, tags: n, data:" +
857 " { baseData: { ver: 2 } } } } var h = d.url || y.src; if (h) { function a(e) { v" +
858 "ar t, n, a, i, r, o, s, c, p, l, u; g = !0, m.queue = [], f || (f = !0, t = h, s" +
859 " = function () { var e = {}, t = d.connectionString; if (t) for (var n = t.split" +
860 "(\";\"), a = 0; a < n.length; a++) { var i = n[a].split(\"=\"); 2 === i.length && (e" +
861 "[i[0][I]()] = i[1]) } if (!e[D]) { var r = e.endpointsuffix, o = r ? e.location " +
862 ": null; e[D] = \"https://\" + (o ? o + \".\" : \"\") + \"dc.\" + (r || \"services.visuals" +
863 "tudio.com\") } return e }(), c = s[k] || d[k] || \"\", p = s[D], l = p ? p + \"/v2/t" +
864 "rack\" : config.endpointUrl, (u = []).push((n = \"SDK LOAD Failure: Failed to load" +
865 " Application Insights SDK script (See stack for details)\", a = t, i = l, (o = (r" +
866 " = v(c, \"Exception\")).data).baseType = \"ExceptionData\", o.baseData.exceptions = " +
867 "[{ typeName: \"SDKLoadFailed\", message: n.replace(/\\./g, \"-\"), hasFullStack: !1, " +
868 "stack: n + \"\\nSnippet failed to load [\" + a + \"] -- Telemetry is disabled\\nHelp " +
869 "Link: https://go.microsoft.com/fwlink/?linkid=2128109\\nHost: \" + (S && S.pathnam" +
870 "e || \"_unknown_\") + \"\\nEndpoint: \" + i, parsedStack: [] }], r)), u.push(function" +
871 " (e, t, n, a) { var i = v(c, \"Message\"), r = i.data; r.baseType = \"MessageData\";" +
872 " var o = r.baseData; return o.message = \'AI (Internal): 99 message:\"\' + (\"SDK LO" +
873 "AD Failure: Failed to load Application Insights SDK script (See stack for detail" +
874 "s) (\" + n + \")\").replace(/\\\"/g, \"\") + \'\"\', o.properties = { endpoint: a }, i }(0" +
875 ", 0, t, l)), function (e, t) { if (JSON) { var n = T.fetch; if (n && !y.useXhr) " +
876 "n(t, { method: w, body: JSON.stringify(e), mode: \"cors\" }); else if (XMLHttpRequ" +
877 "est) { var a = new XMLHttpRequest; a.open(w, t), a.setRequestHeader(\"Content-typ" +
878 "e\", \"application/json\"), a.send(JSON.stringify(e)) } } }(u, l)) } function i(e, " +
879 "t) { f || setTimeout(function () { !t && m.core || a() }, 500) } var e = functio" +
880 "n () { var n = l.createElement(u); n.src =h; var e = y[b]; return !e && \"\" !== " +
881 "e || \"undefined\" == n[b] || (n[b] = e), n.onload = i, n.onerror = a, n.onreadyst" +
882 "atechange = function (e, t) { \"loaded\" !== n.readyState && \"complete\" !== n.read" +
883 "yState || i(0, t) }, n }(); y.ld < 0 ? l.getElementsByTagName(\"head\")[0].appendC" +
884 "hild(e) : setTimeout(function () { l.getElementsByTagName(u)[0].parentNode.appen" +
885 "dChild(e) }, y.ld || 0) } try { m.cookie = l.cookie } catch (p) { } function t(e" +
886 ") { for (; e.length;)!function (t) { m[t] = function () { var e = arguments; g |" +
887 "| m.queue.push(function () { m[t].apply(m, e) }) } }(e.pop()) } var n = \"track\"," +
888 " r = \"TrackPage\", o = \"TrackEvent\"; t([n + \"Event\", n + \"PageView\", n + \"Excepti" +
889 "on\", n + \"Trace\", n + \"DependencyData\", n + \"Metric\", n + \"PageViewPerformance\"," +
890 " \"start\" + r, \"stop\" + r, \"start\" + o, \"stop\" + o, \"addTelemetryInitializer\", \"s" +
891 "etAuthenticatedUserContext\", \"clearAuthenticatedUserContext\", \"flush\"]), m.Sever" +
892 "ityLevel = { Verbose: 0, Information: 1, Warning: 2, Error: 3, Critical: 4 }; va" +
893 "r s = (d.extensionConfig || {}).ApplicationInsightsAnalytics || {}; if (!0 !== d" +
894 "[C] && !0 !== s[C]) { method = \"onerror\", t([\"_\" + method]); var c = T[method]; " +
895 "T[method] = function (e, t, n, a, i) { var r = c && c(e, t, n, a, i); return !0 " +
896 "!== r && m[\"_\" + method]({ message: e, url: t, lineNumber: n, columnNumber: a, e" +
897 "rror: i }), r }, d.autoExceptionInstrumented = !0 } return m }(y.cfg); (T[t] = n" +
898 ").queue && 0 === n.queue.length && n.trackPageView({}) }(window, document, {\r\n " +
899 " src: \"https://az416426.vo.msecnd.net/scripts/b/ai.2.min.js\", // The SD" +
900 "K URL Source\r\n //name: \"appInsights\", // Global SDK Instance name def" +
901 "aults to \"appInsights\" when not supplied\r\n //ld: 0, // Defines the lo" +
902 "ad delay (in ms) before attempting to load the sdk. -1 = block page load and add" +
903 " to head. (default) = 0ms load after timeout,\r\n //useXhr: 1, // Use X" +
904 "HR instead of fetch to report failures (if available),\r\n //crossOrigi" +
905 "n: \"anonymous\", // When supplied this will add the provided value as the cross o" +
906 "rigin attribute on the script tag\r\n cfg: { // Application Insights Co" +
907 "nfiguration\r\n instrumentationKey: \"5b8602f4-7263-41f7-b005-6c42db" +
908 "042759\",\r\n name: \"BleauBorgerEsbjerg\",\r\n isCookieU" +
909 "seDisabled: \"true\"\r\n /* ...Other Configuration Options... */\r\n " +
910 " }\r\n });\r\n </script>\r\n\r\n <!--Kode - Header section-->\r\n");
911
912 WriteLiteral(" ");
913
914
915 #line 147 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
916 Write(RenderSnippet("KodeHeader"));
917
918
919 #line default
920 #line hidden
921 WriteLiteral(" \r\n\r\n");
922
923 WriteLiteral("\t");
924
925
926 #line 149 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
927 Write(RenderSnippet("MinimapHead"));
928
929
930 #line default
931 #line hidden
932 WriteLiteral(" \r\n</head>\r\n\r\n<body");
933
934 WriteAttribute("class", Tuple.Create(" class=\"", 12798), Tuple.Create("\"", 12816)
935
936 #line 152 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
937 , Tuple.Create(Tuple.Create("", 12806), Tuple.Create<System.Object, System.Int32>(bodyClass
938
939 #line default
940 #line hidden
941 , 12806), false)
942 );
943
944 WriteLiteral(" ");
945
946
947 #line 152 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
948 Write(bodyId);
949
950
951 #line default
952 #line hidden
953 WriteLiteral(">\r\n");
954
955
956 #line 153 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
957
958
959 #line default
960 #line hidden
961
962 #line 153 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
963 if (themeActive)
964 {
965
966
967 #line default
968 #line hidden
969 WriteLiteral(" <style>\r\n :root {\r\n /* Header/Top Area*/\r\n -" +
970 "-theme-top__primary-color: ");
971
972
973 #line 158 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
974 Write($"#{themeTopHex}");
975
976
977 #line default
978 #line hidden
979 WriteLiteral(";\r\n --theme-top__primary-color--alternate: ");
980
981
982 #line 159 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
983 Write($"#{GetLinkColor(themeTopHex)}");
984
985
986 #line default
987 #line hidden
988 WriteLiteral(";\r\n --theme-top__primary-color--text: ");
989
990
991 #line 160 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
992 Write(GetThemeTextColor(themeTopHex));
993
994
995 #line default
996 #line hidden
997 WriteLiteral(";\r\n --theme-top__primary-color--dimmed: ");
998
999
1000 #line 161 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1001 Write($"#{GetContrastColor(themeTopHex)}");
1002
1003
1004 #line default
1005 #line hidden
1006 WriteLiteral(";\r\n --theme-top__color--link-hover: ");
1007
1008
1009 #line 162 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1010 Write($"#{themeTopHex}");
1011
1012
1013 #line default
1014 #line hidden
1015 WriteLiteral(";\r\n\r\n /* Content Area */\r\n --theme-content__primary-color: " +
1016 "");
1017
1018
1019 #line 165 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1020 Write($"#{themeContentHex}");
1021
1022
1023 #line default
1024 #line hidden
1025 WriteLiteral(";\r\n --theme-content__primary-color--alternate: ");
1026
1027
1028 #line 166 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1029 Write($"#{GetLinkColor(themeContentHex)}");
1030
1031
1032 #line default
1033 #line hidden
1034 WriteLiteral(";\r\n --theme-content__primary-color--text: ");
1035
1036
1037 #line 167 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1038 Write(GetThemeTextColor(themeContentHex));
1039
1040
1041 #line default
1042 #line hidden
1043 WriteLiteral(";\r\n --theme-content__color--gallery-arrow: ");
1044
1045
1046 #line 168 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1047 Write($"#{themeContentHex}");
1048
1049
1050 #line default
1051 #line hidden
1052 WriteLiteral(";\r\n --theme-content__primary-color--dimmed: ");
1053
1054
1055 #line 169 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1056 Write($"#{GetContrastColor(themeContentHex)}");
1057
1058
1059 #line default
1060 #line hidden
1061 WriteLiteral(";\r\n --theme-content__color--link-hover: ");
1062
1063
1064 #line 170 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1065 Write($"#{themeContentHex}");
1066
1067
1068 #line default
1069 #line hidden
1070 WriteLiteral(";\r\n\r\n /* Footer Area */\r\n --theme-footer__primary-color: ");
1071
1072
1073 #line 173 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1074 Write($"#{themeFooterHex}");
1075
1076
1077 #line default
1078 #line hidden
1079 WriteLiteral(";\r\n --theme-footer__primary-color--alternate: ");
1080
1081
1082 #line 174 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1083 Write($"#{GetLinkColor(themeFooterHex)}");
1084
1085
1086 #line default
1087 #line hidden
1088 WriteLiteral(";\r\n --theme-footer__primary-color--text: ");
1089
1090
1091 #line 175 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1092 Write(GetThemeTextColor(themeFooterHex));
1093
1094
1095 #line default
1096 #line hidden
1097 WriteLiteral(";\r\n --theme-footer__primary-color--dimmed: ");
1098
1099
1100 #line 176 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1101 Write($"#{GetContrastColor(themeFooterHex)}");
1102
1103
1104 #line default
1105 #line hidden
1106 WriteLiteral(";\r\n --theme-footer__color--link-hover: ");
1107
1108
1109 #line 177 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1110 Write($"#{GetLinkColor(themeFooterHex)}");
1111
1112
1113 #line default
1114 #line hidden
1115 WriteLiteral(";\r\n }\r\n </style>\r\n");
1116
1117
1118 #line 180 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1119 }
1120
1121
1122 #line default
1123 #line hidden
1124 WriteLiteral("\r\n");
1125
1126
1127 #line 182 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1128
1129
1130 #line default
1131 #line hidden
1132 WriteLiteral("<header");
1133
1134 WriteLiteral(" class=\"header-main header-main--subsite\"");
1135
1136 WriteLiteral(">\r\n <div");
1137
1138 WriteLiteral(" class=\"header-main__top\"");
1139
1140 WriteLiteral(">\r\n <div");
1141
1142 WriteLiteral(" class=\"search\"");
1143
1144 WriteLiteral(">\r\n <button");
1145
1146 WriteLiteral(" type=\"button\"");
1147
1148 WriteLiteral(" name=\"toggle-search-button\"");
1149
1150 WriteLiteral(" aria-label=\"toggle-search\"");
1151
1152 WriteLiteral(" class=\"search__toggle-btn\"");
1153
1154 WriteLiteral(" aria-expanded=\"false\"");
1155
1156 WriteLiteral(" aria-haspopup=\"true\"");
1157
1158 WriteLiteral(">\r\n <span");
1159
1160 WriteLiteral(" class=\"search__search-icon\"");
1161
1162 WriteLiteral(">\r\n <svg");
1163
1164 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
1165
1166 WriteLiteral(" viewBox=\"0 0 23 23.071\"");
1167
1168 WriteLiteral("><path");
1169
1170 WriteLiteral(" d=\"M22.292 22.295a.72.72 0 0 1-1.007 0l-5.7-5.612a9.306 9.306 0 0 1-5.826 2.034 " +
1171 "9.11 9.11 0 1 1 9.256-9.109 8.984 8.984 0 0 1-2.4 6.105l5.68 5.59a.693.693 0 0 1" +
1172 "-.003.992zM9.756 1.9a7.708 7.708 0 1 0 7.832 7.707A7.77 7.77 0 0 0 9.756 1.9z\"");
1173
1174 WriteLiteral("/></svg>\r\n </span>\r\n <span");
1175
1176 WriteLiteral(" class=\"search__close-icon\"");
1177
1178 WriteLiteral(">\r\n <svg");
1179
1180 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
1181
1182 WriteLiteral(" viewBox=\"0 0 19.801 19.798\"");
1183
1184 WriteLiteral("><path");
1185
1186 WriteLiteral(" d=\"M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485" +
1187 " 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z\"");
1188
1189 WriteLiteral("/></svg>\r\n </span>\r\n <span");
1190
1191 WriteLiteral(" class=\"search__text\"");
1192
1193 WriteLiteral(" data-text-default=\"");
1194
1195
1196 #line 193 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1197 Write(Translate("Search", "Søg"));
1198
1199
1200 #line default
1201 #line hidden
1202 WriteLiteral("\"");
1203
1204 WriteLiteral(" data-text-close=\"");
1205
1206
1207 #line 193 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1208 Write(Translate("Close", "Luk"));
1209
1210
1211 #line default
1212 #line hidden
1213 WriteLiteral("\"");
1214
1215 WriteLiteral(">\r\n");
1216
1217 WriteLiteral(" ");
1218
1219
1220 #line 194 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1221 Write(Translate("Search", "Søg"));
1222
1223
1224 #line default
1225 #line hidden
1226 WriteLiteral("\r\n </span>\r\n </button>\r\n <div");
1227
1228 WriteLiteral(" class=\"search__content cludo-search-page\"");
1229
1230 WriteLiteral(">\r\n <div");
1231
1232 WriteLiteral(" class=\"grid grid-container\"");
1233
1234 WriteLiteral(">\r\n <div");
1235
1236 WriteLiteral(" class=\"row row--right cludo-nav-items\"");
1237
1238 WriteLiteral(">\r\n <div");
1239
1240 WriteLiteral(" class=\"cludo-nav-items-search\"");
1241
1242 WriteLiteral(">\r\n <form");
1243
1244 WriteLiteral(" class=\"search__form\"");
1245
1246 WriteLiteral(" id=\"cludo-search-form\"");
1247
1248 WriteLiteral(" role=\"search\"");
1249
1250 WriteLiteral(" autocomplete=\"off\"");
1251
1252 WriteLiteral(">\r\n <input");
1253
1254 WriteLiteral(" class=\"search__input\"");
1255
1256 WriteLiteral(" autofill=\"false\"");
1257
1258 WriteLiteral(" type=\"search\"");
1259
1260 WriteLiteral(" name=\"search\"");
1261
1262 WriteLiteral(" title=\"Global søgning\"");
1263
1264 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 16172), Tuple.Create("\"", 16241)
1265
1266 #line 202 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1267 , Tuple.Create(Tuple.Create("", 16186), Tuple.Create<System.Object, System.Int32>(Translate("(Search) Label", "Hvad kan vi hjælpe med?")
1268
1269 #line default
1270 #line hidden
1271 , 16186), false)
1272 );
1273
1274 WriteLiteral(">\r\n <button");
1275
1276 WriteLiteral(" type=\"submit\"");
1277
1278 WriteAttribute("aria-label", Tuple.Create(" aria-label=\"", 16298), Tuple.Create("\"", 16338)
1279
1280 #line 203 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1281 , Tuple.Create(Tuple.Create("", 16311), Tuple.Create<System.Object, System.Int32>(Translate("Search", "Søg")
1282
1283 #line default
1284 #line hidden
1285 , 16311), false)
1286 );
1287
1288 WriteLiteral(">\r\n <span");
1289
1290 WriteLiteral(" class=\"cludo-search-icon\"");
1291
1292 WriteLiteral(">\r\n <svg");
1293
1294 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
1295
1296 WriteLiteral(" viewBox=\"0 0 23 23.071\"");
1297
1298 WriteLiteral("><path");
1299
1300 WriteLiteral(" d=\"M22.292 22.295a.72.72 0 0 1-1.007 0l-5.7-5.612a9.306 9.306 0 0 1-5.826 2.034 " +
1301 "9.11 9.11 0 1 1 9.256-9.109 8.984 8.984 0 0 1-2.4 6.105l5.68 5.59a.693.693 0 0 1" +
1302 "-.003.992zM9.756 1.9a7.708 7.708 0 1 0 7.832 7.707A7.77 7.77 0 0 0 9.756 1.9z\"");
1303
1304 WriteLiteral("/></svg>\r\n </span>\r\n " +
1305 " </button>\r\n </form>\r\n </" +
1306 "div>\r\n\r\n <div");
1307
1308 WriteLiteral(" class=\"cludo-nav-items-filters\"");
1309
1310 WriteLiteral(">\r\n <div");
1311
1312 WriteLiteral(" class=\"search-filters search-filters-mobile\"");
1313
1314 WriteLiteral(" aria-haspopup=\"true\"");
1315
1316 WriteLiteral("></div>\r\n </div>\r\n </div>\r\n " +
1317 " </div>\r\n </div>\r\n </div>\r\n <a");
1318
1319 WriteLiteral(" class=\"skip-to-content\"");
1320
1321 WriteLiteral(" href=https://oplev.esbjerg.dk/\"#maincontent\"");
1322
1323 WriteLiteral(">Gå til hovedindhold <span>(Tryk Enter)</span></a>\r\n </div>\r\n <div");
1324
1325 WriteLiteral(" class=\"header-main__bottom\"");
1326
1327 WriteLiteral(">\r\n <div");
1328
1329 WriteLiteral(" class=\"header-main__menu header-main__menu--to-top-on-open\"");
1330
1331 WriteLiteral(">\r\n <div");
1332
1333 WriteLiteral(" class=\"menu menu--closed\"");
1334
1335 WriteLiteral(">\r\n <button");
1336
1337 WriteLiteral(" type=\"button\"");
1338
1339 WriteLiteral(" name=\"toggle-menu-button\"");
1340
1341 WriteLiteral(" aria-label=\"toggle-menu\"");
1342
1343 WriteLiteral(" class=\"menu__burger-btn svg-fill--primary text--primary bg--primary\"");
1344
1345 WriteLiteral(" aria-haspopup=\"true\"");
1346
1347 WriteLiteral(" aria-controls=\"main-nav\"");
1348
1349 WriteLiteral(" data-svg-default=\"svg-fill--primary\"");
1350
1351 WriteLiteral(" data-svg-open=\"svg-fill--secondary\"");
1352
1353 WriteLiteral(" data-text-default=\"text--primary\"");
1354
1355 WriteLiteral(" data-text-open=\"text--secondary\"");
1356
1357 WriteLiteral(" data-background-default=\"bg--primary\"");
1358
1359 WriteLiteral(" data-background-open=\"bg--primary-alternate\"");
1360
1361 WriteLiteral(" aria-expanded=\"false\"");
1362
1363 WriteLiteral(">\r\n <span");
1364
1365 WriteLiteral(" class=\"menu__menu-icon\"");
1366
1367 WriteLiteral(">\r\n <svg");
1368
1369 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
1370
1371 WriteLiteral(" viewBox=\"0 0 26 16\"");
1372
1373 WriteLiteral("><path");
1374
1375 WriteLiteral(" d=\"M.001 16v-2h26v2zm0-7V7h26v2zm0-7V0h26v2z\"");
1376
1377 WriteLiteral("/></svg>\r\n </span>\r\n <span");
1378
1379 WriteLiteral(" class=\"menu__close-icon\"");
1380
1381 WriteLiteral(">\r\n <svg");
1382
1383 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
1384
1385 WriteLiteral(" viewBox=\"0 0 19.801 19.798\"");
1386
1387 WriteLiteral("><path");
1388
1389 WriteLiteral(" d=\"M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485" +
1390 " 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z\"");
1391
1392 WriteLiteral("/></svg>\r\n </span>\r\n <span");
1393
1394 WriteLiteral(" class=\"menu__text\"");
1395
1396 WriteLiteral(" data-text-open=\"");
1397
1398
1399 #line 230 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1400 Write(Translate("Menu", "Menu"));
1401
1402
1403 #line default
1404 #line hidden
1405 WriteLiteral("\"");
1406
1407 WriteLiteral(" data-text-close=\"");
1408
1409
1410 #line 230 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1411 Write(Translate("Close", "Luk"));
1412
1413
1414 #line default
1415 #line hidden
1416 WriteLiteral("\"");
1417
1418 WriteLiteral(">\r\n");
1419
1420 WriteLiteral(" ");
1421
1422
1423 #line 231 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1424 Write(Translate("Menu", "Menu"));
1425
1426
1427 #line default
1428 #line hidden
1429 WriteLiteral("\r\n </span>\r\n </button>\r\n\r\n");
1430
1431
1432 #line 235 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1433
1434
1435 #line default
1436 #line hidden
1437
1438 #line 237 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1439
1440 var navImage = Model.Area.Item.GetString("Image");
1441 var navImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkInternal");
1442 var navImageLinkText = Model.Area.Item.GetItem("ImageLink").GetString("LinkText");
1443 var navImageLinkTarget = Model.Area.Item.GetItem("ImageLink").GetList("LinkTarget").SelectedValue;
1444 var navImageLinkLinkType = Model.Area.Item.GetItem("ImageLink").GetList("LinkType").SelectedValue;
1445
1446 var navImage2 = Model.Area.Item.GetString("Image2");
1447 var navImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkInternal");
1448 var navImageLinkText2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkText");
1449 var navImageLinkTarget2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkTarget").SelectedValue;
1450 var navImageLinkLinkType2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkType").SelectedValue;
1451
1452 if (navImageLinkLinkType == "external")
1453 {
1454 navImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkExternal");
1455 }
1456 if (navImageLinkLinkType2 == "external")
1457 {
1458 navImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkExternal");
1459 }
1460
1461
1462
1463 #line default
1464 #line hidden
1465 WriteLiteral("\r\n\r\n<nav");
1466
1467 WriteLiteral(" id=\"main-nav\"");
1468
1469 WriteLiteral(" class=\"menu__content\"");
1470
1471 WriteLiteral(" aria-labelledby=\"primary-navigation\"");
1472
1473 WriteLiteral(">\r\n <h2");
1474
1475 WriteLiteral(" id=\"primary-navigation\"");
1476
1477 WriteLiteral(" class=\"visuallyhidden\"");
1478
1479 WriteLiteral(">Primær navigation</h2>\r\n\r\n");
1480
1481 WriteLiteral(" ");
1482
1483
1484 #line 264 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1485 Write(RenderNavigation(new { template = "SubsiteBurgerNavigation.xslt", expandmode = "all", startlevel = 2 }));
1486
1487
1488 #line default
1489 #line hidden
1490 WriteLiteral("\r\n");
1491
1492
1493 #line 265 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1494
1495
1496 #line default
1497 #line hidden
1498
1499 #line 265 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1500 if (!string.IsNullOrWhiteSpace(navImage))
1501 {
1502
1503
1504 #line default
1505 #line hidden
1506 WriteLiteral(" <div");
1507
1508 WriteLiteral(" class=\"menu__culture\"");
1509
1510 WriteLiteral(">\r\n");
1511
1512
1513 #line 268 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1514
1515
1516 #line default
1517 #line hidden
1518
1519 #line 268 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1520 if (navImage != "")
1521 {
1522
1523
1524 #line default
1525 #line hidden
1526 WriteLiteral(" <a");
1527
1528 WriteLiteral(" class=\"menu__culture-link\"");
1529
1530 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 20513), Tuple.Create("\"", 20533)
1531
1532 #line 270 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1533 , Tuple.Create(Tuple.Create("", 20520), Tuple.Create<System.Object, System.Int32>(navImageLink
1534
1535 #line default
1536 #line hidden
1537 , 20520), false)
1538 );
1539
1540 WriteAttribute("target", Tuple.Create(" target=\"", 20534), Tuple.Create("\"", 20562)
1541
1542 #line 270 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1543 , Tuple.Create(Tuple.Create("", 20543), Tuple.Create<System.Object, System.Int32>(navImageLinkTarget
1544
1545 #line default
1546 #line hidden
1547 , 20543), false)
1548 );
1549
1550 WriteLiteral(">\r\n <img");
1551
1552 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 20588), Tuple.Create("\"", 20603)
1553
1554 #line 271 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1555 , Tuple.Create(Tuple.Create("", 20594), Tuple.Create<System.Object, System.Int32>(navImage
1556
1557 #line default
1558 #line hidden
1559 , 20594), false)
1560 );
1561
1562 WriteAttribute("alt", Tuple.Create(" alt=\"", 20604), Tuple.Create("\"", 20627)
1563
1564 #line 271 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1565 , Tuple.Create(Tuple.Create("", 20610), Tuple.Create<System.Object, System.Int32>(navImageLinkText
1566
1567 #line default
1568 #line hidden
1569 , 20610), false)
1570 );
1571
1572 WriteLiteral(">\r\n </a>\r\n");
1573
1574
1575 #line 273 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1576 }
1577
1578
1579 #line default
1580 #line hidden
1581 WriteLiteral(" ");
1582
1583
1584 #line 274 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1585 if (navImage2 != "")
1586 {
1587
1588
1589 #line default
1590 #line hidden
1591 WriteLiteral(" <a");
1592
1593 WriteLiteral(" class=\"menu__culture-link\"");
1594
1595 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 20752), Tuple.Create("\"", 20773)
1596
1597 #line 276 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1598 , Tuple.Create(Tuple.Create("", 20759), Tuple.Create<System.Object, System.Int32>(navImageLink2
1599
1600 #line default
1601 #line hidden
1602 , 20759), false)
1603 );
1604
1605 WriteAttribute("target", Tuple.Create(" target=\"", 20774), Tuple.Create("\"", 20803)
1606
1607 #line 276 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1608 , Tuple.Create(Tuple.Create("", 20783), Tuple.Create<System.Object, System.Int32>(navImageLinkTarget2
1609
1610 #line default
1611 #line hidden
1612 , 20783), false)
1613 );
1614
1615 WriteLiteral(">\r\n <img");
1616
1617 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 20829), Tuple.Create("\"", 20845)
1618
1619 #line 277 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1620 , Tuple.Create(Tuple.Create("", 20835), Tuple.Create<System.Object, System.Int32>(navImage2
1621
1622 #line default
1623 #line hidden
1624 , 20835), false)
1625 );
1626
1627 WriteAttribute("alt", Tuple.Create(" alt=\"", 20846), Tuple.Create("\"", 20870)
1628
1629 #line 277 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1630 , Tuple.Create(Tuple.Create("", 20852), Tuple.Create<System.Object, System.Int32>(navImageLinkText2
1631
1632 #line default
1633 #line hidden
1634 , 20852), false)
1635 );
1636
1637 WriteLiteral(">\r\n </a>\r\n");
1638
1639
1640 #line 279 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1641 }
1642
1643
1644 #line default
1645 #line hidden
1646 WriteLiteral(" </div>\r\n");
1647
1648
1649 #line 281 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1650 }
1651
1652
1653 #line default
1654 #line hidden
1655 WriteLiteral("</nav>\r\n </div>\r\n </div>\r\n <div");
1656
1657 WriteLiteral(" class=\"header-main__bar\"");
1658
1659 WriteLiteral(">\r\n <div");
1660
1661 WriteLiteral(" class=\"grid grid-container\"");
1662
1663 WriteLiteral(">\r\n <div");
1664
1665 WriteLiteral(" class=\"header-main__logo logo\"");
1666
1667 WriteLiteral(">\r\n <a");
1668
1669 WriteLiteral(" href=https://oplev.esbjerg.dk/\"/\"");
1670
1671 WriteLiteral(" title=\"Gå til forsiden\"");
1672
1673 WriteLiteral(" class=\"logo__link\"");
1674
1675 WriteLiteral(">\r\n <img");
1676
1677 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 21217), Tuple.Create("\"", 21261)
1678
1679 #line 289 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1680 , Tuple.Create(Tuple.Create("", 21223), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("SiteLogo")
1681
1682 #line default
1683 #line hidden
1684 , 21223), false)
1685 );
1686
1687 WriteLiteral(" alt=\"Logo alt tekst\"");
1688
1689 WriteLiteral(">\r\n </a>\r\n </div>\r\n </div>\r\n " +
1690 "</div>\r\n </div>\r\n</header>\r\n\r\n <main");
1691
1692 WriteLiteral(" id=\"maincontent\"");
1693
1694 WriteLiteral(" tabindex=\"-1\"");
1695
1696 WriteLiteral(">\r\n");
1697
1698
1699 #line 298 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1700
1701
1702 #line default
1703 #line hidden
1704
1705 #line 304 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1706
1707 string snippetPicturePath = "http://" + System.Web.HttpContext.Current.Request.Url.Host + "/admin/public/GetImage.ashx?Image=" + Model.Item.GetString("Heropicture") + "&width=1200&altFmImage_path=" + Model.Area.Item.GetString("DefaultPicture");
1708 PageService pageService = new PageService();
1709 Dynamicweb.Content.Page p = pageService.GetPage(Model.Item.PageID);
1710 bool isVideo = Model.Item.GetBoolean("IsVideo");
1711
1712
1713
1714 #line default
1715 #line hidden
1716 WriteLiteral("\r\n");
1717
1718
1719 #line 311 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1720 Write(SnippetStart("MetaTags"));
1721
1722
1723 #line default
1724 #line hidden
1725 WriteLiteral("\r\n<meta");
1726
1727 WriteLiteral(" property=\"og:title\"");
1728
1729 WriteAttribute("content", Tuple.Create(" content=\"", 22180), Tuple.Create("\"", 22202)
1730
1731 #line 312 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1732 , Tuple.Create(Tuple.Create("", 22190), Tuple.Create<System.Object, System.Int32>(p.MetaTitle
1733
1734 #line default
1735 #line hidden
1736 , 22190), false)
1737 );
1738
1739 WriteLiteral(" />\r\n<meta");
1740
1741 WriteLiteral(" property=\"og:description\"");
1742
1743 WriteAttribute("content", Tuple.Create(" content=\"", 22239), Tuple.Create("\"", 22263)
1744
1745 #line 313 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1746 , Tuple.Create(Tuple.Create("", 22249), Tuple.Create<System.Object, System.Int32>(p.Description
1747
1748 #line default
1749 #line hidden
1750 , 22249), false)
1751 );
1752
1753 WriteLiteral(" />\r\n<meta");
1754
1755 WriteLiteral(" property=\"og:url\"");
1756
1757 WriteAttribute("content", Tuple.Create(" content=\"", 22292), Tuple.Create("\"", 22318)
1758
1759 #line 314 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1760 , Tuple.Create(Tuple.Create("", 22302), Tuple.Create<System.Object, System.Int32>(p.MetaCanonical
1761
1762 #line default
1763 #line hidden
1764 , 22302), false)
1765 );
1766
1767 WriteLiteral("/>\r\n<meta");
1768
1769 WriteLiteral(" property=\"og:image\"");
1770
1771 WriteAttribute("content", Tuple.Create(" content=\"", 22348), Tuple.Create("\"", 22377)
1772
1773 #line 315 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1774 , Tuple.Create(Tuple.Create("", 22358), Tuple.Create<System.Object, System.Int32>(snippetPicturePath
1775
1776 #line default
1777 #line hidden
1778 , 22358), false)
1779 );
1780
1781 WriteLiteral(" />\r\n");
1782
1783
1784 #line 316 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1785 Write(SnippetEnd("MetaTags"));
1786
1787
1788 #line default
1789 #line hidden
1790 WriteLiteral("\r\n\r\n\r\n");
1791
1792
1793 #line 319 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1794
1795
1796 ParagraphService paragrapService = new ParagraphService();
1797
1798 var paragraphs = paragrapService.GetParagraphsByPageId(Model.ID);
1799
1800 if (!paragraphs.Where(x => x.ItemType == "ArticleReference" || x.ItemType == "Article").Any())
1801 {
1802 string hero = Model.Item.GetString("Heropicture");
1803 string subhero = Model.Item.GetString("Subhero");
1804
1805 string heroPicture = "/admin/public/GetImage.ashx?Image=" + hero;
1806 string subheroPicture = "/admin/public/GetImage.ashx?Image=" + subhero;
1807 string ctaLink = Model.Item.GetString("Link");
1808 if(string.IsNullOrEmpty(ctaLink))
1809 {
1810 ctaLink = Model.Item.GetString("InternLink");
1811 }
1812 string buttonIcon = Model.Item.GetString("ButtonIcon");
1813 string target = Model.Item.GetField("Target").GetString();
1814 if(string.IsNullOrWhiteSpace(target))
1815 {
1816 target = "_self";
1817 }
1818
1819
1820 #line default
1821 #line hidden
1822 WriteLiteral(" <!--Social-->\r\n");
1823
1824
1825 #line 344 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1826 bool includeSocials = Model.Item.GetBoolean("IncludeSocials");
1827 string facebook = Model.Area.Item.GetString("Facebook");
1828 string twitter = Model.Area.Item.GetString("Twitter");
1829 string linkedIn = Model.Area.Item.GetString("LinkedIn");
1830 string instagram = Model.Area.Item.GetString("Instagram");
1831
1832
1833
1834
1835 #line default
1836 #line hidden
1837 WriteLiteral(" <!--Classes-->\r\n");
1838
1839
1840 #line 352 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1841 string heroClass = string.Empty;
1842 string subheroClass = string.Empty;
1843 string ctaClass = string.Empty;
1844 string ctaExternal = string.Empty;
1845 string socialClass = string.Empty;
1846
1847 if (!string.IsNullOrEmpty(ctaLink))
1848 { ctaClass = "top-content--cta"; }
1849
1850 if (!string.IsNullOrEmpty(subhero))
1851 { subheroClass = "top-content--sub-hero"; }
1852
1853 if (!string.IsNullOrEmpty(hero))
1854 { heroClass = "top-content--hero"; }
1855
1856 if (includeSocials)
1857 { socialClass = "top-content--social"; }
1858
1859 if (Model.Item.GetString("ButtonIcon") == "External")
1860 { ctaExternal = "cta--external"; }
1861
1862
1863
1864 #line default
1865 #line hidden
1866 WriteLiteral(" <section");
1867
1868 WriteAttribute("class", Tuple.Create(" class=\"", 24446), Tuple.Create("\"", 24513)
1869 , Tuple.Create(Tuple.Create("", 24454), Tuple.Create("top-content", 24454), true)
1870
1871 #line 373 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1872 , Tuple.Create(Tuple.Create(" ", 24465), Tuple.Create<System.Object, System.Int32>(heroClass
1873
1874 #line default
1875 #line hidden
1876 , 24466), false)
1877
1878 #line 373 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1879 , Tuple.Create(Tuple.Create(" ", 24476), Tuple.Create<System.Object, System.Int32>(subheroClass
1880
1881 #line default
1882 #line hidden
1883 , 24477), false)
1884
1885 #line 373 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1886 , Tuple.Create(Tuple.Create(" ", 24490), Tuple.Create<System.Object, System.Int32>(ctaClass
1887
1888 #line default
1889 #line hidden
1890 , 24491), false)
1891
1892 #line 373 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1893 , Tuple.Create(Tuple.Create(" ", 24500), Tuple.Create<System.Object, System.Int32>(socialClass
1894
1895 #line default
1896 #line hidden
1897 , 24501), false)
1898 );
1899
1900 WriteLiteral(">\r\n");
1901
1902
1903 #line 374 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1904
1905
1906 #line default
1907 #line hidden
1908
1909 #line 374 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1910 if (!string.IsNullOrEmpty(hero))
1911 {
1912
1913
1914 #line default
1915 #line hidden
1916 WriteLiteral(" <div");
1917
1918 WriteLiteral(" class=\"hero\"");
1919
1920 WriteLiteral(" data-module=\"hero\"");
1921
1922 WriteLiteral(">\r\n \r\n");
1923
1924
1925 #line 378 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1926
1927
1928 #line default
1929 #line hidden
1930
1931 #line 378 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1932 if (isVideo)
1933 {
1934 string videoValue = Model.Item.GetString("Video");
1935
1936 if (!string.IsNullOrEmpty(videoValue))
1937 {
1938 string video = videoValue.Substring(0, videoValue.IndexOf('.'));
1939
1940
1941 #line default
1942 #line hidden
1943 WriteLiteral(" <div");
1944
1945 WriteLiteral(" class=\"hero__video-container\"");
1946
1947 WriteLiteral(">\r\n <div");
1948
1949 WriteLiteral(" class=\"hero__video-wrapper\"");
1950
1951 WriteAttribute("style", Tuple.Create(" style=\"", 25118), Tuple.Create("\"", 25224)
1952 , Tuple.Create(Tuple.Create("", 25126), Tuple.Create("background-image:", 25126), true)
1953 , Tuple.Create(Tuple.Create(" ", 25143), Tuple.Create("url(\'/admin/public/GetImage.ashx?Image=", 25144), true)
1954
1955 #line 386 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1956 , Tuple.Create(Tuple.Create("", 25183), Tuple.Create<System.Object, System.Int32>(heroPicture
1957
1958 #line default
1959 #line hidden
1960 , 25183), false)
1961 , Tuple.Create(Tuple.Create("", 25195), Tuple.Create("&width=100&height=50&crop=0\')", 25195), true)
1962 );
1963
1964 WriteLiteral(">\r\n <video");
1965
1966 WriteLiteral(" tabindex=\"0\"");
1967
1968 WriteLiteral(" class=\"hero__video\"");
1969
1970 WriteLiteral(" preload=\"auto\"");
1971
1972 WriteLiteral(" autoplay muted loop");
1973
1974 WriteLiteral(" data-src=\"");
1975
1976
1977 #line 387 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1978 Write(video);
1979
1980
1981 #line default
1982 #line hidden
1983 WriteLiteral("\"");
1984
1985 WriteLiteral(">\r\n <p>This browser does not support the" +
1986 " video element</p>\r\n </video>\r\n " +
1987 " </div>\r\n </div>\r\n");
1988
1989 WriteLiteral(" <button");
1990
1991 WriteLiteral(" type=\"button\"");
1992
1993 WriteLiteral(" class=\"hero__pause-btn\"");
1994
1995 WriteLiteral(">\r\n <span");
1996
1997 WriteLiteral(" class=\"visuallyhidden\"");
1998
1999 WriteLiteral(">Tryk her for at pause eller fortsætte video</span>\r\n " +
2000 " <span");
2001
2002 WriteLiteral(" class=\"hero__play-icon\"");
2003
2004 WriteLiteral("><svg");
2005
2006 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2007
2008 WriteLiteral(" width=\"26.437\"");
2009
2010 WriteLiteral(" height=\"52.956\"");
2011
2012 WriteLiteral(" viewBox=\"0 0 26.437 52.956\"");
2013
2014 WriteLiteral("><path");
2015
2016 WriteLiteral(" d=\"M.022 51.356H.014V1.785L0 1.771V.001l18.44 18.435 8 8-7.779 7.779L.025 52.955" +
2017 "zm1.292-1.688L17.77 33.327l6.894-6.894-6.7-6.7L1.316 3.086z\"");
2018
2019 WriteLiteral("/></svg></span>\r\n </button>\r\n");
2020
2021
2022 #line 396 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2023 }
2024 }
2025
2026
2027 #line default
2028 #line hidden
2029 WriteLiteral("\r\n");
2030
2031
2032 #line 399 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2033
2034
2035 #line default
2036 #line hidden
2037
2038 #line 400 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2039
2040 string heroValue = Model.Item.GetString("Heropicture");
2041 string heroPic = "/admin/public/GetImage.ashx?Image=" + heroValue;
2042
2043 if (!string.IsNullOrEmpty(heroValue))
2044 {
2045
2046
2047 #line default
2048 #line hidden
2049 WriteLiteral(" <div");
2050
2051 WriteLiteral(" class=\"hero__background-image-container\"");
2052
2053 WriteLiteral(">\r\n <div");
2054
2055 WriteLiteral(" class=\"hero__background-image-wrapper\"");
2056
2057 WriteLiteral("\r\n data-src-xxs=\"");
2058
2059
2060 #line 408 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2061 Write(heroPic);
2062
2063
2064 #line default
2065 #line hidden
2066 WriteLiteral("&width=375&height=250&crop=0\"");
2067
2068 WriteLiteral("\r\n data-src-xs=\"");
2069
2070
2071 #line 409 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2072 Write(heroPic);
2073
2074
2075 #line default
2076 #line hidden
2077 WriteLiteral("&width=768&height=250&crop=0\"");
2078
2079 WriteLiteral("\r\n data-src-sm=\"");
2080
2081
2082 #line 410 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2083 Write(heroPic);
2084
2085
2086 #line default
2087 #line hidden
2088 WriteLiteral("&width=992&height=400&crop=0\"");
2089
2090 WriteLiteral("\r\n data-src-md=\"");
2091
2092
2093 #line 411 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2094 Write(heroPic);
2095
2096
2097 #line default
2098 #line hidden
2099 WriteLiteral("&width=1220&height=400&crop=0\"");
2100
2101 WriteLiteral("\r\n data-src-lg=\'");
2102
2103
2104 #line 412 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2105 Write(heroPic);
2106
2107
2108 #line default
2109 #line hidden
2110 WriteLiteral("&width=1540&height=500&crop=0\'");
2111
2112 WriteLiteral("\r\n data-src-xl=\"");
2113
2114
2115 #line 413 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2116 Write(heroPic);
2117
2118
2119 #line default
2120 #line hidden
2121 WriteLiteral("&width=1920&height=600&crop=0\"");
2122
2123 WriteLiteral(">\r\n <div");
2124
2125 WriteLiteral(" class=\"hero__background-image\"");
2126
2127 WriteAttribute("style", Tuple.Create(" style=\"", 27080), Tuple.Create("\"", 27147)
2128 , Tuple.Create(Tuple.Create("", 27088), Tuple.Create("background-image:", 27088), true)
2129 , Tuple.Create(Tuple.Create(" ", 27105), Tuple.Create("url(\'", 27106), true)
2130
2131 #line 414 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2132 , Tuple.Create(Tuple.Create("", 27111), Tuple.Create<System.Object, System.Int32>(heroPic
2133
2134 #line default
2135 #line hidden
2136 , 27111), false)
2137 , Tuple.Create(Tuple.Create("", 27119), Tuple.Create("&width=96&height=30&crop=0\')", 27119), true)
2138 );
2139
2140 WriteLiteral("></div>\r\n </div>\r\n </div>\r\n");
2141
2142
2143 #line 417 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2144 if (Model.Area.Item.GetBoolean("Subsite"))
2145 {
2146
2147
2148 #line default
2149 #line hidden
2150 WriteLiteral(" <div");
2151
2152 WriteLiteral(" class=\"hero__line bg--primary\"");
2153
2154 WriteLiteral("></div>\r\n");
2155
2156
2157 #line 420 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2158 }
2159 }
2160
2161
2162 #line default
2163 #line hidden
2164 WriteLiteral("\r\n </div>\r\n");
2165
2166
2167 #line 424 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2168 }
2169
2170
2171 #line default
2172 #line hidden
2173 WriteLiteral(" <div");
2174
2175 WriteLiteral(" class=\"grid grid-container\"");
2176
2177 WriteLiteral(">\r\n <div");
2178
2179 WriteLiteral(" class=\"top-content__box\"");
2180
2181 WriteLiteral(">\r\n <div");
2182
2183 WriteLiteral(" class=\"top-content__box-top\"");
2184
2185 WriteLiteral(">\r\n <div");
2186
2187 WriteLiteral(" class=\"grid\"");
2188
2189 WriteLiteral(">\r\n <div");
2190
2191 WriteLiteral(" class=\"row\"");
2192
2193 WriteLiteral(">\r\n <div");
2194
2195 WriteLiteral(" class=\"col col--no-pad col--sm-8 col--md-7 col--offset-md-1\"");
2196
2197 WriteLiteral(">\r\n <div");
2198
2199 WriteLiteral(" class=\"top-content__breadcrumb\"");
2200
2201 WriteLiteral(">\r\n <!--breadcrumb-->\r\n");
2202
2203 WriteLiteral(" ");
2204
2205
2206 #line 433 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2207 Write(RenderNavigation(new
2208 {
2209 template = "Breadcrumb.xslt",
2210 expandmode = "all",
2211 id = "breadcrumb",
2212 sitemapmode = "true",
2213 includemode = "all"
2214 }));
2215
2216
2217 #line default
2218 #line hidden
2219 WriteLiteral("\r\n </div>\r\n </d" +
2220 "iv>\r\n");
2221
2222
2223 #line 443 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2224
2225
2226 #line default
2227 #line hidden
2228
2229 #line 443 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2230 if (!string.IsNullOrEmpty(ctaLink))
2231 {
2232
2233
2234 #line default
2235 #line hidden
2236 WriteLiteral(" <div");
2237
2238 WriteLiteral(" class=\"col col--no-pad col--sm-4 soft-load\"");
2239
2240 WriteLiteral(">\r\n <div");
2241
2242 WriteLiteral(" class=\"top-content__cta\"");
2243
2244 WriteLiteral(" data-module=\"stickyCta\"");
2245
2246 WriteLiteral(">\r\n <a");
2247
2248 WriteAttribute("class", Tuple.Create(" class=\"", 28768), Tuple.Create("\"", 28801)
2249 , Tuple.Create(Tuple.Create("", 28776), Tuple.Create("cta", 28776), true)
2250
2251 #line 447 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2252 , Tuple.Create(Tuple.Create(" ", 28779), Tuple.Create<System.Object, System.Int32>(ctaExternal
2253
2254 #line default
2255 #line hidden
2256 , 28780), false)
2257 , Tuple.Create(Tuple.Create(" ", 28792), Tuple.Create("bg--link", 28793), true)
2258 );
2259
2260 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 28802), Tuple.Create("\"", 28817)
2261
2262 #line 447 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2263 , Tuple.Create(Tuple.Create("", 28809), Tuple.Create<System.Object, System.Int32>(ctaLink
2264
2265 #line default
2266 #line hidden
2267 , 28809), false)
2268 );
2269
2270 WriteAttribute("title", Tuple.Create(" title=\"", 28818), Tuple.Create("\"", 28859)
2271
2272 #line 447 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2273 , Tuple.Create(Tuple.Create("", 28826), Tuple.Create<System.Object, System.Int32>(Model.Item.GetValue("Linklabel")
2274
2275 #line default
2276 #line hidden
2277 , 28826), false)
2278 );
2279
2280 WriteAttribute("target", Tuple.Create(" target=\"", 28860), Tuple.Create("\"", 28876)
2281
2282 #line 447 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2283 , Tuple.Create(Tuple.Create("", 28869), Tuple.Create<System.Object, System.Int32>(target
2284
2285 #line default
2286 #line hidden
2287 , 28869), false)
2288 );
2289
2290 WriteLiteral(">\r\n \r\n");
2291
2292 WriteLiteral("<span");
2293
2294 WriteLiteral(" class=\"arrow\"");
2295
2296 WriteLiteral(">\r\n <svg");
2297
2298 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2299
2300 WriteLiteral(" viewBox=\"0 0 40.62 16\"");
2301
2302 WriteLiteral("><path");
2303
2304 WriteLiteral(" d=\"M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z\"");
2305
2306 WriteLiteral("/><path");
2307
2308 WriteLiteral(" class=\"spine\"");
2309
2310 WriteLiteral(" d=\"M0 7.5h40v1H0z\"");
2311
2312 WriteLiteral("/></svg>\r\n</span>\r\n\r\n <span>");
2313
2314
2315 #line 454 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2316 Write(Model.Item.GetValue("Linklabel"));
2317
2318
2319 #line default
2320 #line hidden
2321 WriteLiteral("</span>\r\n \r\n");
2322
2323 WriteLiteral("<span");
2324
2325 WriteLiteral(" class=\"external-link\"");
2326
2327 WriteLiteral(">\r\n <svg");
2328
2329 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2330
2331 WriteLiteral(" viewBox=\"0 0 24 24\"");
2332
2333 WriteLiteral("><path");
2334
2335 WriteLiteral(@" d=""M20.234 24H3.372A3.372 3.372 0 0 1 0 20.628V3.766A3.778 3.778 0 0 1 3.429 0h9.429v1.714H3.429a1.734 1.734 0 0 0-1.714 1.714l-.028 17.2a1.686 1.686 0 0 0 1.686 1.686l17.2-.028a1.735 1.735 0 0 0 1.714-1.714v-9.428H24v9.428A3.778 3.778 0 0 1 20.234 24zm2.909-16.286a.854.854 0 0 1-.857-.857l-.025-4.1L9.216 15.2a.906.906 0 0 1-1.239 0 .808.808 0 0 1 0-1.181L20.909 1.685l-3.767.027a.857.857 0 1 1 0-1.714h5.981a.852.852 0 0 1 .876.835v6.022a.856.856 0 0 1-.856.859z""");
2336
2337 WriteLiteral(" fill=\"#fff\"");
2338
2339 WriteLiteral("/></svg>\r\n</span>\r\n\r\n </a>\r\n " +
2340 " </div>\r\n </div>" +
2341 "\r\n");
2342
2343
2344 #line 464 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2345 }
2346
2347
2348 #line default
2349 #line hidden
2350 WriteLiteral(" </div>\r\n </div>\r\n " +
2351 " </div>\r\n <div");
2352
2353 WriteLiteral(" class=\"grid\"");
2354
2355 WriteLiteral(">\r\n <div");
2356
2357 WriteLiteral(" class=\"row\"");
2358
2359 WriteLiteral(">\r\n <div");
2360
2361 WriteLiteral(" class=\"col col--no-pad col--md-9 col--offset-md-1\"");
2362
2363 WriteLiteral(">\r\n <header");
2364
2365 WriteLiteral(" class=\"top-content__header bg--pseudo soft-load\"");
2366
2367 WriteLiteral(">\r\n <h1");
2368
2369 WriteLiteral(" class=\"top-content__headline\"");
2370
2371 WriteLiteral(">");
2372
2373
2374 #line 472 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2375 Write(Model.Item.GetValue("H1"));
2376
2377
2378 #line default
2379 #line hidden
2380 WriteLiteral("</h1>\r\n <div");
2381
2382 WriteLiteral(" class=\"top-content__rich-text lix\"");
2383
2384 WriteLiteral(">\r\n");
2385
2386 WriteLiteral(" ");
2387
2388
2389 #line 474 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2390 Write(Model.Item.GetValue("Manchet"));
2391
2392
2393 #line default
2394 #line hidden
2395 WriteLiteral("\r\n </div>\r\n </h" +
2396 "eader>\r\n </div>\r\n </div>\r\n " +
2397 " </div>\r\n </div>\r\n </div>\r\n\r\n");
2398
2399
2400 #line 483 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2401
2402
2403 #line default
2404 #line hidden
2405
2406 #line 485 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2407
2408 var itemViewModel = Model.Item.GetField("Contact").GetItem();
2409
2410 if (itemViewModel != null)
2411 {
2412 bool english = itemViewModel.GetBoolean("English");
2413 string picture = itemViewModel.GetString("ContactBoxImage");
2414 string picturePath = "/admin/public/GetImage.ashx?Image=" + picture + "&width=375&height=150&crop=0";
2415
2416
2417
2418 #line default
2419 #line hidden
2420 WriteLiteral(" <aside");
2421
2422 WriteLiteral(" class=\"contact hard-load\"");
2423
2424 WriteLiteral(">\r\n <div");
2425
2426 WriteLiteral(" class=\"contact__header\"");
2427
2428 WriteLiteral(">\r\n <div");
2429
2430 WriteLiteral(" class=\"contact__open\"");
2431
2432 WriteLiteral(">\r\n <div");
2433
2434 WriteLiteral(" class=\"contact__image-container\"");
2435
2436 WriteLiteral(">\r\n <img");
2437
2438 WriteLiteral(" class=\"contact__image\"");
2439
2440 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 31781), Tuple.Create("\"", 31799)
2441
2442 #line 498 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2443 , Tuple.Create(Tuple.Create("", 31787), Tuple.Create<System.Object, System.Int32>(picturePath
2444
2445 #line default
2446 #line hidden
2447 , 31787), false)
2448 );
2449
2450 WriteAttribute("alt", Tuple.Create(" alt=\"", 31800), Tuple.Create("\"", 31849)
2451
2452 #line 498 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2453 , Tuple.Create(Tuple.Create("", 31806), Tuple.Create<System.Object, System.Int32>(itemViewModel.GetString("ContactBoxTitle")
2454
2455 #line default
2456 #line hidden
2457 , 31806), false)
2458 );
2459
2460 WriteLiteral(">\r\n </div>\r\n <div");
2461
2462 WriteLiteral(" class=\"contact__header-text\"");
2463
2464 WriteLiteral(">\r\n ");
2465
2466 WriteLiteral("\r\n <p><strong>");
2467
2468
2469 #line 502 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2470 Write(english ? "Contact us" : "Kontakt os");
2471
2472
2473 #line default
2474 #line hidden
2475 WriteLiteral("</strong></p>\r\n </div>\r\n <button");
2476
2477 WriteLiteral(" type=\"button\"");
2478
2479 WriteLiteral(" class=\"contact__open-btn\"");
2480
2481 WriteLiteral(" aria-label=\"Åben kontakt boks\"");
2482
2483 WriteLiteral(" aria-expanded=\"false\"");
2484
2485 WriteLiteral("><span");
2486
2487 WriteLiteral(" class=\"contact__open-btn-extra\"");
2488
2489 WriteLiteral(">");
2490
2491
2492 #line 504 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2493 Write(Translate("ContactUs", "Kontakt os"));
2494
2495
2496 #line default
2497 #line hidden
2498 WriteLiteral("</span></button>\r\n </div>\r\n <button");
2499
2500 WriteLiteral(" type=\"button\"");
2501
2502 WriteLiteral(" class=\"contact__close-btn bg--secondary\"");
2503
2504 WriteLiteral(" aria-hidden=\"true\"");
2505
2506 WriteLiteral(" tabindex=\"-1\"");
2507
2508 WriteLiteral(">\r\n <span");
2509
2510 WriteLiteral(" class=\"contact__close-svg\"");
2511
2512 WriteLiteral(">\r\n <svg");
2513
2514 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2515
2516 WriteLiteral(" viewBox=\"0 0 19.801 19.798\"");
2517
2518 WriteLiteral("><path");
2519
2520 WriteLiteral(" d=\"M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485" +
2521 " 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z\"");
2522
2523 WriteLiteral("/></svg>\r\n </span>\r\n <span");
2524
2525 WriteLiteral(" class=\"contact__close-text\"");
2526
2527 WriteLiteral(">\r\n ");
2528
2529 WriteLiteral("\r\n");
2530
2531 WriteLiteral("\t\t\t\t\t\t");
2532
2533
2534 #line 512 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2535 Write(Translate("Close","Luk"));
2536
2537
2538 #line default
2539 #line hidden
2540 WriteLiteral("\r\n </span>\r\n </button>\r\n </div>\r\n " +
2541 " <div");
2542
2543 WriteLiteral(" class=\"contact__content bg--secondary\"");
2544
2545 WriteLiteral(" aria-hidden=\"true\"");
2546
2547 WriteLiteral(">\r\n <div");
2548
2549 WriteLiteral(" class=\"contact__mobile-image-container\"");
2550
2551 WriteLiteral(">\r\n <img");
2552
2553 WriteLiteral(" class=\"contact__mobile-image\"");
2554
2555 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 33233), Tuple.Create("\"", 33251)
2556
2557 #line 518 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2558 , Tuple.Create(Tuple.Create("", 33239), Tuple.Create<System.Object, System.Int32>(picturePath
2559
2560 #line default
2561 #line hidden
2562 , 33239), false)
2563 );
2564
2565 WriteAttribute("alt", Tuple.Create(" alt=\"", 33252), Tuple.Create("\"", 33301)
2566
2567 #line 518 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2568 , Tuple.Create(Tuple.Create("", 33258), Tuple.Create<System.Object, System.Int32>(itemViewModel.GetString("ContactBoxTitle")
2569
2570 #line default
2571 #line hidden
2572 , 33258), false)
2573 );
2574
2575 WriteLiteral(">\r\n </div>\r\n <h2>");
2576
2577
2578 #line 520 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2579 Write(itemViewModel.GetString("ContactBoxTitle"));
2580
2581
2582 #line default
2583 #line hidden
2584 WriteLiteral("</h2>\r\n <div");
2585
2586 WriteLiteral(" class=\"contact__text\"");
2587
2588 WriteLiteral(">\r\n");
2589
2590 WriteLiteral(" ");
2591
2592
2593 #line 522 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2594 Write(itemViewModel.GetString("ContentBoxDescription"));
2595
2596
2597 #line default
2598 #line hidden
2599 WriteLiteral("\r\n </div>\r\n <ul");
2600
2601 WriteLiteral(" class=\"contact__links\"");
2602
2603 WriteLiteral(">\r\n");
2604
2605
2606 #line 525 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2607
2608
2609 #line default
2610 #line hidden
2611
2612 #line 525 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2613 if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxPhone")))
2614 {
2615
2616
2617 #line default
2618 #line hidden
2619 WriteLiteral(" <li>\r\n <a");
2620
2621 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 33760), Tuple.Create("\"", 33814)
2622 , Tuple.Create(Tuple.Create("", 33767), Tuple.Create("tel:", 33767), true)
2623
2624 #line 528 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2625 , Tuple.Create(Tuple.Create("", 33771), Tuple.Create<System.Object, System.Int32>(itemViewModel.GetString("ContactBoxPhone")
2626
2627 #line default
2628 #line hidden
2629 , 33771), false)
2630 );
2631
2632 WriteAttribute("title", Tuple.Create(" title=\"", 33815), Tuple.Create("\"", 33861)
2633
2634 #line 528 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2635 , Tuple.Create(Tuple.Create("", 33823), Tuple.Create<System.Object, System.Int32>(Translate("PhoneToUs", "Ring til os")
2636
2637 #line default
2638 #line hidden
2639 , 33823), false)
2640 );
2641
2642 WriteLiteral(" class=\"contact__link svg-fill--bg-secondary\"");
2643
2644 WriteLiteral(">\r\n <span");
2645
2646 WriteLiteral(" class=\"contact__link-svg bg--parent-hover\"");
2647
2648 WriteLiteral(">\r\n <svg");
2649
2650 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2651
2652 WriteLiteral(" viewBox=\"0 0 26.054 26\"");
2653
2654 WriteLiteral("><path");
2655
2656 WriteLiteral(@" d=""M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z""");
2657
2658 WriteLiteral("/></svg>\r\n </span>\r\n");
2659
2660 WriteLiteral(" ");
2661
2662
2663 #line 532 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2664 Write(itemViewModel.GetString("ContactBoxPhone"));
2665
2666
2667 #line default
2668 #line hidden
2669 WriteLiteral("\r\n </a>\r\n </li>\r\n");
2670
2671
2672 #line 535 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2673 }
2674
2675
2676 #line default
2677 #line hidden
2678 WriteLiteral(" ");
2679
2680
2681 #line 536 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2682 if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxEmail")))
2683 {
2684 string hrefValue = itemViewModel.GetString("ContactBoxEmail").Contains("@") ? "mailto:" + itemViewModel.GetString("ContactBoxEmail") : itemViewModel.GetString("ContactBoxEmail");
2685
2686
2687 #line default
2688 #line hidden
2689 WriteLiteral(" <li>\r\n <a");
2690
2691 WriteLiteral(" target=\"_blank\"");
2692
2693 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 35600), Tuple.Create("\"", 35617)
2694
2695 #line 540 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2696 , Tuple.Create(Tuple.Create("", 35607), Tuple.Create<System.Object, System.Int32>(hrefValue
2697
2698 #line default
2699 #line hidden
2700 , 35607), false)
2701 );
2702
2703 WriteAttribute("title", Tuple.Create(" title=\"", 35618), Tuple.Create("\"", 35663)
2704
2705 #line 540 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2706 , Tuple.Create(Tuple.Create("", 35626), Tuple.Create<System.Object, System.Int32>(Translate("WriteUs", "Skriv til os")
2707
2708 #line default
2709 #line hidden
2710 , 35626), false)
2711 );
2712
2713 WriteLiteral(" class=\"contact__link svg-fill--bg-secondary\"");
2714
2715 WriteLiteral(">\r\n <span");
2716
2717 WriteLiteral(" class=\"contact__link-svg bg--parent-hover\"");
2718
2719 WriteLiteral(">\r\n <svg");
2720
2721 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2722
2723 WriteLiteral(" viewBox=\"0 0 26 21.125\"");
2724
2725 WriteLiteral("><path");
2726
2727 WriteLiteral(@" d=""M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z""");
2728
2729 WriteLiteral("/></svg>\r\n </span>\r\n");
2730
2731 WriteLiteral(" ");
2732
2733
2734 #line 544 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2735 Write(itemViewModel.GetString("ContactBoxEmailLabel"));
2736
2737
2738 #line default
2739 #line hidden
2740 WriteLiteral("\r\n </a>\r\n </li>\r\n");
2741
2742
2743 #line 547 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2744 }
2745
2746
2747 #line default
2748 #line hidden
2749 WriteLiteral(" ");
2750
2751
2752 #line 548 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2753 if (!string.IsNullOrEmpty((string)itemViewModel.GetString("ContactBoxLink")))
2754 {
2755
2756
2757 #line default
2758 #line hidden
2759 WriteLiteral(" <li>\r\n <a");
2760
2761 WriteLiteral(" target=\"_blank\"");
2762
2763 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 36655), Tuple.Create("\"", 36824)
2764
2765 #line 551 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2766 , Tuple.Create(Tuple.Create("", 36662), Tuple.Create<System.Object, System.Int32>(itemViewModel.GetString("ContactBoxLink").Contains("http") ? itemViewModel.GetString("ContactBoxLink") : "https://" + itemViewModel.GetString("ContactBoxLink")
2767
2768 #line default
2769 #line hidden
2770 , 36662), false)
2771 );
2772
2773 WriteAttribute("title", Tuple.Create(" title=\"", 36825), Tuple.Create("\"", 36870)
2774
2775 #line 551 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2776 , Tuple.Create(Tuple.Create("", 36833), Tuple.Create<System.Object, System.Int32>(Translate("WriteUs", "Skriv til os")
2777
2778 #line default
2779 #line hidden
2780 , 36833), false)
2781 );
2782
2783 WriteLiteral(" class=\"contact__link svg-fill--bg-secondary\"");
2784
2785 WriteLiteral(">\r\n <span");
2786
2787 WriteLiteral(" class=\"contact__link-svg bg--parent-hover\"");
2788
2789 WriteLiteral(">\r\n <svg");
2790
2791 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2792
2793 WriteLiteral(" viewBox=\"0 0 26 21.125\"");
2794
2795 WriteLiteral("><path");
2796
2797 WriteLiteral(@" d=""M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z""");
2798
2799 WriteLiteral("/></svg>\r\n </span>\r\n");
2800
2801 WriteLiteral(" ");
2802
2803
2804 #line 555 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2805 Write(itemViewModel.GetString("ContactBoxLinkLabel"));
2806
2807
2808 #line default
2809 #line hidden
2810 WriteLiteral("\r\n </a>\r\n </li>\r\n");
2811
2812
2813 #line 558 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2814 }
2815
2816
2817 #line default
2818 #line hidden
2819 WriteLiteral(" </ul>\r\n <div");
2820
2821 WriteLiteral(" class=\"contact__text\"");
2822
2823 WriteLiteral(">\r\n");
2824
2825
2826 #line 561 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2827
2828
2829 #line default
2830 #line hidden
2831
2832 #line 561 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2833 if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxPhoneHours")))
2834 {
2835
2836
2837 #line default
2838 #line hidden
2839
2840 #line 563 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2841 Write(itemViewModel.GetString("ContactBoxPhoneHours"));
2842
2843
2844 #line default
2845 #line hidden
2846
2847 #line 563 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2848
2849 }
2850
2851
2852 #line default
2853 #line hidden
2854 WriteLiteral(" ");
2855
2856
2857 #line 565 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2858 if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxOpenHours")))
2859 {
2860
2861
2862 #line default
2863 #line hidden
2864
2865 #line 567 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2866 Write(itemViewModel.GetString("ContactBoxOpenHours"));
2867
2868
2869 #line default
2870 #line hidden
2871
2872 #line 567 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2873
2874 }
2875
2876
2877 #line default
2878 #line hidden
2879 WriteLiteral(" </div>\r\n </div>\r\n </aside>\r\n");
2880
2881
2882 #line 572 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2883 }
2884
2885
2886 #line default
2887 #line hidden
2888 WriteLiteral("\r\n\r\n");
2889
2890
2891 #line 575 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2892
2893
2894 #line default
2895 #line hidden
2896
2897 #line 575 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2898 if (includeSocials || !string.IsNullOrEmpty(subhero))
2899 {
2900
2901
2902 #line default
2903 #line hidden
2904 WriteLiteral(" <div");
2905
2906 WriteLiteral(" class=\"top-content__sub-content\"");
2907
2908 WriteLiteral(">\r\n <div");
2909
2910 WriteLiteral(" class=\"grid grid-container\"");
2911
2912 WriteLiteral(">\r\n <div");
2913
2914 WriteLiteral(" class=\"row\"");
2915
2916 WriteLiteral(">\r\n");
2917
2918
2919 #line 580 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2920
2921
2922 #line default
2923 #line hidden
2924
2925 #line 580 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2926 if (!string.IsNullOrEmpty(subhero))
2927 {
2928
2929
2930 #line default
2931 #line hidden
2932 WriteLiteral(" <div");
2933
2934 WriteLiteral(" class=\"col col--sm-9\"");
2935
2936 WriteLiteral(">\r\n <div");
2937
2938 WriteLiteral(" class=\"top-content__sub-hero\"");
2939
2940 WriteLiteral(">\r\n <div");
2941
2942 WriteLiteral(" class=\"top-content__sub-hero-image-container lazy\"");
2943
2944 WriteLiteral("\r\n data-src-xxs=\"");
2945
2946
2947 #line 585 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2948 Write(subheroPicture);
2949
2950
2951 #line default
2952 #line hidden
2953 WriteLiteral("&width=440\"");
2954
2955 WriteLiteral("\r\n data-src-xs=\"");
2956
2957
2958 #line 586 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2959 Write(subheroPicture);
2960
2961
2962 #line default
2963 #line hidden
2964 WriteLiteral("&width=727\"");
2965
2966 WriteLiteral("\r\n data-src-sm=\"");
2967
2968
2969 #line 587 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2970 Write(subheroPicture);
2971
2972
2973 #line default
2974 #line hidden
2975 WriteLiteral("&width=595\"");
2976
2977 WriteLiteral("\r\n data-src-md=\"");
2978
2979
2980 #line 588 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2981 Write(subheroPicture);
2982
2983
2984 #line default
2985 #line hidden
2986 WriteLiteral("&width=624\"");
2987
2988 WriteLiteral("\r\n data-src-lg=\"");
2989
2990
2991 #line 589 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2992 Write(subheroPicture);
2993
2994
2995 #line default
2996 #line hidden
2997 WriteLiteral("&width=795\"");
2998
2999 WriteLiteral("\r\n data-src-xl=\"");
3000
3001
3002 #line 590 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3003 Write(subheroPicture);
3004
3005
3006 #line default
3007 #line hidden
3008 WriteLiteral("&width=870\"");
3009
3010 WriteLiteral("\r\n data-alt=\"");
3011
3012
3013 #line 591 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3014 Write(Model.Item.GetString("SubheroAlt"));
3015
3016
3017 #line default
3018 #line hidden
3019 WriteLiteral("\"");
3020
3021 WriteLiteral(">\r\n <noscript>\r\n " +
3022 " <img");
3023
3024 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 39522), Tuple.Create("\"", 39553)
3025
3026 #line 593 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3027 , Tuple.Create(Tuple.Create("", 39528), Tuple.Create<System.Object, System.Int32>(subheroPicture
3028
3029 #line default
3030 #line hidden
3031 , 39528), false)
3032 , Tuple.Create(Tuple.Create("", 39543), Tuple.Create("&width=440", 39543), true)
3033 );
3034
3035 WriteAttribute("alt", Tuple.Create(" alt=\"", 39554), Tuple.Create("\"", 39595)
3036
3037 #line 593 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3038 , Tuple.Create(Tuple.Create("", 39560), Tuple.Create<System.Object, System.Int32>(Model.Item.GetString("SubheroAlt")
3039
3040 #line default
3041 #line hidden
3042 , 39560), false)
3043 );
3044
3045 WriteLiteral(">\r\n </noscript>\r\n " +
3046 " </div>\r\n <span>");
3047
3048
3049 #line 596 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3050 Write(Model.Item.GetValue("Picturetext"));
3051
3052
3053 #line default
3054 #line hidden
3055 WriteLiteral("</span>\r\n </div>\r\n " +
3056 " </div>\r\n");
3057
3058
3059 #line 599 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3060 }
3061
3062
3063 #line default
3064 #line hidden
3065 WriteLiteral(" ");
3066
3067
3068 #line 600 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3069 if (includeSocials)
3070 {
3071
3072
3073 #line default
3074 #line hidden
3075 WriteLiteral(" <div");
3076
3077 WriteLiteral(" class=\"col col--sm-3\"");
3078
3079 WriteLiteral(">\r\n <div");
3080
3081 WriteLiteral(" class=\"top-content__social\"");
3082
3083 WriteLiteral(">\r\n <button");
3084
3085 WriteLiteral(" type=\"button\"");
3086
3087 WriteLiteral(" class=\"top-content__social-toggle\"");
3088
3089 WriteLiteral(" aria-hidden=\"true\"");
3090
3091 WriteLiteral(">\r\n <svg");
3092
3093 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3094
3095 WriteLiteral(" viewBox=\"0 0 17.639 27.026\"");
3096
3097 WriteLiteral("><path");
3098
3099 WriteLiteral(" d=\"M10.242 23.328a3.682 3.682 0 0 1 .445-1.761l-4.876-4.876A3.7 3.7 0 1 1 5.46 1" +
3100 "0.4l5.132-5.132a3.7 3.7 0 1 1 1.072 1.342l-4.93 4.929a3.7 3.7 0 0 1 .218 3.875l4" +
3101 ".876 4.876a3.7 3.7 0 1 1-1.585 3.035z\"");
3102
3103 WriteLiteral("/></svg>\r\n </button>\r\n " +
3104 " <div");
3105
3106 WriteLiteral(" class=\"top-content__social-links\"");
3107
3108 WriteLiteral(">\r\n");
3109
3110
3111 #line 608 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3112
3113
3114 #line default
3115 #line hidden
3116
3117 #line 608 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3118 if (!string.IsNullOrEmpty(twitter))
3119 {
3120
3121
3122 #line default
3123 #line hidden
3124 WriteLiteral(" <button");
3125
3126 WriteLiteral(" type=\"button\"");
3127
3128 WriteLiteral(" aria-label=\"Del på twitter\"");
3129
3130 WriteLiteral(" class=\"top-content__social-link link-twitter\"");
3131
3132 WriteLiteral(">\r\n <svg");
3133
3134 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3135
3136 WriteLiteral(" viewBox=\"0 0 24.064 19.692\"");
3137
3138 WriteLiteral("><path");
3139
3140 WriteLiteral(@" d=""M7.56 19.693a13.155 13.155 0 0 1-4.023-.623 13.892 13.892 0 0 1-3.536-1.665H1.18a9.521 9.521 0 0 0 6.1-2.08 5.335 5.335 0 0 1-2.915-1.041 4.5 4.5 0 0 1-1.662-2.427l.114.023.068.015h.01a3.54 3.54 0 0 0 .638.1 2.887 2.887 0 0 0 .764-.068h.013a1.869 1.869 0 0 0 .611-.07 5.156 5.156 0 0 1-2.774-1.732 4.637 4.637 0 0 1-1.109-3.121v-.07a4.561 4.561 0 0 0 2.218.556 4.392 4.392 0 0 1-2.15-4.091 5.157 5.157 0 0 1 .624-2.5 14.11 14.11 0 0 0 4.438 3.674 12.9 12.9 0 0 0 5.688 1.524 18.723 18.723 0 0 0-.054-.353v-.01a5.178 5.178 0 0 1-.085-.747 4.833 4.833 0 0 1 1.456-3.535 4.765 4.765 0 0 1 3.468-1.456 4.719 4.719 0 0 1 2.012.415 4.249 4.249 0 0 1 1.526 1.179 7.016 7.016 0 0 0 1.724-.482h.009c.256-.108.536-.239.782-.355s.505-.235.744-.338a6.826 6.826 0 0 1-.9 1.525 5.4 5.4 0 0 1-1.319 1.18l.057-.008a10.711 10.711 0 0 0 1.4-.269 11.514 11.514 0 0 0 1.388-.485c-.349.487-.7.906-1.037 1.311a7.775 7.775 0 0 1-1.386 1.25v.623a14.166 14.166 0 0 1-.9 4.992 14.216 14.216 0 0 1-2.7 4.509 13.291 13.291 0 0 1-4.438 3.327 12.782 12.782 0 0 1-6.043 1.323z""");
3141
3142 WriteLiteral("/></svg>\r\n </button>\r\n");
3143
3144
3145 #line 613 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3146 }
3147
3148
3149 #line default
3150 #line hidden
3151 WriteLiteral(" ");
3152
3153
3154 #line 614 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3155 if (!string.IsNullOrEmpty(facebook))
3156 {
3157
3158
3159 #line default
3160 #line hidden
3161 WriteLiteral(" <button");
3162
3163 WriteLiteral(" type=\"button\"");
3164
3165 WriteLiteral(" aria-label=\"Del på facebook\"");
3166
3167 WriteLiteral(" class=\"top-content__social-link link-facebook\"");
3168
3169 WriteLiteral(">\r\n <svg");
3170
3171 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3172
3173 WriteLiteral(" viewBox=\"0 0 12.945 24.181\"");
3174
3175 WriteLiteral("><path");
3176
3177 WriteLiteral(" d=\"M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A" +
3178 "5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 " +
3179 "0 0-.286 1v2.348h4.625v4.622H8.319v11.236z\"");
3180
3181 WriteLiteral("/></svg>\r\n </button>\r\n");
3182
3183
3184 #line 619 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3185 }
3186
3187
3188 #line default
3189 #line hidden
3190 WriteLiteral(" ");
3191
3192
3193 #line 620 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3194 if (!string.IsNullOrEmpty(linkedIn))
3195 {
3196
3197
3198 #line default
3199 #line hidden
3200 WriteLiteral(" <button");
3201
3202 WriteLiteral(" type=\"button\"");
3203
3204 WriteLiteral(" aria-label=\"Del på linkedin\"");
3205
3206 WriteLiteral(" class=\"top-content__social-link link-linkedin\"");
3207
3208 WriteLiteral(">\r\n <svg");
3209
3210 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3211
3212 WriteLiteral(" viewBox=\"0 0 20.129 22.404\"");
3213
3214 WriteLiteral("><path");
3215
3216 WriteLiteral(@" d=""M11.451 22.404H7.112V7.113h4.409v.71a5.1 5.1 0 0 1 2.433-.58c.146 0 .284 0 .411.014a6.95 6.95 0 0 1 2.846.709 6.335 6.335 0 0 1 2.134 2.205 6.226 6.226 0 0 1 .782 2.917v9.315h-4.339v-9.316a1.562 1.562 0 0 0-.215-.71l-.059-.079v-.006c-.182-.244-.313-.422-.5-.484a2.347 2.347 0 0 0-1.054-.3 1.219 1.219 0 0 0-.227.019 5.229 5.229 0 0 0-1.139.286 4.014 4.014 0 0 0-1.136.782v9.813zm-6.543 0H.497V7.113h4.411v15.29zM2.701 5.478a2.623 2.623 0 0 1-1.919-.782A2.623 2.623 0 0 1 0 2.774 2.923 2.923 0 0 1 .782.783 2.613 2.613 0 0 1 2.701.001a2.616 2.616 0 0 1 1.921.782 2.923 2.923 0 0 1 .782 1.991 2.623 2.623 0 0 1-.782 1.922 2.625 2.625 0 0 1-1.921.781z""");
3217
3218 WriteLiteral("/></svg>\r\n </button>\r\n");
3219
3220
3221 #line 625 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3222 }
3223
3224
3225 #line default
3226 #line hidden
3227 WriteLiteral(" </div>\r\n " +
3228 " </div>\r\n </div>\r\n");
3229
3230
3231 #line 629 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3232 }
3233
3234
3235 #line default
3236 #line hidden
3237 WriteLiteral(" </div>\r\n </div>\r\n </div" +
3238 ">\r\n");
3239
3240
3241 #line 633 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3242 }
3243
3244
3245 #line default
3246 #line hidden
3247 WriteLiteral("\r\n </section>\r\n");
3248
3249
3250 #line 636 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3251 }
3252
3253
3254 #line default
3255 #line hidden
3256 WriteLiteral("\r\n\r\n");
3257
3258
3259 #line 639 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3260 Write(Title("Subsite - Page"));
3261
3262
3263 #line default
3264 #line hidden
3265 WriteLiteral("\r\n");
3266
3267
3268 #line 640 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3269 Write(Description("Almindelig side til subsites"));
3270
3271
3272 #line default
3273 #line hidden
3274 WriteLiteral("\r\n\r\n<div");
3275
3276 WriteLiteral(" class=\"content content--primary\"");
3277
3278 WriteLiteral(">\r\n");
3279
3280 WriteLiteral(" ");
3281
3282
3283 #line 643 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3284 Write(Model.Placeholder("primary", "Primære", "items-allowed:Ribbon_A,Ribbon_B,Ribbon_C,Ribbon_D,Ribbon_E,Ribbon_F,Gallery,Accordion,Richtext,Minimap,SponsorList,KultuNautCalendar,Infobox,Calendar,EksternKode,Kode,ModuleOnly"));
3285
3286
3287 #line default
3288 #line hidden
3289 WriteLiteral("\r\n");
3290
3291
3292 #line 644 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3293
3294
3295 #line default
3296 #line hidden
3297 WriteLiteral("\r\n");
3298
3299
3300 #line 647 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3301
3302 string pageCtaLink = Model.Item.GetString("Link");
3303 if(string.IsNullOrEmpty(pageCtaLink))
3304 {
3305 pageCtaLink = Model.Item.GetString("InternLink");
3306 }
3307 string ctaExternalPartial = string.Empty;
3308 if (Model.Item.GetString("ButtonIcon") == "External")
3309 {
3310 ctaExternalPartial = "cta--external";
3311 }
3312
3313 if (!string.IsNullOrEmpty(Model.Item.GetString("Link")) || !string.IsNullOrEmpty(pageCtaLink))
3314 {
3315 string target = Model.Item.GetString("Target");
3316 if (string.IsNullOrWhiteSpace(target))
3317 {
3318 target = "_self";
3319 }
3320
3321
3322 #line default
3323 #line hidden
3324 WriteLiteral(" <section");
3325
3326 WriteLiteral(" class=\"page-cta-container soft-load\"");
3327
3328 WriteLiteral(">\r\n <div");
3329
3330 WriteLiteral(" class=\"grid grid-container\"");
3331
3332 WriteLiteral(">\r\n <div");
3333
3334 WriteLiteral(" class=\"row\"");
3335
3336 WriteLiteral(">\r\n\r\n <div");
3337
3338 WriteLiteral(" class=\"col col--md-8 col--offset-md-2\"");
3339
3340 WriteLiteral(">\r\n <div");
3341
3342 WriteLiteral(" class=\"page-cta\"");
3343
3344 WriteLiteral(">\r\n <a");
3345
3346 WriteAttribute("class", Tuple.Create(" class=\"", 45783), Tuple.Create("\"", 45823)
3347 , Tuple.Create(Tuple.Create("", 45791), Tuple.Create("cta", 45791), true)
3348
3349 #line 672 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3350 , Tuple.Create(Tuple.Create(" ", 45794), Tuple.Create<System.Object, System.Int32>(ctaExternalPartial
3351
3352 #line default
3353 #line hidden
3354 , 45795), false)
3355 , Tuple.Create(Tuple.Create(" ", 45814), Tuple.Create("bg--link", 45815), true)
3356 );
3357
3358 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 45824), Tuple.Create("\"", 45843)
3359
3360 #line 672 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3361 , Tuple.Create(Tuple.Create("", 45831), Tuple.Create<System.Object, System.Int32>(pageCtaLink
3362
3363 #line default
3364 #line hidden
3365 , 45831), false)
3366 );
3367
3368 WriteAttribute("title", Tuple.Create(" title=\"", 45844), Tuple.Create("\"", 45885)
3369
3370 #line 672 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3371 , Tuple.Create(Tuple.Create("", 45852), Tuple.Create<System.Object, System.Int32>(Model.Item.GetValue("Linklabel")
3372
3373 #line default
3374 #line hidden
3375 , 45852), false)
3376 );
3377
3378 WriteAttribute("target", Tuple.Create(" target=\"", 45886), Tuple.Create("\"", 45902)
3379
3380 #line 672 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3381 , Tuple.Create(Tuple.Create("", 45895), Tuple.Create<System.Object, System.Int32>(target
3382
3383 #line default
3384 #line hidden
3385 , 45895), false)
3386 );
3387
3388 WriteLiteral(">\r\n \r\n");
3389
3390 WriteLiteral("<span");
3391
3392 WriteLiteral(" class=\"arrow\"");
3393
3394 WriteLiteral(">\r\n <svg");
3395
3396 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3397
3398 WriteLiteral(" viewBox=\"0 0 40.62 16\"");
3399
3400 WriteLiteral("><path");
3401
3402 WriteLiteral(" d=\"M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z\"");
3403
3404 WriteLiteral("/><path");
3405
3406 WriteLiteral(" class=\"spine\"");
3407
3408 WriteLiteral(" d=\"M0 7.5h40v1H0z\"");
3409
3410 WriteLiteral("/></svg>\r\n</span>\r\n\r\n <span>");
3411
3412
3413 #line 679 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3414 Write(Model.Item.GetValue("Linklabel"));
3415
3416
3417 #line default
3418 #line hidden
3419 WriteLiteral("</span>\r\n \r\n");
3420
3421 WriteLiteral("<span");
3422
3423 WriteLiteral(" class=\"external-link\"");
3424
3425 WriteLiteral(">\r\n <svg");
3426
3427 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3428
3429 WriteLiteral(" viewBox=\"0 0 24 24\"");
3430
3431 WriteLiteral("><path");
3432
3433 WriteLiteral(@" d=""M20.234 24H3.372A3.372 3.372 0 0 1 0 20.628V3.766A3.778 3.778 0 0 1 3.429 0h9.429v1.714H3.429a1.734 1.734 0 0 0-1.714 1.714l-.028 17.2a1.686 1.686 0 0 0 1.686 1.686l17.2-.028a1.735 1.735 0 0 0 1.714-1.714v-9.428H24v9.428A3.778 3.778 0 0 1 20.234 24zm2.909-16.286a.854.854 0 0 1-.857-.857l-.025-4.1L9.216 15.2a.906.906 0 0 1-1.239 0 .808.808 0 0 1 0-1.181L20.909 1.685l-3.767.027a.857.857 0 1 1 0-1.714h5.981a.852.852 0 0 1 .876.835v6.022a.856.856 0 0 1-.856.859z""");
3434
3435 WriteLiteral(" fill=\"#fff\"");
3436
3437 WriteLiteral("/></svg>\r\n</span>\r\n\r\n </a>\r\n </" +
3438 "div>\r\n </div>\r\n </div>\r\n </div>\r\n " +
3439 " </section>\r\n");
3440
3441
3442 #line 692 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3443 }
3444
3445
3446 #line default
3447 #line hidden
3448 WriteLiteral("\r\n</div>\r\n<div");
3449
3450 WriteLiteral(" class=\"content content--secondary\"");
3451
3452 WriteLiteral(">\r\n");
3453
3454 WriteLiteral(" ");
3455
3456
3457 #line 696 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3458 Write(Model.Placeholder("secondary", "Sekundær", "items-allowed:Ribbon_A,Ribbon_B,Ribbon_C,Ribbon_D,Ribbon_E,Ribbon_D,Ribbon_E,Gallery,Ribbon_F,SponsorList,Infobox,Calendar,EksternKode,Kode,PersonPicker,ModuleOnly"));
3459
3460
3461 #line default
3462 #line hidden
3463 WriteLiteral("\r\n</div>\r\n\r\n");
3464
3465
3466 #line 701 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3467 Write(SnippetStart("EditorSnippet"));
3468
3469
3470 #line default
3471 #line hidden
3472 WriteLiteral("\r\n\r\n");
3473
3474
3475 #line 703 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3476
3477 DateTime date = Model.UpdatedDate;
3478
3479
3480 foreach (var user in Model.Item.GetUsers("Editor"))
3481 {
3482
3483
3484 #line default
3485 #line hidden
3486 WriteLiteral(" <meta");
3487
3488 WriteLiteral(" name=\"web_author\"");
3489
3490 WriteAttribute("content", Tuple.Create(" content=\"", 47754), Tuple.Create("\"", 47778)
3491
3492 #line 709 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3493 , Tuple.Create(Tuple.Create("", 47764), Tuple.Create<System.Object, System.Int32>(user.UserName
3494
3495 #line default
3496 #line hidden
3497 , 47764), false)
3498 );
3499
3500 WriteLiteral(" />\r\n");
3501
3502 WriteLiteral(" <meta");
3503
3504 WriteLiteral(" name=\"contact\"");
3505
3506 WriteAttribute("content", Tuple.Create(" content=\"", 47812), Tuple.Create("\"", 47833)
3507
3508 #line 710 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3509 , Tuple.Create(Tuple.Create("", 47822), Tuple.Create<System.Object, System.Int32>(user.Email
3510
3511 #line default
3512 #line hidden
3513 , 47822), false)
3514 );
3515
3516 WriteLiteral(" />\r\n");
3517
3518
3519 #line 711 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3520 }
3521
3522
3523 #line default
3524 #line hidden
3525 WriteLiteral(" <meta");
3526
3527 WriteLiteral(" name=\"Last-Modified\"");
3528
3529 WriteAttribute("content", Tuple.Create(" content=\"", 47876), Tuple.Create("\"", 47924)
3530
3531 #line 712 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3532 , Tuple.Create(Tuple.Create("", 47886), Tuple.Create<System.Object, System.Int32>(date.ToString("yyyy-MM-ddTHH:mm:ssZ")
3533
3534 #line default
3535 #line hidden
3536 , 47886), false)
3537 );
3538
3539 WriteLiteral(" />\r\n");
3540
3541
3542 #line 713 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3543
3544
3545
3546 #line default
3547 #line hidden
3548 WriteLiteral("\r\n");
3549
3550
3551 #line 715 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3552 Write(SnippetEnd("EditorSnippet"));
3553
3554
3555 #line default
3556 #line hidden
3557 WriteLiteral("\r\n </main>\r\n\r\n");
3558
3559
3560 #line 718 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3561
3562
3563 #line default
3564 #line hidden
3565
3566 #line 722 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3567
3568 string redirectPage = "";
3569
3570 string footerPhonenumber = Model.Area.Item.GetString("Phonenumber");
3571 string footerEmail = Model.Area.Item.GetString("Email");
3572 string footerFacebook = Model.Area.Item.GetString("Facebook");
3573 string footerTwitter = Model.Area.Item.GetString("Twitter");
3574 string footerLinkedIn = Model.Area.Item.GetString("LinkedIn");
3575 string footerInstagram = Model.Area.Item.GetString("Instagram");
3576
3577 var links1 = Model.Area.Item.GetItems("ColumnLinks1");
3578 var links2 = Model.Area.Item.GetItems("ColumnLinks2");
3579 var links3 = Model.Area.Item.GetItems("ColumnLinks3");
3580 string CLabel1 = Model.Area.Item.GetString("ColumnLabel1");
3581 string CLabel2 = Model.Area.Item.GetString("ColumnLabel2");
3582 string CLabel3 = Model.Area.Item.GetString("ColumnLabel3");
3583
3584 string contactValue = string.Empty;
3585
3586 var footerImage = Model.Area.Item.GetString("Image");
3587 var footerImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkInternal");
3588 var footerImageLinkText = Model.Area.Item.GetItem("ImageLink").GetString("LinkText");
3589 var footerImageLinkTarget = Model.Area.Item.GetItem("ImageLink").GetList("LinkTarget").SelectedValue;
3590 var footerImageLinkLinkType = Model.Area.Item.GetItem("ImageLink").GetList("LinkType").SelectedValue;
3591
3592 var footerImage2 = Model.Area.Item.GetString("Image2");
3593 var footerImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkInternal");
3594 var footerImageLinkText2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkText");
3595 var footerImageLinkTarget2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkTarget").SelectedValue;
3596 var footerImageLinkLinkType2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkType").SelectedValue;
3597
3598 if (footerImageLinkLinkType == "external")
3599 {
3600 footerImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkExternal");
3601 }
3602
3603 if (footerImageLinkLinkType2 == "external")
3604 {
3605 footerImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkExternal");
3606 }
3607
3608 if (Model.Area.Item.GetValue("Email") != null)
3609 {
3610 contactValue = footerEmail.Contains("@") ? "mailto:" + footerEmail : footerEmail;
3611 }
3612
3613
3614 #line default
3615 #line hidden
3616 WriteLiteral("\r\n\r\n<footer");
3617
3618 WriteLiteral(" class=\"footer soft-load\"");
3619
3620 WriteLiteral(">\r\n <aside");
3621
3622 WriteLiteral(" class=\"footer__sidebar\"");
3623
3624 WriteLiteral(">\r\n <div");
3625
3626 WriteLiteral(" class=\"footer__culture\"");
3627
3628 WriteLiteral(">\r\n");
3629
3630
3631 #line 772 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3632
3633
3634 #line default
3635 #line hidden
3636
3637 #line 772 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3638 if (footerImage != "")
3639 {
3640
3641
3642 #line default
3643 #line hidden
3644 WriteLiteral(" <a");
3645
3646 WriteLiteral(" class=\"footer__culture-link\"");
3647
3648 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 50600), Tuple.Create("\"", 50623)
3649
3650 #line 774 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3651 , Tuple.Create(Tuple.Create("", 50607), Tuple.Create<System.Object, System.Int32>(footerImageLink
3652
3653 #line default
3654 #line hidden
3655 , 50607), false)
3656 );
3657
3658 WriteAttribute("target", Tuple.Create(" target=\"", 50624), Tuple.Create("\"", 50655)
3659
3660 #line 774 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3661 , Tuple.Create(Tuple.Create("", 50633), Tuple.Create<System.Object, System.Int32>(footerImageLinkTarget
3662
3663 #line default
3664 #line hidden
3665 , 50633), false)
3666 );
3667
3668 WriteLiteral(">\r\n <img");
3669
3670 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 50683), Tuple.Create("\"", 50701)
3671
3672 #line 775 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3673 , Tuple.Create(Tuple.Create("", 50689), Tuple.Create<System.Object, System.Int32>(footerImage
3674
3675 #line default
3676 #line hidden
3677 , 50689), false)
3678 );
3679
3680 WriteAttribute("alt", Tuple.Create(" alt=\"", 50702), Tuple.Create("\"", 50728)
3681
3682 #line 775 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3683 , Tuple.Create(Tuple.Create("", 50708), Tuple.Create<System.Object, System.Int32>(footerImageLinkText
3684
3685 #line default
3686 #line hidden
3687 , 50708), false)
3688 );
3689
3690 WriteLiteral(">\r\n </a>\r\n");
3691
3692
3693 #line 777 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3694 }
3695
3696
3697 #line default
3698 #line hidden
3699 WriteLiteral(" ");
3700
3701
3702 #line 778 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3703 if (footerImage2 != "")
3704 {
3705
3706
3707 #line default
3708 #line hidden
3709 WriteLiteral(" <a");
3710
3711 WriteLiteral(" class=\"footer__culture-link\"");
3712
3713 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 50869), Tuple.Create("\"", 50893)
3714
3715 #line 780 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3716 , Tuple.Create(Tuple.Create("", 50876), Tuple.Create<System.Object, System.Int32>(footerImageLink2
3717
3718 #line default
3719 #line hidden
3720 , 50876), false)
3721 );
3722
3723 WriteAttribute("target", Tuple.Create(" target=\"", 50894), Tuple.Create("\"", 50926)
3724
3725 #line 780 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3726 , Tuple.Create(Tuple.Create("", 50903), Tuple.Create<System.Object, System.Int32>(footerImageLinkTarget2
3727
3728 #line default
3729 #line hidden
3730 , 50903), false)
3731 );
3732
3733 WriteLiteral(">\r\n <img");
3734
3735 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 50954), Tuple.Create("\"", 50973)
3736
3737 #line 781 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3738 , Tuple.Create(Tuple.Create("", 50960), Tuple.Create<System.Object, System.Int32>(footerImage2
3739
3740 #line default
3741 #line hidden
3742 , 50960), false)
3743 );
3744
3745 WriteAttribute("alt", Tuple.Create(" alt=\"", 50974), Tuple.Create("\"", 51001)
3746
3747 #line 781 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3748 , Tuple.Create(Tuple.Create("", 50980), Tuple.Create<System.Object, System.Int32>(footerImageLinkText2
3749
3750 #line default
3751 #line hidden
3752 , 50980), false)
3753 );
3754
3755 WriteLiteral(">\r\n </a>\r\n");
3756
3757
3758 #line 783 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3759 }
3760
3761
3762 #line default
3763 #line hidden
3764 WriteLiteral(" </div>\r\n </aside>\r\n <div");
3765
3766 WriteLiteral(" class=\"footer__container\"");
3767
3768 WriteLiteral(">\r\n <div");
3769
3770 WriteLiteral(" class=\"grid grid-container\"");
3771
3772 WriteLiteral(">\r\n <div");
3773
3774 WriteLiteral(" class=\"row\"");
3775
3776 WriteLiteral(">\r\n <div");
3777
3778 WriteLiteral(" class=\"col col--md-3 footer__col-first\"");
3779
3780 WriteLiteral(">\r\n <div");
3781
3782 WriteLiteral(" class=\"footer__logo\"");
3783
3784 WriteLiteral(">\r\n");
3785
3786
3787 #line 791 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3788
3789
3790 #line default
3791 #line hidden
3792
3793 #line 791 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3794 if (Model.Area.Item.GetString("Logo") != "")
3795 {
3796
3797
3798 #line default
3799 #line hidden
3800 WriteLiteral(" <a");
3801
3802 WriteLiteral(" href=https://oplev.esbjerg.dk/\"/\"");
3803
3804 WriteLiteral(" title=\"Gå til forsiden\"");
3805
3806 WriteLiteral(" class=\"footer__logo-link\"");
3807
3808 WriteLiteral(">\r\n <img");
3809
3810 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 51526), Tuple.Create("\"", 51566)
3811
3812 #line 794 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3813 , Tuple.Create(Tuple.Create("", 51532), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("Logo")
3814
3815 #line default
3816 #line hidden
3817 , 51532), false)
3818 );
3819
3820 WriteLiteral(" alt=\"Logo alt tekst\"");
3821
3822 WriteLiteral(">\r\n </a>\r\n");
3823
3824
3825 #line 796 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3826 }
3827
3828
3829 #line default
3830 #line hidden
3831 WriteLiteral(" </div>\r\n <div");
3832
3833 WriteLiteral(" class=\"footer__contact-desktop\"");
3834
3835 WriteLiteral(">\r\n\r\n");
3836
3837
3838 #line 800 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3839
3840
3841 #line default
3842 #line hidden
3843
3844 #line 800 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3845 if (!string.IsNullOrEmpty(footerPhonenumber))
3846 {
3847
3848
3849 #line default
3850 #line hidden
3851 WriteLiteral(" <div");
3852
3853 WriteLiteral(" class=\"footer__contact\"");
3854
3855 WriteLiteral("> \r\n <a");
3856
3857 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 51915), Tuple.Create("\"", 51972)
3858 , Tuple.Create(Tuple.Create("", 51922), Tuple.Create("tel:+45", 51922), true)
3859
3860 #line 803 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3861 , Tuple.Create(Tuple.Create("", 51929), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("Phonenumber")
3862
3863 #line default
3864 #line hidden
3865 , 51929), false)
3866 );
3867
3868 WriteAttribute("title", Tuple.Create(" title=\"", 51973), Tuple.Create("\"", 52021)
3869
3870 #line 803 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3871 , Tuple.Create(Tuple.Create("", 51981), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("PhoneLabel")
3872
3873 #line default
3874 #line hidden
3875 , 51981), false)
3876 );
3877
3878 WriteLiteral(" class=\"footer__contact-link\"");
3879
3880 WriteLiteral(">\r\n <span");
3881
3882 WriteLiteral(" class=\"footer__contact-svg\"");
3883
3884 WriteLiteral(">\r\n <svg");
3885
3886 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3887
3888 WriteLiteral(" viewBox=\"0 0 26.054 26\"");
3889
3890 WriteLiteral("><path");
3891
3892 WriteLiteral(@" d=""M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z""");
3893
3894 WriteLiteral("/></svg>\r\n </span>\r\n");
3895
3896 WriteLiteral(" ");
3897
3898
3899 #line 807 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3900 Write(Model.Area.Item.GetString("Phonenumber"));
3901
3902
3903 #line default
3904 #line hidden
3905 WriteLiteral("\r\n </a>\r\n <span>\r\n");
3906
3907 WriteLiteral(" ");
3908
3909
3910 #line 810 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3911 Write(Model.Area.Item.GetString("PhonenumberLabel"));
3912
3913
3914 #line default
3915 #line hidden
3916 WriteLiteral("\r\n </span>\r\n </div>\r\n");
3917
3918
3919 #line 813 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3920 }
3921
3922
3923 #line default
3924 #line hidden
3925 WriteLiteral(" \r\n");
3926
3927
3928 #line 815 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3929
3930
3931 #line default
3932 #line hidden
3933
3934 #line 815 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3935 if (!string.IsNullOrEmpty(footerEmail))
3936 {
3937
3938
3939 #line default
3940 #line hidden
3941 WriteLiteral(" <div");
3942
3943 WriteLiteral(" class=\"footer__contact\"");
3944
3945 WriteLiteral(">\r\n <a");
3946
3947 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 53684), Tuple.Create("\"", 53704)
3948
3949 #line 818 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3950 , Tuple.Create(Tuple.Create("", 53691), Tuple.Create<System.Object, System.Int32>(contactValue
3951
3952 #line default
3953 #line hidden
3954 , 53691), false)
3955 );
3956
3957 WriteAttribute("title", Tuple.Create(" title=\"", 53705), Tuple.Create("\"", 53753)
3958
3959 #line 818 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3960 , Tuple.Create(Tuple.Create("", 53713), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("EmailLabel")
3961
3962 #line default
3963 #line hidden
3964 , 53713), false)
3965 );
3966
3967 WriteLiteral(" class=\"footer__contact-link\"");
3968
3969 WriteLiteral(">\r\n <span");
3970
3971 WriteLiteral(" class=\"footer__contact-svg\"");
3972
3973 WriteLiteral(">\r\n <svg");
3974
3975 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3976
3977 WriteLiteral(" viewBox=\"0 0 26 21.125\"");
3978
3979 WriteLiteral("><path");
3980
3981 WriteLiteral(@" d=""M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z""");
3982
3983 WriteLiteral("/></svg>\r\n </span>\r\n");
3984
3985 WriteLiteral(" ");
3986
3987
3988 #line 822 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3989 Write(Model.Area.Item.GetString("EmailLabel"));
3990
3991
3992 #line default
3993 #line hidden
3994 WriteLiteral("\r\n </a>\r\n <span>\r\n");
3995
3996 WriteLiteral(" ");
3997
3998
3999 #line 825 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4000 Write(Model.Area.Item.GetString("EmailLabel_2"));
4001
4002
4003 #line default
4004 #line hidden
4005 WriteLiteral("\r\n </span>\r\n </div>\r\n");
4006
4007
4008 #line 828 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4009 }
4010
4011
4012 #line default
4013 #line hidden
4014 WriteLiteral(" </div>\r\n </div>\r\n <div");
4015
4016 WriteLiteral(" class=\"col col--md-3 footer__col-info\"");
4017
4018 WriteLiteral(">\r\n <div");
4019
4020 WriteLiteral(" class=\"footer__info\"");
4021
4022 WriteLiteral(">\r\n <div");
4023
4024 WriteLiteral(" class=\"footer__accordion\"");
4025
4026 WriteLiteral(" data-module=\"accordion\"");
4027
4028 WriteLiteral(">\r\n <div");
4029
4030 WriteLiteral(" class=\"accordion\"");
4031
4032 WriteLiteral(">\r\n");
4033
4034
4035 #line 835 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4036
4037
4038 #line default
4039 #line hidden
4040
4041 #line 835 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4042 if (!string.IsNullOrEmpty(CLabel1))
4043 {
4044
4045
4046 #line default
4047 #line hidden
4048 WriteLiteral(" <h2");
4049
4050 WriteLiteral(" class=\"accordion__heading footer__heading\"");
4051
4052 WriteLiteral(">\r\n <button");
4053
4054 WriteLiteral(" id=\"accordion__trigger_info\"");
4055
4056 WriteLiteral(" type=\"button\"");
4057
4058 WriteLiteral(" class=\"accordion__trigger\"");
4059
4060 WriteLiteral(" aria-expanded=\"false\"");
4061
4062 WriteLiteral(" aria-controls=\"accordion__content_info\"");
4063
4064 WriteLiteral(">\r\n");
4065
4066 WriteLiteral(" ");
4067
4068
4069 #line 839 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4070 Write(Model.Area.Item.GetString("ColumnLabel1"));
4071
4072
4073 #line default
4074 #line hidden
4075 WriteLiteral("\r\n <span");
4076
4077 WriteLiteral(" class=\"accordion__chevron\"");
4078
4079 WriteLiteral(" aria-hidden=\"true\"");
4080
4081 WriteLiteral(">\r\n <svg");
4082
4083 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4084
4085 WriteLiteral(" viewBox=\"0 0 25.469 14.143\"");
4086
4087 WriteLiteral("><path");
4088
4089 WriteLiteral(" d=\"M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L1" +
4090 "2.74 14.143z\"");
4091
4092 WriteLiteral("/></svg>\r\n </span>\r\n " +
4093 " </button>\r\n </h2> \r\n");
4094
4095
4096 #line 845 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4097 }else{
4098
4099
4100 #line default
4101 #line hidden
4102 WriteLiteral(" <span");
4103
4104 WriteLiteral(" class=\"accordion__heading footer__heading\"");
4105
4106 WriteLiteral(">\r\n <button");
4107
4108 WriteLiteral(" id=\"accordion__trigger_info\"");
4109
4110 WriteLiteral(" type=\"button\"");
4111
4112 WriteLiteral(" class=\"accordion__trigger\"");
4113
4114 WriteLiteral(" aria-expanded=\"false\"");
4115
4116 WriteLiteral(" aria-controls=\"accordion__content_info\"");
4117
4118 WriteLiteral("> \r\n");
4119
4120 WriteLiteral(" ");
4121
4122
4123 #line 848 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4124 Write(Model.Area.Item.GetString("ColumnLabel1"));
4125
4126
4127 #line default
4128 #line hidden
4129 WriteLiteral("\r\n <span");
4130
4131 WriteLiteral(" class=\"accordion__chevron\"");
4132
4133 WriteLiteral(" aria-hidden=\"true\"");
4134
4135 WriteLiteral(">\r\n <svg");
4136
4137 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4138
4139 WriteLiteral(" viewBox=\"0 0 25.469 14.143\"");
4140
4141 WriteLiteral("><path");
4142
4143 WriteLiteral(" d=\"M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L1" +
4144 "2.74 14.143z\"");
4145
4146 WriteLiteral("/></svg>\r\n </span>\r\n " +
4147 " </button>\r\n </span> " +
4148 " \r\n");
4149
4150
4151 #line 854 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4152 }
4153
4154
4155 #line default
4156 #line hidden
4157 WriteLiteral(" ");
4158
4159
4160 #line 855 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4161 if (links1 != null)
4162 {
4163
4164
4165 #line default
4166 #line hidden
4167 WriteLiteral(" <div");
4168
4169 WriteLiteral(" id=\"accordion__content_info\"");
4170
4171 WriteLiteral(" class=\"accordion__content\"");
4172
4173 WriteLiteral(" aria-hidden=\"true\"");
4174
4175 WriteLiteral(" aria-labelledby=\"accordion__trigger_info\"");
4176
4177 WriteLiteral(">\r\n <ul");
4178
4179 WriteLiteral(" class=\"footer__list\"");
4180
4181 WriteLiteral(">\r\n");
4182
4183
4184 #line 859 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4185
4186
4187 #line default
4188 #line hidden
4189
4190 #line 859 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4191 foreach (var columnLink in links1)
4192 {
4193
4194
4195 #line default
4196 #line hidden
4197
4198 #line 861 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4199 Write(RenderColumnLink(columnLink));
4200
4201
4202 #line default
4203 #line hidden
4204
4205 #line 861 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4206
4207 }
4208
4209
4210 #line default
4211 #line hidden
4212 WriteLiteral(" </ul>\r\n " +
4213 " </div>\r\n");
4214
4215
4216 #line 865 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4217 }
4218
4219
4220 #line default
4221 #line hidden
4222 WriteLiteral(" </div>\r\n </div>\r\n " +
4223 " </div>\r\n </div>\r\n <div");
4224
4225 WriteLiteral(" class=\"col col--md-3 footer__col-hours\"");
4226
4227 WriteLiteral(">\r\n <div");
4228
4229 WriteLiteral(" class=\"footer__hours\"");
4230
4231 WriteLiteral(">\r\n <div");
4232
4233 WriteLiteral(" class=\"footer__accordion\"");
4234
4235 WriteLiteral(" data-module=\"accordion\"");
4236
4237 WriteLiteral(">\r\n <div");
4238
4239 WriteLiteral(" class=\"accordion\"");
4240
4241 WriteLiteral(">\r\n");
4242
4243
4244 #line 874 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4245
4246
4247 #line default
4248 #line hidden
4249
4250 #line 874 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4251 if (!string.IsNullOrEmpty(CLabel2))
4252 {
4253
4254
4255 #line default
4256 #line hidden
4257 WriteLiteral(" <h2");
4258
4259 WriteLiteral(" class=\"accordion__heading footer__heading\"");
4260
4261 WriteLiteral(">\r\n <button");
4262
4263 WriteLiteral(" id=\"accordion__trigger_hours\"");
4264
4265 WriteLiteral(" type=\"button\"");
4266
4267 WriteLiteral(" class=\"accordion__trigger\"");
4268
4269 WriteLiteral(" aria-expanded=\"false\"");
4270
4271 WriteLiteral(" aria-controls=\"accordion__content_hours\"");
4272
4273 WriteLiteral(">\r\n");
4274
4275 WriteLiteral(" ");
4276
4277
4278 #line 878 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4279 Write(Model.Area.Item.GetString("ColumnLabel2"));
4280
4281
4282 #line default
4283 #line hidden
4284 WriteLiteral("\r\n <span");
4285
4286 WriteLiteral(" class=\"accordion__chevron\"");
4287
4288 WriteLiteral(" aria-hidden=\"true\"");
4289
4290 WriteLiteral(">\r\n <svg");
4291
4292 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4293
4294 WriteLiteral(" viewBox=\"0 0 25.469 14.143\"");
4295
4296 WriteLiteral("><path");
4297
4298 WriteLiteral(" d=\"M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L1" +
4299 "2.74 14.143z\"");
4300
4301 WriteLiteral("/></svg>\r\n </span>\r\n " +
4302 " </button>\r\n </h2>\r\n");
4303
4304
4305 #line 884 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4306 }else{
4307
4308
4309
4310 #line default
4311 #line hidden
4312 WriteLiteral(" <span");
4313
4314 WriteLiteral(" class=\"accordion__heading footer__heading\"");
4315
4316 WriteLiteral(">\r\n <button");
4317
4318 WriteLiteral(" id=\"accordion__trigger_hours\"");
4319
4320 WriteLiteral(" type=\"button\"");
4321
4322 WriteLiteral(" class=\"accordion__trigger\"");
4323
4324 WriteLiteral(" aria-expanded=\"false\"");
4325
4326 WriteLiteral(" aria-controls=\"accordion__content_hours\"");
4327
4328 WriteLiteral(">\r\n");
4329
4330 WriteLiteral(" ");
4331
4332
4333 #line 888 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4334 Write(Model.Area.Item.GetString("ColumnLabel2"));
4335
4336
4337 #line default
4338 #line hidden
4339 WriteLiteral("\r\n <span");
4340
4341 WriteLiteral(" class=\"accordion__chevron\"");
4342
4343 WriteLiteral(" aria-hidden=\"true\"");
4344
4345 WriteLiteral(">\r\n <svg");
4346
4347 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4348
4349 WriteLiteral(" viewBox=\"0 0 25.469 14.143\"");
4350
4351 WriteLiteral("><path");
4352
4353 WriteLiteral(" d=\"M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L1" +
4354 "2.74 14.143z\"");
4355
4356 WriteLiteral("/></svg>\r\n </span>\r\n " +
4357 " </button>\r\n </span> " +
4358 " \r\n");
4359
4360
4361 #line 894 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4362 }
4363
4364
4365 #line default
4366 #line hidden
4367 WriteLiteral(" ");
4368
4369
4370 #line 895 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4371 if (links2 != null)
4372 {
4373
4374
4375
4376 #line default
4377 #line hidden
4378 WriteLiteral(" <div");
4379
4380 WriteLiteral(" id=\"accordion__content_hours\"");
4381
4382 WriteLiteral(" class=\"accordion__content\"");
4383
4384 WriteLiteral(" aria-hidden=\"true\"");
4385
4386 WriteLiteral(" aria-labelledby=\"accordion__trigger_hours\"");
4387
4388 WriteLiteral(">\r\n <ul");
4389
4390 WriteLiteral(" class=\"footer__list\"");
4391
4392 WriteLiteral(">\r\n");
4393
4394
4395 #line 900 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4396
4397
4398 #line default
4399 #line hidden
4400
4401 #line 900 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4402 foreach (var columnLink in links2)
4403 {
4404
4405
4406 #line default
4407 #line hidden
4408
4409 #line 902 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4410 Write(RenderColumnLink(columnLink));
4411
4412
4413 #line default
4414 #line hidden
4415
4416 #line 902 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4417
4418 }
4419
4420
4421 #line default
4422 #line hidden
4423 WriteLiteral(" </ul>\r\n " +
4424 " </div>\r\n");
4425
4426
4427 #line 906 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4428 }
4429
4430
4431 #line default
4432 #line hidden
4433 WriteLiteral(" </div>\r\n </div>\r\n " +
4434 " <div");
4435
4436 WriteLiteral(" class=\"footer__contact-mobile\"");
4437
4438 WriteLiteral(">\r\n <div");
4439
4440 WriteLiteral(" class=\"footer__contact\"");
4441
4442 WriteLiteral(">\r\n <a");
4443
4444 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 60665), Tuple.Create("\"", 60722)
4445 , Tuple.Create(Tuple.Create("", 60672), Tuple.Create("tel:+45", 60672), true)
4446
4447 #line 911 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4448 , Tuple.Create(Tuple.Create("", 60679), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("Phonenumber")
4449
4450 #line default
4451 #line hidden
4452 , 60679), false)
4453 );
4454
4455 WriteAttribute("title", Tuple.Create(" title=\"", 60723), Tuple.Create("\"", 60771)
4456
4457 #line 911 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4458 , Tuple.Create(Tuple.Create("", 60731), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("PhoneLabel")
4459
4460 #line default
4461 #line hidden
4462 , 60731), false)
4463 );
4464
4465 WriteLiteral(" class=\"footer__contact-link\"");
4466
4467 WriteLiteral(">\r\n <span");
4468
4469 WriteLiteral(" class=\"footer__contact-svg\"");
4470
4471 WriteLiteral(">\r\n <svg");
4472
4473 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4474
4475 WriteLiteral(" viewBox=\"0 0 26.054 26\"");
4476
4477 WriteLiteral("><path");
4478
4479 WriteLiteral(@" d=""M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z""");
4480
4481 WriteLiteral("/></svg>\r\n </span>\r\n");
4482
4483 WriteLiteral(" ");
4484
4485
4486 #line 915 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4487 Write(Model.Area.Item.GetString("Phonenumber"));
4488
4489
4490 #line default
4491 #line hidden
4492 WriteLiteral("\r\n </a>\r\n <span>\r\n");
4493
4494 WriteLiteral(" ");
4495
4496
4497 #line 918 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4498 Write(Model.Area.Item.GetString("PhonenumberLabel"));
4499
4500
4501 #line default
4502 #line hidden
4503 WriteLiteral("\r\n </span>\r\n </div>\r\n " +
4504 " <div");
4505
4506 WriteLiteral(" class=\"footer__contact\"");
4507
4508 WriteLiteral(">\r\n <a");
4509
4510 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 62341), Tuple.Create("\"", 62361)
4511
4512 #line 922 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4513 , Tuple.Create(Tuple.Create("", 62348), Tuple.Create<System.Object, System.Int32>(contactValue
4514
4515 #line default
4516 #line hidden
4517 , 62348), false)
4518 );
4519
4520 WriteAttribute("title", Tuple.Create(" title=\"", 62362), Tuple.Create("\"", 62410)
4521
4522 #line 922 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4523 , Tuple.Create(Tuple.Create("", 62370), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("EmailLabel")
4524
4525 #line default
4526 #line hidden
4527 , 62370), false)
4528 );
4529
4530 WriteLiteral(" class=\"footer__contact-link\"");
4531
4532 WriteLiteral(">\r\n <span");
4533
4534 WriteLiteral(" class=\"footer__contact-svg\"");
4535
4536 WriteLiteral(">\r\n <svg");
4537
4538 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4539
4540 WriteLiteral(" viewBox=\"0 0 26 21.125\"");
4541
4542 WriteLiteral("><path");
4543
4544 WriteLiteral(@" d=""M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z""");
4545
4546 WriteLiteral("/></svg>\r\n </span>\r\n");
4547
4548 WriteLiteral(" ");
4549
4550
4551 #line 926 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4552 Write(Model.Area.Item.GetString("EmailLabel"));
4553
4554
4555 #line default
4556 #line hidden
4557 WriteLiteral("\r\n </a>\r\n <span>\r\n");
4558
4559 WriteLiteral(" ");
4560
4561
4562 #line 929 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4563 Write(Model.Area.Item.GetString("EmailLabel_2"));
4564
4565
4566 #line default
4567 #line hidden
4568 WriteLiteral("\r\n </span>\r\n </div>\r\n " +
4569 " </div>\r\n </div>\r\n </div>" +
4570 "\r\n <div");
4571
4572 WriteLiteral(" class=\"col col--md-3 footer__col-last\"");
4573
4574 WriteLiteral(">\r\n <div");
4575
4576 WriteLiteral(" class=\"footer__shortcuts\"");
4577
4578 WriteLiteral(">\r\n");
4579
4580
4581 #line 937 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4582
4583
4584 #line default
4585 #line hidden
4586
4587 #line 937 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4588 if (!string.IsNullOrEmpty(CLabel3))
4589 {
4590
4591
4592 #line default
4593 #line hidden
4594 WriteLiteral(" <h2");
4595
4596 WriteLiteral(" class=\"footer__heading\"");
4597
4598 WriteLiteral(">\r\n");
4599
4600 WriteLiteral(" ");
4601
4602
4603 #line 940 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4604 Write(Model.Area.Item.GetString("ColumnLabel3"));
4605
4606
4607 #line default
4608 #line hidden
4609 WriteLiteral("\r\n </h2>\r\n");
4610
4611
4612 #line 942 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4613 }
4614
4615
4616 #line default
4617 #line hidden
4618 WriteLiteral("\t\r\n");
4619
4620
4621 #line 944 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4622
4623
4624 #line default
4625 #line hidden
4626
4627 #line 944 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4628 if (links3 != null)
4629 {
4630
4631
4632 #line default
4633 #line hidden
4634 WriteLiteral(" <ul");
4635
4636 WriteLiteral(" class=\"footer__list\"");
4637
4638 WriteLiteral(">\r\n");
4639
4640
4641 #line 947 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4642
4643
4644 #line default
4645 #line hidden
4646
4647 #line 947 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4648 foreach (var columnLink in links3)
4649 {
4650
4651
4652 #line default
4653 #line hidden
4654
4655 #line 949 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4656 Write(RenderColumnLink(columnLink));
4657
4658
4659 #line default
4660 #line hidden
4661
4662 #line 949 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4663
4664 }
4665
4666
4667 #line default
4668 #line hidden
4669 WriteLiteral(" </ul>\r\n");
4670
4671
4672 #line 952 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4673 }
4674
4675
4676 #line default
4677 #line hidden
4678 WriteLiteral(" </div>\r\n <div");
4679
4680 WriteLiteral(" class=\"footer__social\"");
4681
4682 WriteLiteral(">\r\n <div");
4683
4684 WriteLiteral(" class=\"footer__social-text\"");
4685
4686 WriteLiteral(">\r\n");
4687
4688 WriteLiteral(" ");
4689
4690
4691 #line 956 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4692 Write(Translate("MeetEsbjergSoMe", "Mød Esbjerg på de sociale medier"));
4693
4694
4695 #line default
4696 #line hidden
4697 WriteLiteral("\r\n </div>\r\n <div");
4698
4699 WriteLiteral(" class=\"footer__social-links\"");
4700
4701 WriteLiteral(">\r\n");
4702
4703
4704 #line 959 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4705
4706
4707 #line default
4708 #line hidden
4709
4710 #line 959 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4711 if (!string.IsNullOrEmpty(footerFacebook))
4712 {
4713 string facebookLink = redirectPage + footerFacebook;
4714
4715
4716 #line default
4717 #line hidden
4718 WriteLiteral(" <a");
4719
4720 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 64881), Tuple.Create("\"", 64901)
4721
4722 #line 962 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4723 , Tuple.Create(Tuple.Create("", 64888), Tuple.Create<System.Object, System.Int32>(facebookLink
4724
4725 #line default
4726 #line hidden
4727 , 64888), false)
4728 );
4729
4730 WriteLiteral(" title=\"link til Facebook\"");
4731
4732 WriteLiteral(" class=\"footer__social-link\"");
4733
4734 WriteLiteral(" target=\"_blank\"");
4735
4736 WriteLiteral(" rel=\"noopener noreferrer\"");
4737
4738 WriteLiteral(">\r\n <svg");
4739
4740 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4741
4742 WriteLiteral(" viewBox=\"0 0 12.945 24.181\"");
4743
4744 WriteLiteral("><path");
4745
4746 WriteLiteral(" d=\"M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A" +
4747 "5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 " +
4748 "0 0-.286 1v2.348h4.625v4.622H8.319v11.236z\"");
4749
4750 WriteLiteral("/></svg>\r\n </a>\r\n");
4751
4752
4753 #line 965 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4754 }
4755
4756
4757 #line default
4758 #line hidden
4759 WriteLiteral(" ");
4760
4761
4762 #line 966 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4763 if (!string.IsNullOrEmpty(footerTwitter))
4764 {
4765 string twitterLink = redirectPage + footerTwitter;
4766
4767
4768 #line default
4769 #line hidden
4770 WriteLiteral(" <a");
4771
4772 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 65614), Tuple.Create("\"", 65633)
4773
4774 #line 969 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4775 , Tuple.Create(Tuple.Create("", 65621), Tuple.Create<System.Object, System.Int32>(twitterLink
4776
4777 #line default
4778 #line hidden
4779 , 65621), false)
4780 );
4781
4782 WriteLiteral(" title=\"Link til Twitter\"");
4783
4784 WriteLiteral(" class=\"footer__social-link\"");
4785
4786 WriteLiteral(" target=\"_blank\"");
4787
4788 WriteLiteral(" rel=\"noopener noreferrer\"");
4789
4790 WriteLiteral(">\r\n <svg");
4791
4792 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4793
4794 WriteLiteral(" viewBox=\"0 0 24.064 19.692\"");
4795
4796 WriteLiteral("><path");
4797
4798 WriteLiteral(@" d=""M7.56 19.693a13.155 13.155 0 0 1-4.023-.623 13.892 13.892 0 0 1-3.536-1.665H1.18a9.521 9.521 0 0 0 6.1-2.08 5.335 5.335 0 0 1-2.915-1.041 4.5 4.5 0 0 1-1.662-2.427l.114.023.068.015h.01a3.54 3.54 0 0 0 .638.1 2.887 2.887 0 0 0 .764-.068h.013a1.869 1.869 0 0 0 .611-.07 5.156 5.156 0 0 1-2.774-1.732 4.637 4.637 0 0 1-1.109-3.121v-.07a4.561 4.561 0 0 0 2.218.556 4.392 4.392 0 0 1-2.15-4.091 5.157 5.157 0 0 1 .624-2.5 14.11 14.11 0 0 0 4.438 3.674 12.9 12.9 0 0 0 5.688 1.524 18.723 18.723 0 0 0-.054-.353v-.01a5.178 5.178 0 0 1-.085-.747 4.833 4.833 0 0 1 1.456-3.535 4.765 4.765 0 0 1 3.468-1.456 4.719 4.719 0 0 1 2.012.415 4.249 4.249 0 0 1 1.526 1.179 7.016 7.016 0 0 0 1.724-.482h.009c.256-.108.536-.239.782-.355s.505-.235.744-.338a6.826 6.826 0 0 1-.9 1.525 5.4 5.4 0 0 1-1.319 1.18l.057-.008a10.711 10.711 0 0 0 1.4-.269 11.514 11.514 0 0 0 1.388-.485c-.349.487-.7.906-1.037 1.311a7.775 7.775 0 0 1-1.386 1.25v.623a14.166 14.166 0 0 1-.9 4.992 14.216 14.216 0 0 1-2.7 4.509 13.291 13.291 0 0 1-4.438 3.327 12.782 12.782 0 0 1-6.043 1.323z""");
4799
4800 WriteLiteral("/></svg>\r\n </a>\r\n");
4801
4802
4803 #line 972 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4804 }
4805
4806
4807 #line default
4808 #line hidden
4809 WriteLiteral(" ");
4810
4811
4812 #line 973 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4813 if (!string.IsNullOrEmpty(footerLinkedIn))
4814 {
4815 string linkedInLink = redirectPage + footerLinkedIn;
4816
4817
4818 #line default
4819 #line hidden
4820 WriteLiteral(" <a");
4821
4822 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 67194), Tuple.Create("\"", 67214)
4823
4824 #line 976 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4825 , Tuple.Create(Tuple.Create("", 67201), Tuple.Create<System.Object, System.Int32>(linkedInLink
4826
4827 #line default
4828 #line hidden
4829 , 67201), false)
4830 );
4831
4832 WriteLiteral(" title=\"Link til LinkedIn\"");
4833
4834 WriteLiteral(" class=\"footer__social-link\"");
4835
4836 WriteLiteral(" target=\"_blank\"");
4837
4838 WriteLiteral(" rel=\"noopener noreferrer\"");
4839
4840 WriteLiteral(">\r\n <svg");
4841
4842 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4843
4844 WriteLiteral(" viewBox=\"0 0 20.129 22.404\"");
4845
4846 WriteLiteral("><path");
4847
4848 WriteLiteral(@" d=""M11.451 22.404H7.112V7.113h4.409v.71a5.1 5.1 0 0 1 2.433-.58c.146 0 .284 0 .411.014a6.95 6.95 0 0 1 2.846.709 6.335 6.335 0 0 1 2.134 2.205 6.226 6.226 0 0 1 .782 2.917v9.315h-4.339v-9.316a1.562 1.562 0 0 0-.215-.71l-.059-.079v-.006c-.182-.244-.313-.422-.5-.484a2.347 2.347 0 0 0-1.054-.3 1.219 1.219 0 0 0-.227.019 5.229 5.229 0 0 0-1.139.286 4.014 4.014 0 0 0-1.136.782v9.813zm-6.543 0H.497V7.113h4.411v15.29zM2.701 5.478a2.623 2.623 0 0 1-1.919-.782A2.623 2.623 0 0 1 0 2.774 2.923 2.923 0 0 1 .782.783 2.613 2.613 0 0 1 2.701.001a2.616 2.616 0 0 1 1.921.782 2.923 2.923 0 0 1 .782 1.991 2.623 2.623 0 0 1-.782 1.922 2.625 2.625 0 0 1-1.921.781z""");
4849
4850 WriteLiteral("/></svg>\r\n </a>\r\n");
4851
4852
4853 #line 979 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4854 }
4855
4856
4857 #line default
4858 #line hidden
4859 WriteLiteral(" ");
4860
4861
4862 #line 980 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4863 if (!string.IsNullOrEmpty(footerInstagram))
4864 {
4865 string instagramLink = redirectPage + footerInstagram;
4866
4867
4868 #line default
4869 #line hidden
4870 WriteLiteral(" <a");
4871
4872 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 68382), Tuple.Create("\"", 68403)
4873
4874 #line 983 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4875 , Tuple.Create(Tuple.Create("", 68389), Tuple.Create<System.Object, System.Int32>(instagramLink
4876
4877 #line default
4878 #line hidden
4879 , 68389), false)
4880 );
4881
4882 WriteLiteral(" title=\"Link til Instagram\"");
4883
4884 WriteLiteral(" class=\"footer__social-link\"");
4885
4886 WriteLiteral(" target=\"_blank\"");
4887
4888 WriteLiteral(" rel=\"noopener noreferrer\"");
4889
4890 WriteLiteral(">\r\n <svg");
4891
4892 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4893
4894 WriteLiteral(" viewBox=\"0 0 19.991 19.988\"");
4895
4896 WriteLiteral("><path");
4897
4898 WriteLiteral(@" d=""M9.992 1.8c2.669 0 2.983.012 4.038.059a5.453 5.453 0 0 1 1.856.345 3.1 3.1 0 0 1 1.15.746 3.053 3.053 0 0 1 .746 1.15 5.555 5.555 0 0 1 .345 1.856c.048 1.055.059 1.368.059 4.038s-.012 2.983-.059 4.038a5.453 5.453 0 0 1-.345 1.856 3.1 3.1 0 0 1-.746 1.15 3.053 3.053 0 0 1-1.15.746 5.555 5.555 0 0 1-1.856.345c-1.055.048-1.368.059-4.038.059s-2.983-.012-4.038-.059a5.453 5.453 0 0 1-1.854-.343 3.1 3.1 0 0 1-1.15-.746 3.053 3.053 0 0 1-.75-1.15 5.555 5.555 0 0 1-.345-1.856C1.809 12.979 1.8 12.665 1.8 10s.012-2.983.059-4.038A5.453 5.453 0 0 1 2.2 4.1a3.1 3.1 0 0 1 .746-1.15A3.053 3.053 0 0 1 4.1 2.205a5.555 5.555 0 0 1 1.856-.345c1.055-.052 1.368-.059 4.038-.059m0-1.8C7.281.001 6.94.013 5.873.06a7.324 7.324 0 0 0-2.424.464 4.87 4.87 0 0 0-1.771 1.154A4.956 4.956 0 0 0 .524 3.447 7.329 7.329 0 0 0 .06 5.875C.012 6.938.001 7.275.001 9.992s.012 3.054.059 4.121a7.372 7.372 0 0 0 .464 2.428 4.87 4.87 0 0 0 1.154 1.769 4.956 4.956 0 0 0 1.769 1.154 7.329 7.329 0 0 0 2.428.464c1.067.048 1.4.059 4.121.059s3.054-.012 4.121-.059a7.372 7.372 0 0 0 2.428-.464 4.87 4.87 0 0 0 1.769-1.154 4.956 4.956 0 0 0 1.154-1.769 7.329 7.329 0 0 0 .464-2.428c.048-1.067.059-1.4.059-4.121s-.012-3.054-.059-4.121a7.372 7.372 0 0 0-.464-2.428 4.87 4.87 0 0 0-1.154-1.769A4.956 4.956 0 0 0 16.545.52a7.329 7.329 0 0 0-2.428-.464C13.046.012 12.7 0 9.992 0z""");
4899
4900 WriteLiteral("/><path");
4901
4902 WriteLiteral(" d=\"M9.992 4.859a5.133 5.133 0 1 0 5.133 5.133 5.134 5.134 0 0 0-5.133-5.133zm0 8" +
4903 ".465a3.332 3.332 0 1 1 3.332-3.332 3.331 3.331 0 0 1-3.332 3.332z\"");
4904
4905 WriteLiteral("/><circle");
4906
4907 WriteLiteral(" class=\"a\"");
4908
4909 WriteLiteral(" cx=\"1.198\"");
4910
4911 WriteLiteral(" cy=\"1.198\"");
4912
4913 WriteLiteral(" r=\"1.198\"");
4914
4915 WriteLiteral(" transform=\"translate(14.129 3.459)\"");
4916
4917 WriteLiteral("/></svg>\r\n </a>\r\n");
4918
4919
4920 #line 986 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4921 }
4922
4923
4924 #line default
4925 #line hidden
4926 WriteLiteral(" </div>\r\n </div>\r\n </div" +
4927 ">\r\n </div>\r\n </div>\r\n </div>\r\n</footer>\r\n\r\n");
4928
4929 WriteLiteral("\r\n <div");
4930
4931 WriteLiteral(" class=\"cookie-wrapper hard-load\"");
4932
4933 WriteLiteral(">\r\n");
4934
4935
4936 #line 1008 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4937
4938
4939 #line default
4940 #line hidden
4941 WriteLiteral(" ");
4942
4943
4944 #line 1012 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4945
4946 var breakingNewsId = Model.Area.Item.GetValue("BreakingNewsPage");
4947
4948 if (breakingNewsId != null)
4949 {
4950 if(!string.IsNullOrEmpty(breakingNewsId.ToString()))
4951 {
4952 Item item = Helpers.GetBreakingNewsItem(Convert.ToInt32(breakingNewsId));
4953
4954 if (item != null)
4955 {
4956 var link1 = item["Link_1"];
4957 var link2 = item["Link_2"];
4958
4959 var facebook = item["FacebookLink"];
4960 var email = item["Email"];
4961 var emailSubject = item["Subject"];
4962 var emailBody = item["Body"];
4963 var smsNumber = item["PhoneNumber"];
4964 var smsBody = item["SMSText"];
4965
4966
4967
4968 #line default
4969 #line hidden
4970 WriteLiteral(" <div");
4971
4972 WriteAttribute("id", Tuple.Create(" id=\"", 71909), Tuple.Create("\"", 71922)
4973
4974 #line 1033 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4975 , Tuple.Create(Tuple.Create("", 71914), Tuple.Create<System.Object, System.Int32>(item.Id
4976
4977 #line default
4978 #line hidden
4979 , 71914), false)
4980 );
4981
4982 WriteLiteral(" class=\"alert-banner alert-banner--accepted\"");
4983
4984 WriteLiteral(">\r\n <div");
4985
4986 WriteLiteral(" class=\"grid grid-container\"");
4987
4988 WriteLiteral(">\r\n <div");
4989
4990 WriteLiteral(" class=\"row\"");
4991
4992 WriteLiteral(">\r\n <div");
4993
4994 WriteLiteral(" class=\"col col--sm-7 col--md-8 col--xl-9\"");
4995
4996 WriteLiteral(">\r\n <div");
4997
4998 WriteLiteral(" class=\"alert-banner__rich-text\"");
4999
5000 WriteLiteral(">\r\n <h3>\r\n");
5001
5002 WriteLiteral(" ");
5003
5004
5005 #line 1039 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5006 Write(item["Headline"]);
5007
5008
5009 #line default
5010 #line hidden
5011 WriteLiteral("\r\n </h3>\r\n " +
5012 "<p>\r\n");
5013
5014 WriteLiteral(" ");
5015
5016
5017 #line 1042 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5018 Write(item["Text"]);
5019
5020
5021 #line default
5022 #line hidden
5023 WriteLiteral("\r\n </p>\r\n </div" +
5024 ">\r\n </div>\r\n <div");
5025
5026 WriteLiteral(" class=\"col col--sm-5 col--md-4 col--xl-3\"");
5027
5028 WriteLiteral(">\r\n <div");
5029
5030 WriteLiteral(" class=\"alert-banner__link-wrapper\"");
5031
5032 WriteLiteral(">\r\n <div");
5033
5034 WriteLiteral(" class=\"alert-banner__contact-links\"");
5035
5036 WriteLiteral(">\r\n");
5037
5038
5039 #line 1049 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5040
5041
5042 #line default
5043 #line hidden
5044
5045 #line 1049 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5046
5047 if (facebook != null && !string.IsNullOrEmpty(facebook.ToString()))
5048 {
5049
5050
5051 #line default
5052 #line hidden
5053 WriteLiteral(" <a");
5054
5055 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 73058), Tuple.Create("\"", 73085)
5056
5057 #line 1052 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5058 , Tuple.Create(Tuple.Create("", 73065), Tuple.Create<System.Object, System.Int32>(facebook.ToString()
5059
5060 #line default
5061 #line hidden
5062 , 73065), false)
5063 );
5064
5065 WriteLiteral(" title=\"Alert link\"");
5066
5067 WriteLiteral(" class=\"alert-banner__contact-link\"");
5068
5069 WriteLiteral(">\r\n <svg");
5070
5071 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5072
5073 WriteLiteral(" viewBox=\"0 0 12.945 24.181\"");
5074
5075 WriteLiteral("><path");
5076
5077 WriteLiteral(" d=\"M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A" +
5078 "5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 " +
5079 "0 0-.286 1v2.348h4.625v4.622H8.319v11.236z\"");
5080
5081 WriteLiteral("/></svg>\r\n </a>\r\n");
5082
5083
5084 #line 1055 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5085 }
5086 if (email != null && !string.IsNullOrEmpty(email.ToString()))
5087 {
5088
5089
5090
5091 #line default
5092 #line hidden
5093 WriteLiteral(" <a");
5094
5095 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 73789), Tuple.Create("\"", 73959)
5096 , Tuple.Create(Tuple.Create("", 73796), Tuple.Create("mailto:", 73796), true)
5097
5098 #line 1059 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5099 , Tuple.Create(Tuple.Create("", 73803), Tuple.Create<System.Object, System.Int32>(email.ToString()
5100
5101 #line default
5102 #line hidden
5103 , 73803), false)
5104 , Tuple.Create(Tuple.Create("", 73820), Tuple.Create("?subject=", 73820), true)
5105
5106 #line 1059 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5107 , Tuple.Create(Tuple.Create("", 73829), Tuple.Create<System.Object, System.Int32>(emailSubject != null ? emailSubject.ToString() : string.Empty
5108
5109 #line default
5110 #line hidden
5111 , 73829), false)
5112 , Tuple.Create(Tuple.Create(" ", 73893), Tuple.Create("&body=", 73894), true)
5113
5114 #line 1059 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5115 , Tuple.Create(Tuple.Create("", 73900), Tuple.Create<System.Object, System.Int32>(emailBody != null ? emailBody.ToString() : string.Empty
5116
5117 #line default
5118 #line hidden
5119 , 73900), false)
5120 , Tuple.Create(Tuple.Create(" ", 73958), Tuple.Create("", 73958), true)
5121 );
5122
5123 WriteLiteral(" title=\"Alert link\"");
5124
5125 WriteLiteral(" class=\"alert-banner__contact-link\"");
5126
5127 WriteLiteral(">\r\n <svg");
5128
5129 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5130
5131 WriteLiteral(" viewBox=\"0 0 26 21.125\"");
5132
5133 WriteLiteral("><path");
5134
5135 WriteLiteral(@" d=""M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z""");
5136
5137 WriteLiteral("/></svg>\r\n </a>\r\n");
5138
5139
5140 #line 1062 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5141 }
5142 if (smsNumber != null && !string.IsNullOrEmpty(smsNumber.ToString()))
5143 {
5144
5145
5146 #line default
5147 #line hidden
5148 WriteLiteral(" <a");
5149
5150 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 74796), Tuple.Create("\"", 74889)
5151 , Tuple.Create(Tuple.Create("", 74803), Tuple.Create("sms:", 74803), true)
5152
5153 #line 1065 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5154 , Tuple.Create(Tuple.Create("", 74807), Tuple.Create<System.Object, System.Int32>(smsNumber.ToString()
5155
5156 #line default
5157 #line hidden
5158 , 74807), false)
5159 , Tuple.Create(Tuple.Create("", 74828), Tuple.Create("?&body=", 74828), true)
5160
5161 #line 1065 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5162 , Tuple.Create(Tuple.Create("", 74835), Tuple.Create<System.Object, System.Int32>(smsBody != null ? smsBody.ToString() : string.Empty
5163
5164 #line default
5165 #line hidden
5166 , 74835), false)
5167 );
5168
5169 WriteLiteral(" title=\"Alert link\"");
5170
5171 WriteLiteral(" class=\"alert-banner__contact-link alert-banner__contact-links--sms\"");
5172
5173 WriteLiteral(">\r\n <svg");
5174
5175 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5176
5177 WriteLiteral(" width=\"32\"");
5178
5179 WriteLiteral(" height=\"32\"");
5180
5181 WriteLiteral(" viewBox=\"0 0 32 32\"");
5182
5183 WriteLiteral("><g");
5184
5185 WriteLiteral(" fill=\"#d53f53\"");
5186
5187 WriteLiteral("><path");
5188
5189 WriteLiteral(" d=\"M10.624 15.81a2.03 2.03 0 0 1-.766 1.681 3.325 3.325 0 0 1-2.13.612 5 5 0 0 1" +
5190 "-2.228-.477v-1.547a9.163 9.163 0 0 0 1.345.5 3.981 3.981 0 0 0 1.007.145 1.432 1" +
5191 ".432 0 0 0 .841-.209.716.716 0 0 0 .298-.624.688.688 0 0 0-.129-.411 1.442 1.442" +
5192 " 0 0 0-.379-.346 9.739 9.739 0 0 0-1.018-.532 4.824 4.824 0 0 1-1.08-.65 2.44 2." +
5193 "44 0 0 1-.575-.725 2.069 2.069 0 0 1-.21-.967 2.029 2.029 0 0 1 .7-1.638 2.935 2" +
5194 ".935 0 0 1 1.952-.6 4.61 4.61 0 0 1 1.168.145 8.03 8.03 0 0 1 1.163.408l-.534 1." +
5195 "298a7.858 7.858 0 0 0-1.039-.36 3.345 3.345 0 0 0-.808-.1 1.07 1.07 0 0 0-.725.2" +
5196 "2.726.726 0 0 0-.252.575.711.711 0 0 0 .1.384 1.122 1.122 0 0 0 .325.317 10.047 " +
5197 "10.047 0 0 0 1.055.551 4.2 4.2 0 0 1 1.51 1.053 2.06 2.06 0 0 1 .409 1.297zm4.74" +
5198 "8 2.181l-1.891-6.161h-.048q.1 1.88.1 2.508v3.653h-1.486v-7.853h2.266l1.858 6h.02" +
5199 "9l1.971-6h2.267v7.853H18.89v-3.717q0-.263.008-.607t.072-1.826h-.048l-2.022 6.15z" +
5200 "m11.682-2.181a2.03 2.03 0 0 1-.765 1.676 3.325 3.325 0 0 1-2.13.612 5 5 0 0 1-2." +
5201 "224-.473v-1.546a9.163 9.163 0 0 0 1.345.5 3.981 3.981 0 0 0 1.007.145 1.432 1.43" +
5202 "2 0 0 0 .841-.209.716.716 0 0 0 .293-.623.688.688 0 0 0-.129-.411 1.442 1.442 0 " +
5203 "0 0-.379-.346 9.739 9.739 0 0 0-1.013-.533 4.824 4.824 0 0 1-1.08-.65 2.44 2.44 " +
5204 "0 0 1-.575-.725 2.069 2.069 0 0 1-.215-.967 2.029 2.029 0 0 1 .706-1.638 2.935 2" +
5205 ".935 0 0 1 1.952-.6 4.61 4.61 0 0 1 1.168.145 8.03 8.03 0 0 1 1.163.408l-.537 1." +
5206 "294a7.858 7.858 0 0 0-1.039-.36 3.345 3.345 0 0 0-.808-.1 1.07 1.07 0 0 0-.725.2" +
5207 "2.726.726 0 0 0-.252.575.711.711 0 0 0 .1.384 1.122 1.122 0 0 0 .325.317 10.047 " +
5208 "10.047 0 0 0 1.055.551 4.2 4.2 0 0 1 1.509 1.055 2.06 2.06 0 0 1 .407 1.299z\"");
5209
5210 WriteLiteral("/><path");
5211
5212 WriteLiteral(@" d=""M16 28a18.276 18.276 0 0 1-2.991-.253L6 32v-7.081A13.4 13.4 0 0 1 0 14C0 6.268 7.163 0 16 0s16 6.268 16 14-7.163 14-16 14zm0-26C8.268 2 2 7.373 2 14a11.591 11.591 0 0 0 5.975 9.824l-.063 4.638 4.707-2.829A16.2 16.2 0 0 0 16 26c7.732 0 14-5.372 14-12S23.732 2 16 2z""");
5213
5214 WriteLiteral("/></g></svg>\r\n </a>\r\n");
5215
5216
5217 #line 1068 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5218 }
5219
5220
5221 #line default
5222 #line hidden
5223 WriteLiteral(" \r\n </div>\r\n");
5224
5225
5226 #line 1071 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5227
5228
5229 #line default
5230 #line hidden
5231
5232 #line 1071 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5233 if (link1 != null)
5234 {
5235 Item linkItem = Helpers.GetItemByItemId("LinkItem", link1.ToString());
5236 if (linkItem["Link"] != null)
5237 {
5238 string link = linkItem["Link"].ToString();
5239 if (!string.IsNullOrEmpty(link))
5240 {
5241
5242
5243 #line default
5244 #line hidden
5245 WriteLiteral(" <a");
5246
5247 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 77836), Tuple.Create("\"", 77848)
5248
5249 #line 1079 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5250 , Tuple.Create(Tuple.Create("", 77843), Tuple.Create<System.Object, System.Int32>(link
5251
5252 #line default
5253 #line hidden
5254 , 77843), false)
5255 );
5256
5257 WriteLiteral(" class=\"alert-banner__link\"");
5258
5259 WriteLiteral(">\r\n \r\n");
5260
5261 WriteLiteral("<span");
5262
5263 WriteLiteral(" class=\"arrow\"");
5264
5265 WriteLiteral(">\r\n <svg");
5266
5267 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5268
5269 WriteLiteral(" viewBox=\"0 0 40.62 16\"");
5270
5271 WriteLiteral("><path");
5272
5273 WriteLiteral(" d=\"M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z\"");
5274
5275 WriteLiteral("/><path");
5276
5277 WriteLiteral(" class=\"spine\"");
5278
5279 WriteLiteral(" d=\"M0 7.5h40v1H0z\"");
5280
5281 WriteLiteral("/></svg>\r\n</span>\r\n\r\n <span>");
5282
5283
5284 #line 1086 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5285 Write(linkItem["Label"].ToString());
5286
5287
5288 #line default
5289 #line hidden
5290 WriteLiteral("</span>\r\n </a>\r\n");
5291
5292
5293 #line 1088 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5294 }
5295 }
5296 }
5297
5298
5299 #line default
5300 #line hidden
5301 WriteLiteral(" ");
5302
5303
5304 #line 1091 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5305 if (link2 != null)
5306 {
5307 Item linkItem = Helpers.GetItemByItemId("LinkItem", link2.ToString());
5308 if (linkItem["Link"] != null)
5309 {
5310 string link = linkItem["Link"].ToString();
5311 if (!string.IsNullOrEmpty(link))
5312 {
5313
5314
5315 #line default
5316 #line hidden
5317 WriteLiteral(" <a");
5318
5319 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 79095), Tuple.Create("\"", 79107)
5320
5321 #line 1099 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5322 , Tuple.Create(Tuple.Create("", 79102), Tuple.Create<System.Object, System.Int32>(link
5323
5324 #line default
5325 #line hidden
5326 , 79102), false)
5327 );
5328
5329 WriteLiteral(" class=\"alert-banner__link\"");
5330
5331 WriteLiteral(">\r\n \r\n");
5332
5333 WriteLiteral("<span");
5334
5335 WriteLiteral(" class=\"arrow\"");
5336
5337 WriteLiteral(">\r\n <svg");
5338
5339 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5340
5341 WriteLiteral(" viewBox=\"0 0 40.62 16\"");
5342
5343 WriteLiteral("><path");
5344
5345 WriteLiteral(" d=\"M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z\"");
5346
5347 WriteLiteral("/><path");
5348
5349 WriteLiteral(" class=\"spine\"");
5350
5351 WriteLiteral(" d=\"M0 7.5h40v1H0z\"");
5352
5353 WriteLiteral("/></svg>\r\n</span>\r\n\r\n <span>");
5354
5355
5356 #line 1106 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5357 Write(linkItem["Label"].ToString());
5358
5359
5360 #line default
5361 #line hidden
5362 WriteLiteral("</span>\r\n </a>\r\n");
5363
5364
5365 #line 1108 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5366 }
5367 }
5368 }
5369
5370
5371 #line default
5372 #line hidden
5373 WriteLiteral("\r\n </div>\r\n <button" +
5374 "");
5375
5376 WriteLiteral(" type=\"button\"");
5377
5378 WriteLiteral(" class=\"alert-banner__close-btn\"");
5379
5380 WriteLiteral(">\r\n <span");
5381
5382 WriteLiteral(" class=\"alert-banner__close-icon\"");
5383
5384 WriteLiteral(">\r\n <svg");
5385
5386 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5387
5388 WriteLiteral(" viewBox=\"0 0 19.801 19.798\"");
5389
5390 WriteLiteral("><path");
5391
5392 WriteLiteral(" d=\"M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485" +
5393 " 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z\"");
5394
5395 WriteLiteral("/></svg>\r\n </span>\r\n " +
5396 " <span");
5397
5398 WriteLiteral(" class=\"alert-banner__close-text\"");
5399
5400 WriteLiteral(@">
5401 Luk
5402 </span>
5403 </button>
5404 </div>
5405 </div>
5406 </div>
5407 </div>
5408 ");
5409
5410
5411 #line 1125 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5412 }
5413 }
5414 }
5415
5416
5417
5418 #line default
5419 #line hidden
5420 WriteLiteral("\r\n\r\n\r\n\r\n <!-- <div class=\"cookie cookie--accepted\">\r\n <div class=\"grid " +
5421 "grid-container\">\r\n <div class=\"row\">\r\n <div class=\"col col--sm" +
5422 "-8 col--md-9\">\r\n <div class=\"cookie__text\">\r\n");
5423
5424 WriteLiteral(" ");
5425
5426
5427 #line 1138 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5428 Write(Model.Area.Item.GetField("CookieWarning").GetValue());
5429
5430
5431 #line default
5432 #line hidden
5433 WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"col col--sm" +
5434 "-4 col--md-3\">\r\n <button type=\"button\" class=\"cookie__accept-btn " +
5435 "text--link svg-fill--link\">\r\n \r\n");
5436
5437 WriteLiteral("<span class=\"arrow\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 40" +
5438 ".62 16\"><path d=\"M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z\"/><path cla" +
5439 "ss=\"spine\" d=\"M0 7.5h40v1H0z\"/></svg>\r\n</span>\r\n\r\n <span>");
5440
5441
5442 #line 1149 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5443 Write(Translate("OkAccept", "Ok, jeg accepterer"));
5444
5445
5446 #line default
5447 #line hidden
5448 WriteLiteral("</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div" +
5449 ">\r\n</div> -->\r\n </div>\r\n\r\n");
5450
5451
5452 #line 1157 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5453
5454
5455 #line default
5456 #line hidden
5457 WriteLiteral("\r\n");
5458
5459
5460 #line 1160 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5461
5462 var host = HttpContext.Current.Request.Url.Host.StartsWith("local.") ? "subsite-esbjerg.dis-play.dk" : HttpContext.Current.Request.Url.Host;
5463
5464 string jsPath = "/Files/Templates/Designs/" + Pageview.Layout.Design.Name;
5465 string searchPath = Model.Area.Item.GetString("SearchResultPage");
5466 string cludoEngineID = Model.Area.Item.GetString("CludoEngineID");
5467
5468 if (!string.IsNullOrEmpty(searchPath))
5469 {
5470 searchPath = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("Default.aspx?Id=" + searchPath);
5471 }
5472
5473 if (string.IsNullOrEmpty(cludoEngineID))
5474 {
5475 cludoEngineID = 11424;
5476 }
5477
5478
5479 #line default
5480 #line hidden
5481 WriteLiteral("\r\n\r\n<script>\r\n ");
5482
5483 WriteLiteral("\r\n\r\n /*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT Li" +
5484 "cense - https://github.com/filamentgroup/loadCSS */\r\n !function (t) { \"us" +
5485 "e strict\"; t.loadCSS || (t.loadCSS = function () { }); var e = loadCSS.relpreloa" +
5486 "d = {}; if (e.support = function () { var e; try { e = t.document.createElement(" +
5487 "\"link\").relList.supports(\"preload\") } catch (t) { e = !1 } return function () { " +
5488 "return e } }(), e.bindMediaToggle = function (t) { function e() { t.media = a } " +
5489 "var a = t.media || \"all\"; t.addEventListener ? t.addEventListener(\"load\", e) : t" +
5490 ".attachEvent && t.attachEvent(\"onload\", e), setTimeout(function () { t.rel = \"st" +
5491 "ylesheet\", t.media = \"only x\" }), setTimeout(e, 3e3) }, e.poly = function () { i" +
5492 "f (!e.support()) for (var a = t.document.getElementsByTagName(\"link\"), n = 0; n " +
5493 "< a.length; n++) { var o = a[n]; \"preload\" !== o.rel || \"style\" !== o.getAttribu" +
5494 "te(\"as\") || o.getAttribute(\"data-loadcss\") || (o.setAttribute(\"data-loadcss\", !0" +
5495 "), e.bindMediaToggle(o)) } }, !e.support()) { e.poly(); var a = t.setInterval(e." +
5496 "poly, 500); t.addEventListener ? t.addEventListener(\"load\", function () { e.poly" +
5497 "(), t.clearInterval(a) }) : t.attachEvent && t.attachEvent(\"onload\", function ()" +
5498 " { e.poly(), t.clearInterval(a) }) } \"undefined\" != typeof exports ? exports.loa" +
5499 "dCSS = loadCSS : t.loadCSS = loadCSS }(\"undefined\" != typeof global ? global : t" +
5500 "his);\r\n\r\n // Enable this to register a service worker. Pl" +
5501 "ease make sure you understand the implications of doing so.\r\n " +
5502 " // if (\"serviceWorker\" in navigator) { navigator.serviceWorker.register(\"/s" +
5503 "w.js\", { scope: \'/\' }); }\r\n</script>\r\n\r\n<script");
5504
5505 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\'", 85504), Tuple.Create("\'", 85544)
5506
5507 #line 1197 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5508 , Tuple.Create(Tuple.Create("", 85510), Tuple.Create<System.Object, System.Int32>(jsPath
5509
5510 #line default
5511 #line hidden
5512 , 85510), false)
5513 , Tuple.Create(Tuple.Create("", 85517), Tuple.Create("/static/dist/js/main.min.js", 85517), true)
5514 );
5515
5516 WriteLiteral(" type=\"text/javascript\"");
5517
5518 WriteLiteral("></script>\r\n<script");
5519
5520 WriteLiteral(" src=https://oplev.esbjerg.dk/\'https://cdn.polyfill.io/v2/polyfill.js?features=default-3.6,fetch,Object.va" +
5521 "lues,Array.prototype.findIndex\'");
5522
5523 WriteLiteral(" type=\"text/javascript\"");
5524
5525 WriteLiteral("></script>\r\n");
5526
5527 WriteLiteral("\r\n\r\n<!--SiteImprove script-->\r\n<script");
5528
5529 WriteLiteral(" type=\"text/javascript\"");
5530
5531 WriteLiteral(@">
5532 /*<![CDATA[*/
5533 (function () {
5534 var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true;
5535 sz.src ='//siteimproveanalytics.com/js/siteanalyze_273521.js';
5536 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s);
5537 })();
5538 /*]]>*/
5539 </script>
5540 <!--Minimap-->
5541 ");
5542
5543
5544 #line 1212 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5545 Write(RenderSnippet("Minimap"));
5546
5547
5548 #line default
5549 #line hidden
5550 WriteLiteral("\r\n \r\n<!--Kode - Footer section-->\r\n");
5551
5552
5553 #line 1215 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5554 Write(RenderSnippet("KodeFooter"));
5555
5556
5557 #line default
5558 #line hidden
5559 WriteLiteral(@"
5560
5561
5562 <!-- SCRIPT -->
5563 <!-- www.Cludo.com search start JS -->
5564 <!--[if lte IE 9]>
5565 <script src=""https://api.cludo.com/scripts/xdomain.js"" slave=""https://api.cludo.com/proxy.html""></script>
5566 <![endif]-->
5567 <!-- www.Cludo.com search end JS -->
5568 <!-- www.Cludo.com Search body init script start -->
5569
5570 <script");
5571
5572 WriteLiteral(" type=\"text/javascript\"");
5573
5574 WriteLiteral(" src=https://oplev.esbjerg.dk/\"https://customer.cludo.com/scripts/bundles/search-script.min.js\"");
5575
5576 WriteLiteral("></script>\r\n\r\n<script>\r\n var CludoSearch;\r\n (function () {\r\n var clu" +
5577 "doSettings = {\r\n customerId: 80,\r\n engineId: 11424,\r\n " +
5578 " searchUrl: \"");
5579
5580
5581 #line 1234 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5582 Write(searchPath);
5583
5584
5585 #line default
5586 #line hidden
5587 WriteLiteral("\",\r\n language: \"");
5588
5589
5590 #line 1235 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5591 Write(Dynamicweb.Services.Areas.GetArea(Model.Area.ID).CultureInfo.TwoLetterISOLanguageName);
5592
5593
5594 #line default
5595 #line hidden
5596 WriteLiteral("\",\r\n filters: { \"DomainName\": [\"https://");
5597
5598
5599 #line 1236 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5600 Write(host);
5601
5602
5603 #line default
5604 #line hidden
5605 WriteLiteral(@"/""] },
5606 searchInputs: [""cludo-search-form"", ""search-box-form""],
5607 initSearchBoxText: """",
5608 loading: ""<img src='//customer.cludo.com/img/loading.gif' alt='Loading' class='loading' role='progressbar' />"",
5609 customCallbackAfterSearch: function () {
5610 window.cludoCallback();
5611 }
5612 //bannerIsInSearchTemplate: false,
5613 //endlessScroll: {stopAfterPage:3, resultsPerPage:10, bottomOffset: 700},
5614 //richAutocomplete: true
5615 //");
5616
5617
5618 #line 1246 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5619 Write(cludoEngineID);
5620
5621
5622 #line default
5623 #line hidden
5624 WriteLiteral("\r\n };\r\n CludoSearch = new Cludo(cludoSettings);\r\n\t\tCludoSearch.init" +
5625 "();\r\n })();\r\n</script>\r\n\r\n\r\n\r\n<!--Footer scripts from website settings subsit" +
5626 "es-->\r\n");
5627
5628
5629 #line 1256 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5630 string scriptFooterArea = Model.Area.Item.GetString("ScriptFooterArea");
5631
5632 #line default
5633 #line hidden
5634 WriteLiteral("\r\n");
5635
5636
5637 #line 1257 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5638
5639
5640 #line default
5641 #line hidden
5642
5643 #line 1257 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5644 if (!string.IsNullOrEmpty(scriptFooterArea)){
5645
5646
5647 #line default
5648 #line hidden
5649
5650 #line 1258 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5651 Write(scriptFooterArea);
5652
5653
5654 #line default
5655 #line hidden
5656
5657 #line 1258 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5658
5659 }
5660
5661
5662 #line default
5663 #line hidden
5664 WriteLiteral("</body>\r\n</html>\r\n\r\n");
5665
5666 }
5667 }
5668 }
5669
1 @using System.Activities.Statements
2 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
3 @Title("Subsite - Master")
4 @Description("Master template til subsites")
5 @{
6 var bodyClass = "subsite";
7
8 // thema variables
9 var themeActive = Model.Area.Item.GetBoolean("Subsite");
10 var themeTop = Model.Area.Item.GetList("ThemeTop").SelectedValue;
11 var themeContentArea = Model.Area.Item.GetList("ThemeContentArea").SelectedValue;
12 var themeFooter = Model.Area.Item.GetList("ThemeFooter").SelectedValue;
13 var themeTopHex = themeActive && themeTop != null ? themeTop : "";
14 var themeContentHex = themeActive && themeContentArea != null ? themeContentArea : "";
15 var themeFooterHex = themeActive && themeFooter != null ? themeFooter : "";
16
17 var searchPageId = Model.Area.Item.GetInt64("SearchResultPage");
18 var bodyId = "";
19
20 // if current page is the searchresult page
21 if (searchPageId != 0)
22 {
23 if (Dynamicweb.Frontend.PageView.Current().Page.ID == searchPageId)
24 {
25 bodyId = "id=\"cludo-search-results\"";
26 }
27 }
28
29 if (Dynamicweb.Environment.ExecutingContext.IsAdminLoggedIn())
30 {
31 bodyClass += " logged-in";
32 }
33 }
34
35 <!DOCTYPE html>
36 <html lang="@Dynamicweb.Services.Areas.GetArea(Model.Area.ID).CultureInfo.TwoLetterISOLanguageName" class="no-js">
37
38 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
39
40 @using Esbjerg.Logic
41
42 @{
43 string cssPath = "/Files/Templates/Designs/" + Pageview.Layout.Design.Name;
44 //Color codes
45 // string colorPrimary = "#007AB8";
46 // string colorPrimaryHover = "#004069";
47 // string colorPrimaryAlternate = "#00669F";
48 // string colorSecondary = "#007AB8";
49 // string textPrimary = "#FFFFFF";
50 // string textSecondary = "#FFFFFF";
51 // string colorLink = "#D53F53";
52 // string colorLinkAlternate = colorPrimary;
53
54 // if (Model.Area.Item.GetBoolean("Subsite"))
55 // {
56 // colorPrimary = Model.Area.Item.GetString("ColorArea1");
57 // colorPrimaryHover = Model.Area.Item.GetString("HoverColor"); // Need new color in BE here
58 // colorPrimaryAlternate = colorPrimaryHover;
59 // colorSecondary = Model.Area.Item.GetString("ColorArea2");
60 // textPrimary = Model.Area.Item.GetString("MenuTextColorPassive");
61 // textSecondary = Model.Area.Item.GetString("HeaderFooterMenuText");
62 // colorLink = colorPrimary;
63 // colorLinkAlternate = colorPrimary;
64 // }
65
66 string appleTouchIcon = @Model.Area.Item.GetString("Apple_touch_icon");
67 string Favicon32x32 = @Model.Area.Item.GetString("Favicon32x32");
68 string Favicon16x16 = @Model.Area.Item.GetString("Favicon16x16");
69 }
70 <head>
71 <title>@Model.Title</title>
72 <meta name="pageID" content='@Model.ID'>
73 <script src="https://cookiecontrol.bleau.dk/scripts/cookieconsent.js"></script>
74 <script id="cookiecontrolfunctions" src="https://cookiecontrol.bleau.dk/scripts/Cookiecontrolfunctions.js" data-cname="Esbjerg" data-defaultset="EsbjergDefault"></script>
75 <meta name="description" content="@Model.Description" />
76 <meta name="keywords" content="@Model.Keywords" />
77 <meta charset="utf-8">
78 <!-- Add to web.config -->
79 <meta http-equiv="X-UA-Compatible" content="IE=edge">
80 <meta name="viewport" content="width=device-width, initial-scale=1">
81 <meta name="format-detection" content="telephone=no">
82
83 <!-- Change this to be dynamic -->
84 @RenderSnippet("MetaTags")
85
86 <!-- Favicons @appleTouchIcon test="@(!String.IsNullOrEmpty(appleTouchIcon) ? "@appleTouchIcon" : "/apple-touch-icon.png")" -->
87
88
89 <link rel="apple-touch-icon" sizes="180x180" href="@(!String.IsNullOrEmpty(appleTouchIcon) ? @appleTouchIcon : "/apple-touch-icon.png")">
90 <link rel="icon" type="image/png" sizes="32x32" href="@(!String.IsNullOrEmpty(@Favicon32x32) ? @Favicon32x32 : "/favicon-32x32.png")">
91 <link rel="icon" type="image/png" sizes="16x16" href="@(!String.IsNullOrEmpty(@Favicon16x16) ? @Favicon16x16 : "/favicon-16x16.png")">
92 <link rel="manifest" href="/site.webmanifest">
93 <link rel="mask-icon" href="/safari-pinned-tab.svg" color="Favicon32x32#5bbad5">
94 <meta name="msapplication-TileColor" content="#da532c">
95 <meta name="theme-color" content="#ffffff">
96
97 @RenderSnippet("EditorSnippet")
98
99 <!-- Create a block of inline styling to display until the primary CSS is ready. -->
100 <style type="text/css"> @Helpers.ReadFile(Pageview.Layout.Design.Path, "static/dist/css/critical-subsite.min.css")</style>
101 @* <link rel="preload" href="@cssPath/static/dist/css/critical-subsite.min.css" as="style" onload="this.onload=null;this.rel='stylesheet';window.esbjerg&&window.esbjerg.stylesLoaded&&window.esbjerg.stylesLoaded()"> *@
102 <link rel="preload" href="@cssPath/static/dist/css/main-subsite.min.css" as="style" onload="this.onload=null;this.rel='stylesheet';window.esbjerg&&window.esbjerg.stylesLoaded&&window.esbjerg.stylesLoaded()">
103 <noscript><link rel="stylesheet" type="text/css" href="@cssPath/static/dist/css/main-subsite.min.css"></noscript>
104 <!-- www.Cludo.com search start CSS -->
105 <link href="https://customer.cludo.com/assets/80/10930/cludo-search.min.css" type="text/css" rel="stylesheet">
106 <!-- Preload our main script, since we know we are gonna load this later -->
107 @*<link rel="preload" as="script" href="@cssPath/static/dist/js/main.min.js">*@
108
109 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
110 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Regular.woff" as="font" type="font/woff" crossorigin="anonymous">
111 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Regular.ttf" as="font" type="font/ttf" crossorigin="anonymous">
112
113 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Light.woff2" as="font" type="font/woff2" crossorigin="anonymous">
114 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Light.woff" as="font" type="font/woff" crossorigin="anonymous">
115 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Light.ttf" as="font" type="font/ttf" crossorigin="anonymous">
116
117 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Bold.woff2" as="font" type="font/woff2" crossorigin="anonymous">
118 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Bold.woff" as="font" type="font/woff" crossorigin="anonymous">
119 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Bold.ttf" as="font" type="font/ttf" crossorigin="anonymous">
120
121
122
123 <!-- You can use "prefetch" to preload other important assets (if you're not using HTTP/2 push) -->
124 <!-- And you can tell the browser to pre-connect to other sites you know you are going to talk to eventually: -->
125 <link rel="dns-prefetch" href="https://cdn.polyfill.io">
126
127 <script type="text/javascript">@Helpers.ReadFile(Pageview.Layout.Design.Path, "static/dist/js/modernizr.js")</script>
128
129 <!--Insights-->
130 <script type="text/javascript">
131 !function (T, l, y) { var S = T.location, u = "script", k = "instrumentationKey", D = "ingestionendpoint", C = "disableExceptionTracking", E = "ai.device.", I = "toLowerCase", b = "crossOrigin", w = "POST", e = "appInsightsSDK", t = y.name || "appInsights"; (y.name || T[e]) && (T[e] = t); var n = T[t] || function (d) { var g = !1, f = !1, m = { initialize: !0, queue: [], sv: "4", version: 2, config: d }; function v(e, t) { var n = {}, a = "Browser"; return n[E + "id"] = a[I](), n[E + "type"] = a, n["ai.operation.name"] = S && S.pathname || "_unknown_", n["ai.internal.sdkVersion"] = "javascript:snippet_" + (m.sv || m.version), { time: function () { var e = new Date; function t(e) { var t = "" + e; return 1 === t.length && (t = "0" + t), t } return e.getUTCFullYear() + "-" + t(1 + e.getUTCMonth()) + "-" + t(e.getUTCDate()) + "T" + t(e.getUTCHours()) + ":" + t(e.getUTCMinutes()) + ":" + t(e.getUTCSeconds()) + "." + ((e.getUTCMilliseconds() / 1e3).toFixed(3) + "").slice(2, 5) + "Z" }(), iKey: e, name: "Microsoft.ApplicationInsights." + e.replace(/-/g, "") + "." + t, sampleRate: 100, tags: n, data: { baseData: { ver: 2 } } } } var h = d.url || y.src; if (h) { function a(e) { var t, n, a, i, r, o, s, c, p, l, u; g = !0, m.queue = [], f || (f = !0, t = h, s = function () { var e = {}, t = d.connectionString; if (t) for (var n = t.split(";"), a = 0; a < n.length; a++) { var i = n[a].split("="); 2 === i.length && (e[i[0][I]()] = i[1]) } if (!e[D]) { var r = e.endpointsuffix, o = r ? e.location : null; e[D] = "https://" + (o ? o + "." : "") + "dc." + (r || "services.visualstudio.com") } return e }(), c = s[k] || d[k] || "", p = s[D], l = p ? p + "/v2/track" : config.endpointUrl, (u = []).push((n = "SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details)", a = t, i = l, (o = (r = v(c, "Exception")).data).baseType = "ExceptionData", o.baseData.exceptions = [{ typeName: "SDKLoadFailed", message: n.replace(/\./g, "-"), hasFullStack: !1, stack: n + "\nSnippet failed to load [" + a + "] -- Telemetry is disabled\nHelp Link: https://go.microsoft.com/fwlink/?linkid=2128109\nHost: " + (S && S.pathname || "_unknown_") + "\nEndpoint: " + i, parsedStack: [] }], r)), u.push(function (e, t, n, a) { var i = v(c, "Message"), r = i.data; r.baseType = "MessageData"; var o = r.baseData; return o.message = 'AI (Internal): 99 message:"' + ("SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details) (" + n + ")").replace(/\"/g, "") + '"', o.properties = { endpoint: a }, i }(0, 0, t, l)), function (e, t) { if (JSON) { var n = T.fetch; if (n && !y.useXhr) n(t, { method: w, body: JSON.stringify(e), mode: "cors" }); else if (XMLHttpRequest) { var a = new XMLHttpRequest; a.open(w, t), a.setRequestHeader("Content-type", "application/json"), a.send(JSON.stringify(e)) } } }(u, l)) } function i(e, t) { f || setTimeout(function () { !t && m.core || a() }, 500) } var e = function () { var n = l.createElement(u); n.src =h; var e = y[b]; return !e && "" !== e || "undefined" == n[b] || (n[b] = e), n.onload = i, n.onerror = a, n.onreadystatechange = function (e, t) { "loaded" !== n.readyState && "complete" !== n.readyState || i(0, t) }, n }(); y.ld < 0 ? l.getElementsByTagName("head")[0].appendChild(e) : setTimeout(function () { l.getElementsByTagName(u)[0].parentNode.appendChild(e) }, y.ld || 0) } try { m.cookie = l.cookie } catch (p) { } function t(e) { for (; e.length;)!function (t) { m[t] = function () { var e = arguments; g || m.queue.push(function () { m[t].apply(m, e) }) } }(e.pop()) } var n = "track", r = "TrackPage", o = "TrackEvent"; t([n + "Event", n + "PageView", n + "Exception", n + "Trace", n + "DependencyData", n + "Metric", n + "PageViewPerformance", "start" + r, "stop" + r, "start" + o, "stop" + o, "addTelemetryInitializer", "setAuthenticatedUserContext", "clearAuthenticatedUserContext", "flush"]), m.SeverityLevel = { Verbose: 0, Information: 1, Warning: 2, Error: 3, Critical: 4 }; var s = (d.extensionConfig || {}).ApplicationInsightsAnalytics || {}; if (!0 !== d[C] && !0 !== s[C]) { method = "onerror", t(["_" + method]); var c = T[method]; T[method] = function (e, t, n, a, i) { var r = c && c(e, t, n, a, i); return !0 !== r && m["_" + method]({ message: e, url: t, lineNumber: n, columnNumber: a, error: i }), r }, d.autoExceptionInstrumented = !0 } return m }(y.cfg); (T[t] = n).queue && 0 === n.queue.length && n.trackPageView({}) }(window, document, {
132 src: "https://az416426.vo.msecnd.net/scripts/b/ai.2.min.js", // The SDK URL Source
133 //name: "appInsights", // Global SDK Instance name defaults to "appInsights" when not supplied
134 //ld: 0, // Defines the load delay (in ms) before attempting to load the sdk. -1 = block page load and add to head. (default) = 0ms load after timeout,
135 //useXhr: 1, // Use XHR instead of fetch to report failures (if available),
136 //crossOrigin: "anonymous", // When supplied this will add the provided value as the cross origin attribute on the script tag
137 cfg: { // Application Insights Configuration
138 instrumentationKey: "5b8602f4-7263-41f7-b005-6c42db042759",
139 name: "BleauBorgerEsbjerg",
140 isCookieUseDisabled: "true"
141 /* ...Other Configuration Options... */
142 }
143 });
144 </script>
145
146 <!--Kode - Header section-->
147 @RenderSnippet("KodeHeader")
148
149 @RenderSnippet("MinimapHead")
150 </head>
151
152 <body class="@bodyClass" @bodyId>
153 @if (themeActive)
154 {
155 <style>
156 :root {
157 /* Header/Top Area*/
158 --theme-top__primary-color: @($"#{themeTopHex}");
159 --theme-top__primary-color--alternate: @($"#{GetLinkColor(themeTopHex)}");
160 --theme-top__primary-color--text: @GetThemeTextColor(themeTopHex);
161 --theme-top__primary-color--dimmed: @($"#{GetContrastColor(themeTopHex)}");
162 --theme-top__color--link-hover: @($"#{themeTopHex}");
163
164 /* Content Area */
165 --theme-content__primary-color: @($"#{themeContentHex}");
166 --theme-content__primary-color--alternate: @($"#{GetLinkColor(themeContentHex)}");
167 --theme-content__primary-color--text: @GetThemeTextColor(themeContentHex);
168 --theme-content__color--gallery-arrow: @($"#{themeContentHex}");
169 --theme-content__primary-color--dimmed: @($"#{GetContrastColor(themeContentHex)}");
170 --theme-content__color--link-hover: @($"#{themeContentHex}");
171
172 /* Footer Area */
173 --theme-footer__primary-color: @($"#{themeFooterHex}");
174 --theme-footer__primary-color--alternate: @($"#{GetLinkColor(themeFooterHex)}");
175 --theme-footer__primary-color--text: @GetThemeTextColor(themeFooterHex);
176 --theme-footer__primary-color--dimmed: @($"#{GetContrastColor(themeFooterHex)}");
177 --theme-footer__color--link-hover: @($"#{GetLinkColor(themeFooterHex)}");
178 }
179 </style>
180 }
181
182 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
183 <header class="header-main header-main--subsite">
184 <div class="header-main__top">
185 <div class="search">
186 <button type="button" name="toggle-search-button" aria-label="toggle-search" class="search__toggle-btn" aria-expanded="false" aria-haspopup="true">
187 <span class="search__search-icon">
188 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23.071"><path d="M22.292 22.295a.72.72 0 0 1-1.007 0l-5.7-5.612a9.306 9.306 0 0 1-5.826 2.034 9.11 9.11 0 1 1 9.256-9.109 8.984 8.984 0 0 1-2.4 6.105l5.68 5.59a.693.693 0 0 1-.003.992zM9.756 1.9a7.708 7.708 0 1 0 7.832 7.707A7.77 7.77 0 0 0 9.756 1.9z"/></svg>
189 </span>
190 <span class="search__close-icon">
191 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.801 19.798"><path d="M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z"/></svg>
192 </span>
193 <span class="search__text" data-text-default="@Translate("Search", "Søg")" data-text-close="@Translate("Close", "Luk")">
194 @Translate("Search", "Søg")
195 </span>
196 </button>
197 <div class="search__content cludo-search-page">
198 <div class="grid grid-container">
199 <div class="row row--right cludo-nav-items">
200 <div class="cludo-nav-items-search">
201 <form class="search__form" id="cludo-search-form" role="search" autocomplete="off">
202 <input class="search__input" autofill="false" type="search" name="search" title="Global søgning" placeholder="@Translate("(Search) Label", "Hvad kan vi hjælpe med?")">
203 <button type="submit" aria-label="@Translate("Search", "Søg")">
204 <span class="cludo-search-icon">
205 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23.071"><path d="M22.292 22.295a.72.72 0 0 1-1.007 0l-5.7-5.612a9.306 9.306 0 0 1-5.826 2.034 9.11 9.11 0 1 1 9.256-9.109 8.984 8.984 0 0 1-2.4 6.105l5.68 5.59a.693.693 0 0 1-.003.992zM9.756 1.9a7.708 7.708 0 1 0 7.832 7.707A7.77 7.77 0 0 0 9.756 1.9z"/></svg>
206 </span>
207 </button>
208 </form>
209 </div>
210
211 <div class="cludo-nav-items-filters">
212 <div class="search-filters search-filters-mobile" aria-haspopup="true"></div>
213 </div>
214 </div>
215 </div>
216 </div>
217 </div>
218 <a class="skip-to-content" href="#maincontent">Gå til hovedindhold <span>(Tryk Enter)</span></a>
219 </div>
220 <div class="header-main__bottom">
221 <div class="header-main__menu header-main__menu--to-top-on-open">
222 <div class="menu menu--closed">
223 <button type="button" name="toggle-menu-button" aria-label="toggle-menu" class="menu__burger-btn svg-fill--primary text--primary bg--primary" aria-haspopup="true" aria-controls="main-nav" data-svg-default="svg-fill--primary" data-svg-open="svg-fill--secondary" data-text-default="text--primary" data-text-open="text--secondary" data-background-default="bg--primary" data-background-open="bg--primary-alternate" aria-expanded="false">
224 <span class="menu__menu-icon">
225 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 16"><path d="M.001 16v-2h26v2zm0-7V7h26v2zm0-7V0h26v2z"/></svg>
226 </span>
227 <span class="menu__close-icon">
228 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.801 19.798"><path d="M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z"/></svg>
229 </span>
230 <span class="menu__text" data-text-open="@Translate("Menu", "Menu")" data-text-close="@Translate("Close", "Luk")">
231 @Translate("Menu", "Menu")
232 </span>
233 </button>
234
235 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
236
237 @{
238 var navImage = Model.Area.Item.GetString("Image");
239 var navImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkInternal");
240 var navImageLinkText = Model.Area.Item.GetItem("ImageLink").GetString("LinkText");
241 var navImageLinkTarget = Model.Area.Item.GetItem("ImageLink").GetList("LinkTarget").SelectedValue;
242 var navImageLinkLinkType = Model.Area.Item.GetItem("ImageLink").GetList("LinkType").SelectedValue;
243
244 var navImage2 = Model.Area.Item.GetString("Image2");
245 var navImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkInternal");
246 var navImageLinkText2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkText");
247 var navImageLinkTarget2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkTarget").SelectedValue;
248 var navImageLinkLinkType2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkType").SelectedValue;
249
250 if (navImageLinkLinkType == "external")
251 {
252 navImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkExternal");
253 }
254 if (navImageLinkLinkType2 == "external")
255 {
256 navImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkExternal");
257 }
258
259 }
260
261 <nav id="main-nav" class="menu__content" aria-labelledby="primary-navigation">
262 <h2 id="primary-navigation" class="visuallyhidden">Primær navigation</h2>
263
264 @RenderNavigation(new { template = "SubsiteBurgerNavigation.xslt", expandmode = "all", startlevel = 2 })
265 @if (!string.IsNullOrWhiteSpace(navImage))
266 {
267 <div class="menu__culture">
268 @if (navImage != "")
269 {
270 <a class="menu__culture-link" href="@navImageLink" target="@navImageLinkTarget">
271 <img src="@navImage" alt="@navImageLinkText">
272 </a>
273 }
274 @if (navImage2 != "")
275 {
276 <a class="menu__culture-link" href="@navImageLink2" target="@navImageLinkTarget2">
277 <img src="@navImage2" alt="@navImageLinkText2">
278 </a>
279 }
280 </div>
281 }
282 </nav>
283 </div>
284 </div>
285 <div class="header-main__bar">
286 <div class="grid grid-container">
287 <div class="header-main__logo logo">
288 <a href="/" title="Gå til forsiden" class="logo__link">
289 <img src="@Model.Area.Item.GetString("SiteLogo")" alt="Logo alt tekst">
290 </a>
291 </div>
292 </div>
293 </div>
294 </div>
295 </header>
296
297 <main id="maincontent" tabindex="-1">
298 @using Esbjerg.Logic;
299 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
300
301 @using Dynamicweb.Content;
302 @using Esbjerg.Logic;
303 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
304 @{
305 string snippetPicturePath = "http://" + System.Web.HttpContext.Current.Request.Url.Host + "/admin/public/GetImage.ashx?Image=" + Model.Item.GetString("Heropicture") + "&width=1200&altFmImage_path=" + Model.Area.Item.GetString("DefaultPicture");
306 PageService pageService = new PageService();
307 Dynamicweb.Content.Page p = pageService.GetPage(Model.Item.PageID);
308 bool isVideo = Model.Item.GetBoolean("IsVideo");
309
310 }
311 @SnippetStart("MetaTags")
312 <meta property="og:title" content="@p.MetaTitle" />
313 <meta property="og:description" content="@p.Description" />
314 <meta property="og:url" content="@p.MetaCanonical"/>
315 <meta property="og:image" content="@snippetPicturePath" />
316 @SnippetEnd("MetaTags")
317
318
319 @{
320
321 ParagraphService paragrapService = new ParagraphService();
322
323 var paragraphs = paragrapService.GetParagraphsByPageId(Model.ID);
324
325 if (!paragraphs.Where(x => x.ItemType == "ArticleReference" || x.ItemType == "Article").Any())
326 {
327 string hero = Model.Item.GetString("Heropicture");
328 string subhero = Model.Item.GetString("Subhero");
329
330 string heroPicture = "/admin/public/GetImage.ashx?Image=" + hero;
331 string subheroPicture = "/admin/public/GetImage.ashx?Image=" + subhero;
332 string ctaLink = Model.Item.GetString("Link");
333 if(string.IsNullOrEmpty(ctaLink))
334 {
335 ctaLink = Model.Item.GetString("InternLink");
336 }
337 string buttonIcon = Model.Item.GetString("ButtonIcon");
338 string target = Model.Item.GetField("Target").GetString();
339 if(string.IsNullOrWhiteSpace(target))
340 {
341 target = "_self";
342 }
343 <!--Social-->
344 bool includeSocials = Model.Item.GetBoolean("IncludeSocials");
345 string facebook = Model.Area.Item.GetString("Facebook");
346 string twitter = Model.Area.Item.GetString("Twitter");
347 string linkedIn = Model.Area.Item.GetString("LinkedIn");
348 string instagram = Model.Area.Item.GetString("Instagram");
349
350
351 <!--Classes-->
352 string heroClass = string.Empty;
353 string subheroClass = string.Empty;
354 string ctaClass = string.Empty;
355 string ctaExternal = string.Empty;
356 string socialClass = string.Empty;
357
358 if (!string.IsNullOrEmpty(ctaLink))
359 { ctaClass = "top-content--cta"; }
360
361 if (!string.IsNullOrEmpty(subhero))
362 { subheroClass = "top-content--sub-hero"; }
363
364 if (!string.IsNullOrEmpty(hero))
365 { heroClass = "top-content--hero"; }
366
367 if (includeSocials)
368 { socialClass = "top-content--social"; }
369
370 if (Model.Item.GetString("ButtonIcon") == "External")
371 { ctaExternal = "cta--external"; }
372
373 <section class="top-content @heroClass @subheroClass @ctaClass @socialClass">
374 @if (!string.IsNullOrEmpty(hero))
375 {
376 <div class="hero" data-module="hero">
377
378 @if (isVideo)
379 {
380 string videoValue = Model.Item.GetString("Video");
381
382 if (!string.IsNullOrEmpty(videoValue))
383 {
384 string video = videoValue.Substring(0, videoValue.IndexOf('.'));
385 <div class="hero__video-container">
386 <div class="hero__video-wrapper" style="background-image: url('https://oplev.esbjerg.dk/admin/public/GetImage.ashx?Image=@heroPicture&width=100&height=50&crop=0')">
387 <video tabindex="0" class="hero__video" preload="auto" autoplay muted loop data-src="@video">
388 <p>This browser does not support the video element</p>
389 </video>
390 </div>
391 </div>
392 <button type="button" class="hero__pause-btn">
393 <span class="visuallyhidden">Tryk her for at pause eller fortsætte video</span>
394 <span class="hero__play-icon"><svg xmlns="http://www.w3.org/2000/svg" width="26.437" height="52.956" viewBox="0 0 26.437 52.956"><path d="M.022 51.356H.014V1.785L0 1.771V.001l18.44 18.435 8 8-7.779 7.779L.025 52.955zm1.292-1.688L17.77 33.327l6.894-6.894-6.7-6.7L1.316 3.086z"/></svg></span>
395 </button>
396 }
397 }
398
399 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
400 @{
401 string heroValue = Model.Item.GetString("Heropicture");
402 string heroPic = "/admin/public/GetImage.ashx?Image=" + heroValue;
403
404 if (!string.IsNullOrEmpty(heroValue))
405 {
406 <div class="hero__background-image-container">
407 <div class="hero__background-image-wrapper"
408 data-src-xxs="@heroPic&width=375&height=250&crop=0"
409 data-src-xs="@heroPic&width=768&height=250&crop=0"
410 data-src-sm="@heroPic&width=992&height=400&crop=0"
411 data-src-md="@heroPic&width=1220&height=400&crop=0"
412 data-src-lg='@heroPic&width=1540&height=500&crop=0'
413 data-src-xl="@heroPic&width=1920&height=600&crop=0">
414 <div class="hero__background-image" style="background-image: url('https://oplev.esbjerg.dk/@heroPic&width=96&height=30&crop=0')"></div>
415 </div>
416 </div>
417 if (Model.Area.Item.GetBoolean("Subsite"))
418 {
419 <div class="hero__line bg--primary"></div>
420 }
421 }
422 }
423 </div>
424 }
425 <div class="grid grid-container">
426 <div class="top-content__box">
427 <div class="top-content__box-top">
428 <div class="grid">
429 <div class="row">
430 <div class="col col--no-pad col--sm-8 col--md-7 col--offset-md-1">
431 <div class="top-content__breadcrumb">
432 <!--breadcrumb-->
433 @RenderNavigation(new
434 {
435 template = "Breadcrumb.xslt",
436 expandmode = "all",
437 id = "breadcrumb",
438 sitemapmode = "true",
439 includemode = "all"
440 })
441 </div>
442 </div>
443 @if (!string.IsNullOrEmpty(ctaLink))
444 {
445 <div class="col col--no-pad col--sm-4 soft-load">
446 <div class="top-content__cta" data-module="stickyCta">
447 <a class="cta @ctaExternal bg--link" href="@ctaLink" title="@Model.Item.GetValue("Linklabel")" target="@target">
448
449 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
450 <span class="arrow">
451 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40.62 16"><path d="M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z"/><path class="spine" d="M0 7.5h40v1H0z"/></svg>
452 </span>
453
454 <span>@Model.Item.GetValue("Linklabel")</span>
455
456 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
457 <span class="external-link">
458 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.234 24H3.372A3.372 3.372 0 0 1 0 20.628V3.766A3.778 3.778 0 0 1 3.429 0h9.429v1.714H3.429a1.734 1.734 0 0 0-1.714 1.714l-.028 17.2a1.686 1.686 0 0 0 1.686 1.686l17.2-.028a1.735 1.735 0 0 0 1.714-1.714v-9.428H24v9.428A3.778 3.778 0 0 1 20.234 24zm2.909-16.286a.854.854 0 0 1-.857-.857l-.025-4.1L9.216 15.2a.906.906 0 0 1-1.239 0 .808.808 0 0 1 0-1.181L20.909 1.685l-3.767.027a.857.857 0 1 1 0-1.714h5.981a.852.852 0 0 1 .876.835v6.022a.856.856 0 0 1-.856.859z" fill="#fff"/></svg>
459 </span>
460
461 </a>
462 </div>
463 </div>
464 }
465 </div>
466 </div>
467 </div>
468 <div class="grid">
469 <div class="row">
470 <div class="col col--no-pad col--md-9 col--offset-md-1">
471 <header class="top-content__header bg--pseudo soft-load">
472 <h1 class="top-content__headline">@Model.Item.GetValue("H1")</h1>
473 <div class="top-content__rich-text lix">
474 @Model.Item.GetValue("Manchet")
475 </div>
476 </header>
477 </div>
478 </div>
479 </div>
480 </div>
481 </div>
482
483 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
484
485 @{
486 var itemViewModel = Model.Item.GetField("Contact").GetItem();
487
488 if (itemViewModel != null)
489 {
490 bool english = itemViewModel.GetBoolean("English");
491 string picture = itemViewModel.GetString("ContactBoxImage");
492 string picturePath = "/admin/public/GetImage.ashx?Image=" + picture + "&width=375&height=150&crop=0";
493
494 <aside class="contact hard-load">
495 <div class="contact__header">
496 <div class="contact__open">
497 <div class="contact__image-container">
498 <img class="contact__image" src="@picturePath" alt="@itemViewModel.GetString("ContactBoxTitle")">
499 </div>
500 <div class="contact__header-text">
501 @*<p>@(english ? "Questions?" : "Spørgsmål?")</p>*@
502 <p><strong>@(english ? "Contact us" : "Kontakt os")</strong></p>
503 </div>
504 <button type="button" class="contact__open-btn" aria-label="Åben kontakt boks" aria-expanded="false"><span class="contact__open-btn-extra">@Translate("ContactUs", "Kontakt os")</span></button>
505 </div>
506 <button type="button" class="contact__close-btn bg--secondary" aria-hidden="true" tabindex="-1">
507 <span class="contact__close-svg">
508 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.801 19.798"><path d="M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z"/></svg>
509 </span>
510 <span class="contact__close-text">
511 @*@(english ? "Close" : "Luk") *@
512 @Translate("Close","Luk")
513 </span>
514 </button>
515 </div>
516 <div class="contact__content bg--secondary" aria-hidden="true">
517 <div class="contact__mobile-image-container">
518 <img class="contact__mobile-image" src="@picturePath" alt="@itemViewModel.GetString("ContactBoxTitle")">
519 </div>
520 <h2>@itemViewModel.GetString("ContactBoxTitle")</h2>
521 <div class="contact__text">
522 @itemViewModel.GetString("ContentBoxDescription")
523 </div>
524 <ul class="contact__links">
525 @if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxPhone")))
526 {
527 <li>
528 <a href="tel:@itemViewModel.GetString("ContactBoxPhone")" title="@Translate("PhoneToUs", "Ring til os")" class="contact__link svg-fill--bg-secondary">
529 <span class="contact__link-svg bg--parent-hover">
530 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26.054 26"><path d="M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z"/></svg>
531 </span>
532 @itemViewModel.GetString("ContactBoxPhone")
533 </a>
534 </li>
535 }
536 @if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxEmail")))
537 {
538 string hrefValue = itemViewModel.GetString("ContactBoxEmail").Contains("@") ? "mailto:" + itemViewModel.GetString("ContactBoxEmail") : itemViewModel.GetString("ContactBoxEmail");
539 <li>
540 <a target="_blank" href="@hrefValue" title="@Translate("WriteUs", "Skriv til os")" class="contact__link svg-fill--bg-secondary">
541 <span class="contact__link-svg bg--parent-hover">
542 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 21.125"><path d="M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z"/></svg>
543 </span>
544 @itemViewModel.GetString("ContactBoxEmailLabel")
545 </a>
546 </li>
547 }
548 @if (!string.IsNullOrEmpty((string)itemViewModel.GetString("ContactBoxLink")))
549 {
550 <li>
551 <a target="_blank" href="@(itemViewModel.GetString("ContactBoxLink").Contains("http") ? itemViewModel.GetString("ContactBoxLink") : "https://" + itemViewModel.GetString("ContactBoxLink"))" title="@Translate("WriteUs", "Skriv til os")" class="contact__link svg-fill--bg-secondary">
552 <span class="contact__link-svg bg--parent-hover">
553 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 21.125"><path d="M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z"/></svg>
554 </span>
555 @itemViewModel.GetString("ContactBoxLinkLabel")
556 </a>
557 </li>
558 }
559 </ul>
560 <div class="contact__text">
561 @if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxPhoneHours")))
562 {
563 @itemViewModel.GetString("ContactBoxPhoneHours")
564 }
565 @if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxOpenHours")))
566 {
567 @itemViewModel.GetString("ContactBoxOpenHours")
568 }
569 </div>
570 </div>
571 </aside>
572 }
573 }
574
575 @if (includeSocials || !string.IsNullOrEmpty(subhero))
576 {
577 <div class="top-content__sub-content">
578 <div class="grid grid-container">
579 <div class="row">
580 @if (!string.IsNullOrEmpty(subhero))
581 {
582 <div class="col col--sm-9">
583 <div class="top-content__sub-hero">
584 <div class="top-content__sub-hero-image-container lazy"
585 data-src-xxs="@subheroPicture&width=440"
586 data-src-xs="@subheroPicture&width=727"
587 data-src-sm="@subheroPicture&width=595"
588 data-src-md="@subheroPicture&width=624"
589 data-src-lg="@subheroPicture&width=795"
590 data-src-xl="@subheroPicture&width=870"
591 data-alt="@Model.Item.GetString("SubheroAlt")">
592 <noscript>
593 <img src="@subheroPicture&width=440" alt="@Model.Item.GetString("SubheroAlt")">
594 </noscript>
595 </div>
596 <span>@Model.Item.GetValue("Picturetext")</span>
597 </div>
598 </div>
599 }
600 @if (includeSocials)
601 {
602 <div class="col col--sm-3">
603 <div class="top-content__social">
604 <button type="button" class="top-content__social-toggle" aria-hidden="true">
605 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17.639 27.026"><path d="M10.242 23.328a3.682 3.682 0 0 1 .445-1.761l-4.876-4.876A3.7 3.7 0 1 1 5.46 10.4l5.132-5.132a3.7 3.7 0 1 1 1.072 1.342l-4.93 4.929a3.7 3.7 0 0 1 .218 3.875l4.876 4.876a3.7 3.7 0 1 1-1.585 3.035z"/></svg>
606 </button>
607 <div class="top-content__social-links">
608 @if (!string.IsNullOrEmpty(twitter))
609 {
610 <button type="button" aria-label="Del på twitter" class="top-content__social-link link-twitter">
611 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24.064 19.692"><path d="M7.56 19.693a13.155 13.155 0 0 1-4.023-.623 13.892 13.892 0 0 1-3.536-1.665H1.18a9.521 9.521 0 0 0 6.1-2.08 5.335 5.335 0 0 1-2.915-1.041 4.5 4.5 0 0 1-1.662-2.427l.114.023.068.015h.01a3.54 3.54 0 0 0 .638.1 2.887 2.887 0 0 0 .764-.068h.013a1.869 1.869 0 0 0 .611-.07 5.156 5.156 0 0 1-2.774-1.732 4.637 4.637 0 0 1-1.109-3.121v-.07a4.561 4.561 0 0 0 2.218.556 4.392 4.392 0 0 1-2.15-4.091 5.157 5.157 0 0 1 .624-2.5 14.11 14.11 0 0 0 4.438 3.674 12.9 12.9 0 0 0 5.688 1.524 18.723 18.723 0 0 0-.054-.353v-.01a5.178 5.178 0 0 1-.085-.747 4.833 4.833 0 0 1 1.456-3.535 4.765 4.765 0 0 1 3.468-1.456 4.719 4.719 0 0 1 2.012.415 4.249 4.249 0 0 1 1.526 1.179 7.016 7.016 0 0 0 1.724-.482h.009c.256-.108.536-.239.782-.355s.505-.235.744-.338a6.826 6.826 0 0 1-.9 1.525 5.4 5.4 0 0 1-1.319 1.18l.057-.008a10.711 10.711 0 0 0 1.4-.269 11.514 11.514 0 0 0 1.388-.485c-.349.487-.7.906-1.037 1.311a7.775 7.775 0 0 1-1.386 1.25v.623a14.166 14.166 0 0 1-.9 4.992 14.216 14.216 0 0 1-2.7 4.509 13.291 13.291 0 0 1-4.438 3.327 12.782 12.782 0 0 1-6.043 1.323z"/></svg>
612 </button>
613 }
614 @if (!string.IsNullOrEmpty(facebook))
615 {
616 <button type="button" aria-label="Del på facebook" class="top-content__social-link link-facebook">
617 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12.945 24.181"><path d="M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 0 0-.286 1v2.348h4.625v4.622H8.319v11.236z"/></svg>
618 </button>
619 }
620 @if (!string.IsNullOrEmpty(linkedIn))
621 {
622 <button type="button" aria-label="Del på linkedin" class="top-content__social-link link-linkedin">
623 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20.129 22.404"><path d="M11.451 22.404H7.112V7.113h4.409v.71a5.1 5.1 0 0 1 2.433-.58c.146 0 .284 0 .411.014a6.95 6.95 0 0 1 2.846.709 6.335 6.335 0 0 1 2.134 2.205 6.226 6.226 0 0 1 .782 2.917v9.315h-4.339v-9.316a1.562 1.562 0 0 0-.215-.71l-.059-.079v-.006c-.182-.244-.313-.422-.5-.484a2.347 2.347 0 0 0-1.054-.3 1.219 1.219 0 0 0-.227.019 5.229 5.229 0 0 0-1.139.286 4.014 4.014 0 0 0-1.136.782v9.813zm-6.543 0H.497V7.113h4.411v15.29zM2.701 5.478a2.623 2.623 0 0 1-1.919-.782A2.623 2.623 0 0 1 0 2.774 2.923 2.923 0 0 1 .782.783 2.613 2.613 0 0 1 2.701.001a2.616 2.616 0 0 1 1.921.782 2.923 2.923 0 0 1 .782 1.991 2.623 2.623 0 0 1-.782 1.922 2.625 2.625 0 0 1-1.921.781z"/></svg>
624 </button>
625 }
626 </div>
627 </div>
628 </div>
629 }
630 </div>
631 </div>
632 </div>
633 }
634
635 </section>
636 }
637 }
638
639 @Title("Subsite - Page")
640 @Description("Almindelig side til subsites")
641
642 <div class="content content--primary">
643 @Model.Placeholder("primary", "Primære", "items-allowed:Ribbon_A,Ribbon_B,Ribbon_C,Ribbon_D,Ribbon_E,Ribbon_F,Gallery,Accordion,Richtext,Minimap,SponsorList,KultuNautCalendar,Infobox,Calendar,EksternKode,Kode,ModuleOnly")
644 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
645
646
647 @{
648 string pageCtaLink = Model.Item.GetString("Link");
649 if(string.IsNullOrEmpty(pageCtaLink))
650 {
651 pageCtaLink = Model.Item.GetString("InternLink");
652 }
653 string ctaExternalPartial = string.Empty;
654 if (Model.Item.GetString("ButtonIcon") == "External")
655 {
656 ctaExternalPartial = "cta--external";
657 }
658
659 if (!string.IsNullOrEmpty(Model.Item.GetString("Link")) || !string.IsNullOrEmpty(pageCtaLink))
660 {
661 string target = Model.Item.GetString("Target");
662 if (string.IsNullOrWhiteSpace(target))
663 {
664 target = "_self";
665 }
666 <section class="page-cta-container soft-load">
667 <div class="grid grid-container">
668 <div class="row">
669
670 <div class="col col--md-8 col--offset-md-2">
671 <div class="page-cta">
672 <a class="cta @ctaExternalPartial bg--link" href="@pageCtaLink" title="@Model.Item.GetValue("Linklabel")" target="@target">
673
674 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
675 <span class="arrow">
676 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40.62 16"><path d="M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z"/><path class="spine" d="M0 7.5h40v1H0z"/></svg>
677 </span>
678
679 <span>@Model.Item.GetValue("Linklabel")</span>
680
681 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
682 <span class="external-link">
683 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.234 24H3.372A3.372 3.372 0 0 1 0 20.628V3.766A3.778 3.778 0 0 1 3.429 0h9.429v1.714H3.429a1.734 1.734 0 0 0-1.714 1.714l-.028 17.2a1.686 1.686 0 0 0 1.686 1.686l17.2-.028a1.735 1.735 0 0 0 1.714-1.714v-9.428H24v9.428A3.778 3.778 0 0 1 20.234 24zm2.909-16.286a.854.854 0 0 1-.857-.857l-.025-4.1L9.216 15.2a.906.906 0 0 1-1.239 0 .808.808 0 0 1 0-1.181L20.909 1.685l-3.767.027a.857.857 0 1 1 0-1.714h5.981a.852.852 0 0 1 .876.835v6.022a.856.856 0 0 1-.856.859z" fill="#fff"/></svg>
684 </span>
685
686 </a>
687 </div>
688 </div>
689 </div>
690 </div>
691 </section>
692 }
693 }
694 </div>
695 <div class="content content--secondary">
696 @Model.Placeholder("secondary", "Sekundær", "items-allowed:Ribbon_A,Ribbon_B,Ribbon_C,Ribbon_D,Ribbon_E,Ribbon_D,Ribbon_E,Gallery,Ribbon_F,SponsorList,Infobox,Calendar,EksternKode,Kode,PersonPicker,ModuleOnly")
697 </div>
698
699 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
700
701 @SnippetStart("EditorSnippet")
702
703 @{
704 DateTime date = Model.UpdatedDate;
705
706
707 foreach (var user in Model.Item.GetUsers("Editor"))
708 {
709 <meta name="web_author" content="@user.UserName" />
710 <meta name="contact" content="@user.Email" />
711 }
712 <meta name="Last-Modified" content="@date.ToString("yyyy-MM-ddTHH:mm:ssZ")" />
713
714 }
715 @SnippetEnd("EditorSnippet")
716 </main>
717
718 @using System.Web;
719 @using Dynamicweb.Frontend
720 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
721
722 @{
723 string redirectPage = "";
724
725 string footerPhonenumber = Model.Area.Item.GetString("Phonenumber");
726 string footerEmail = Model.Area.Item.GetString("Email");
727 string footerFacebook = Model.Area.Item.GetString("Facebook");
728 string footerTwitter = Model.Area.Item.GetString("Twitter");
729 string footerLinkedIn = Model.Area.Item.GetString("LinkedIn");
730 string footerInstagram = Model.Area.Item.GetString("Instagram");
731
732 var links1 = Model.Area.Item.GetItems("ColumnLinks1");
733 var links2 = Model.Area.Item.GetItems("ColumnLinks2");
734 var links3 = Model.Area.Item.GetItems("ColumnLinks3");
735 string CLabel1 = Model.Area.Item.GetString("ColumnLabel1");
736 string CLabel2 = Model.Area.Item.GetString("ColumnLabel2");
737 string CLabel3 = Model.Area.Item.GetString("ColumnLabel3");
738
739 string contactValue = string.Empty;
740
741 var footerImage = Model.Area.Item.GetString("Image");
742 var footerImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkInternal");
743 var footerImageLinkText = Model.Area.Item.GetItem("ImageLink").GetString("LinkText");
744 var footerImageLinkTarget = Model.Area.Item.GetItem("ImageLink").GetList("LinkTarget").SelectedValue;
745 var footerImageLinkLinkType = Model.Area.Item.GetItem("ImageLink").GetList("LinkType").SelectedValue;
746
747 var footerImage2 = Model.Area.Item.GetString("Image2");
748 var footerImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkInternal");
749 var footerImageLinkText2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkText");
750 var footerImageLinkTarget2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkTarget").SelectedValue;
751 var footerImageLinkLinkType2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkType").SelectedValue;
752
753 if (footerImageLinkLinkType == "external")
754 {
755 footerImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkExternal");
756 }
757
758 if (footerImageLinkLinkType2 == "external")
759 {
760 footerImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkExternal");
761 }
762
763 if (Model.Area.Item.GetValue("Email") != null)
764 {
765 contactValue = footerEmail.Contains("@") ? "mailto:" + footerEmail : footerEmail;
766 }
767 }
768
769 <footer class="footer soft-load">
770 <aside class="footer__sidebar">
771 <div class="footer__culture">
772 @if (footerImage != "")
773 {
774 <a class="footer__culture-link" href="@footerImageLink" target="@footerImageLinkTarget">
775 <img src="@footerImage" alt="@footerImageLinkText">
776 </a>
777 }
778 @if (footerImage2 != "")
779 {
780 <a class="footer__culture-link" href="@footerImageLink2" target="@footerImageLinkTarget2">
781 <img src="@footerImage2" alt="@footerImageLinkText2">
782 </a>
783 }
784 </div>
785 </aside>
786 <div class="footer__container">
787 <div class="grid grid-container">
788 <div class="row">
789 <div class="col col--md-3 footer__col-first">
790 <div class="footer__logo">
791 @if (Model.Area.Item.GetString("Logo") != "")
792 {
793 <a href="/" title="Gå til forsiden" class="footer__logo-link">
794 <img src="@Model.Area.Item.GetString("Logo")" alt="Logo alt tekst">
795 </a>
796 }
797 </div>
798 <div class="footer__contact-desktop">
799
800 @if (!string.IsNullOrEmpty(footerPhonenumber))
801 {
802 <div class="footer__contact">
803 <a href="tel:+45@(Model.Area.Item.GetString("Phonenumber"))" title="@Model.Area.Item.GetString("PhoneLabel")" class="footer__contact-link">
804 <span class="footer__contact-svg">
805 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26.054 26"><path d="M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z"/></svg>
806 </span>
807 @Model.Area.Item.GetString("Phonenumber")
808 </a>
809 <span>
810 @Model.Area.Item.GetString("PhonenumberLabel")
811 </span>
812 </div>
813 }
814
815 @if (!string.IsNullOrEmpty(footerEmail))
816 {
817 <div class="footer__contact">
818 <a href="@contactValue" title="@Model.Area.Item.GetString("EmailLabel")" class="footer__contact-link">
819 <span class="footer__contact-svg">
820 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 21.125"><path d="M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z"/></svg>
821 </span>
822 @Model.Area.Item.GetString("EmailLabel")
823 </a>
824 <span>
825 @Model.Area.Item.GetString("EmailLabel_2")
826 </span>
827 </div>
828 }
829 </div>
830 </div>
831 <div class="col col--md-3 footer__col-info">
832 <div class="footer__info">
833 <div class="footer__accordion" data-module="accordion">
834 <div class="accordion">
835 @if (!string.IsNullOrEmpty(CLabel1))
836 {
837 <h2 class="accordion__heading footer__heading">
838 <button id="accordion__trigger_info" type="button" class="accordion__trigger" aria-expanded="false" aria-controls="accordion__content_info">
839 @Model.Area.Item.GetString("ColumnLabel1")
840 <span class="accordion__chevron" aria-hidden="true">
841 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25.469 14.143"><path d="M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L12.74 14.143z"/></svg>
842 </span>
843 </button>
844 </h2>
845 }else{
846 <span class="accordion__heading footer__heading">
847 <button id="accordion__trigger_info" type="button" class="accordion__trigger" aria-expanded="false" aria-controls="accordion__content_info">
848 @Model.Area.Item.GetString("ColumnLabel1")
849 <span class="accordion__chevron" aria-hidden="true">
850 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25.469 14.143"><path d="M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L12.74 14.143z"/></svg>
851 </span>
852 </button>
853 </span>
854 }
855 @if (links1 != null)
856 {
857 <div id="accordion__content_info" class="accordion__content" aria-hidden="true" aria-labelledby="accordion__trigger_info">
858 <ul class="footer__list">
859 @foreach (var columnLink in links1)
860 {
861 @RenderColumnLink(columnLink)
862 }
863 </ul>
864 </div>
865 }
866 </div>
867 </div>
868 </div>
869 </div>
870 <div class="col col--md-3 footer__col-hours">
871 <div class="footer__hours">
872 <div class="footer__accordion" data-module="accordion">
873 <div class="accordion">
874 @if (!string.IsNullOrEmpty(CLabel2))
875 {
876 <h2 class="accordion__heading footer__heading">
877 <button id="accordion__trigger_hours" type="button" class="accordion__trigger" aria-expanded="false" aria-controls="accordion__content_hours">
878 @Model.Area.Item.GetString("ColumnLabel2")
879 <span class="accordion__chevron" aria-hidden="true">
880 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25.469 14.143"><path d="M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L12.74 14.143z"/></svg>
881 </span>
882 </button>
883 </h2>
884 }else{
885
886 <span class="accordion__heading footer__heading">
887 <button id="accordion__trigger_hours" type="button" class="accordion__trigger" aria-expanded="false" aria-controls="accordion__content_hours">
888 @Model.Area.Item.GetString("ColumnLabel2")
889 <span class="accordion__chevron" aria-hidden="true">
890 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25.469 14.143"><path d="M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L12.74 14.143z"/></svg>
891 </span>
892 </button>
893 </span>
894 }
895 @if (links2 != null)
896 {
897
898 <div id="accordion__content_hours" class="accordion__content" aria-hidden="true" aria-labelledby="accordion__trigger_hours">
899 <ul class="footer__list">
900 @foreach (var columnLink in links2)
901 {
902 @RenderColumnLink(columnLink)
903 }
904 </ul>
905 </div>
906 }
907 </div>
908 </div>
909 <div class="footer__contact-mobile">
910 <div class="footer__contact">
911 <a href="tel:+45@(Model.Area.Item.GetString("Phonenumber"))" title="@Model.Area.Item.GetString("PhoneLabel")" class="footer__contact-link">
912 <span class="footer__contact-svg">
913 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26.054 26"><path d="M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z"/></svg>
914 </span>
915 @Model.Area.Item.GetString("Phonenumber")
916 </a>
917 <span>
918 @Model.Area.Item.GetString("PhonenumberLabel")
919 </span>
920 </div>
921 <div class="footer__contact">
922 <a href="@contactValue" title="@Model.Area.Item.GetString("EmailLabel")" class="footer__contact-link">
923 <span class="footer__contact-svg">
924 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 21.125"><path d="M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z"/></svg>
925 </span>
926 @Model.Area.Item.GetString("EmailLabel")
927 </a>
928 <span>
929 @Model.Area.Item.GetString("EmailLabel_2")
930 </span>
931 </div>
932 </div>
933 </div>
934 </div>
935 <div class="col col--md-3 footer__col-last">
936 <div class="footer__shortcuts">
937 @if (!string.IsNullOrEmpty(CLabel3))
938 {
939 <h2 class="footer__heading">
940 @Model.Area.Item.GetString("ColumnLabel3")
941 </h2>
942 }
943
944 @if (links3 != null)
945 {
946 <ul class="footer__list">
947 @foreach (var columnLink in links3)
948 {
949 @RenderColumnLink(columnLink)
950 }
951 </ul>
952 }
953 </div>
954 <div class="footer__social">
955 <div class="footer__social-text">
956 @Translate("MeetEsbjergSoMe", "Mød Esbjerg på de sociale medier")
957 </div>
958 <div class="footer__social-links">
959 @if (!string.IsNullOrEmpty(footerFacebook))
960 {
961 string facebookLink = redirectPage + footerFacebook;
962 <a href="@facebookLink" title="link til Facebook" class="footer__social-link" target="_blank" rel="noopener noreferrer">
963 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12.945 24.181"><path d="M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 0 0-.286 1v2.348h4.625v4.622H8.319v11.236z"/></svg>
964 </a>
965 }
966 @if (!string.IsNullOrEmpty(footerTwitter))
967 {
968 string twitterLink = redirectPage + footerTwitter;
969 <a href="@twitterLink" title="Link til Twitter" class="footer__social-link" target="_blank" rel="noopener noreferrer">
970 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24.064 19.692"><path d="M7.56 19.693a13.155 13.155 0 0 1-4.023-.623 13.892 13.892 0 0 1-3.536-1.665H1.18a9.521 9.521 0 0 0 6.1-2.08 5.335 5.335 0 0 1-2.915-1.041 4.5 4.5 0 0 1-1.662-2.427l.114.023.068.015h.01a3.54 3.54 0 0 0 .638.1 2.887 2.887 0 0 0 .764-.068h.013a1.869 1.869 0 0 0 .611-.07 5.156 5.156 0 0 1-2.774-1.732 4.637 4.637 0 0 1-1.109-3.121v-.07a4.561 4.561 0 0 0 2.218.556 4.392 4.392 0 0 1-2.15-4.091 5.157 5.157 0 0 1 .624-2.5 14.11 14.11 0 0 0 4.438 3.674 12.9 12.9 0 0 0 5.688 1.524 18.723 18.723 0 0 0-.054-.353v-.01a5.178 5.178 0 0 1-.085-.747 4.833 4.833 0 0 1 1.456-3.535 4.765 4.765 0 0 1 3.468-1.456 4.719 4.719 0 0 1 2.012.415 4.249 4.249 0 0 1 1.526 1.179 7.016 7.016 0 0 0 1.724-.482h.009c.256-.108.536-.239.782-.355s.505-.235.744-.338a6.826 6.826 0 0 1-.9 1.525 5.4 5.4 0 0 1-1.319 1.18l.057-.008a10.711 10.711 0 0 0 1.4-.269 11.514 11.514 0 0 0 1.388-.485c-.349.487-.7.906-1.037 1.311a7.775 7.775 0 0 1-1.386 1.25v.623a14.166 14.166 0 0 1-.9 4.992 14.216 14.216 0 0 1-2.7 4.509 13.291 13.291 0 0 1-4.438 3.327 12.782 12.782 0 0 1-6.043 1.323z"/></svg>
971 </a>
972 }
973 @if (!string.IsNullOrEmpty(footerLinkedIn))
974 {
975 string linkedInLink = redirectPage + footerLinkedIn;
976 <a href="@linkedInLink" title="Link til LinkedIn" class="footer__social-link" target="_blank" rel="noopener noreferrer">
977 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20.129 22.404"><path d="M11.451 22.404H7.112V7.113h4.409v.71a5.1 5.1 0 0 1 2.433-.58c.146 0 .284 0 .411.014a6.95 6.95 0 0 1 2.846.709 6.335 6.335 0 0 1 2.134 2.205 6.226 6.226 0 0 1 .782 2.917v9.315h-4.339v-9.316a1.562 1.562 0 0 0-.215-.71l-.059-.079v-.006c-.182-.244-.313-.422-.5-.484a2.347 2.347 0 0 0-1.054-.3 1.219 1.219 0 0 0-.227.019 5.229 5.229 0 0 0-1.139.286 4.014 4.014 0 0 0-1.136.782v9.813zm-6.543 0H.497V7.113h4.411v15.29zM2.701 5.478a2.623 2.623 0 0 1-1.919-.782A2.623 2.623 0 0 1 0 2.774 2.923 2.923 0 0 1 .782.783 2.613 2.613 0 0 1 2.701.001a2.616 2.616 0 0 1 1.921.782 2.923 2.923 0 0 1 .782 1.991 2.623 2.623 0 0 1-.782 1.922 2.625 2.625 0 0 1-1.921.781z"/></svg>
978 </a>
979 }
980 @if (!string.IsNullOrEmpty(footerInstagram))
981 {
982 string instagramLink = redirectPage + footerInstagram;
983 <a href="@instagramLink" title="Link til Instagram" class="footer__social-link" target="_blank" rel="noopener noreferrer">
984 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.991 19.988"><path d="M9.992 1.8c2.669 0 2.983.012 4.038.059a5.453 5.453 0 0 1 1.856.345 3.1 3.1 0 0 1 1.15.746 3.053 3.053 0 0 1 .746 1.15 5.555 5.555 0 0 1 .345 1.856c.048 1.055.059 1.368.059 4.038s-.012 2.983-.059 4.038a5.453 5.453 0 0 1-.345 1.856 3.1 3.1 0 0 1-.746 1.15 3.053 3.053 0 0 1-1.15.746 5.555 5.555 0 0 1-1.856.345c-1.055.048-1.368.059-4.038.059s-2.983-.012-4.038-.059a5.453 5.453 0 0 1-1.854-.343 3.1 3.1 0 0 1-1.15-.746 3.053 3.053 0 0 1-.75-1.15 5.555 5.555 0 0 1-.345-1.856C1.809 12.979 1.8 12.665 1.8 10s.012-2.983.059-4.038A5.453 5.453 0 0 1 2.2 4.1a3.1 3.1 0 0 1 .746-1.15A3.053 3.053 0 0 1 4.1 2.205a5.555 5.555 0 0 1 1.856-.345c1.055-.052 1.368-.059 4.038-.059m0-1.8C7.281.001 6.94.013 5.873.06a7.324 7.324 0 0 0-2.424.464 4.87 4.87 0 0 0-1.771 1.154A4.956 4.956 0 0 0 .524 3.447 7.329 7.329 0 0 0 .06 5.875C.012 6.938.001 7.275.001 9.992s.012 3.054.059 4.121a7.372 7.372 0 0 0 .464 2.428 4.87 4.87 0 0 0 1.154 1.769 4.956 4.956 0 0 0 1.769 1.154 7.329 7.329 0 0 0 2.428.464c1.067.048 1.4.059 4.121.059s3.054-.012 4.121-.059a7.372 7.372 0 0 0 2.428-.464 4.87 4.87 0 0 0 1.769-1.154 4.956 4.956 0 0 0 1.154-1.769 7.329 7.329 0 0 0 .464-2.428c.048-1.067.059-1.4.059-4.121s-.012-3.054-.059-4.121a7.372 7.372 0 0 0-.464-2.428 4.87 4.87 0 0 0-1.154-1.769A4.956 4.956 0 0 0 16.545.52a7.329 7.329 0 0 0-2.428-.464C13.046.012 12.7 0 9.992 0z"/><path d="M9.992 4.859a5.133 5.133 0 1 0 5.133 5.133 5.134 5.134 0 0 0-5.133-5.133zm0 8.465a3.332 3.332 0 1 1 3.332-3.332 3.331 3.331 0 0 1-3.332 3.332z"/><circle class="a" cx="1.198" cy="1.198" r="1.198" transform="translate(14.129 3.459)"/></svg>
985 </a>
986 }
987 </div>
988 </div>
989 </div>
990 </div>
991 </div>
992 </div>
993 </footer>
994
995 @helper RenderColumnLink(ItemViewModel columnLink)
996 {
997 var linkType = columnLink.GetList("LinkType").SelectedValue;
998 var linkTarget = columnLink.GetList("LinkTarget").SelectedValue;
999 var linkText = columnLink.GetString("LinkText");
1000 var link = linkType == "external" ? columnLink.GetString("LinkExternal") : columnLink.GetString("LinkInternal");
1001
1002 <li>
1003 <a href="@link" title="Link til @linkText" target="@linkTarget" class="footer__link">@linkText</a>
1004 </li>
1005 }
1006
1007 <div class="cookie-wrapper hard-load">
1008 @using Esbjerg.Logic;
1009 @using Dynamicweb.Content.Items;
1010 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
1011
1012 @{
1013 var breakingNewsId = Model.Area.Item.GetValue("BreakingNewsPage");
1014
1015 if (breakingNewsId != null)
1016 {
1017 if(!string.IsNullOrEmpty(breakingNewsId.ToString()))
1018 {
1019 Item item = Helpers.GetBreakingNewsItem(Convert.ToInt32(breakingNewsId));
1020
1021 if (item != null)
1022 {
1023 var link1 = item["Link_1"];
1024 var link2 = item["Link_2"];
1025
1026 var facebook = item["FacebookLink"];
1027 var email = item["Email"];
1028 var emailSubject = item["Subject"];
1029 var emailBody = item["Body"];
1030 var smsNumber = item["PhoneNumber"];
1031 var smsBody = item["SMSText"];
1032
1033 <div id="@item.Id" class="alert-banner alert-banner--accepted">
1034 <div class="grid grid-container">
1035 <div class="row">
1036 <div class="col col--sm-7 col--md-8 col--xl-9">
1037 <div class="alert-banner__rich-text">
1038 <h3>
1039 @item["Headline"]
1040 </h3>
1041 <p>
1042 @item["Text"]
1043 </p>
1044 </div>
1045 </div>
1046 <div class="col col--sm-5 col--md-4 col--xl-3">
1047 <div class="alert-banner__link-wrapper">
1048 <div class="alert-banner__contact-links">
1049 @{
1050 if (facebook != null && !string.IsNullOrEmpty(facebook.ToString()))
1051 {
1052 <a href="@facebook.ToString()" title="Alert link" class="alert-banner__contact-link">
1053 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12.945 24.181"><path d="M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 0 0-.286 1v2.348h4.625v4.622H8.319v11.236z"/></svg>
1054 </a>
1055 }
1056 if (email != null && !string.IsNullOrEmpty(email.ToString()))
1057 {
1058
1059 <a href="mailto:@email.ToString()?subject=@(emailSubject != null ? emailSubject.ToString() : string.Empty) &body=@(emailBody != null ? emailBody.ToString() : string.Empty) " title="Alert link" class="alert-banner__contact-link">
1060 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 21.125"><path d="M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z"/></svg>
1061 </a>
1062 }
1063 if (smsNumber != null && !string.IsNullOrEmpty(smsNumber.ToString()))
1064 {
1065 <a href="sms:@smsNumber.ToString()?&body=@(smsBody != null ? smsBody.ToString() : string.Empty)" title="Alert link" class="alert-banner__contact-link alert-banner__contact-links--sms">
1066 <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="#d53f53"><path d="M10.624 15.81a2.03 2.03 0 0 1-.766 1.681 3.325 3.325 0 0 1-2.13.612 5 5 0 0 1-2.228-.477v-1.547a9.163 9.163 0 0 0 1.345.5 3.981 3.981 0 0 0 1.007.145 1.432 1.432 0 0 0 .841-.209.716.716 0 0 0 .298-.624.688.688 0 0 0-.129-.411 1.442 1.442 0 0 0-.379-.346 9.739 9.739 0 0 0-1.018-.532 4.824 4.824 0 0 1-1.08-.65 2.44 2.44 0 0 1-.575-.725 2.069 2.069 0 0 1-.21-.967 2.029 2.029 0 0 1 .7-1.638 2.935 2.935 0 0 1 1.952-.6 4.61 4.61 0 0 1 1.168.145 8.03 8.03 0 0 1 1.163.408l-.534 1.298a7.858 7.858 0 0 0-1.039-.36 3.345 3.345 0 0 0-.808-.1 1.07 1.07 0 0 0-.725.22.726.726 0 0 0-.252.575.711.711 0 0 0 .1.384 1.122 1.122 0 0 0 .325.317 10.047 10.047 0 0 0 1.055.551 4.2 4.2 0 0 1 1.51 1.053 2.06 2.06 0 0 1 .409 1.297zm4.748 2.181l-1.891-6.161h-.048q.1 1.88.1 2.508v3.653h-1.486v-7.853h2.266l1.858 6h.029l1.971-6h2.267v7.853H18.89v-3.717q0-.263.008-.607t.072-1.826h-.048l-2.022 6.15zm11.682-2.181a2.03 2.03 0 0 1-.765 1.676 3.325 3.325 0 0 1-2.13.612 5 5 0 0 1-2.224-.473v-1.546a9.163 9.163 0 0 0 1.345.5 3.981 3.981 0 0 0 1.007.145 1.432 1.432 0 0 0 .841-.209.716.716 0 0 0 .293-.623.688.688 0 0 0-.129-.411 1.442 1.442 0 0 0-.379-.346 9.739 9.739 0 0 0-1.013-.533 4.824 4.824 0 0 1-1.08-.65 2.44 2.44 0 0 1-.575-.725 2.069 2.069 0 0 1-.215-.967 2.029 2.029 0 0 1 .706-1.638 2.935 2.935 0 0 1 1.952-.6 4.61 4.61 0 0 1 1.168.145 8.03 8.03 0 0 1 1.163.408l-.537 1.294a7.858 7.858 0 0 0-1.039-.36 3.345 3.345 0 0 0-.808-.1 1.07 1.07 0 0 0-.725.22.726.726 0 0 0-.252.575.711.711 0 0 0 .1.384 1.122 1.122 0 0 0 .325.317 10.047 10.047 0 0 0 1.055.551 4.2 4.2 0 0 1 1.509 1.055 2.06 2.06 0 0 1 .407 1.299z"/><path d="M16 28a18.276 18.276 0 0 1-2.991-.253L6 32v-7.081A13.4 13.4 0 0 1 0 14C0 6.268 7.163 0 16 0s16 6.268 16 14-7.163 14-16 14zm0-26C8.268 2 2 7.373 2 14a11.591 11.591 0 0 0 5.975 9.824l-.063 4.638 4.707-2.829A16.2 16.2 0 0 0 16 26c7.732 0 14-5.372 14-12S23.732 2 16 2z"/></g></svg>
1067 </a>
1068 }
1069 }
1070 </div>
1071 @if (link1 != null)
1072 {
1073 Item linkItem = Helpers.GetItemByItemId("LinkItem", link1.ToString());
1074 if (linkItem["Link"] != null)
1075 {
1076 string link = linkItem["Link"].ToString();
1077 if (!string.IsNullOrEmpty(link))
1078 {
1079 <a href="@link" class="alert-banner__link">
1080
1081 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
1082 <span class="arrow">
1083 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40.62 16"><path d="M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z"/><path class="spine" d="M0 7.5h40v1H0z"/></svg>
1084 </span>
1085
1086 <span>@linkItem["Label"].ToString()</span>
1087 </a>
1088 }
1089 }
1090 }
1091 @if (link2 != null)
1092 {
1093 Item linkItem = Helpers.GetItemByItemId("LinkItem", link2.ToString());
1094 if (linkItem["Link"] != null)
1095 {
1096 string link = linkItem["Link"].ToString();
1097 if (!string.IsNullOrEmpty(link))
1098 {
1099 <a href="@link" class="alert-banner__link">
1100
1101 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
1102 <span class="arrow">
1103 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40.62 16"><path d="M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z"/><path class="spine" d="M0 7.5h40v1H0z"/></svg>
1104 </span>
1105
1106 <span>@linkItem["Label"].ToString()</span>
1107 </a>
1108 }
1109 }
1110 }
1111
1112 </div>
1113 <button type="button" class="alert-banner__close-btn">
1114 <span class="alert-banner__close-icon">
1115 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.801 19.798"><path d="M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z"/></svg>
1116 </span>
1117 <span class="alert-banner__close-text">
1118 Luk
1119 </span>
1120 </button>
1121 </div>
1122 </div>
1123 </div>
1124 </div>
1125 }
1126 }
1127 }
1128
1129 }
1130
1131
1132
1133 <!-- <div class="cookie cookie--accepted">
1134 <div class="grid grid-container">
1135 <div class="row">
1136 <div class="col col--sm-8 col--md-9">
1137 <div class="cookie__text">
1138 @Model.Area.Item.GetField("CookieWarning").GetValue()
1139 </div>
1140 </div>
1141 <div class="col col--sm-4 col--md-3">
1142 <button type="button" class="cookie__accept-btn text--link svg-fill--link">
1143
1144 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
1145 <span class="arrow">
1146 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40.62 16"><path d="M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z"/><path class="spine" d="M0 7.5h40v1H0z"/></svg>
1147 </span>
1148
1149 <span>@Translate("OkAccept", "Ok, jeg accepterer")</span>
1150 </button>
1151 </div>
1152 </div>
1153 </div>
1154 </div> -->
1155 </div>
1156
1157 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
1158 @using System.Web;
1159
1160 @{
1161 var host = HttpContext.Current.Request.Url.Host.StartsWith("local.") ? "subsite-esbjerg.dis-play.dk" : HttpContext.Current.Request.Url.Host;
1162
1163 string jsPath = "/Files/Templates/Designs/" + Pageview.Layout.Design.Name;
1164 string searchPath = Model.Area.Item.GetString("SearchResultPage");
1165 string cludoEngineID = Model.Area.Item.GetString("CludoEngineID");
1166
1167 if (!string.IsNullOrEmpty(searchPath))
1168 {
1169 searchPath = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("Default.aspx?Id=" + searchPath);
1170 }
1171
1172 if (string.IsNullOrEmpty(cludoEngineID))
1173 {
1174 cludoEngineID = 11424;
1175 }
1176 }
1177
1178 <script>
1179 @*var scriptLoaderSettings = {
1180 mainScriptSrc: [
1181 '@jsPath/static/dist/js/@Esbjerg.Logic.Helpers.CacheBuster(jsPath + "/static/dist/js/", "main.min.js")'
1182 ],
1183 polyfillFallback: '@jsPath/static/dist/js/polyfillFallback.js',
1184 polyfills: 'default-3.6,fetch,Object.values,Array.prototype.findIndex'
1185 };
1186
1187 var loadMainScript = function () { function a(a) { var b = document.createElement("script"); b.defer = !0, b.async = !!0, b.src =a, document.body.appendChild(b) } if ("object" == typeof scriptLoaderSettings.mainScriptSrc) for (var b = 0; b < scriptLoaderSettings.mainScriptSrc.length; b++)a(scriptLoaderSettings.mainScriptSrc[b]); else a(scriptLoaderSettings.mainScriptSrc) };
1188 !function (e, t) { var r, a = [/^(.+)(\[.+MessengerForiOS.+\][ ]*)/, /^(.+)(\[.+FBIOS.+\][ ]*)/, /^(.+)( Twitter for iPhone)/]; for (r = 0; r < a.length; ++r) { var n = a[r], i = e.match(n); if (i) { t = t + "&ua=" + encodeURIComponent(i[1] + " Safari"); break } } var o = document.createElement("script"); o.addEventListener("error", function () { var e = document.createElement("script"); e.src =scriptLoaderSettings.polyfillFallback, document.body.appendChild(e) }),o.defer=true, o.src =t, document.body.appendChild(o) }(navigator.userAgent, "https://cdn.polyfill.io/v2/polyfill.min.js?features=" + scriptLoaderSettings.polyfills + "&callback=loadMainScript");*@
1189
1190 /*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT License - https://github.com/filamentgroup/loadCSS */
1191 !function (t) { "use strict"; t.loadCSS || (t.loadCSS = function () { }); var e = loadCSS.relpreload = {}; if (e.support = function () { var e; try { e = t.document.createElement("link").relList.supports("preload") } catch (t) { e = !1 } return function () { return e } }(), e.bindMediaToggle = function (t) { function e() { t.media = a } var a = t.media || "all"; t.addEventListener ? t.addEventListener("load", e) : t.attachEvent && t.attachEvent("onload", e), setTimeout(function () { t.rel = "stylesheet", t.media = "only x" }), setTimeout(e, 3e3) }, e.poly = function () { if (!e.support()) for (var a = t.document.getElementsByTagName("link"), n = 0; n < a.length; n++) { var o = a[n]; "preload" !== o.rel || "style" !== o.getAttribute("as") || o.getAttribute("data-loadcss") || (o.setAttribute("data-loadcss", !0), e.bindMediaToggle(o)) } }, !e.support()) { e.poly(); var a = t.setInterval(e.poly, 500); t.addEventListener ? t.addEventListener("load", function () { e.poly(), t.clearInterval(a) }) : t.attachEvent && t.attachEvent("onload", function () { e.poly(), t.clearInterval(a) }) } "undefined" != typeof exports ? exports.loadCSS = loadCSS : t.loadCSS = loadCSS }("undefined" != typeof global ? global : this);
1192
1193 // Enable this to register a service worker. Please make sure you understand the implications of doing so.
1194 // if ("serviceWorker" in navigator) { navigator.serviceWorker.register("/sw.js", { scope: '/' }); }
1195 </script>
1196
1197 <script src='https://oplev.esbjerg.dk/@jsPath/static/dist/js/main.min.js' type="text/javascript"></script>
1198 <script src='https://cdn.polyfill.io/v2/polyfill.js?features=default-3.6,fetch,Object.values,Array.prototype.findIndex' type="text/javascript"></script>
1199 @*<script src='https://oplev.esbjerg.dk/@jsPath/static/dist/js/polyfillFallback.js' type="text/javascript"></script>*@
1200
1201 <!--SiteImprove script-->
1202 <script type="text/javascript">
1203 /*<![CDATA[*/
1204 (function () {
1205 var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true;
1206 sz.src ='//siteimproveanalytics.com/js/siteanalyze_273521.js';
1207 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s);
1208 })();
1209 /*]]>*/
1210 </script>
1211 <!--Minimap-->
1212 @RenderSnippet("Minimap")
1213
1214 <!--Kode - Footer section-->
1215 @RenderSnippet("KodeFooter")
1216
1217
1218 <!-- SCRIPT -->
1219 <!-- www.Cludo.com search start JS -->
1220 <!--[if lte IE 9]>
1221 <script src="https://api.cludo.com/scripts/xdomain.js" slave="https://api.cludo.com/proxy.html"></script>
1222 <![endif]-->
1223 <!-- www.Cludo.com search end JS -->
1224 <!-- www.Cludo.com Search body init script start -->
1225
1226 <script type="text/javascript" src="https://customer.cludo.com/scripts/bundles/search-script.min.js"></script>
1227
1228 <script>
1229 var CludoSearch;
1230 (function () {
1231 var cludoSettings = {
1232 customerId: 80,
1233 engineId: 11424,
1234 searchUrl: "@searchPath",
1235 language: "@Dynamicweb.Services.Areas.GetArea(Model.Area.ID).CultureInfo.TwoLetterISOLanguageName",
1236 filters: { "DomainName": ["https://@host/"] },
1237 searchInputs: ["cludo-search-form", "search-box-form"],
1238 initSearchBoxText: "",
1239 loading: "<img src='//customer.cludo.com/img/loading.gif' alt='Loading' class='loading' role='progressbar' />",
1240 customCallbackAfterSearch: function () {
1241 window.cludoCallback();
1242 }
1243 //bannerIsInSearchTemplate: false,
1244 //endlessScroll: {stopAfterPage:3, resultsPerPage:10, bottomOffset: 700},
1245 //richAutocomplete: true
1246 //@cludoEngineID
1247 };
1248 CludoSearch = new Cludo(cludoSettings);
1249 CludoSearch.init();
1250 })();
1251 </script>
1252
1253
1254
1255 <!--Footer scripts from website settings subsites-->
1256 @{string scriptFooterArea = Model.Area.Item.GetString("ScriptFooterArea"); }
1257 @if (!string.IsNullOrEmpty(scriptFooterArea)){
1258 @scriptFooterArea
1259 }
1260 </body>
1261 </html>
1262
1263 @functions {
1264
1265 private string GetThemeTextColor(string hex)
1266 {
1267 const string white = "#fff";
1268 const string black = "#000";
1269
1270 var color = white;
1271
1272 switch (hex.ToLower())
1273 {
1274 case ThemeColors.Cornflower:
1275 color = black;
1276 break;
1277 case ThemeColors.Surf:
1278 color = black;
1279 break;
1280 case ThemeColors.BeautyBush:
1281 color = black;
1282 break;
1283 case ThemeColors.Cerulean:
1284 color = black;
1285 break;
1286 case ThemeColors.Cinnabar:
1287 color = black;
1288 break;
1289 }
1290
1291 return color;
1292 }
1293
1294 private string GetContrastColor(string hex)
1295 {
1296 var color = hex;
1297
1298 switch (hex.ToLower())
1299 {
1300 case ThemeColors.DeepSapphire:
1301 color = "020305";
1302 break;
1303 case ThemeColors.RegalBlue:
1304 color = "013150";
1305 break;
1306 case ThemeColors.DoveGray:
1307 color = "505050";
1308 break;
1309 case ThemeColors.Valencia:
1310 color = "b23646";
1311 break;
1312 case ThemeColors.Cornflower:
1313 color = "8bbbd5";
1314 break;
1315 case ThemeColors.Surf:
1316 color = "c3beb6";
1317 break;
1318 case ThemeColors.BeautyBush:
1319 color = "e0e0e0";
1320 break;
1321 case ThemeColors.Cerulean:
1322 color = "0079a8";
1323 break;
1324 case ThemeColors.Cinnabar:
1325 color = "de3517";
1326 break;
1327 }
1328
1329 return color;
1330 }
1331
1332 private string GetLinkColor(string hex)
1333 {
1334 var color = hex;
1335
1336 switch (hex.ToLower())
1337 {
1338 case ThemeColors.DeepSapphire:
1339 color = "1d293b";
1340 break;
1341 case ThemeColors.Cornflower:
1342 color = "085077";
1343 break;
1344 case ThemeColors.Surf:
1345 color = "555555";
1346 break;
1347 case ThemeColors.BeautyBush:
1348 color = "555555";
1349 break;
1350 case ThemeColors.Cerulean:
1351 color = "0079a8";
1352 break;
1353 case ThemeColors.Cinnabar:
1354 color = "de3517";
1355 break;
1356 }
1357
1358 return color;
1359 }
1360
1361 private struct ThemeColors
1362 {
1363 public const string DeepSapphire = "0a2e68";
1364 public const string RegalBlue = "004069";
1365 public const string DoveGray = "666666";
1366 public const string Valencia = "d53f53";
1367 public const string Cornflower = "88bfe8";
1368 public const string Surf = "b1d8b9";
1369 public const string BeautyBush = "edc3c4";
1370 public const string Cerulean = "009bd9";
1371 public const string Cinnabar = "eb573d";
1372 }
1373 }
Esbjerg City
Torvet 16. 1
6700 Esbjerg
Tlf: 7513 6500
Fax: 7512 1617
Yderligere information:
Hjemmeside
27. april 2024
Dansens Dag i Esbjerg
Dansens Dag.
Lørdag den 27. april 2024, kl. 10.30-14.05.
Esbjerg City, Torvet 16. 1
Dansens Dag.
Lørdag den 27. april fyldes Torvet med glade og skønne dansere fra foreninger og dansestudios fra hele Esbjerg og omegn - og vi GLÆDER os!
Der vil være opvisning mellem 10:30-14:05 med bl.a. salsa, rytmisk, ballet og body jam til ballet, hiphop og freestyle.
SE PROGRAMMET
Besøg arrangørens hjemmeside
31. maj 2024
Late Night - Esbjerg City
Fredag den 31. maj 2024, kl. 10-22.
Esbjerg City, Torvet 16. 1
Glæd dig til Late Night i Esbjerg onsdag d. 27. marts og fredag d. 31. maj.
Det bliver dage med musik, aktiviteter for børn, shopping og overraskelser, når Esbjerg City inviterer til Late Night.
Butikkerne har åbent helt til kl. 22, så du har masser af tid til at shoppe dine favoritter.
Tag dine venner og familie med til en festlig aften
Besøg arrangørens hjemmeside
Error compiling template "Designs/Esbjerg/_parsed/SubsitePage.parsed.cshtml"
Line 5475: Cannot implicitly convert type 'int' to 'string'
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.42000
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 namespace CompiledRazorTemplates.Dynamic {
12 using System;
13 using System.Collections.Generic;
14 using System.Linq;
15
16 #line 1 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
17 using System.Activities.Statements;
18
19 #line default
20 #line hidden
21
22 #line 1008 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
23 using Esbjerg.Logic;
24
25 #line default
26 #line hidden
27
28 #line 301 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
29 using Dynamicweb.Content;
30
31 #line default
32 #line hidden
33
34 #line 1158 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
35 using System.Web;
36
37 #line default
38 #line hidden
39
40 #line 719 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
41 using Dynamicweb.Frontend;
42
43 #line default
44 #line hidden
45
46 #line 1009 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
47 using Dynamicweb.Content.Items;
48
49 #line default
50 #line hidden
51
52
53 public class RazorEngine_4af07e5bee534e268e439362603e3a3d : Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> {
54
55 #line hidden
56
57 #line 995 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
58 public RazorEngine.Templating.TemplateWriter RenderColumnLink(ItemViewModel columnLink)
59 {
60 #line default
61 #line hidden
62 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => {
63
64 #line 996 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
65
66 var linkType = columnLink.GetList("LinkType").SelectedValue;
67 var linkTarget = columnLink.GetList("LinkTarget").SelectedValue;
68 var linkText = columnLink.GetString("LinkText");
69 var link = linkType == "external" ? columnLink.GetString("LinkExternal") : columnLink.GetString("LinkInternal");
70
71
72
73 #line default
74 #line hidden
75 WriteLiteralTo(__razor_helper_writer, " <li>\r\n <a");
76
77 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 70833), Tuple.Create("\"", 70845)
78
79 #line 1003 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
80 , Tuple.Create(Tuple.Create("", 70840), Tuple.Create<System.Object, System.Int32>(link
81
82 #line default
83 #line hidden
84 , 70840), false)
85 );
86
87 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 70846), Tuple.Create("\"", 70872)
88 , Tuple.Create(Tuple.Create("", 70854), Tuple.Create("Link", 70854), true)
89 , Tuple.Create(Tuple.Create(" ", 70858), Tuple.Create("til", 70859), true)
90
91 #line 1003 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
92 , Tuple.Create(Tuple.Create(" ", 70862), Tuple.Create<System.Object, System.Int32>(linkText
93
94 #line default
95 #line hidden
96 , 70863), false)
97 );
98
99 WriteAttributeTo(__razor_helper_writer, "target", Tuple.Create(" target=\"", 70873), Tuple.Create("\"", 70893)
100
101 #line 1003 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
102 , Tuple.Create(Tuple.Create("", 70882), Tuple.Create<System.Object, System.Int32>(linkTarget
103
104 #line default
105 #line hidden
106 , 70882), false)
107 );
108
109 WriteLiteralTo(__razor_helper_writer, " class=\"footer__link\"");
110
111 WriteLiteralTo(__razor_helper_writer, ">");
112
113
114 #line 1003 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
115 WriteTo(__razor_helper_writer, linkText);
116
117
118 #line default
119 #line hidden
120 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </li>\r\n");
121
122
123 #line 1005 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
124
125
126 #line default
127 #line hidden
128 });
129
130 #line 1005 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
131 }
132 #line default
133 #line hidden
134
135
136 #line 1263 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
137
138
139 private string GetThemeTextColor(string hex)
140 {
141 const string white = "#fff";
142 const string black = "#000";
143
144 var color = white;
145
146 switch (hex.ToLower())
147 {
148 case ThemeColors.Cornflower:
149 color = black;
150 break;
151 case ThemeColors.Surf:
152 color = black;
153 break;
154 case ThemeColors.BeautyBush:
155 color = black;
156 break;
157 case ThemeColors.Cerulean:
158 color = black;
159 break;
160 case ThemeColors.Cinnabar:
161 color = black;
162 break;
163 }
164
165 return color;
166 }
167
168 private string GetContrastColor(string hex)
169 {
170 var color = hex;
171
172 switch (hex.ToLower())
173 {
174 case ThemeColors.DeepSapphire:
175 color = "020305";
176 break;
177 case ThemeColors.RegalBlue:
178 color = "013150";
179 break;
180 case ThemeColors.DoveGray:
181 color = "505050";
182 break;
183 case ThemeColors.Valencia:
184 color = "b23646";
185 break;
186 case ThemeColors.Cornflower:
187 color = "8bbbd5";
188 break;
189 case ThemeColors.Surf:
190 color = "c3beb6";
191 break;
192 case ThemeColors.BeautyBush:
193 color = "e0e0e0";
194 break;
195 case ThemeColors.Cerulean:
196 color = "0079a8";
197 break;
198 case ThemeColors.Cinnabar:
199 color = "de3517";
200 break;
201 }
202
203 return color;
204 }
205
206 private string GetLinkColor(string hex)
207 {
208 var color = hex;
209
210 switch (hex.ToLower())
211 {
212 case ThemeColors.DeepSapphire:
213 color = "1d293b";
214 break;
215 case ThemeColors.Cornflower:
216 color = "085077";
217 break;
218 case ThemeColors.Surf:
219 color = "555555";
220 break;
221 case ThemeColors.BeautyBush:
222 color = "555555";
223 break;
224 case ThemeColors.Cerulean:
225 color = "0079a8";
226 break;
227 case ThemeColors.Cinnabar:
228 color = "de3517";
229 break;
230 }
231
232 return color;
233 }
234
235 private struct ThemeColors
236 {
237 public const string DeepSapphire = "0a2e68";
238 public const string RegalBlue = "004069";
239 public const string DoveGray = "666666";
240 public const string Valencia = "d53f53";
241 public const string Cornflower = "88bfe8";
242 public const string Surf = "b1d8b9";
243 public const string BeautyBush = "edc3c4";
244 public const string Cerulean = "009bd9";
245 public const string Cinnabar = "eb573d";
246 }
247
248 #line default
249 #line hidden
250
251
252 public RazorEngine_4af07e5bee534e268e439362603e3a3d() {
253 }
254
255 public override void Execute() {
256
257 #line 3 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
258 Write(Title("Subsite - Master"));
259
260
261 #line default
262 #line hidden
263 WriteLiteral("\r\n");
264
265
266 #line 4 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
267 Write(Description("Master template til subsites"));
268
269
270 #line default
271 #line hidden
272 WriteLiteral("\r\n");
273
274
275 #line 5 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
276
277 var bodyClass = "subsite";
278
279 // thema variables
280 var themeActive = Model.Area.Item.GetBoolean("Subsite");
281 var themeTop = Model.Area.Item.GetList("ThemeTop").SelectedValue;
282 var themeContentArea = Model.Area.Item.GetList("ThemeContentArea").SelectedValue;
283 var themeFooter = Model.Area.Item.GetList("ThemeFooter").SelectedValue;
284 var themeTopHex = themeActive && themeTop != null ? themeTop : "";
285 var themeContentHex = themeActive && themeContentArea != null ? themeContentArea : "";
286 var themeFooterHex = themeActive && themeFooter != null ? themeFooter : "";
287
288 var searchPageId = Model.Area.Item.GetInt64("SearchResultPage");
289 var bodyId = "";
290
291 // if current page is the searchresult page
292 if (searchPageId != 0)
293 {
294 if (Dynamicweb.Frontend.PageView.Current().Page.ID == searchPageId)
295 {
296 bodyId = "id=\"cludo-search-results\"";
297 }
298 }
299
300 if (Dynamicweb.Environment.ExecutingContext.IsAdminLoggedIn())
301 {
302 bodyClass += " logged-in";
303 }
304
305
306 #line default
307 #line hidden
308 WriteLiteral("\r\n\r\n<!DOCTYPE html>\r\n<html");
309
310 WriteAttribute("lang", Tuple.Create(" lang=\"", 1286), Tuple.Create("\"", 1379)
311
312 #line 36 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
313 , Tuple.Create(Tuple.Create("", 1293), Tuple.Create<System.Object, System.Int32>(Dynamicweb.Services.Areas.GetArea(Model.Area.ID).CultureInfo.TwoLetterISOLanguageName
314
315 #line default
316 #line hidden
317 , 1293), false)
318 );
319
320 WriteLiteral(" class=\"no-js\"");
321
322 WriteLiteral(">\r\n\r\n");
323
324 WriteLiteral("\r\n");
325
326
327 #line 42 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
328
329 string cssPath = "/Files/Templates/Designs/" + Pageview.Layout.Design.Name;
330 //Color codes
331 // string colorPrimary = "#007AB8";
332 // string colorPrimaryHover = "#004069";
333 // string colorPrimaryAlternate = "#00669F";
334 // string colorSecondary = "#007AB8";
335 // string textPrimary = "#FFFFFF";
336 // string textSecondary = "#FFFFFF";
337 // string colorLink = "#D53F53";
338 // string colorLinkAlternate = colorPrimary;
339
340 // if (Model.Area.Item.GetBoolean("Subsite"))
341 // {
342 // colorPrimary = Model.Area.Item.GetString("ColorArea1");
343 // colorPrimaryHover = Model.Area.Item.GetString("HoverColor"); // Need new color in BE here
344 // colorPrimaryAlternate = colorPrimaryHover;
345 // colorSecondary = Model.Area.Item.GetString("ColorArea2");
346 // textPrimary = Model.Area.Item.GetString("MenuTextColorPassive");
347 // textSecondary = Model.Area.Item.GetString("HeaderFooterMenuText");
348 // colorLink = colorPrimary;
349 // colorLinkAlternate = colorPrimary;
350 // }
351
352 string appleTouchIcon = @Model.Area.Item.GetString("Apple_touch_icon");
353 string Favicon32x32 = @Model.Area.Item.GetString("Favicon32x32");
354 string Favicon16x16 = @Model.Area.Item.GetString("Favicon16x16");
355
356
357 #line default
358 #line hidden
359 WriteLiteral("\r\n<head>\r\n <title>");
360
361
362 #line 71 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
363 Write(Model.Title);
364
365
366 #line default
367 #line hidden
368 WriteLiteral("</title>\r\n\t<meta");
369
370 WriteLiteral(" name=\"pageID\"");
371
372 WriteAttribute("content", Tuple.Create(" content=\'", 2849), Tuple.Create("\'", 2868)
373
374 #line 72 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
375 , Tuple.Create(Tuple.Create("", 2859), Tuple.Create<System.Object, System.Int32>(Model.ID
376
377 #line default
378 #line hidden
379 , 2859), false)
380 );
381
382 WriteLiteral(">\r\n\t<script");
383
384 WriteLiteral(" src=https://oplev.esbjerg.dk/\"https://cookiecontrol.bleau.dk/scripts/cookieconsent.js\"");
385
386 WriteLiteral("></script>\r\n\t<script");
387
388 WriteLiteral(" id=\"cookiecontrolfunctions\"");
389
390 WriteLiteral(" src=https://oplev.esbjerg.dk/\"https://cookiecontrol.bleau.dk/scripts/Cookiecontrolfunctions.js\"");
391
392 WriteLiteral(" data-cname=\"Esbjerg\"");
393
394 WriteLiteral(" data-defaultset=\"EsbjergDefault\"");
395
396 WriteLiteral("></script>\t \r\n <meta");
397
398 WriteLiteral(" name=\"description\"");
399
400 WriteAttribute("content", Tuple.Create(" content=\"", 3157), Tuple.Create("\"", 3185)
401
402 #line 75 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
403 , Tuple.Create(Tuple.Create("", 3167), Tuple.Create<System.Object, System.Int32>(Model.Description
404
405 #line default
406 #line hidden
407 , 3167), false)
408 );
409
410 WriteLiteral(" />\r\n <meta");
411
412 WriteLiteral(" name=\"keywords\"");
413
414 WriteAttribute("content", Tuple.Create(" content=\"", 3216), Tuple.Create("\"", 3241)
415
416 #line 76 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
417 , Tuple.Create(Tuple.Create("", 3226), Tuple.Create<System.Object, System.Int32>(Model.Keywords
418
419 #line default
420 #line hidden
421 , 3226), false)
422 );
423
424 WriteLiteral(" />\r\n <meta");
425
426 WriteLiteral(" charset=\"utf-8\"");
427
428 WriteLiteral(">\r\n <!-- Add to web.config -->\r\n <meta");
429
430 WriteLiteral(" http-equiv=\"X-UA-Compatible\"");
431
432 WriteLiteral(" content=\"IE=edge\"");
433
434 WriteLiteral(">\r\n <meta");
435
436 WriteLiteral(" name=\"viewport\"");
437
438 WriteLiteral(" content=\"width=device-width, initial-scale=1\"");
439
440 WriteLiteral(">\r\n <meta");
441
442 WriteLiteral(" name=\"format-detection\"");
443
444 WriteLiteral(" content=\"telephone=no\"");
445
446 WriteLiteral(">\r\n\r\n <!-- Change this to be dynamic -->\r\n");
447
448 WriteLiteral(" ");
449
450
451 #line 84 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
452 Write(RenderSnippet("MetaTags"));
453
454
455 #line default
456 #line hidden
457 WriteLiteral("\r\n\r\n <!-- Favicons ");
458
459
460 #line 86 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
461 Write(appleTouchIcon);
462
463
464 #line default
465 #line hidden
466 WriteLiteral(" test=\"");
467
468
469 #line 86 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
470 Write(!String.IsNullOrEmpty(appleTouchIcon) ? "@appleTouchIcon" : "/apple-touch-icon.png");
471
472
473 #line default
474 #line hidden
475 WriteLiteral("\" -->\r\n\r\n\r\n <link");
476
477 WriteLiteral(" rel=\"apple-touch-icon\"");
478
479 WriteLiteral(" sizes=\"180x180\"");
480
481 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 3760), Tuple.Create("\"", 3851)
482
483 #line 89 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
484 , Tuple.Create(Tuple.Create("", 3767), Tuple.Create<System.Object, System.Int32>(!String.IsNullOrEmpty(appleTouchIcon) ? @appleTouchIcon : "/apple-touch-icon.png"
485
486 #line default
487 #line hidden
488 , 3767), false)
489 );
490
491 WriteLiteral(">\r\n <link");
492
493 WriteLiteral(" rel=\"icon\"");
494
495 WriteLiteral(" type=\"image/png\"");
496
497 WriteLiteral(" sizes=\"32x32\"");
498
499 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 3906), Tuple.Create("\"", 3991)
500
501 #line 90 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
502 , Tuple.Create(Tuple.Create("", 3913), Tuple.Create<System.Object, System.Int32>(!String.IsNullOrEmpty(@Favicon32x32) ? @Favicon32x32 : "/favicon-32x32.png"
503
504 #line default
505 #line hidden
506 , 3913), false)
507 );
508
509 WriteLiteral(">\r\n <link");
510
511 WriteLiteral(" rel=\"icon\"");
512
513 WriteLiteral(" type=\"image/png\"");
514
515 WriteLiteral(" sizes=\"16x16\"");
516
517 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 4046), Tuple.Create("\"", 4131)
518
519 #line 91 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
520 , Tuple.Create(Tuple.Create("", 4053), Tuple.Create<System.Object, System.Int32>(!String.IsNullOrEmpty(@Favicon16x16) ? @Favicon16x16 : "/favicon-16x16.png"
521
522 #line default
523 #line hidden
524 , 4053), false)
525 );
526
527 WriteLiteral(">\r\n <link");
528
529 WriteLiteral(" rel=\"manifest\"");
530
531 WriteLiteral(" href=https://oplev.esbjerg.dk/\"/site.webmanifest\"");
532
533 WriteLiteral(">\r\n <link");
534
535 WriteLiteral(" rel=\"mask-icon\"");
536
537 WriteLiteral(" href=https://oplev.esbjerg.dk/\"/safari-pinned-tab.svg\"");
538
539 WriteLiteral(" color=\"Favicon32x32#5bbad5\"");
540
541 WriteLiteral(">\r\n <meta");
542
543 WriteLiteral(" name=\"msapplication-TileColor\"");
544
545 WriteLiteral(" content=\"#da532c\"");
546
547 WriteLiteral(">\r\n <meta");
548
549 WriteLiteral(" name=\"theme-color\"");
550
551 WriteLiteral(" content=\"#ffffff\"");
552
553 WriteLiteral(">\r\n\r\n");
554
555 WriteLiteral(" ");
556
557
558 #line 97 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
559 Write(RenderSnippet("EditorSnippet"));
560
561
562 #line default
563 #line hidden
564 WriteLiteral("\r\n\r\n <!-- Create a block of inline styling to display until the primary CSS is" +
565 " ready. -->\r\n <style");
566
567 WriteLiteral(" type=\"text/css\"");
568
569 WriteLiteral("> ");
570
571
572 #line 100 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
573 Write(Helpers.ReadFile(Pageview.Layout.Design.Path, "static/dist/css/critical-subsite.min.css"));
574
575
576 #line default
577 #line hidden
578 WriteLiteral("</style>\r\n ");
579
580 WriteLiteral("\r\n <link");
581
582 WriteLiteral(" rel=\"preload\"");
583
584 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 4888), Tuple.Create("\"", 4940)
585
586 #line 102 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
587 , Tuple.Create(Tuple.Create("", 4895), Tuple.Create<System.Object, System.Int32>(cssPath
588
589 #line default
590 #line hidden
591 , 4895), false)
592 , Tuple.Create(Tuple.Create("", 4903), Tuple.Create("/static/dist/css/main-subsite.min.css", 4903), true)
593 );
594
595 WriteLiteral(" as=\"style\"");
596
597 WriteLiteral(" onload=\"this.onload=null;this.rel=\'stylesheet\';window.esbjerg&&window.esbjerg.st" +
598 "ylesLoaded&&window.esbjerg.stylesLoaded()\"");
599
600 WriteLiteral(">\r\n <noscript><link");
601
602 WriteLiteral(" rel=\"stylesheet\"");
603
604 WriteLiteral(" type=\"text/css\"");
605
606 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 5130), Tuple.Create("\"", 5182)
607
608 #line 103 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
609 , Tuple.Create(Tuple.Create("", 5137), Tuple.Create<System.Object, System.Int32>(cssPath
610
611 #line default
612 #line hidden
613 , 5137), false)
614 , Tuple.Create(Tuple.Create("", 5145), Tuple.Create("/static/dist/css/main-subsite.min.css", 5145), true)
615 );
616
617 WriteLiteral("></noscript>\r\n <!-- www.Cludo.com search start CSS -->\r\n <link");
618
619 WriteLiteral(" href=https://oplev.esbjerg.dk/\"https://customer.cludo.com/assets/80/10930/cludo-search.min.css\"");
620
621 WriteLiteral(" type=\"text/css\"");
622
623 WriteLiteral(" rel=\"stylesheet\"");
624
625 WriteLiteral(">\r\n <!-- Preload our main script, since we know we are gonna load this later -" +
626 "->\r\n ");
627
628 WriteLiteral("\r\n\r\n <link");
629
630 WriteLiteral(" rel=\"preload\"");
631
632 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 5550), Tuple.Create("\"", 5615)
633
634 #line 109 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
635 , Tuple.Create(Tuple.Create("", 5557), Tuple.Create<System.Object, System.Int32>(cssPath
636
637 #line default
638 #line hidden
639 , 5557), false)
640 , Tuple.Create(Tuple.Create("", 5565), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Regular.woff2", 5565), true)
641 );
642
643 WriteLiteral(" as=\"font\"");
644
645 WriteLiteral(" type=\"font/woff2\"");
646
647 WriteLiteral(" crossorigin=\"anonymous\"");
648
649 WriteLiteral(">\r\n <link");
650
651 WriteLiteral(" rel=\"preload\"");
652
653 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 5694), Tuple.Create("\"", 5758)
654
655 #line 110 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
656 , Tuple.Create(Tuple.Create("", 5701), Tuple.Create<System.Object, System.Int32>(cssPath
657
658 #line default
659 #line hidden
660 , 5701), false)
661 , Tuple.Create(Tuple.Create("", 5709), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Regular.woff", 5709), true)
662 );
663
664 WriteLiteral(" as=\"font\"");
665
666 WriteLiteral(" type=\"font/woff\"");
667
668 WriteLiteral(" crossorigin=\"anonymous\"");
669
670 WriteLiteral(">\r\n <link");
671
672 WriteLiteral(" rel=\"preload\"");
673
674 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 5836), Tuple.Create("\"", 5899)
675
676 #line 111 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
677 , Tuple.Create(Tuple.Create("", 5843), Tuple.Create<System.Object, System.Int32>(cssPath
678
679 #line default
680 #line hidden
681 , 5843), false)
682 , Tuple.Create(Tuple.Create("", 5851), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Regular.ttf", 5851), true)
683 );
684
685 WriteLiteral(" as=\"font\"");
686
687 WriteLiteral(" type=\"font/ttf\"");
688
689 WriteLiteral(" crossorigin=\"anonymous\"");
690
691 WriteLiteral(">\r\n\r\n <link");
692
693 WriteLiteral(" rel=\"preload\"");
694
695 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 5978), Tuple.Create("\"", 6041)
696
697 #line 113 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
698 , Tuple.Create(Tuple.Create("", 5985), Tuple.Create<System.Object, System.Int32>(cssPath
699
700 #line default
701 #line hidden
702 , 5985), false)
703 , Tuple.Create(Tuple.Create("", 5993), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Light.woff2", 5993), true)
704 );
705
706 WriteLiteral(" as=\"font\"");
707
708 WriteLiteral(" type=\"font/woff2\"");
709
710 WriteLiteral(" crossorigin=\"anonymous\"");
711
712 WriteLiteral(">\r\n <link");
713
714 WriteLiteral(" rel=\"preload\"");
715
716 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 6120), Tuple.Create("\"", 6182)
717
718 #line 114 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
719 , Tuple.Create(Tuple.Create("", 6127), Tuple.Create<System.Object, System.Int32>(cssPath
720
721 #line default
722 #line hidden
723 , 6127), false)
724 , Tuple.Create(Tuple.Create("", 6135), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Light.woff", 6135), true)
725 );
726
727 WriteLiteral(" as=\"font\"");
728
729 WriteLiteral(" type=\"font/woff\"");
730
731 WriteLiteral(" crossorigin=\"anonymous\"");
732
733 WriteLiteral(">\r\n <link");
734
735 WriteLiteral(" rel=\"preload\"");
736
737 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 6260), Tuple.Create("\"", 6321)
738
739 #line 115 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
740 , Tuple.Create(Tuple.Create("", 6267), Tuple.Create<System.Object, System.Int32>(cssPath
741
742 #line default
743 #line hidden
744 , 6267), false)
745 , Tuple.Create(Tuple.Create("", 6275), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Light.ttf", 6275), true)
746 );
747
748 WriteLiteral(" as=\"font\"");
749
750 WriteLiteral(" type=\"font/ttf\"");
751
752 WriteLiteral(" crossorigin=\"anonymous\"");
753
754 WriteLiteral(">\r\n\r\n <link");
755
756 WriteLiteral(" rel=\"preload\"");
757
758 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 6400), Tuple.Create("\"", 6462)
759
760 #line 117 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
761 , Tuple.Create(Tuple.Create("", 6407), Tuple.Create<System.Object, System.Int32>(cssPath
762
763 #line default
764 #line hidden
765 , 6407), false)
766 , Tuple.Create(Tuple.Create("", 6415), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Bold.woff2", 6415), true)
767 );
768
769 WriteLiteral(" as=\"font\"");
770
771 WriteLiteral(" type=\"font/woff2\"");
772
773 WriteLiteral(" crossorigin=\"anonymous\"");
774
775 WriteLiteral(">\r\n <link");
776
777 WriteLiteral(" rel=\"preload\"");
778
779 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 6541), Tuple.Create("\"", 6602)
780
781 #line 118 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
782 , Tuple.Create(Tuple.Create("", 6548), Tuple.Create<System.Object, System.Int32>(cssPath
783
784 #line default
785 #line hidden
786 , 6548), false)
787 , Tuple.Create(Tuple.Create("", 6556), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Bold.woff", 6556), true)
788 );
789
790 WriteLiteral(" as=\"font\"");
791
792 WriteLiteral(" type=\"font/woff\"");
793
794 WriteLiteral(" crossorigin=\"anonymous\"");
795
796 WriteLiteral(">\r\n <link");
797
798 WriteLiteral(" rel=\"preload\"");
799
800 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 6680), Tuple.Create("\"", 6740)
801
802 #line 119 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
803 , Tuple.Create(Tuple.Create("", 6687), Tuple.Create<System.Object, System.Int32>(cssPath
804
805 #line default
806 #line hidden
807 , 6687), false)
808 , Tuple.Create(Tuple.Create("", 6695), Tuple.Create("/static/dist/fonts/OpenSans/OpenSans-Bold.ttf", 6695), true)
809 );
810
811 WriteLiteral(" as=\"font\"");
812
813 WriteLiteral(" type=\"font/ttf\"");
814
815 WriteLiteral(" crossorigin=\"anonymous\"");
816
817 WriteLiteral(">\r\n\r\n\r\n\r\n <!-- You can use \"prefetch\" to preload other important assets (if yo" +
818 "u\'re not using HTTP/2 push) -->\r\n <!-- And you can tell the browser to pre-co" +
819 "nnect to other sites you know you are going to talk to eventually: -->\r\n <lin" +
820 "k");
821
822 WriteLiteral(" rel=\"dns-prefetch\"");
823
824 WriteLiteral(" href=https://oplev.esbjerg.dk/\"https://cdn.polyfill.io\"");
825
826 WriteLiteral(">\r\n\r\n <script");
827
828 WriteLiteral(" type=\"text/javascript\"");
829
830 WriteLiteral(">");
831
832
833 #line 127 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
834 Write(Helpers.ReadFile(Pageview.Layout.Design.Path, "static/dist/js/modernizr.js"));
835
836
837 #line default
838 #line hidden
839 WriteLiteral("</script>\r\n\r\n\t<!--Insights-->\r\n <script");
840
841 WriteLiteral(" type=\"text/javascript\"");
842
843 WriteLiteral(">\r\n !function (T, l, y) { var S = T.location, u = \"script\", k = \"instrumen" +
844 "tationKey\", D = \"ingestionendpoint\", C = \"disableExceptionTracking\", E = \"ai.dev" +
845 "ice.\", I = \"toLowerCase\", b = \"crossOrigin\", w = \"POST\", e = \"appInsightsSDK\", t" +
846 " = y.name || \"appInsights\"; (y.name || T[e]) && (T[e] = t); var n = T[t] || func" +
847 "tion (d) { var g = !1, f = !1, m = { initialize: !0, queue: [], sv: \"4\", version" +
848 ": 2, config: d }; function v(e, t) { var n = {}, a = \"Browser\"; return n[E + \"id" +
849 "\"] = a[I](), n[E + \"type\"] = a, n[\"ai.operation.name\"] = S && S.pathname || \"_un" +
850 "known_\", n[\"ai.internal.sdkVersion\"] = \"javascript:snippet_\" + (m.sv || m.versio" +
851 "n), { time: function () { var e = new Date; function t(e) { var t = \"\" + e; retu" +
852 "rn 1 === t.length && (t = \"0\" + t), t } return e.getUTCFullYear() + \"-\" + t(1 + " +
853 "e.getUTCMonth()) + \"-\" + t(e.getUTCDate()) + \"T\" + t(e.getUTCHours()) + \":\" + t(" +
854 "e.getUTCMinutes()) + \":\" + t(e.getUTCSeconds()) + \".\" + ((e.getUTCMilliseconds()" +
855 " / 1e3).toFixed(3) + \"\").slice(2, 5) + \"Z\" }(), iKey: e, name: \"Microsoft.Applic" +
856 "ationInsights.\" + e.replace(/-/g, \"\") + \".\" + t, sampleRate: 100, tags: n, data:" +
857 " { baseData: { ver: 2 } } } } var h = d.url || y.src; if (h) { function a(e) { v" +
858 "ar t, n, a, i, r, o, s, c, p, l, u; g = !0, m.queue = [], f || (f = !0, t = h, s" +
859 " = function () { var e = {}, t = d.connectionString; if (t) for (var n = t.split" +
860 "(\";\"), a = 0; a < n.length; a++) { var i = n[a].split(\"=\"); 2 === i.length && (e" +
861 "[i[0][I]()] = i[1]) } if (!e[D]) { var r = e.endpointsuffix, o = r ? e.location " +
862 ": null; e[D] = \"https://\" + (o ? o + \".\" : \"\") + \"dc.\" + (r || \"services.visuals" +
863 "tudio.com\") } return e }(), c = s[k] || d[k] || \"\", p = s[D], l = p ? p + \"/v2/t" +
864 "rack\" : config.endpointUrl, (u = []).push((n = \"SDK LOAD Failure: Failed to load" +
865 " Application Insights SDK script (See stack for details)\", a = t, i = l, (o = (r" +
866 " = v(c, \"Exception\")).data).baseType = \"ExceptionData\", o.baseData.exceptions = " +
867 "[{ typeName: \"SDKLoadFailed\", message: n.replace(/\\./g, \"-\"), hasFullStack: !1, " +
868 "stack: n + \"\\nSnippet failed to load [\" + a + \"] -- Telemetry is disabled\\nHelp " +
869 "Link: https://go.microsoft.com/fwlink/?linkid=2128109\\nHost: \" + (S && S.pathnam" +
870 "e || \"_unknown_\") + \"\\nEndpoint: \" + i, parsedStack: [] }], r)), u.push(function" +
871 " (e, t, n, a) { var i = v(c, \"Message\"), r = i.data; r.baseType = \"MessageData\";" +
872 " var o = r.baseData; return o.message = \'AI (Internal): 99 message:\"\' + (\"SDK LO" +
873 "AD Failure: Failed to load Application Insights SDK script (See stack for detail" +
874 "s) (\" + n + \")\").replace(/\\\"/g, \"\") + \'\"\', o.properties = { endpoint: a }, i }(0" +
875 ", 0, t, l)), function (e, t) { if (JSON) { var n = T.fetch; if (n && !y.useXhr) " +
876 "n(t, { method: w, body: JSON.stringify(e), mode: \"cors\" }); else if (XMLHttpRequ" +
877 "est) { var a = new XMLHttpRequest; a.open(w, t), a.setRequestHeader(\"Content-typ" +
878 "e\", \"application/json\"), a.send(JSON.stringify(e)) } } }(u, l)) } function i(e, " +
879 "t) { f || setTimeout(function () { !t && m.core || a() }, 500) } var e = functio" +
880 "n () { var n = l.createElement(u); n.src =h; var e = y[b]; return !e && \"\" !== " +
881 "e || \"undefined\" == n[b] || (n[b] = e), n.onload = i, n.onerror = a, n.onreadyst" +
882 "atechange = function (e, t) { \"loaded\" !== n.readyState && \"complete\" !== n.read" +
883 "yState || i(0, t) }, n }(); y.ld < 0 ? l.getElementsByTagName(\"head\")[0].appendC" +
884 "hild(e) : setTimeout(function () { l.getElementsByTagName(u)[0].parentNode.appen" +
885 "dChild(e) }, y.ld || 0) } try { m.cookie = l.cookie } catch (p) { } function t(e" +
886 ") { for (; e.length;)!function (t) { m[t] = function () { var e = arguments; g |" +
887 "| m.queue.push(function () { m[t].apply(m, e) }) } }(e.pop()) } var n = \"track\"," +
888 " r = \"TrackPage\", o = \"TrackEvent\"; t([n + \"Event\", n + \"PageView\", n + \"Excepti" +
889 "on\", n + \"Trace\", n + \"DependencyData\", n + \"Metric\", n + \"PageViewPerformance\"," +
890 " \"start\" + r, \"stop\" + r, \"start\" + o, \"stop\" + o, \"addTelemetryInitializer\", \"s" +
891 "etAuthenticatedUserContext\", \"clearAuthenticatedUserContext\", \"flush\"]), m.Sever" +
892 "ityLevel = { Verbose: 0, Information: 1, Warning: 2, Error: 3, Critical: 4 }; va" +
893 "r s = (d.extensionConfig || {}).ApplicationInsightsAnalytics || {}; if (!0 !== d" +
894 "[C] && !0 !== s[C]) { method = \"onerror\", t([\"_\" + method]); var c = T[method]; " +
895 "T[method] = function (e, t, n, a, i) { var r = c && c(e, t, n, a, i); return !0 " +
896 "!== r && m[\"_\" + method]({ message: e, url: t, lineNumber: n, columnNumber: a, e" +
897 "rror: i }), r }, d.autoExceptionInstrumented = !0 } return m }(y.cfg); (T[t] = n" +
898 ").queue && 0 === n.queue.length && n.trackPageView({}) }(window, document, {\r\n " +
899 " src: \"https://az416426.vo.msecnd.net/scripts/b/ai.2.min.js\", // The SD" +
900 "K URL Source\r\n //name: \"appInsights\", // Global SDK Instance name def" +
901 "aults to \"appInsights\" when not supplied\r\n //ld: 0, // Defines the lo" +
902 "ad delay (in ms) before attempting to load the sdk. -1 = block page load and add" +
903 " to head. (default) = 0ms load after timeout,\r\n //useXhr: 1, // Use X" +
904 "HR instead of fetch to report failures (if available),\r\n //crossOrigi" +
905 "n: \"anonymous\", // When supplied this will add the provided value as the cross o" +
906 "rigin attribute on the script tag\r\n cfg: { // Application Insights Co" +
907 "nfiguration\r\n instrumentationKey: \"5b8602f4-7263-41f7-b005-6c42db" +
908 "042759\",\r\n name: \"BleauBorgerEsbjerg\",\r\n isCookieU" +
909 "seDisabled: \"true\"\r\n /* ...Other Configuration Options... */\r\n " +
910 " }\r\n });\r\n </script>\r\n\r\n <!--Kode - Header section-->\r\n");
911
912 WriteLiteral(" ");
913
914
915 #line 147 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
916 Write(RenderSnippet("KodeHeader"));
917
918
919 #line default
920 #line hidden
921 WriteLiteral(" \r\n\r\n");
922
923 WriteLiteral("\t");
924
925
926 #line 149 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
927 Write(RenderSnippet("MinimapHead"));
928
929
930 #line default
931 #line hidden
932 WriteLiteral(" \r\n</head>\r\n\r\n<body");
933
934 WriteAttribute("class", Tuple.Create(" class=\"", 12798), Tuple.Create("\"", 12816)
935
936 #line 152 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
937 , Tuple.Create(Tuple.Create("", 12806), Tuple.Create<System.Object, System.Int32>(bodyClass
938
939 #line default
940 #line hidden
941 , 12806), false)
942 );
943
944 WriteLiteral(" ");
945
946
947 #line 152 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
948 Write(bodyId);
949
950
951 #line default
952 #line hidden
953 WriteLiteral(">\r\n");
954
955
956 #line 153 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
957
958
959 #line default
960 #line hidden
961
962 #line 153 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
963 if (themeActive)
964 {
965
966
967 #line default
968 #line hidden
969 WriteLiteral(" <style>\r\n :root {\r\n /* Header/Top Area*/\r\n -" +
970 "-theme-top__primary-color: ");
971
972
973 #line 158 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
974 Write($"#{themeTopHex}");
975
976
977 #line default
978 #line hidden
979 WriteLiteral(";\r\n --theme-top__primary-color--alternate: ");
980
981
982 #line 159 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
983 Write($"#{GetLinkColor(themeTopHex)}");
984
985
986 #line default
987 #line hidden
988 WriteLiteral(";\r\n --theme-top__primary-color--text: ");
989
990
991 #line 160 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
992 Write(GetThemeTextColor(themeTopHex));
993
994
995 #line default
996 #line hidden
997 WriteLiteral(";\r\n --theme-top__primary-color--dimmed: ");
998
999
1000 #line 161 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1001 Write($"#{GetContrastColor(themeTopHex)}");
1002
1003
1004 #line default
1005 #line hidden
1006 WriteLiteral(";\r\n --theme-top__color--link-hover: ");
1007
1008
1009 #line 162 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1010 Write($"#{themeTopHex}");
1011
1012
1013 #line default
1014 #line hidden
1015 WriteLiteral(";\r\n\r\n /* Content Area */\r\n --theme-content__primary-color: " +
1016 "");
1017
1018
1019 #line 165 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1020 Write($"#{themeContentHex}");
1021
1022
1023 #line default
1024 #line hidden
1025 WriteLiteral(";\r\n --theme-content__primary-color--alternate: ");
1026
1027
1028 #line 166 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1029 Write($"#{GetLinkColor(themeContentHex)}");
1030
1031
1032 #line default
1033 #line hidden
1034 WriteLiteral(";\r\n --theme-content__primary-color--text: ");
1035
1036
1037 #line 167 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1038 Write(GetThemeTextColor(themeContentHex));
1039
1040
1041 #line default
1042 #line hidden
1043 WriteLiteral(";\r\n --theme-content__color--gallery-arrow: ");
1044
1045
1046 #line 168 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1047 Write($"#{themeContentHex}");
1048
1049
1050 #line default
1051 #line hidden
1052 WriteLiteral(";\r\n --theme-content__primary-color--dimmed: ");
1053
1054
1055 #line 169 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1056 Write($"#{GetContrastColor(themeContentHex)}");
1057
1058
1059 #line default
1060 #line hidden
1061 WriteLiteral(";\r\n --theme-content__color--link-hover: ");
1062
1063
1064 #line 170 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1065 Write($"#{themeContentHex}");
1066
1067
1068 #line default
1069 #line hidden
1070 WriteLiteral(";\r\n\r\n /* Footer Area */\r\n --theme-footer__primary-color: ");
1071
1072
1073 #line 173 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1074 Write($"#{themeFooterHex}");
1075
1076
1077 #line default
1078 #line hidden
1079 WriteLiteral(";\r\n --theme-footer__primary-color--alternate: ");
1080
1081
1082 #line 174 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1083 Write($"#{GetLinkColor(themeFooterHex)}");
1084
1085
1086 #line default
1087 #line hidden
1088 WriteLiteral(";\r\n --theme-footer__primary-color--text: ");
1089
1090
1091 #line 175 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1092 Write(GetThemeTextColor(themeFooterHex));
1093
1094
1095 #line default
1096 #line hidden
1097 WriteLiteral(";\r\n --theme-footer__primary-color--dimmed: ");
1098
1099
1100 #line 176 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1101 Write($"#{GetContrastColor(themeFooterHex)}");
1102
1103
1104 #line default
1105 #line hidden
1106 WriteLiteral(";\r\n --theme-footer__color--link-hover: ");
1107
1108
1109 #line 177 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1110 Write($"#{GetLinkColor(themeFooterHex)}");
1111
1112
1113 #line default
1114 #line hidden
1115 WriteLiteral(";\r\n }\r\n </style>\r\n");
1116
1117
1118 #line 180 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1119 }
1120
1121
1122 #line default
1123 #line hidden
1124 WriteLiteral("\r\n");
1125
1126
1127 #line 182 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1128
1129
1130 #line default
1131 #line hidden
1132 WriteLiteral("<header");
1133
1134 WriteLiteral(" class=\"header-main header-main--subsite\"");
1135
1136 WriteLiteral(">\r\n <div");
1137
1138 WriteLiteral(" class=\"header-main__top\"");
1139
1140 WriteLiteral(">\r\n <div");
1141
1142 WriteLiteral(" class=\"search\"");
1143
1144 WriteLiteral(">\r\n <button");
1145
1146 WriteLiteral(" type=\"button\"");
1147
1148 WriteLiteral(" name=\"toggle-search-button\"");
1149
1150 WriteLiteral(" aria-label=\"toggle-search\"");
1151
1152 WriteLiteral(" class=\"search__toggle-btn\"");
1153
1154 WriteLiteral(" aria-expanded=\"false\"");
1155
1156 WriteLiteral(" aria-haspopup=\"true\"");
1157
1158 WriteLiteral(">\r\n <span");
1159
1160 WriteLiteral(" class=\"search__search-icon\"");
1161
1162 WriteLiteral(">\r\n <svg");
1163
1164 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
1165
1166 WriteLiteral(" viewBox=\"0 0 23 23.071\"");
1167
1168 WriteLiteral("><path");
1169
1170 WriteLiteral(" d=\"M22.292 22.295a.72.72 0 0 1-1.007 0l-5.7-5.612a9.306 9.306 0 0 1-5.826 2.034 " +
1171 "9.11 9.11 0 1 1 9.256-9.109 8.984 8.984 0 0 1-2.4 6.105l5.68 5.59a.693.693 0 0 1" +
1172 "-.003.992zM9.756 1.9a7.708 7.708 0 1 0 7.832 7.707A7.77 7.77 0 0 0 9.756 1.9z\"");
1173
1174 WriteLiteral("/></svg>\r\n </span>\r\n <span");
1175
1176 WriteLiteral(" class=\"search__close-icon\"");
1177
1178 WriteLiteral(">\r\n <svg");
1179
1180 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
1181
1182 WriteLiteral(" viewBox=\"0 0 19.801 19.798\"");
1183
1184 WriteLiteral("><path");
1185
1186 WriteLiteral(" d=\"M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485" +
1187 " 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z\"");
1188
1189 WriteLiteral("/></svg>\r\n </span>\r\n <span");
1190
1191 WriteLiteral(" class=\"search__text\"");
1192
1193 WriteLiteral(" data-text-default=\"");
1194
1195
1196 #line 193 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1197 Write(Translate("Search", "Søg"));
1198
1199
1200 #line default
1201 #line hidden
1202 WriteLiteral("\"");
1203
1204 WriteLiteral(" data-text-close=\"");
1205
1206
1207 #line 193 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1208 Write(Translate("Close", "Luk"));
1209
1210
1211 #line default
1212 #line hidden
1213 WriteLiteral("\"");
1214
1215 WriteLiteral(">\r\n");
1216
1217 WriteLiteral(" ");
1218
1219
1220 #line 194 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1221 Write(Translate("Search", "Søg"));
1222
1223
1224 #line default
1225 #line hidden
1226 WriteLiteral("\r\n </span>\r\n </button>\r\n <div");
1227
1228 WriteLiteral(" class=\"search__content cludo-search-page\"");
1229
1230 WriteLiteral(">\r\n <div");
1231
1232 WriteLiteral(" class=\"grid grid-container\"");
1233
1234 WriteLiteral(">\r\n <div");
1235
1236 WriteLiteral(" class=\"row row--right cludo-nav-items\"");
1237
1238 WriteLiteral(">\r\n <div");
1239
1240 WriteLiteral(" class=\"cludo-nav-items-search\"");
1241
1242 WriteLiteral(">\r\n <form");
1243
1244 WriteLiteral(" class=\"search__form\"");
1245
1246 WriteLiteral(" id=\"cludo-search-form\"");
1247
1248 WriteLiteral(" role=\"search\"");
1249
1250 WriteLiteral(" autocomplete=\"off\"");
1251
1252 WriteLiteral(">\r\n <input");
1253
1254 WriteLiteral(" class=\"search__input\"");
1255
1256 WriteLiteral(" autofill=\"false\"");
1257
1258 WriteLiteral(" type=\"search\"");
1259
1260 WriteLiteral(" name=\"search\"");
1261
1262 WriteLiteral(" title=\"Global søgning\"");
1263
1264 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 16172), Tuple.Create("\"", 16241)
1265
1266 #line 202 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1267 , Tuple.Create(Tuple.Create("", 16186), Tuple.Create<System.Object, System.Int32>(Translate("(Search) Label", "Hvad kan vi hjælpe med?")
1268
1269 #line default
1270 #line hidden
1271 , 16186), false)
1272 );
1273
1274 WriteLiteral(">\r\n <button");
1275
1276 WriteLiteral(" type=\"submit\"");
1277
1278 WriteAttribute("aria-label", Tuple.Create(" aria-label=\"", 16298), Tuple.Create("\"", 16338)
1279
1280 #line 203 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1281 , Tuple.Create(Tuple.Create("", 16311), Tuple.Create<System.Object, System.Int32>(Translate("Search", "Søg")
1282
1283 #line default
1284 #line hidden
1285 , 16311), false)
1286 );
1287
1288 WriteLiteral(">\r\n <span");
1289
1290 WriteLiteral(" class=\"cludo-search-icon\"");
1291
1292 WriteLiteral(">\r\n <svg");
1293
1294 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
1295
1296 WriteLiteral(" viewBox=\"0 0 23 23.071\"");
1297
1298 WriteLiteral("><path");
1299
1300 WriteLiteral(" d=\"M22.292 22.295a.72.72 0 0 1-1.007 0l-5.7-5.612a9.306 9.306 0 0 1-5.826 2.034 " +
1301 "9.11 9.11 0 1 1 9.256-9.109 8.984 8.984 0 0 1-2.4 6.105l5.68 5.59a.693.693 0 0 1" +
1302 "-.003.992zM9.756 1.9a7.708 7.708 0 1 0 7.832 7.707A7.77 7.77 0 0 0 9.756 1.9z\"");
1303
1304 WriteLiteral("/></svg>\r\n </span>\r\n " +
1305 " </button>\r\n </form>\r\n </" +
1306 "div>\r\n\r\n <div");
1307
1308 WriteLiteral(" class=\"cludo-nav-items-filters\"");
1309
1310 WriteLiteral(">\r\n <div");
1311
1312 WriteLiteral(" class=\"search-filters search-filters-mobile\"");
1313
1314 WriteLiteral(" aria-haspopup=\"true\"");
1315
1316 WriteLiteral("></div>\r\n </div>\r\n </div>\r\n " +
1317 " </div>\r\n </div>\r\n </div>\r\n <a");
1318
1319 WriteLiteral(" class=\"skip-to-content\"");
1320
1321 WriteLiteral(" href=https://oplev.esbjerg.dk/\"#maincontent\"");
1322
1323 WriteLiteral(">Gå til hovedindhold <span>(Tryk Enter)</span></a>\r\n </div>\r\n <div");
1324
1325 WriteLiteral(" class=\"header-main__bottom\"");
1326
1327 WriteLiteral(">\r\n <div");
1328
1329 WriteLiteral(" class=\"header-main__menu header-main__menu--to-top-on-open\"");
1330
1331 WriteLiteral(">\r\n <div");
1332
1333 WriteLiteral(" class=\"menu menu--closed\"");
1334
1335 WriteLiteral(">\r\n <button");
1336
1337 WriteLiteral(" type=\"button\"");
1338
1339 WriteLiteral(" name=\"toggle-menu-button\"");
1340
1341 WriteLiteral(" aria-label=\"toggle-menu\"");
1342
1343 WriteLiteral(" class=\"menu__burger-btn svg-fill--primary text--primary bg--primary\"");
1344
1345 WriteLiteral(" aria-haspopup=\"true\"");
1346
1347 WriteLiteral(" aria-controls=\"main-nav\"");
1348
1349 WriteLiteral(" data-svg-default=\"svg-fill--primary\"");
1350
1351 WriteLiteral(" data-svg-open=\"svg-fill--secondary\"");
1352
1353 WriteLiteral(" data-text-default=\"text--primary\"");
1354
1355 WriteLiteral(" data-text-open=\"text--secondary\"");
1356
1357 WriteLiteral(" data-background-default=\"bg--primary\"");
1358
1359 WriteLiteral(" data-background-open=\"bg--primary-alternate\"");
1360
1361 WriteLiteral(" aria-expanded=\"false\"");
1362
1363 WriteLiteral(">\r\n <span");
1364
1365 WriteLiteral(" class=\"menu__menu-icon\"");
1366
1367 WriteLiteral(">\r\n <svg");
1368
1369 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
1370
1371 WriteLiteral(" viewBox=\"0 0 26 16\"");
1372
1373 WriteLiteral("><path");
1374
1375 WriteLiteral(" d=\"M.001 16v-2h26v2zm0-7V7h26v2zm0-7V0h26v2z\"");
1376
1377 WriteLiteral("/></svg>\r\n </span>\r\n <span");
1378
1379 WriteLiteral(" class=\"menu__close-icon\"");
1380
1381 WriteLiteral(">\r\n <svg");
1382
1383 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
1384
1385 WriteLiteral(" viewBox=\"0 0 19.801 19.798\"");
1386
1387 WriteLiteral("><path");
1388
1389 WriteLiteral(" d=\"M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485" +
1390 " 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z\"");
1391
1392 WriteLiteral("/></svg>\r\n </span>\r\n <span");
1393
1394 WriteLiteral(" class=\"menu__text\"");
1395
1396 WriteLiteral(" data-text-open=\"");
1397
1398
1399 #line 230 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1400 Write(Translate("Menu", "Menu"));
1401
1402
1403 #line default
1404 #line hidden
1405 WriteLiteral("\"");
1406
1407 WriteLiteral(" data-text-close=\"");
1408
1409
1410 #line 230 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1411 Write(Translate("Close", "Luk"));
1412
1413
1414 #line default
1415 #line hidden
1416 WriteLiteral("\"");
1417
1418 WriteLiteral(">\r\n");
1419
1420 WriteLiteral(" ");
1421
1422
1423 #line 231 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1424 Write(Translate("Menu", "Menu"));
1425
1426
1427 #line default
1428 #line hidden
1429 WriteLiteral("\r\n </span>\r\n </button>\r\n\r\n");
1430
1431
1432 #line 235 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1433
1434
1435 #line default
1436 #line hidden
1437
1438 #line 237 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1439
1440 var navImage = Model.Area.Item.GetString("Image");
1441 var navImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkInternal");
1442 var navImageLinkText = Model.Area.Item.GetItem("ImageLink").GetString("LinkText");
1443 var navImageLinkTarget = Model.Area.Item.GetItem("ImageLink").GetList("LinkTarget").SelectedValue;
1444 var navImageLinkLinkType = Model.Area.Item.GetItem("ImageLink").GetList("LinkType").SelectedValue;
1445
1446 var navImage2 = Model.Area.Item.GetString("Image2");
1447 var navImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkInternal");
1448 var navImageLinkText2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkText");
1449 var navImageLinkTarget2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkTarget").SelectedValue;
1450 var navImageLinkLinkType2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkType").SelectedValue;
1451
1452 if (navImageLinkLinkType == "external")
1453 {
1454 navImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkExternal");
1455 }
1456 if (navImageLinkLinkType2 == "external")
1457 {
1458 navImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkExternal");
1459 }
1460
1461
1462
1463 #line default
1464 #line hidden
1465 WriteLiteral("\r\n\r\n<nav");
1466
1467 WriteLiteral(" id=\"main-nav\"");
1468
1469 WriteLiteral(" class=\"menu__content\"");
1470
1471 WriteLiteral(" aria-labelledby=\"primary-navigation\"");
1472
1473 WriteLiteral(">\r\n <h2");
1474
1475 WriteLiteral(" id=\"primary-navigation\"");
1476
1477 WriteLiteral(" class=\"visuallyhidden\"");
1478
1479 WriteLiteral(">Primær navigation</h2>\r\n\r\n");
1480
1481 WriteLiteral(" ");
1482
1483
1484 #line 264 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1485 Write(RenderNavigation(new { template = "SubsiteBurgerNavigation.xslt", expandmode = "all", startlevel = 2 }));
1486
1487
1488 #line default
1489 #line hidden
1490 WriteLiteral("\r\n");
1491
1492
1493 #line 265 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1494
1495
1496 #line default
1497 #line hidden
1498
1499 #line 265 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1500 if (!string.IsNullOrWhiteSpace(navImage))
1501 {
1502
1503
1504 #line default
1505 #line hidden
1506 WriteLiteral(" <div");
1507
1508 WriteLiteral(" class=\"menu__culture\"");
1509
1510 WriteLiteral(">\r\n");
1511
1512
1513 #line 268 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1514
1515
1516 #line default
1517 #line hidden
1518
1519 #line 268 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1520 if (navImage != "")
1521 {
1522
1523
1524 #line default
1525 #line hidden
1526 WriteLiteral(" <a");
1527
1528 WriteLiteral(" class=\"menu__culture-link\"");
1529
1530 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 20513), Tuple.Create("\"", 20533)
1531
1532 #line 270 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1533 , Tuple.Create(Tuple.Create("", 20520), Tuple.Create<System.Object, System.Int32>(navImageLink
1534
1535 #line default
1536 #line hidden
1537 , 20520), false)
1538 );
1539
1540 WriteAttribute("target", Tuple.Create(" target=\"", 20534), Tuple.Create("\"", 20562)
1541
1542 #line 270 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1543 , Tuple.Create(Tuple.Create("", 20543), Tuple.Create<System.Object, System.Int32>(navImageLinkTarget
1544
1545 #line default
1546 #line hidden
1547 , 20543), false)
1548 );
1549
1550 WriteLiteral(">\r\n <img");
1551
1552 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 20588), Tuple.Create("\"", 20603)
1553
1554 #line 271 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1555 , Tuple.Create(Tuple.Create("", 20594), Tuple.Create<System.Object, System.Int32>(navImage
1556
1557 #line default
1558 #line hidden
1559 , 20594), false)
1560 );
1561
1562 WriteAttribute("alt", Tuple.Create(" alt=\"", 20604), Tuple.Create("\"", 20627)
1563
1564 #line 271 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1565 , Tuple.Create(Tuple.Create("", 20610), Tuple.Create<System.Object, System.Int32>(navImageLinkText
1566
1567 #line default
1568 #line hidden
1569 , 20610), false)
1570 );
1571
1572 WriteLiteral(">\r\n </a>\r\n");
1573
1574
1575 #line 273 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1576 }
1577
1578
1579 #line default
1580 #line hidden
1581 WriteLiteral(" ");
1582
1583
1584 #line 274 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1585 if (navImage2 != "")
1586 {
1587
1588
1589 #line default
1590 #line hidden
1591 WriteLiteral(" <a");
1592
1593 WriteLiteral(" class=\"menu__culture-link\"");
1594
1595 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 20752), Tuple.Create("\"", 20773)
1596
1597 #line 276 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1598 , Tuple.Create(Tuple.Create("", 20759), Tuple.Create<System.Object, System.Int32>(navImageLink2
1599
1600 #line default
1601 #line hidden
1602 , 20759), false)
1603 );
1604
1605 WriteAttribute("target", Tuple.Create(" target=\"", 20774), Tuple.Create("\"", 20803)
1606
1607 #line 276 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1608 , Tuple.Create(Tuple.Create("", 20783), Tuple.Create<System.Object, System.Int32>(navImageLinkTarget2
1609
1610 #line default
1611 #line hidden
1612 , 20783), false)
1613 );
1614
1615 WriteLiteral(">\r\n <img");
1616
1617 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 20829), Tuple.Create("\"", 20845)
1618
1619 #line 277 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1620 , Tuple.Create(Tuple.Create("", 20835), Tuple.Create<System.Object, System.Int32>(navImage2
1621
1622 #line default
1623 #line hidden
1624 , 20835), false)
1625 );
1626
1627 WriteAttribute("alt", Tuple.Create(" alt=\"", 20846), Tuple.Create("\"", 20870)
1628
1629 #line 277 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1630 , Tuple.Create(Tuple.Create("", 20852), Tuple.Create<System.Object, System.Int32>(navImageLinkText2
1631
1632 #line default
1633 #line hidden
1634 , 20852), false)
1635 );
1636
1637 WriteLiteral(">\r\n </a>\r\n");
1638
1639
1640 #line 279 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1641 }
1642
1643
1644 #line default
1645 #line hidden
1646 WriteLiteral(" </div>\r\n");
1647
1648
1649 #line 281 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1650 }
1651
1652
1653 #line default
1654 #line hidden
1655 WriteLiteral("</nav>\r\n </div>\r\n </div>\r\n <div");
1656
1657 WriteLiteral(" class=\"header-main__bar\"");
1658
1659 WriteLiteral(">\r\n <div");
1660
1661 WriteLiteral(" class=\"grid grid-container\"");
1662
1663 WriteLiteral(">\r\n <div");
1664
1665 WriteLiteral(" class=\"header-main__logo logo\"");
1666
1667 WriteLiteral(">\r\n <a");
1668
1669 WriteLiteral(" href=https://oplev.esbjerg.dk/\"/\"");
1670
1671 WriteLiteral(" title=\"Gå til forsiden\"");
1672
1673 WriteLiteral(" class=\"logo__link\"");
1674
1675 WriteLiteral(">\r\n <img");
1676
1677 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 21217), Tuple.Create("\"", 21261)
1678
1679 #line 289 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1680 , Tuple.Create(Tuple.Create("", 21223), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("SiteLogo")
1681
1682 #line default
1683 #line hidden
1684 , 21223), false)
1685 );
1686
1687 WriteLiteral(" alt=\"Logo alt tekst\"");
1688
1689 WriteLiteral(">\r\n </a>\r\n </div>\r\n </div>\r\n " +
1690 "</div>\r\n </div>\r\n</header>\r\n\r\n <main");
1691
1692 WriteLiteral(" id=\"maincontent\"");
1693
1694 WriteLiteral(" tabindex=\"-1\"");
1695
1696 WriteLiteral(">\r\n");
1697
1698
1699 #line 298 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1700
1701
1702 #line default
1703 #line hidden
1704
1705 #line 304 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1706
1707 string snippetPicturePath = "http://" + System.Web.HttpContext.Current.Request.Url.Host + "/admin/public/GetImage.ashx?Image=" + Model.Item.GetString("Heropicture") + "&width=1200&altFmImage_path=" + Model.Area.Item.GetString("DefaultPicture");
1708 PageService pageService = new PageService();
1709 Dynamicweb.Content.Page p = pageService.GetPage(Model.Item.PageID);
1710 bool isVideo = Model.Item.GetBoolean("IsVideo");
1711
1712
1713
1714 #line default
1715 #line hidden
1716 WriteLiteral("\r\n");
1717
1718
1719 #line 311 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1720 Write(SnippetStart("MetaTags"));
1721
1722
1723 #line default
1724 #line hidden
1725 WriteLiteral("\r\n<meta");
1726
1727 WriteLiteral(" property=\"og:title\"");
1728
1729 WriteAttribute("content", Tuple.Create(" content=\"", 22180), Tuple.Create("\"", 22202)
1730
1731 #line 312 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1732 , Tuple.Create(Tuple.Create("", 22190), Tuple.Create<System.Object, System.Int32>(p.MetaTitle
1733
1734 #line default
1735 #line hidden
1736 , 22190), false)
1737 );
1738
1739 WriteLiteral(" />\r\n<meta");
1740
1741 WriteLiteral(" property=\"og:description\"");
1742
1743 WriteAttribute("content", Tuple.Create(" content=\"", 22239), Tuple.Create("\"", 22263)
1744
1745 #line 313 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1746 , Tuple.Create(Tuple.Create("", 22249), Tuple.Create<System.Object, System.Int32>(p.Description
1747
1748 #line default
1749 #line hidden
1750 , 22249), false)
1751 );
1752
1753 WriteLiteral(" />\r\n<meta");
1754
1755 WriteLiteral(" property=\"og:url\"");
1756
1757 WriteAttribute("content", Tuple.Create(" content=\"", 22292), Tuple.Create("\"", 22318)
1758
1759 #line 314 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1760 , Tuple.Create(Tuple.Create("", 22302), Tuple.Create<System.Object, System.Int32>(p.MetaCanonical
1761
1762 #line default
1763 #line hidden
1764 , 22302), false)
1765 );
1766
1767 WriteLiteral("/>\r\n<meta");
1768
1769 WriteLiteral(" property=\"og:image\"");
1770
1771 WriteAttribute("content", Tuple.Create(" content=\"", 22348), Tuple.Create("\"", 22377)
1772
1773 #line 315 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1774 , Tuple.Create(Tuple.Create("", 22358), Tuple.Create<System.Object, System.Int32>(snippetPicturePath
1775
1776 #line default
1777 #line hidden
1778 , 22358), false)
1779 );
1780
1781 WriteLiteral(" />\r\n");
1782
1783
1784 #line 316 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1785 Write(SnippetEnd("MetaTags"));
1786
1787
1788 #line default
1789 #line hidden
1790 WriteLiteral("\r\n\r\n\r\n");
1791
1792
1793 #line 319 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1794
1795
1796 ParagraphService paragrapService = new ParagraphService();
1797
1798 var paragraphs = paragrapService.GetParagraphsByPageId(Model.ID);
1799
1800 if (!paragraphs.Where(x => x.ItemType == "ArticleReference" || x.ItemType == "Article").Any())
1801 {
1802 string hero = Model.Item.GetString("Heropicture");
1803 string subhero = Model.Item.GetString("Subhero");
1804
1805 string heroPicture = "/admin/public/GetImage.ashx?Image=" + hero;
1806 string subheroPicture = "/admin/public/GetImage.ashx?Image=" + subhero;
1807 string ctaLink = Model.Item.GetString("Link");
1808 if(string.IsNullOrEmpty(ctaLink))
1809 {
1810 ctaLink = Model.Item.GetString("InternLink");
1811 }
1812 string buttonIcon = Model.Item.GetString("ButtonIcon");
1813 string target = Model.Item.GetField("Target").GetString();
1814 if(string.IsNullOrWhiteSpace(target))
1815 {
1816 target = "_self";
1817 }
1818
1819
1820 #line default
1821 #line hidden
1822 WriteLiteral(" <!--Social-->\r\n");
1823
1824
1825 #line 344 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1826 bool includeSocials = Model.Item.GetBoolean("IncludeSocials");
1827 string facebook = Model.Area.Item.GetString("Facebook");
1828 string twitter = Model.Area.Item.GetString("Twitter");
1829 string linkedIn = Model.Area.Item.GetString("LinkedIn");
1830 string instagram = Model.Area.Item.GetString("Instagram");
1831
1832
1833
1834
1835 #line default
1836 #line hidden
1837 WriteLiteral(" <!--Classes-->\r\n");
1838
1839
1840 #line 352 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1841 string heroClass = string.Empty;
1842 string subheroClass = string.Empty;
1843 string ctaClass = string.Empty;
1844 string ctaExternal = string.Empty;
1845 string socialClass = string.Empty;
1846
1847 if (!string.IsNullOrEmpty(ctaLink))
1848 { ctaClass = "top-content--cta"; }
1849
1850 if (!string.IsNullOrEmpty(subhero))
1851 { subheroClass = "top-content--sub-hero"; }
1852
1853 if (!string.IsNullOrEmpty(hero))
1854 { heroClass = "top-content--hero"; }
1855
1856 if (includeSocials)
1857 { socialClass = "top-content--social"; }
1858
1859 if (Model.Item.GetString("ButtonIcon") == "External")
1860 { ctaExternal = "cta--external"; }
1861
1862
1863
1864 #line default
1865 #line hidden
1866 WriteLiteral(" <section");
1867
1868 WriteAttribute("class", Tuple.Create(" class=\"", 24446), Tuple.Create("\"", 24513)
1869 , Tuple.Create(Tuple.Create("", 24454), Tuple.Create("top-content", 24454), true)
1870
1871 #line 373 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1872 , Tuple.Create(Tuple.Create(" ", 24465), Tuple.Create<System.Object, System.Int32>(heroClass
1873
1874 #line default
1875 #line hidden
1876 , 24466), false)
1877
1878 #line 373 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1879 , Tuple.Create(Tuple.Create(" ", 24476), Tuple.Create<System.Object, System.Int32>(subheroClass
1880
1881 #line default
1882 #line hidden
1883 , 24477), false)
1884
1885 #line 373 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1886 , Tuple.Create(Tuple.Create(" ", 24490), Tuple.Create<System.Object, System.Int32>(ctaClass
1887
1888 #line default
1889 #line hidden
1890 , 24491), false)
1891
1892 #line 373 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1893 , Tuple.Create(Tuple.Create(" ", 24500), Tuple.Create<System.Object, System.Int32>(socialClass
1894
1895 #line default
1896 #line hidden
1897 , 24501), false)
1898 );
1899
1900 WriteLiteral(">\r\n");
1901
1902
1903 #line 374 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1904
1905
1906 #line default
1907 #line hidden
1908
1909 #line 374 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1910 if (!string.IsNullOrEmpty(hero))
1911 {
1912
1913
1914 #line default
1915 #line hidden
1916 WriteLiteral(" <div");
1917
1918 WriteLiteral(" class=\"hero\"");
1919
1920 WriteLiteral(" data-module=\"hero\"");
1921
1922 WriteLiteral(">\r\n \r\n");
1923
1924
1925 #line 378 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1926
1927
1928 #line default
1929 #line hidden
1930
1931 #line 378 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1932 if (isVideo)
1933 {
1934 string videoValue = Model.Item.GetString("Video");
1935
1936 if (!string.IsNullOrEmpty(videoValue))
1937 {
1938 string video = videoValue.Substring(0, videoValue.IndexOf('.'));
1939
1940
1941 #line default
1942 #line hidden
1943 WriteLiteral(" <div");
1944
1945 WriteLiteral(" class=\"hero__video-container\"");
1946
1947 WriteLiteral(">\r\n <div");
1948
1949 WriteLiteral(" class=\"hero__video-wrapper\"");
1950
1951 WriteAttribute("style", Tuple.Create(" style=\"", 25118), Tuple.Create("\"", 25224)
1952 , Tuple.Create(Tuple.Create("", 25126), Tuple.Create("background-image:", 25126), true)
1953 , Tuple.Create(Tuple.Create(" ", 25143), Tuple.Create("url(\'/admin/public/GetImage.ashx?Image=", 25144), true)
1954
1955 #line 386 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1956 , Tuple.Create(Tuple.Create("", 25183), Tuple.Create<System.Object, System.Int32>(heroPicture
1957
1958 #line default
1959 #line hidden
1960 , 25183), false)
1961 , Tuple.Create(Tuple.Create("", 25195), Tuple.Create("&width=100&height=50&crop=0\')", 25195), true)
1962 );
1963
1964 WriteLiteral(">\r\n <video");
1965
1966 WriteLiteral(" tabindex=\"0\"");
1967
1968 WriteLiteral(" class=\"hero__video\"");
1969
1970 WriteLiteral(" preload=\"auto\"");
1971
1972 WriteLiteral(" autoplay muted loop");
1973
1974 WriteLiteral(" data-src=\"");
1975
1976
1977 #line 387 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
1978 Write(video);
1979
1980
1981 #line default
1982 #line hidden
1983 WriteLiteral("\"");
1984
1985 WriteLiteral(">\r\n <p>This browser does not support the" +
1986 " video element</p>\r\n </video>\r\n " +
1987 " </div>\r\n </div>\r\n");
1988
1989 WriteLiteral(" <button");
1990
1991 WriteLiteral(" type=\"button\"");
1992
1993 WriteLiteral(" class=\"hero__pause-btn\"");
1994
1995 WriteLiteral(">\r\n <span");
1996
1997 WriteLiteral(" class=\"visuallyhidden\"");
1998
1999 WriteLiteral(">Tryk her for at pause eller fortsætte video</span>\r\n " +
2000 " <span");
2001
2002 WriteLiteral(" class=\"hero__play-icon\"");
2003
2004 WriteLiteral("><svg");
2005
2006 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2007
2008 WriteLiteral(" width=\"26.437\"");
2009
2010 WriteLiteral(" height=\"52.956\"");
2011
2012 WriteLiteral(" viewBox=\"0 0 26.437 52.956\"");
2013
2014 WriteLiteral("><path");
2015
2016 WriteLiteral(" d=\"M.022 51.356H.014V1.785L0 1.771V.001l18.44 18.435 8 8-7.779 7.779L.025 52.955" +
2017 "zm1.292-1.688L17.77 33.327l6.894-6.894-6.7-6.7L1.316 3.086z\"");
2018
2019 WriteLiteral("/></svg></span>\r\n </button>\r\n");
2020
2021
2022 #line 396 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2023 }
2024 }
2025
2026
2027 #line default
2028 #line hidden
2029 WriteLiteral("\r\n");
2030
2031
2032 #line 399 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2033
2034
2035 #line default
2036 #line hidden
2037
2038 #line 400 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2039
2040 string heroValue = Model.Item.GetString("Heropicture");
2041 string heroPic = "/admin/public/GetImage.ashx?Image=" + heroValue;
2042
2043 if (!string.IsNullOrEmpty(heroValue))
2044 {
2045
2046
2047 #line default
2048 #line hidden
2049 WriteLiteral(" <div");
2050
2051 WriteLiteral(" class=\"hero__background-image-container\"");
2052
2053 WriteLiteral(">\r\n <div");
2054
2055 WriteLiteral(" class=\"hero__background-image-wrapper\"");
2056
2057 WriteLiteral("\r\n data-src-xxs=\"");
2058
2059
2060 #line 408 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2061 Write(heroPic);
2062
2063
2064 #line default
2065 #line hidden
2066 WriteLiteral("&width=375&height=250&crop=0\"");
2067
2068 WriteLiteral("\r\n data-src-xs=\"");
2069
2070
2071 #line 409 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2072 Write(heroPic);
2073
2074
2075 #line default
2076 #line hidden
2077 WriteLiteral("&width=768&height=250&crop=0\"");
2078
2079 WriteLiteral("\r\n data-src-sm=\"");
2080
2081
2082 #line 410 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2083 Write(heroPic);
2084
2085
2086 #line default
2087 #line hidden
2088 WriteLiteral("&width=992&height=400&crop=0\"");
2089
2090 WriteLiteral("\r\n data-src-md=\"");
2091
2092
2093 #line 411 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2094 Write(heroPic);
2095
2096
2097 #line default
2098 #line hidden
2099 WriteLiteral("&width=1220&height=400&crop=0\"");
2100
2101 WriteLiteral("\r\n data-src-lg=\'");
2102
2103
2104 #line 412 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2105 Write(heroPic);
2106
2107
2108 #line default
2109 #line hidden
2110 WriteLiteral("&width=1540&height=500&crop=0\'");
2111
2112 WriteLiteral("\r\n data-src-xl=\"");
2113
2114
2115 #line 413 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2116 Write(heroPic);
2117
2118
2119 #line default
2120 #line hidden
2121 WriteLiteral("&width=1920&height=600&crop=0\"");
2122
2123 WriteLiteral(">\r\n <div");
2124
2125 WriteLiteral(" class=\"hero__background-image\"");
2126
2127 WriteAttribute("style", Tuple.Create(" style=\"", 27080), Tuple.Create("\"", 27147)
2128 , Tuple.Create(Tuple.Create("", 27088), Tuple.Create("background-image:", 27088), true)
2129 , Tuple.Create(Tuple.Create(" ", 27105), Tuple.Create("url(\'", 27106), true)
2130
2131 #line 414 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2132 , Tuple.Create(Tuple.Create("", 27111), Tuple.Create<System.Object, System.Int32>(heroPic
2133
2134 #line default
2135 #line hidden
2136 , 27111), false)
2137 , Tuple.Create(Tuple.Create("", 27119), Tuple.Create("&width=96&height=30&crop=0\')", 27119), true)
2138 );
2139
2140 WriteLiteral("></div>\r\n </div>\r\n </div>\r\n");
2141
2142
2143 #line 417 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2144 if (Model.Area.Item.GetBoolean("Subsite"))
2145 {
2146
2147
2148 #line default
2149 #line hidden
2150 WriteLiteral(" <div");
2151
2152 WriteLiteral(" class=\"hero__line bg--primary\"");
2153
2154 WriteLiteral("></div>\r\n");
2155
2156
2157 #line 420 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2158 }
2159 }
2160
2161
2162 #line default
2163 #line hidden
2164 WriteLiteral("\r\n </div>\r\n");
2165
2166
2167 #line 424 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2168 }
2169
2170
2171 #line default
2172 #line hidden
2173 WriteLiteral(" <div");
2174
2175 WriteLiteral(" class=\"grid grid-container\"");
2176
2177 WriteLiteral(">\r\n <div");
2178
2179 WriteLiteral(" class=\"top-content__box\"");
2180
2181 WriteLiteral(">\r\n <div");
2182
2183 WriteLiteral(" class=\"top-content__box-top\"");
2184
2185 WriteLiteral(">\r\n <div");
2186
2187 WriteLiteral(" class=\"grid\"");
2188
2189 WriteLiteral(">\r\n <div");
2190
2191 WriteLiteral(" class=\"row\"");
2192
2193 WriteLiteral(">\r\n <div");
2194
2195 WriteLiteral(" class=\"col col--no-pad col--sm-8 col--md-7 col--offset-md-1\"");
2196
2197 WriteLiteral(">\r\n <div");
2198
2199 WriteLiteral(" class=\"top-content__breadcrumb\"");
2200
2201 WriteLiteral(">\r\n <!--breadcrumb-->\r\n");
2202
2203 WriteLiteral(" ");
2204
2205
2206 #line 433 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2207 Write(RenderNavigation(new
2208 {
2209 template = "Breadcrumb.xslt",
2210 expandmode = "all",
2211 id = "breadcrumb",
2212 sitemapmode = "true",
2213 includemode = "all"
2214 }));
2215
2216
2217 #line default
2218 #line hidden
2219 WriteLiteral("\r\n </div>\r\n </d" +
2220 "iv>\r\n");
2221
2222
2223 #line 443 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2224
2225
2226 #line default
2227 #line hidden
2228
2229 #line 443 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2230 if (!string.IsNullOrEmpty(ctaLink))
2231 {
2232
2233
2234 #line default
2235 #line hidden
2236 WriteLiteral(" <div");
2237
2238 WriteLiteral(" class=\"col col--no-pad col--sm-4 soft-load\"");
2239
2240 WriteLiteral(">\r\n <div");
2241
2242 WriteLiteral(" class=\"top-content__cta\"");
2243
2244 WriteLiteral(" data-module=\"stickyCta\"");
2245
2246 WriteLiteral(">\r\n <a");
2247
2248 WriteAttribute("class", Tuple.Create(" class=\"", 28768), Tuple.Create("\"", 28801)
2249 , Tuple.Create(Tuple.Create("", 28776), Tuple.Create("cta", 28776), true)
2250
2251 #line 447 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2252 , Tuple.Create(Tuple.Create(" ", 28779), Tuple.Create<System.Object, System.Int32>(ctaExternal
2253
2254 #line default
2255 #line hidden
2256 , 28780), false)
2257 , Tuple.Create(Tuple.Create(" ", 28792), Tuple.Create("bg--link", 28793), true)
2258 );
2259
2260 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 28802), Tuple.Create("\"", 28817)
2261
2262 #line 447 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2263 , Tuple.Create(Tuple.Create("", 28809), Tuple.Create<System.Object, System.Int32>(ctaLink
2264
2265 #line default
2266 #line hidden
2267 , 28809), false)
2268 );
2269
2270 WriteAttribute("title", Tuple.Create(" title=\"", 28818), Tuple.Create("\"", 28859)
2271
2272 #line 447 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2273 , Tuple.Create(Tuple.Create("", 28826), Tuple.Create<System.Object, System.Int32>(Model.Item.GetValue("Linklabel")
2274
2275 #line default
2276 #line hidden
2277 , 28826), false)
2278 );
2279
2280 WriteAttribute("target", Tuple.Create(" target=\"", 28860), Tuple.Create("\"", 28876)
2281
2282 #line 447 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2283 , Tuple.Create(Tuple.Create("", 28869), Tuple.Create<System.Object, System.Int32>(target
2284
2285 #line default
2286 #line hidden
2287 , 28869), false)
2288 );
2289
2290 WriteLiteral(">\r\n \r\n");
2291
2292 WriteLiteral("<span");
2293
2294 WriteLiteral(" class=\"arrow\"");
2295
2296 WriteLiteral(">\r\n <svg");
2297
2298 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2299
2300 WriteLiteral(" viewBox=\"0 0 40.62 16\"");
2301
2302 WriteLiteral("><path");
2303
2304 WriteLiteral(" d=\"M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z\"");
2305
2306 WriteLiteral("/><path");
2307
2308 WriteLiteral(" class=\"spine\"");
2309
2310 WriteLiteral(" d=\"M0 7.5h40v1H0z\"");
2311
2312 WriteLiteral("/></svg>\r\n</span>\r\n\r\n <span>");
2313
2314
2315 #line 454 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2316 Write(Model.Item.GetValue("Linklabel"));
2317
2318
2319 #line default
2320 #line hidden
2321 WriteLiteral("</span>\r\n \r\n");
2322
2323 WriteLiteral("<span");
2324
2325 WriteLiteral(" class=\"external-link\"");
2326
2327 WriteLiteral(">\r\n <svg");
2328
2329 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2330
2331 WriteLiteral(" viewBox=\"0 0 24 24\"");
2332
2333 WriteLiteral("><path");
2334
2335 WriteLiteral(@" d=""M20.234 24H3.372A3.372 3.372 0 0 1 0 20.628V3.766A3.778 3.778 0 0 1 3.429 0h9.429v1.714H3.429a1.734 1.734 0 0 0-1.714 1.714l-.028 17.2a1.686 1.686 0 0 0 1.686 1.686l17.2-.028a1.735 1.735 0 0 0 1.714-1.714v-9.428H24v9.428A3.778 3.778 0 0 1 20.234 24zm2.909-16.286a.854.854 0 0 1-.857-.857l-.025-4.1L9.216 15.2a.906.906 0 0 1-1.239 0 .808.808 0 0 1 0-1.181L20.909 1.685l-3.767.027a.857.857 0 1 1 0-1.714h5.981a.852.852 0 0 1 .876.835v6.022a.856.856 0 0 1-.856.859z""");
2336
2337 WriteLiteral(" fill=\"#fff\"");
2338
2339 WriteLiteral("/></svg>\r\n</span>\r\n\r\n </a>\r\n " +
2340 " </div>\r\n </div>" +
2341 "\r\n");
2342
2343
2344 #line 464 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2345 }
2346
2347
2348 #line default
2349 #line hidden
2350 WriteLiteral(" </div>\r\n </div>\r\n " +
2351 " </div>\r\n <div");
2352
2353 WriteLiteral(" class=\"grid\"");
2354
2355 WriteLiteral(">\r\n <div");
2356
2357 WriteLiteral(" class=\"row\"");
2358
2359 WriteLiteral(">\r\n <div");
2360
2361 WriteLiteral(" class=\"col col--no-pad col--md-9 col--offset-md-1\"");
2362
2363 WriteLiteral(">\r\n <header");
2364
2365 WriteLiteral(" class=\"top-content__header bg--pseudo soft-load\"");
2366
2367 WriteLiteral(">\r\n <h1");
2368
2369 WriteLiteral(" class=\"top-content__headline\"");
2370
2371 WriteLiteral(">");
2372
2373
2374 #line 472 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2375 Write(Model.Item.GetValue("H1"));
2376
2377
2378 #line default
2379 #line hidden
2380 WriteLiteral("</h1>\r\n <div");
2381
2382 WriteLiteral(" class=\"top-content__rich-text lix\"");
2383
2384 WriteLiteral(">\r\n");
2385
2386 WriteLiteral(" ");
2387
2388
2389 #line 474 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2390 Write(Model.Item.GetValue("Manchet"));
2391
2392
2393 #line default
2394 #line hidden
2395 WriteLiteral("\r\n </div>\r\n </h" +
2396 "eader>\r\n </div>\r\n </div>\r\n " +
2397 " </div>\r\n </div>\r\n </div>\r\n\r\n");
2398
2399
2400 #line 483 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2401
2402
2403 #line default
2404 #line hidden
2405
2406 #line 485 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2407
2408 var itemViewModel = Model.Item.GetField("Contact").GetItem();
2409
2410 if (itemViewModel != null)
2411 {
2412 bool english = itemViewModel.GetBoolean("English");
2413 string picture = itemViewModel.GetString("ContactBoxImage");
2414 string picturePath = "/admin/public/GetImage.ashx?Image=" + picture + "&width=375&height=150&crop=0";
2415
2416
2417
2418 #line default
2419 #line hidden
2420 WriteLiteral(" <aside");
2421
2422 WriteLiteral(" class=\"contact hard-load\"");
2423
2424 WriteLiteral(">\r\n <div");
2425
2426 WriteLiteral(" class=\"contact__header\"");
2427
2428 WriteLiteral(">\r\n <div");
2429
2430 WriteLiteral(" class=\"contact__open\"");
2431
2432 WriteLiteral(">\r\n <div");
2433
2434 WriteLiteral(" class=\"contact__image-container\"");
2435
2436 WriteLiteral(">\r\n <img");
2437
2438 WriteLiteral(" class=\"contact__image\"");
2439
2440 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 31781), Tuple.Create("\"", 31799)
2441
2442 #line 498 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2443 , Tuple.Create(Tuple.Create("", 31787), Tuple.Create<System.Object, System.Int32>(picturePath
2444
2445 #line default
2446 #line hidden
2447 , 31787), false)
2448 );
2449
2450 WriteAttribute("alt", Tuple.Create(" alt=\"", 31800), Tuple.Create("\"", 31849)
2451
2452 #line 498 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2453 , Tuple.Create(Tuple.Create("", 31806), Tuple.Create<System.Object, System.Int32>(itemViewModel.GetString("ContactBoxTitle")
2454
2455 #line default
2456 #line hidden
2457 , 31806), false)
2458 );
2459
2460 WriteLiteral(">\r\n </div>\r\n <div");
2461
2462 WriteLiteral(" class=\"contact__header-text\"");
2463
2464 WriteLiteral(">\r\n ");
2465
2466 WriteLiteral("\r\n <p><strong>");
2467
2468
2469 #line 502 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2470 Write(english ? "Contact us" : "Kontakt os");
2471
2472
2473 #line default
2474 #line hidden
2475 WriteLiteral("</strong></p>\r\n </div>\r\n <button");
2476
2477 WriteLiteral(" type=\"button\"");
2478
2479 WriteLiteral(" class=\"contact__open-btn\"");
2480
2481 WriteLiteral(" aria-label=\"Åben kontakt boks\"");
2482
2483 WriteLiteral(" aria-expanded=\"false\"");
2484
2485 WriteLiteral("><span");
2486
2487 WriteLiteral(" class=\"contact__open-btn-extra\"");
2488
2489 WriteLiteral(">");
2490
2491
2492 #line 504 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2493 Write(Translate("ContactUs", "Kontakt os"));
2494
2495
2496 #line default
2497 #line hidden
2498 WriteLiteral("</span></button>\r\n </div>\r\n <button");
2499
2500 WriteLiteral(" type=\"button\"");
2501
2502 WriteLiteral(" class=\"contact__close-btn bg--secondary\"");
2503
2504 WriteLiteral(" aria-hidden=\"true\"");
2505
2506 WriteLiteral(" tabindex=\"-1\"");
2507
2508 WriteLiteral(">\r\n <span");
2509
2510 WriteLiteral(" class=\"contact__close-svg\"");
2511
2512 WriteLiteral(">\r\n <svg");
2513
2514 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2515
2516 WriteLiteral(" viewBox=\"0 0 19.801 19.798\"");
2517
2518 WriteLiteral("><path");
2519
2520 WriteLiteral(" d=\"M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485" +
2521 " 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z\"");
2522
2523 WriteLiteral("/></svg>\r\n </span>\r\n <span");
2524
2525 WriteLiteral(" class=\"contact__close-text\"");
2526
2527 WriteLiteral(">\r\n ");
2528
2529 WriteLiteral("\r\n");
2530
2531 WriteLiteral("\t\t\t\t\t\t");
2532
2533
2534 #line 512 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2535 Write(Translate("Close","Luk"));
2536
2537
2538 #line default
2539 #line hidden
2540 WriteLiteral("\r\n </span>\r\n </button>\r\n </div>\r\n " +
2541 " <div");
2542
2543 WriteLiteral(" class=\"contact__content bg--secondary\"");
2544
2545 WriteLiteral(" aria-hidden=\"true\"");
2546
2547 WriteLiteral(">\r\n <div");
2548
2549 WriteLiteral(" class=\"contact__mobile-image-container\"");
2550
2551 WriteLiteral(">\r\n <img");
2552
2553 WriteLiteral(" class=\"contact__mobile-image\"");
2554
2555 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 33233), Tuple.Create("\"", 33251)
2556
2557 #line 518 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2558 , Tuple.Create(Tuple.Create("", 33239), Tuple.Create<System.Object, System.Int32>(picturePath
2559
2560 #line default
2561 #line hidden
2562 , 33239), false)
2563 );
2564
2565 WriteAttribute("alt", Tuple.Create(" alt=\"", 33252), Tuple.Create("\"", 33301)
2566
2567 #line 518 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2568 , Tuple.Create(Tuple.Create("", 33258), Tuple.Create<System.Object, System.Int32>(itemViewModel.GetString("ContactBoxTitle")
2569
2570 #line default
2571 #line hidden
2572 , 33258), false)
2573 );
2574
2575 WriteLiteral(">\r\n </div>\r\n <h2>");
2576
2577
2578 #line 520 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2579 Write(itemViewModel.GetString("ContactBoxTitle"));
2580
2581
2582 #line default
2583 #line hidden
2584 WriteLiteral("</h2>\r\n <div");
2585
2586 WriteLiteral(" class=\"contact__text\"");
2587
2588 WriteLiteral(">\r\n");
2589
2590 WriteLiteral(" ");
2591
2592
2593 #line 522 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2594 Write(itemViewModel.GetString("ContentBoxDescription"));
2595
2596
2597 #line default
2598 #line hidden
2599 WriteLiteral("\r\n </div>\r\n <ul");
2600
2601 WriteLiteral(" class=\"contact__links\"");
2602
2603 WriteLiteral(">\r\n");
2604
2605
2606 #line 525 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2607
2608
2609 #line default
2610 #line hidden
2611
2612 #line 525 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2613 if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxPhone")))
2614 {
2615
2616
2617 #line default
2618 #line hidden
2619 WriteLiteral(" <li>\r\n <a");
2620
2621 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 33760), Tuple.Create("\"", 33814)
2622 , Tuple.Create(Tuple.Create("", 33767), Tuple.Create("tel:", 33767), true)
2623
2624 #line 528 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2625 , Tuple.Create(Tuple.Create("", 33771), Tuple.Create<System.Object, System.Int32>(itemViewModel.GetString("ContactBoxPhone")
2626
2627 #line default
2628 #line hidden
2629 , 33771), false)
2630 );
2631
2632 WriteAttribute("title", Tuple.Create(" title=\"", 33815), Tuple.Create("\"", 33861)
2633
2634 #line 528 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2635 , Tuple.Create(Tuple.Create("", 33823), Tuple.Create<System.Object, System.Int32>(Translate("PhoneToUs", "Ring til os")
2636
2637 #line default
2638 #line hidden
2639 , 33823), false)
2640 );
2641
2642 WriteLiteral(" class=\"contact__link svg-fill--bg-secondary\"");
2643
2644 WriteLiteral(">\r\n <span");
2645
2646 WriteLiteral(" class=\"contact__link-svg bg--parent-hover\"");
2647
2648 WriteLiteral(">\r\n <svg");
2649
2650 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2651
2652 WriteLiteral(" viewBox=\"0 0 26.054 26\"");
2653
2654 WriteLiteral("><path");
2655
2656 WriteLiteral(@" d=""M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z""");
2657
2658 WriteLiteral("/></svg>\r\n </span>\r\n");
2659
2660 WriteLiteral(" ");
2661
2662
2663 #line 532 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2664 Write(itemViewModel.GetString("ContactBoxPhone"));
2665
2666
2667 #line default
2668 #line hidden
2669 WriteLiteral("\r\n </a>\r\n </li>\r\n");
2670
2671
2672 #line 535 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2673 }
2674
2675
2676 #line default
2677 #line hidden
2678 WriteLiteral(" ");
2679
2680
2681 #line 536 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2682 if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxEmail")))
2683 {
2684 string hrefValue = itemViewModel.GetString("ContactBoxEmail").Contains("@") ? "mailto:" + itemViewModel.GetString("ContactBoxEmail") : itemViewModel.GetString("ContactBoxEmail");
2685
2686
2687 #line default
2688 #line hidden
2689 WriteLiteral(" <li>\r\n <a");
2690
2691 WriteLiteral(" target=\"_blank\"");
2692
2693 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 35600), Tuple.Create("\"", 35617)
2694
2695 #line 540 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2696 , Tuple.Create(Tuple.Create("", 35607), Tuple.Create<System.Object, System.Int32>(hrefValue
2697
2698 #line default
2699 #line hidden
2700 , 35607), false)
2701 );
2702
2703 WriteAttribute("title", Tuple.Create(" title=\"", 35618), Tuple.Create("\"", 35663)
2704
2705 #line 540 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2706 , Tuple.Create(Tuple.Create("", 35626), Tuple.Create<System.Object, System.Int32>(Translate("WriteUs", "Skriv til os")
2707
2708 #line default
2709 #line hidden
2710 , 35626), false)
2711 );
2712
2713 WriteLiteral(" class=\"contact__link svg-fill--bg-secondary\"");
2714
2715 WriteLiteral(">\r\n <span");
2716
2717 WriteLiteral(" class=\"contact__link-svg bg--parent-hover\"");
2718
2719 WriteLiteral(">\r\n <svg");
2720
2721 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2722
2723 WriteLiteral(" viewBox=\"0 0 26 21.125\"");
2724
2725 WriteLiteral("><path");
2726
2727 WriteLiteral(@" d=""M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z""");
2728
2729 WriteLiteral("/></svg>\r\n </span>\r\n");
2730
2731 WriteLiteral(" ");
2732
2733
2734 #line 544 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2735 Write(itemViewModel.GetString("ContactBoxEmailLabel"));
2736
2737
2738 #line default
2739 #line hidden
2740 WriteLiteral("\r\n </a>\r\n </li>\r\n");
2741
2742
2743 #line 547 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2744 }
2745
2746
2747 #line default
2748 #line hidden
2749 WriteLiteral(" ");
2750
2751
2752 #line 548 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2753 if (!string.IsNullOrEmpty((string)itemViewModel.GetString("ContactBoxLink")))
2754 {
2755
2756
2757 #line default
2758 #line hidden
2759 WriteLiteral(" <li>\r\n <a");
2760
2761 WriteLiteral(" target=\"_blank\"");
2762
2763 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 36655), Tuple.Create("\"", 36824)
2764
2765 #line 551 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2766 , Tuple.Create(Tuple.Create("", 36662), Tuple.Create<System.Object, System.Int32>(itemViewModel.GetString("ContactBoxLink").Contains("http") ? itemViewModel.GetString("ContactBoxLink") : "https://" + itemViewModel.GetString("ContactBoxLink")
2767
2768 #line default
2769 #line hidden
2770 , 36662), false)
2771 );
2772
2773 WriteAttribute("title", Tuple.Create(" title=\"", 36825), Tuple.Create("\"", 36870)
2774
2775 #line 551 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2776 , Tuple.Create(Tuple.Create("", 36833), Tuple.Create<System.Object, System.Int32>(Translate("WriteUs", "Skriv til os")
2777
2778 #line default
2779 #line hidden
2780 , 36833), false)
2781 );
2782
2783 WriteLiteral(" class=\"contact__link svg-fill--bg-secondary\"");
2784
2785 WriteLiteral(">\r\n <span");
2786
2787 WriteLiteral(" class=\"contact__link-svg bg--parent-hover\"");
2788
2789 WriteLiteral(">\r\n <svg");
2790
2791 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
2792
2793 WriteLiteral(" viewBox=\"0 0 26 21.125\"");
2794
2795 WriteLiteral("><path");
2796
2797 WriteLiteral(@" d=""M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z""");
2798
2799 WriteLiteral("/></svg>\r\n </span>\r\n");
2800
2801 WriteLiteral(" ");
2802
2803
2804 #line 555 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2805 Write(itemViewModel.GetString("ContactBoxLinkLabel"));
2806
2807
2808 #line default
2809 #line hidden
2810 WriteLiteral("\r\n </a>\r\n </li>\r\n");
2811
2812
2813 #line 558 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2814 }
2815
2816
2817 #line default
2818 #line hidden
2819 WriteLiteral(" </ul>\r\n <div");
2820
2821 WriteLiteral(" class=\"contact__text\"");
2822
2823 WriteLiteral(">\r\n");
2824
2825
2826 #line 561 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2827
2828
2829 #line default
2830 #line hidden
2831
2832 #line 561 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2833 if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxPhoneHours")))
2834 {
2835
2836
2837 #line default
2838 #line hidden
2839
2840 #line 563 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2841 Write(itemViewModel.GetString("ContactBoxPhoneHours"));
2842
2843
2844 #line default
2845 #line hidden
2846
2847 #line 563 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2848
2849 }
2850
2851
2852 #line default
2853 #line hidden
2854 WriteLiteral(" ");
2855
2856
2857 #line 565 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2858 if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxOpenHours")))
2859 {
2860
2861
2862 #line default
2863 #line hidden
2864
2865 #line 567 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2866 Write(itemViewModel.GetString("ContactBoxOpenHours"));
2867
2868
2869 #line default
2870 #line hidden
2871
2872 #line 567 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2873
2874 }
2875
2876
2877 #line default
2878 #line hidden
2879 WriteLiteral(" </div>\r\n </div>\r\n </aside>\r\n");
2880
2881
2882 #line 572 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2883 }
2884
2885
2886 #line default
2887 #line hidden
2888 WriteLiteral("\r\n\r\n");
2889
2890
2891 #line 575 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2892
2893
2894 #line default
2895 #line hidden
2896
2897 #line 575 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2898 if (includeSocials || !string.IsNullOrEmpty(subhero))
2899 {
2900
2901
2902 #line default
2903 #line hidden
2904 WriteLiteral(" <div");
2905
2906 WriteLiteral(" class=\"top-content__sub-content\"");
2907
2908 WriteLiteral(">\r\n <div");
2909
2910 WriteLiteral(" class=\"grid grid-container\"");
2911
2912 WriteLiteral(">\r\n <div");
2913
2914 WriteLiteral(" class=\"row\"");
2915
2916 WriteLiteral(">\r\n");
2917
2918
2919 #line 580 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2920
2921
2922 #line default
2923 #line hidden
2924
2925 #line 580 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2926 if (!string.IsNullOrEmpty(subhero))
2927 {
2928
2929
2930 #line default
2931 #line hidden
2932 WriteLiteral(" <div");
2933
2934 WriteLiteral(" class=\"col col--sm-9\"");
2935
2936 WriteLiteral(">\r\n <div");
2937
2938 WriteLiteral(" class=\"top-content__sub-hero\"");
2939
2940 WriteLiteral(">\r\n <div");
2941
2942 WriteLiteral(" class=\"top-content__sub-hero-image-container lazy\"");
2943
2944 WriteLiteral("\r\n data-src-xxs=\"");
2945
2946
2947 #line 585 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2948 Write(subheroPicture);
2949
2950
2951 #line default
2952 #line hidden
2953 WriteLiteral("&width=440\"");
2954
2955 WriteLiteral("\r\n data-src-xs=\"");
2956
2957
2958 #line 586 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2959 Write(subheroPicture);
2960
2961
2962 #line default
2963 #line hidden
2964 WriteLiteral("&width=727\"");
2965
2966 WriteLiteral("\r\n data-src-sm=\"");
2967
2968
2969 #line 587 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2970 Write(subheroPicture);
2971
2972
2973 #line default
2974 #line hidden
2975 WriteLiteral("&width=595\"");
2976
2977 WriteLiteral("\r\n data-src-md=\"");
2978
2979
2980 #line 588 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2981 Write(subheroPicture);
2982
2983
2984 #line default
2985 #line hidden
2986 WriteLiteral("&width=624\"");
2987
2988 WriteLiteral("\r\n data-src-lg=\"");
2989
2990
2991 #line 589 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
2992 Write(subheroPicture);
2993
2994
2995 #line default
2996 #line hidden
2997 WriteLiteral("&width=795\"");
2998
2999 WriteLiteral("\r\n data-src-xl=\"");
3000
3001
3002 #line 590 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3003 Write(subheroPicture);
3004
3005
3006 #line default
3007 #line hidden
3008 WriteLiteral("&width=870\"");
3009
3010 WriteLiteral("\r\n data-alt=\"");
3011
3012
3013 #line 591 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3014 Write(Model.Item.GetString("SubheroAlt"));
3015
3016
3017 #line default
3018 #line hidden
3019 WriteLiteral("\"");
3020
3021 WriteLiteral(">\r\n <noscript>\r\n " +
3022 " <img");
3023
3024 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 39522), Tuple.Create("\"", 39553)
3025
3026 #line 593 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3027 , Tuple.Create(Tuple.Create("", 39528), Tuple.Create<System.Object, System.Int32>(subheroPicture
3028
3029 #line default
3030 #line hidden
3031 , 39528), false)
3032 , Tuple.Create(Tuple.Create("", 39543), Tuple.Create("&width=440", 39543), true)
3033 );
3034
3035 WriteAttribute("alt", Tuple.Create(" alt=\"", 39554), Tuple.Create("\"", 39595)
3036
3037 #line 593 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3038 , Tuple.Create(Tuple.Create("", 39560), Tuple.Create<System.Object, System.Int32>(Model.Item.GetString("SubheroAlt")
3039
3040 #line default
3041 #line hidden
3042 , 39560), false)
3043 );
3044
3045 WriteLiteral(">\r\n </noscript>\r\n " +
3046 " </div>\r\n <span>");
3047
3048
3049 #line 596 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3050 Write(Model.Item.GetValue("Picturetext"));
3051
3052
3053 #line default
3054 #line hidden
3055 WriteLiteral("</span>\r\n </div>\r\n " +
3056 " </div>\r\n");
3057
3058
3059 #line 599 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3060 }
3061
3062
3063 #line default
3064 #line hidden
3065 WriteLiteral(" ");
3066
3067
3068 #line 600 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3069 if (includeSocials)
3070 {
3071
3072
3073 #line default
3074 #line hidden
3075 WriteLiteral(" <div");
3076
3077 WriteLiteral(" class=\"col col--sm-3\"");
3078
3079 WriteLiteral(">\r\n <div");
3080
3081 WriteLiteral(" class=\"top-content__social\"");
3082
3083 WriteLiteral(">\r\n <button");
3084
3085 WriteLiteral(" type=\"button\"");
3086
3087 WriteLiteral(" class=\"top-content__social-toggle\"");
3088
3089 WriteLiteral(" aria-hidden=\"true\"");
3090
3091 WriteLiteral(">\r\n <svg");
3092
3093 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3094
3095 WriteLiteral(" viewBox=\"0 0 17.639 27.026\"");
3096
3097 WriteLiteral("><path");
3098
3099 WriteLiteral(" d=\"M10.242 23.328a3.682 3.682 0 0 1 .445-1.761l-4.876-4.876A3.7 3.7 0 1 1 5.46 1" +
3100 "0.4l5.132-5.132a3.7 3.7 0 1 1 1.072 1.342l-4.93 4.929a3.7 3.7 0 0 1 .218 3.875l4" +
3101 ".876 4.876a3.7 3.7 0 1 1-1.585 3.035z\"");
3102
3103 WriteLiteral("/></svg>\r\n </button>\r\n " +
3104 " <div");
3105
3106 WriteLiteral(" class=\"top-content__social-links\"");
3107
3108 WriteLiteral(">\r\n");
3109
3110
3111 #line 608 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3112
3113
3114 #line default
3115 #line hidden
3116
3117 #line 608 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3118 if (!string.IsNullOrEmpty(twitter))
3119 {
3120
3121
3122 #line default
3123 #line hidden
3124 WriteLiteral(" <button");
3125
3126 WriteLiteral(" type=\"button\"");
3127
3128 WriteLiteral(" aria-label=\"Del på twitter\"");
3129
3130 WriteLiteral(" class=\"top-content__social-link link-twitter\"");
3131
3132 WriteLiteral(">\r\n <svg");
3133
3134 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3135
3136 WriteLiteral(" viewBox=\"0 0 24.064 19.692\"");
3137
3138 WriteLiteral("><path");
3139
3140 WriteLiteral(@" d=""M7.56 19.693a13.155 13.155 0 0 1-4.023-.623 13.892 13.892 0 0 1-3.536-1.665H1.18a9.521 9.521 0 0 0 6.1-2.08 5.335 5.335 0 0 1-2.915-1.041 4.5 4.5 0 0 1-1.662-2.427l.114.023.068.015h.01a3.54 3.54 0 0 0 .638.1 2.887 2.887 0 0 0 .764-.068h.013a1.869 1.869 0 0 0 .611-.07 5.156 5.156 0 0 1-2.774-1.732 4.637 4.637 0 0 1-1.109-3.121v-.07a4.561 4.561 0 0 0 2.218.556 4.392 4.392 0 0 1-2.15-4.091 5.157 5.157 0 0 1 .624-2.5 14.11 14.11 0 0 0 4.438 3.674 12.9 12.9 0 0 0 5.688 1.524 18.723 18.723 0 0 0-.054-.353v-.01a5.178 5.178 0 0 1-.085-.747 4.833 4.833 0 0 1 1.456-3.535 4.765 4.765 0 0 1 3.468-1.456 4.719 4.719 0 0 1 2.012.415 4.249 4.249 0 0 1 1.526 1.179 7.016 7.016 0 0 0 1.724-.482h.009c.256-.108.536-.239.782-.355s.505-.235.744-.338a6.826 6.826 0 0 1-.9 1.525 5.4 5.4 0 0 1-1.319 1.18l.057-.008a10.711 10.711 0 0 0 1.4-.269 11.514 11.514 0 0 0 1.388-.485c-.349.487-.7.906-1.037 1.311a7.775 7.775 0 0 1-1.386 1.25v.623a14.166 14.166 0 0 1-.9 4.992 14.216 14.216 0 0 1-2.7 4.509 13.291 13.291 0 0 1-4.438 3.327 12.782 12.782 0 0 1-6.043 1.323z""");
3141
3142 WriteLiteral("/></svg>\r\n </button>\r\n");
3143
3144
3145 #line 613 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3146 }
3147
3148
3149 #line default
3150 #line hidden
3151 WriteLiteral(" ");
3152
3153
3154 #line 614 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3155 if (!string.IsNullOrEmpty(facebook))
3156 {
3157
3158
3159 #line default
3160 #line hidden
3161 WriteLiteral(" <button");
3162
3163 WriteLiteral(" type=\"button\"");
3164
3165 WriteLiteral(" aria-label=\"Del på facebook\"");
3166
3167 WriteLiteral(" class=\"top-content__social-link link-facebook\"");
3168
3169 WriteLiteral(">\r\n <svg");
3170
3171 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3172
3173 WriteLiteral(" viewBox=\"0 0 12.945 24.181\"");
3174
3175 WriteLiteral("><path");
3176
3177 WriteLiteral(" d=\"M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A" +
3178 "5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 " +
3179 "0 0-.286 1v2.348h4.625v4.622H8.319v11.236z\"");
3180
3181 WriteLiteral("/></svg>\r\n </button>\r\n");
3182
3183
3184 #line 619 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3185 }
3186
3187
3188 #line default
3189 #line hidden
3190 WriteLiteral(" ");
3191
3192
3193 #line 620 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3194 if (!string.IsNullOrEmpty(linkedIn))
3195 {
3196
3197
3198 #line default
3199 #line hidden
3200 WriteLiteral(" <button");
3201
3202 WriteLiteral(" type=\"button\"");
3203
3204 WriteLiteral(" aria-label=\"Del på linkedin\"");
3205
3206 WriteLiteral(" class=\"top-content__social-link link-linkedin\"");
3207
3208 WriteLiteral(">\r\n <svg");
3209
3210 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3211
3212 WriteLiteral(" viewBox=\"0 0 20.129 22.404\"");
3213
3214 WriteLiteral("><path");
3215
3216 WriteLiteral(@" d=""M11.451 22.404H7.112V7.113h4.409v.71a5.1 5.1 0 0 1 2.433-.58c.146 0 .284 0 .411.014a6.95 6.95 0 0 1 2.846.709 6.335 6.335 0 0 1 2.134 2.205 6.226 6.226 0 0 1 .782 2.917v9.315h-4.339v-9.316a1.562 1.562 0 0 0-.215-.71l-.059-.079v-.006c-.182-.244-.313-.422-.5-.484a2.347 2.347 0 0 0-1.054-.3 1.219 1.219 0 0 0-.227.019 5.229 5.229 0 0 0-1.139.286 4.014 4.014 0 0 0-1.136.782v9.813zm-6.543 0H.497V7.113h4.411v15.29zM2.701 5.478a2.623 2.623 0 0 1-1.919-.782A2.623 2.623 0 0 1 0 2.774 2.923 2.923 0 0 1 .782.783 2.613 2.613 0 0 1 2.701.001a2.616 2.616 0 0 1 1.921.782 2.923 2.923 0 0 1 .782 1.991 2.623 2.623 0 0 1-.782 1.922 2.625 2.625 0 0 1-1.921.781z""");
3217
3218 WriteLiteral("/></svg>\r\n </button>\r\n");
3219
3220
3221 #line 625 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3222 }
3223
3224
3225 #line default
3226 #line hidden
3227 WriteLiteral(" </div>\r\n " +
3228 " </div>\r\n </div>\r\n");
3229
3230
3231 #line 629 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3232 }
3233
3234
3235 #line default
3236 #line hidden
3237 WriteLiteral(" </div>\r\n </div>\r\n </div" +
3238 ">\r\n");
3239
3240
3241 #line 633 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3242 }
3243
3244
3245 #line default
3246 #line hidden
3247 WriteLiteral("\r\n </section>\r\n");
3248
3249
3250 #line 636 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3251 }
3252
3253
3254 #line default
3255 #line hidden
3256 WriteLiteral("\r\n\r\n");
3257
3258
3259 #line 639 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3260 Write(Title("Subsite - Page"));
3261
3262
3263 #line default
3264 #line hidden
3265 WriteLiteral("\r\n");
3266
3267
3268 #line 640 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3269 Write(Description("Almindelig side til subsites"));
3270
3271
3272 #line default
3273 #line hidden
3274 WriteLiteral("\r\n\r\n<div");
3275
3276 WriteLiteral(" class=\"content content--primary\"");
3277
3278 WriteLiteral(">\r\n");
3279
3280 WriteLiteral(" ");
3281
3282
3283 #line 643 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3284 Write(Model.Placeholder("primary", "Primære", "items-allowed:Ribbon_A,Ribbon_B,Ribbon_C,Ribbon_D,Ribbon_E,Ribbon_F,Gallery,Accordion,Richtext,Minimap,SponsorList,KultuNautCalendar,Infobox,Calendar,EksternKode,Kode,ModuleOnly"));
3285
3286
3287 #line default
3288 #line hidden
3289 WriteLiteral("\r\n");
3290
3291
3292 #line 644 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3293
3294
3295 #line default
3296 #line hidden
3297 WriteLiteral("\r\n");
3298
3299
3300 #line 647 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3301
3302 string pageCtaLink = Model.Item.GetString("Link");
3303 if(string.IsNullOrEmpty(pageCtaLink))
3304 {
3305 pageCtaLink = Model.Item.GetString("InternLink");
3306 }
3307 string ctaExternalPartial = string.Empty;
3308 if (Model.Item.GetString("ButtonIcon") == "External")
3309 {
3310 ctaExternalPartial = "cta--external";
3311 }
3312
3313 if (!string.IsNullOrEmpty(Model.Item.GetString("Link")) || !string.IsNullOrEmpty(pageCtaLink))
3314 {
3315 string target = Model.Item.GetString("Target");
3316 if (string.IsNullOrWhiteSpace(target))
3317 {
3318 target = "_self";
3319 }
3320
3321
3322 #line default
3323 #line hidden
3324 WriteLiteral(" <section");
3325
3326 WriteLiteral(" class=\"page-cta-container soft-load\"");
3327
3328 WriteLiteral(">\r\n <div");
3329
3330 WriteLiteral(" class=\"grid grid-container\"");
3331
3332 WriteLiteral(">\r\n <div");
3333
3334 WriteLiteral(" class=\"row\"");
3335
3336 WriteLiteral(">\r\n\r\n <div");
3337
3338 WriteLiteral(" class=\"col col--md-8 col--offset-md-2\"");
3339
3340 WriteLiteral(">\r\n <div");
3341
3342 WriteLiteral(" class=\"page-cta\"");
3343
3344 WriteLiteral(">\r\n <a");
3345
3346 WriteAttribute("class", Tuple.Create(" class=\"", 45783), Tuple.Create("\"", 45823)
3347 , Tuple.Create(Tuple.Create("", 45791), Tuple.Create("cta", 45791), true)
3348
3349 #line 672 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3350 , Tuple.Create(Tuple.Create(" ", 45794), Tuple.Create<System.Object, System.Int32>(ctaExternalPartial
3351
3352 #line default
3353 #line hidden
3354 , 45795), false)
3355 , Tuple.Create(Tuple.Create(" ", 45814), Tuple.Create("bg--link", 45815), true)
3356 );
3357
3358 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 45824), Tuple.Create("\"", 45843)
3359
3360 #line 672 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3361 , Tuple.Create(Tuple.Create("", 45831), Tuple.Create<System.Object, System.Int32>(pageCtaLink
3362
3363 #line default
3364 #line hidden
3365 , 45831), false)
3366 );
3367
3368 WriteAttribute("title", Tuple.Create(" title=\"", 45844), Tuple.Create("\"", 45885)
3369
3370 #line 672 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3371 , Tuple.Create(Tuple.Create("", 45852), Tuple.Create<System.Object, System.Int32>(Model.Item.GetValue("Linklabel")
3372
3373 #line default
3374 #line hidden
3375 , 45852), false)
3376 );
3377
3378 WriteAttribute("target", Tuple.Create(" target=\"", 45886), Tuple.Create("\"", 45902)
3379
3380 #line 672 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3381 , Tuple.Create(Tuple.Create("", 45895), Tuple.Create<System.Object, System.Int32>(target
3382
3383 #line default
3384 #line hidden
3385 , 45895), false)
3386 );
3387
3388 WriteLiteral(">\r\n \r\n");
3389
3390 WriteLiteral("<span");
3391
3392 WriteLiteral(" class=\"arrow\"");
3393
3394 WriteLiteral(">\r\n <svg");
3395
3396 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3397
3398 WriteLiteral(" viewBox=\"0 0 40.62 16\"");
3399
3400 WriteLiteral("><path");
3401
3402 WriteLiteral(" d=\"M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z\"");
3403
3404 WriteLiteral("/><path");
3405
3406 WriteLiteral(" class=\"spine\"");
3407
3408 WriteLiteral(" d=\"M0 7.5h40v1H0z\"");
3409
3410 WriteLiteral("/></svg>\r\n</span>\r\n\r\n <span>");
3411
3412
3413 #line 679 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3414 Write(Model.Item.GetValue("Linklabel"));
3415
3416
3417 #line default
3418 #line hidden
3419 WriteLiteral("</span>\r\n \r\n");
3420
3421 WriteLiteral("<span");
3422
3423 WriteLiteral(" class=\"external-link\"");
3424
3425 WriteLiteral(">\r\n <svg");
3426
3427 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3428
3429 WriteLiteral(" viewBox=\"0 0 24 24\"");
3430
3431 WriteLiteral("><path");
3432
3433 WriteLiteral(@" d=""M20.234 24H3.372A3.372 3.372 0 0 1 0 20.628V3.766A3.778 3.778 0 0 1 3.429 0h9.429v1.714H3.429a1.734 1.734 0 0 0-1.714 1.714l-.028 17.2a1.686 1.686 0 0 0 1.686 1.686l17.2-.028a1.735 1.735 0 0 0 1.714-1.714v-9.428H24v9.428A3.778 3.778 0 0 1 20.234 24zm2.909-16.286a.854.854 0 0 1-.857-.857l-.025-4.1L9.216 15.2a.906.906 0 0 1-1.239 0 .808.808 0 0 1 0-1.181L20.909 1.685l-3.767.027a.857.857 0 1 1 0-1.714h5.981a.852.852 0 0 1 .876.835v6.022a.856.856 0 0 1-.856.859z""");
3434
3435 WriteLiteral(" fill=\"#fff\"");
3436
3437 WriteLiteral("/></svg>\r\n</span>\r\n\r\n </a>\r\n </" +
3438 "div>\r\n </div>\r\n </div>\r\n </div>\r\n " +
3439 " </section>\r\n");
3440
3441
3442 #line 692 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3443 }
3444
3445
3446 #line default
3447 #line hidden
3448 WriteLiteral("\r\n</div>\r\n<div");
3449
3450 WriteLiteral(" class=\"content content--secondary\"");
3451
3452 WriteLiteral(">\r\n");
3453
3454 WriteLiteral(" ");
3455
3456
3457 #line 696 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3458 Write(Model.Placeholder("secondary", "Sekundær", "items-allowed:Ribbon_A,Ribbon_B,Ribbon_C,Ribbon_D,Ribbon_E,Ribbon_D,Ribbon_E,Gallery,Ribbon_F,SponsorList,Infobox,Calendar,EksternKode,Kode,PersonPicker,ModuleOnly"));
3459
3460
3461 #line default
3462 #line hidden
3463 WriteLiteral("\r\n</div>\r\n\r\n");
3464
3465
3466 #line 701 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3467 Write(SnippetStart("EditorSnippet"));
3468
3469
3470 #line default
3471 #line hidden
3472 WriteLiteral("\r\n\r\n");
3473
3474
3475 #line 703 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3476
3477 DateTime date = Model.UpdatedDate;
3478
3479
3480 foreach (var user in Model.Item.GetUsers("Editor"))
3481 {
3482
3483
3484 #line default
3485 #line hidden
3486 WriteLiteral(" <meta");
3487
3488 WriteLiteral(" name=\"web_author\"");
3489
3490 WriteAttribute("content", Tuple.Create(" content=\"", 47754), Tuple.Create("\"", 47778)
3491
3492 #line 709 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3493 , Tuple.Create(Tuple.Create("", 47764), Tuple.Create<System.Object, System.Int32>(user.UserName
3494
3495 #line default
3496 #line hidden
3497 , 47764), false)
3498 );
3499
3500 WriteLiteral(" />\r\n");
3501
3502 WriteLiteral(" <meta");
3503
3504 WriteLiteral(" name=\"contact\"");
3505
3506 WriteAttribute("content", Tuple.Create(" content=\"", 47812), Tuple.Create("\"", 47833)
3507
3508 #line 710 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3509 , Tuple.Create(Tuple.Create("", 47822), Tuple.Create<System.Object, System.Int32>(user.Email
3510
3511 #line default
3512 #line hidden
3513 , 47822), false)
3514 );
3515
3516 WriteLiteral(" />\r\n");
3517
3518
3519 #line 711 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3520 }
3521
3522
3523 #line default
3524 #line hidden
3525 WriteLiteral(" <meta");
3526
3527 WriteLiteral(" name=\"Last-Modified\"");
3528
3529 WriteAttribute("content", Tuple.Create(" content=\"", 47876), Tuple.Create("\"", 47924)
3530
3531 #line 712 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3532 , Tuple.Create(Tuple.Create("", 47886), Tuple.Create<System.Object, System.Int32>(date.ToString("yyyy-MM-ddTHH:mm:ssZ")
3533
3534 #line default
3535 #line hidden
3536 , 47886), false)
3537 );
3538
3539 WriteLiteral(" />\r\n");
3540
3541
3542 #line 713 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3543
3544
3545
3546 #line default
3547 #line hidden
3548 WriteLiteral("\r\n");
3549
3550
3551 #line 715 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3552 Write(SnippetEnd("EditorSnippet"));
3553
3554
3555 #line default
3556 #line hidden
3557 WriteLiteral("\r\n </main>\r\n\r\n");
3558
3559
3560 #line 718 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3561
3562
3563 #line default
3564 #line hidden
3565
3566 #line 722 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3567
3568 string redirectPage = "";
3569
3570 string footerPhonenumber = Model.Area.Item.GetString("Phonenumber");
3571 string footerEmail = Model.Area.Item.GetString("Email");
3572 string footerFacebook = Model.Area.Item.GetString("Facebook");
3573 string footerTwitter = Model.Area.Item.GetString("Twitter");
3574 string footerLinkedIn = Model.Area.Item.GetString("LinkedIn");
3575 string footerInstagram = Model.Area.Item.GetString("Instagram");
3576
3577 var links1 = Model.Area.Item.GetItems("ColumnLinks1");
3578 var links2 = Model.Area.Item.GetItems("ColumnLinks2");
3579 var links3 = Model.Area.Item.GetItems("ColumnLinks3");
3580 string CLabel1 = Model.Area.Item.GetString("ColumnLabel1");
3581 string CLabel2 = Model.Area.Item.GetString("ColumnLabel2");
3582 string CLabel3 = Model.Area.Item.GetString("ColumnLabel3");
3583
3584 string contactValue = string.Empty;
3585
3586 var footerImage = Model.Area.Item.GetString("Image");
3587 var footerImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkInternal");
3588 var footerImageLinkText = Model.Area.Item.GetItem("ImageLink").GetString("LinkText");
3589 var footerImageLinkTarget = Model.Area.Item.GetItem("ImageLink").GetList("LinkTarget").SelectedValue;
3590 var footerImageLinkLinkType = Model.Area.Item.GetItem("ImageLink").GetList("LinkType").SelectedValue;
3591
3592 var footerImage2 = Model.Area.Item.GetString("Image2");
3593 var footerImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkInternal");
3594 var footerImageLinkText2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkText");
3595 var footerImageLinkTarget2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkTarget").SelectedValue;
3596 var footerImageLinkLinkType2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkType").SelectedValue;
3597
3598 if (footerImageLinkLinkType == "external")
3599 {
3600 footerImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkExternal");
3601 }
3602
3603 if (footerImageLinkLinkType2 == "external")
3604 {
3605 footerImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkExternal");
3606 }
3607
3608 if (Model.Area.Item.GetValue("Email") != null)
3609 {
3610 contactValue = footerEmail.Contains("@") ? "mailto:" + footerEmail : footerEmail;
3611 }
3612
3613
3614 #line default
3615 #line hidden
3616 WriteLiteral("\r\n\r\n<footer");
3617
3618 WriteLiteral(" class=\"footer soft-load\"");
3619
3620 WriteLiteral(">\r\n <aside");
3621
3622 WriteLiteral(" class=\"footer__sidebar\"");
3623
3624 WriteLiteral(">\r\n <div");
3625
3626 WriteLiteral(" class=\"footer__culture\"");
3627
3628 WriteLiteral(">\r\n");
3629
3630
3631 #line 772 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3632
3633
3634 #line default
3635 #line hidden
3636
3637 #line 772 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3638 if (footerImage != "")
3639 {
3640
3641
3642 #line default
3643 #line hidden
3644 WriteLiteral(" <a");
3645
3646 WriteLiteral(" class=\"footer__culture-link\"");
3647
3648 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 50600), Tuple.Create("\"", 50623)
3649
3650 #line 774 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3651 , Tuple.Create(Tuple.Create("", 50607), Tuple.Create<System.Object, System.Int32>(footerImageLink
3652
3653 #line default
3654 #line hidden
3655 , 50607), false)
3656 );
3657
3658 WriteAttribute("target", Tuple.Create(" target=\"", 50624), Tuple.Create("\"", 50655)
3659
3660 #line 774 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3661 , Tuple.Create(Tuple.Create("", 50633), Tuple.Create<System.Object, System.Int32>(footerImageLinkTarget
3662
3663 #line default
3664 #line hidden
3665 , 50633), false)
3666 );
3667
3668 WriteLiteral(">\r\n <img");
3669
3670 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 50683), Tuple.Create("\"", 50701)
3671
3672 #line 775 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3673 , Tuple.Create(Tuple.Create("", 50689), Tuple.Create<System.Object, System.Int32>(footerImage
3674
3675 #line default
3676 #line hidden
3677 , 50689), false)
3678 );
3679
3680 WriteAttribute("alt", Tuple.Create(" alt=\"", 50702), Tuple.Create("\"", 50728)
3681
3682 #line 775 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3683 , Tuple.Create(Tuple.Create("", 50708), Tuple.Create<System.Object, System.Int32>(footerImageLinkText
3684
3685 #line default
3686 #line hidden
3687 , 50708), false)
3688 );
3689
3690 WriteLiteral(">\r\n </a>\r\n");
3691
3692
3693 #line 777 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3694 }
3695
3696
3697 #line default
3698 #line hidden
3699 WriteLiteral(" ");
3700
3701
3702 #line 778 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3703 if (footerImage2 != "")
3704 {
3705
3706
3707 #line default
3708 #line hidden
3709 WriteLiteral(" <a");
3710
3711 WriteLiteral(" class=\"footer__culture-link\"");
3712
3713 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 50869), Tuple.Create("\"", 50893)
3714
3715 #line 780 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3716 , Tuple.Create(Tuple.Create("", 50876), Tuple.Create<System.Object, System.Int32>(footerImageLink2
3717
3718 #line default
3719 #line hidden
3720 , 50876), false)
3721 );
3722
3723 WriteAttribute("target", Tuple.Create(" target=\"", 50894), Tuple.Create("\"", 50926)
3724
3725 #line 780 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3726 , Tuple.Create(Tuple.Create("", 50903), Tuple.Create<System.Object, System.Int32>(footerImageLinkTarget2
3727
3728 #line default
3729 #line hidden
3730 , 50903), false)
3731 );
3732
3733 WriteLiteral(">\r\n <img");
3734
3735 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 50954), Tuple.Create("\"", 50973)
3736
3737 #line 781 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3738 , Tuple.Create(Tuple.Create("", 50960), Tuple.Create<System.Object, System.Int32>(footerImage2
3739
3740 #line default
3741 #line hidden
3742 , 50960), false)
3743 );
3744
3745 WriteAttribute("alt", Tuple.Create(" alt=\"", 50974), Tuple.Create("\"", 51001)
3746
3747 #line 781 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3748 , Tuple.Create(Tuple.Create("", 50980), Tuple.Create<System.Object, System.Int32>(footerImageLinkText2
3749
3750 #line default
3751 #line hidden
3752 , 50980), false)
3753 );
3754
3755 WriteLiteral(">\r\n </a>\r\n");
3756
3757
3758 #line 783 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3759 }
3760
3761
3762 #line default
3763 #line hidden
3764 WriteLiteral(" </div>\r\n </aside>\r\n <div");
3765
3766 WriteLiteral(" class=\"footer__container\"");
3767
3768 WriteLiteral(">\r\n <div");
3769
3770 WriteLiteral(" class=\"grid grid-container\"");
3771
3772 WriteLiteral(">\r\n <div");
3773
3774 WriteLiteral(" class=\"row\"");
3775
3776 WriteLiteral(">\r\n <div");
3777
3778 WriteLiteral(" class=\"col col--md-3 footer__col-first\"");
3779
3780 WriteLiteral(">\r\n <div");
3781
3782 WriteLiteral(" class=\"footer__logo\"");
3783
3784 WriteLiteral(">\r\n");
3785
3786
3787 #line 791 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3788
3789
3790 #line default
3791 #line hidden
3792
3793 #line 791 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3794 if (Model.Area.Item.GetString("Logo") != "")
3795 {
3796
3797
3798 #line default
3799 #line hidden
3800 WriteLiteral(" <a");
3801
3802 WriteLiteral(" href=https://oplev.esbjerg.dk/\"/\"");
3803
3804 WriteLiteral(" title=\"Gå til forsiden\"");
3805
3806 WriteLiteral(" class=\"footer__logo-link\"");
3807
3808 WriteLiteral(">\r\n <img");
3809
3810 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\"", 51526), Tuple.Create("\"", 51566)
3811
3812 #line 794 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3813 , Tuple.Create(Tuple.Create("", 51532), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("Logo")
3814
3815 #line default
3816 #line hidden
3817 , 51532), false)
3818 );
3819
3820 WriteLiteral(" alt=\"Logo alt tekst\"");
3821
3822 WriteLiteral(">\r\n </a>\r\n");
3823
3824
3825 #line 796 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3826 }
3827
3828
3829 #line default
3830 #line hidden
3831 WriteLiteral(" </div>\r\n <div");
3832
3833 WriteLiteral(" class=\"footer__contact-desktop\"");
3834
3835 WriteLiteral(">\r\n\r\n");
3836
3837
3838 #line 800 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3839
3840
3841 #line default
3842 #line hidden
3843
3844 #line 800 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3845 if (!string.IsNullOrEmpty(footerPhonenumber))
3846 {
3847
3848
3849 #line default
3850 #line hidden
3851 WriteLiteral(" <div");
3852
3853 WriteLiteral(" class=\"footer__contact\"");
3854
3855 WriteLiteral("> \r\n <a");
3856
3857 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 51915), Tuple.Create("\"", 51972)
3858 , Tuple.Create(Tuple.Create("", 51922), Tuple.Create("tel:+45", 51922), true)
3859
3860 #line 803 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3861 , Tuple.Create(Tuple.Create("", 51929), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("Phonenumber")
3862
3863 #line default
3864 #line hidden
3865 , 51929), false)
3866 );
3867
3868 WriteAttribute("title", Tuple.Create(" title=\"", 51973), Tuple.Create("\"", 52021)
3869
3870 #line 803 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3871 , Tuple.Create(Tuple.Create("", 51981), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("PhoneLabel")
3872
3873 #line default
3874 #line hidden
3875 , 51981), false)
3876 );
3877
3878 WriteLiteral(" class=\"footer__contact-link\"");
3879
3880 WriteLiteral(">\r\n <span");
3881
3882 WriteLiteral(" class=\"footer__contact-svg\"");
3883
3884 WriteLiteral(">\r\n <svg");
3885
3886 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3887
3888 WriteLiteral(" viewBox=\"0 0 26.054 26\"");
3889
3890 WriteLiteral("><path");
3891
3892 WriteLiteral(@" d=""M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z""");
3893
3894 WriteLiteral("/></svg>\r\n </span>\r\n");
3895
3896 WriteLiteral(" ");
3897
3898
3899 #line 807 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3900 Write(Model.Area.Item.GetString("Phonenumber"));
3901
3902
3903 #line default
3904 #line hidden
3905 WriteLiteral("\r\n </a>\r\n <span>\r\n");
3906
3907 WriteLiteral(" ");
3908
3909
3910 #line 810 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3911 Write(Model.Area.Item.GetString("PhonenumberLabel"));
3912
3913
3914 #line default
3915 #line hidden
3916 WriteLiteral("\r\n </span>\r\n </div>\r\n");
3917
3918
3919 #line 813 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3920 }
3921
3922
3923 #line default
3924 #line hidden
3925 WriteLiteral(" \r\n");
3926
3927
3928 #line 815 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3929
3930
3931 #line default
3932 #line hidden
3933
3934 #line 815 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3935 if (!string.IsNullOrEmpty(footerEmail))
3936 {
3937
3938
3939 #line default
3940 #line hidden
3941 WriteLiteral(" <div");
3942
3943 WriteLiteral(" class=\"footer__contact\"");
3944
3945 WriteLiteral(">\r\n <a");
3946
3947 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 53684), Tuple.Create("\"", 53704)
3948
3949 #line 818 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3950 , Tuple.Create(Tuple.Create("", 53691), Tuple.Create<System.Object, System.Int32>(contactValue
3951
3952 #line default
3953 #line hidden
3954 , 53691), false)
3955 );
3956
3957 WriteAttribute("title", Tuple.Create(" title=\"", 53705), Tuple.Create("\"", 53753)
3958
3959 #line 818 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3960 , Tuple.Create(Tuple.Create("", 53713), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("EmailLabel")
3961
3962 #line default
3963 #line hidden
3964 , 53713), false)
3965 );
3966
3967 WriteLiteral(" class=\"footer__contact-link\"");
3968
3969 WriteLiteral(">\r\n <span");
3970
3971 WriteLiteral(" class=\"footer__contact-svg\"");
3972
3973 WriteLiteral(">\r\n <svg");
3974
3975 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
3976
3977 WriteLiteral(" viewBox=\"0 0 26 21.125\"");
3978
3979 WriteLiteral("><path");
3980
3981 WriteLiteral(@" d=""M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z""");
3982
3983 WriteLiteral("/></svg>\r\n </span>\r\n");
3984
3985 WriteLiteral(" ");
3986
3987
3988 #line 822 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
3989 Write(Model.Area.Item.GetString("EmailLabel"));
3990
3991
3992 #line default
3993 #line hidden
3994 WriteLiteral("\r\n </a>\r\n <span>\r\n");
3995
3996 WriteLiteral(" ");
3997
3998
3999 #line 825 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4000 Write(Model.Area.Item.GetString("EmailLabel_2"));
4001
4002
4003 #line default
4004 #line hidden
4005 WriteLiteral("\r\n </span>\r\n </div>\r\n");
4006
4007
4008 #line 828 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4009 }
4010
4011
4012 #line default
4013 #line hidden
4014 WriteLiteral(" </div>\r\n </div>\r\n <div");
4015
4016 WriteLiteral(" class=\"col col--md-3 footer__col-info\"");
4017
4018 WriteLiteral(">\r\n <div");
4019
4020 WriteLiteral(" class=\"footer__info\"");
4021
4022 WriteLiteral(">\r\n <div");
4023
4024 WriteLiteral(" class=\"footer__accordion\"");
4025
4026 WriteLiteral(" data-module=\"accordion\"");
4027
4028 WriteLiteral(">\r\n <div");
4029
4030 WriteLiteral(" class=\"accordion\"");
4031
4032 WriteLiteral(">\r\n");
4033
4034
4035 #line 835 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4036
4037
4038 #line default
4039 #line hidden
4040
4041 #line 835 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4042 if (!string.IsNullOrEmpty(CLabel1))
4043 {
4044
4045
4046 #line default
4047 #line hidden
4048 WriteLiteral(" <h2");
4049
4050 WriteLiteral(" class=\"accordion__heading footer__heading\"");
4051
4052 WriteLiteral(">\r\n <button");
4053
4054 WriteLiteral(" id=\"accordion__trigger_info\"");
4055
4056 WriteLiteral(" type=\"button\"");
4057
4058 WriteLiteral(" class=\"accordion__trigger\"");
4059
4060 WriteLiteral(" aria-expanded=\"false\"");
4061
4062 WriteLiteral(" aria-controls=\"accordion__content_info\"");
4063
4064 WriteLiteral(">\r\n");
4065
4066 WriteLiteral(" ");
4067
4068
4069 #line 839 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4070 Write(Model.Area.Item.GetString("ColumnLabel1"));
4071
4072
4073 #line default
4074 #line hidden
4075 WriteLiteral("\r\n <span");
4076
4077 WriteLiteral(" class=\"accordion__chevron\"");
4078
4079 WriteLiteral(" aria-hidden=\"true\"");
4080
4081 WriteLiteral(">\r\n <svg");
4082
4083 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4084
4085 WriteLiteral(" viewBox=\"0 0 25.469 14.143\"");
4086
4087 WriteLiteral("><path");
4088
4089 WriteLiteral(" d=\"M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L1" +
4090 "2.74 14.143z\"");
4091
4092 WriteLiteral("/></svg>\r\n </span>\r\n " +
4093 " </button>\r\n </h2> \r\n");
4094
4095
4096 #line 845 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4097 }else{
4098
4099
4100 #line default
4101 #line hidden
4102 WriteLiteral(" <span");
4103
4104 WriteLiteral(" class=\"accordion__heading footer__heading\"");
4105
4106 WriteLiteral(">\r\n <button");
4107
4108 WriteLiteral(" id=\"accordion__trigger_info\"");
4109
4110 WriteLiteral(" type=\"button\"");
4111
4112 WriteLiteral(" class=\"accordion__trigger\"");
4113
4114 WriteLiteral(" aria-expanded=\"false\"");
4115
4116 WriteLiteral(" aria-controls=\"accordion__content_info\"");
4117
4118 WriteLiteral("> \r\n");
4119
4120 WriteLiteral(" ");
4121
4122
4123 #line 848 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4124 Write(Model.Area.Item.GetString("ColumnLabel1"));
4125
4126
4127 #line default
4128 #line hidden
4129 WriteLiteral("\r\n <span");
4130
4131 WriteLiteral(" class=\"accordion__chevron\"");
4132
4133 WriteLiteral(" aria-hidden=\"true\"");
4134
4135 WriteLiteral(">\r\n <svg");
4136
4137 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4138
4139 WriteLiteral(" viewBox=\"0 0 25.469 14.143\"");
4140
4141 WriteLiteral("><path");
4142
4143 WriteLiteral(" d=\"M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L1" +
4144 "2.74 14.143z\"");
4145
4146 WriteLiteral("/></svg>\r\n </span>\r\n " +
4147 " </button>\r\n </span> " +
4148 " \r\n");
4149
4150
4151 #line 854 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4152 }
4153
4154
4155 #line default
4156 #line hidden
4157 WriteLiteral(" ");
4158
4159
4160 #line 855 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4161 if (links1 != null)
4162 {
4163
4164
4165 #line default
4166 #line hidden
4167 WriteLiteral(" <div");
4168
4169 WriteLiteral(" id=\"accordion__content_info\"");
4170
4171 WriteLiteral(" class=\"accordion__content\"");
4172
4173 WriteLiteral(" aria-hidden=\"true\"");
4174
4175 WriteLiteral(" aria-labelledby=\"accordion__trigger_info\"");
4176
4177 WriteLiteral(">\r\n <ul");
4178
4179 WriteLiteral(" class=\"footer__list\"");
4180
4181 WriteLiteral(">\r\n");
4182
4183
4184 #line 859 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4185
4186
4187 #line default
4188 #line hidden
4189
4190 #line 859 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4191 foreach (var columnLink in links1)
4192 {
4193
4194
4195 #line default
4196 #line hidden
4197
4198 #line 861 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4199 Write(RenderColumnLink(columnLink));
4200
4201
4202 #line default
4203 #line hidden
4204
4205 #line 861 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4206
4207 }
4208
4209
4210 #line default
4211 #line hidden
4212 WriteLiteral(" </ul>\r\n " +
4213 " </div>\r\n");
4214
4215
4216 #line 865 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4217 }
4218
4219
4220 #line default
4221 #line hidden
4222 WriteLiteral(" </div>\r\n </div>\r\n " +
4223 " </div>\r\n </div>\r\n <div");
4224
4225 WriteLiteral(" class=\"col col--md-3 footer__col-hours\"");
4226
4227 WriteLiteral(">\r\n <div");
4228
4229 WriteLiteral(" class=\"footer__hours\"");
4230
4231 WriteLiteral(">\r\n <div");
4232
4233 WriteLiteral(" class=\"footer__accordion\"");
4234
4235 WriteLiteral(" data-module=\"accordion\"");
4236
4237 WriteLiteral(">\r\n <div");
4238
4239 WriteLiteral(" class=\"accordion\"");
4240
4241 WriteLiteral(">\r\n");
4242
4243
4244 #line 874 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4245
4246
4247 #line default
4248 #line hidden
4249
4250 #line 874 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4251 if (!string.IsNullOrEmpty(CLabel2))
4252 {
4253
4254
4255 #line default
4256 #line hidden
4257 WriteLiteral(" <h2");
4258
4259 WriteLiteral(" class=\"accordion__heading footer__heading\"");
4260
4261 WriteLiteral(">\r\n <button");
4262
4263 WriteLiteral(" id=\"accordion__trigger_hours\"");
4264
4265 WriteLiteral(" type=\"button\"");
4266
4267 WriteLiteral(" class=\"accordion__trigger\"");
4268
4269 WriteLiteral(" aria-expanded=\"false\"");
4270
4271 WriteLiteral(" aria-controls=\"accordion__content_hours\"");
4272
4273 WriteLiteral(">\r\n");
4274
4275 WriteLiteral(" ");
4276
4277
4278 #line 878 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4279 Write(Model.Area.Item.GetString("ColumnLabel2"));
4280
4281
4282 #line default
4283 #line hidden
4284 WriteLiteral("\r\n <span");
4285
4286 WriteLiteral(" class=\"accordion__chevron\"");
4287
4288 WriteLiteral(" aria-hidden=\"true\"");
4289
4290 WriteLiteral(">\r\n <svg");
4291
4292 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4293
4294 WriteLiteral(" viewBox=\"0 0 25.469 14.143\"");
4295
4296 WriteLiteral("><path");
4297
4298 WriteLiteral(" d=\"M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L1" +
4299 "2.74 14.143z\"");
4300
4301 WriteLiteral("/></svg>\r\n </span>\r\n " +
4302 " </button>\r\n </h2>\r\n");
4303
4304
4305 #line 884 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4306 }else{
4307
4308
4309
4310 #line default
4311 #line hidden
4312 WriteLiteral(" <span");
4313
4314 WriteLiteral(" class=\"accordion__heading footer__heading\"");
4315
4316 WriteLiteral(">\r\n <button");
4317
4318 WriteLiteral(" id=\"accordion__trigger_hours\"");
4319
4320 WriteLiteral(" type=\"button\"");
4321
4322 WriteLiteral(" class=\"accordion__trigger\"");
4323
4324 WriteLiteral(" aria-expanded=\"false\"");
4325
4326 WriteLiteral(" aria-controls=\"accordion__content_hours\"");
4327
4328 WriteLiteral(">\r\n");
4329
4330 WriteLiteral(" ");
4331
4332
4333 #line 888 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4334 Write(Model.Area.Item.GetString("ColumnLabel2"));
4335
4336
4337 #line default
4338 #line hidden
4339 WriteLiteral("\r\n <span");
4340
4341 WriteLiteral(" class=\"accordion__chevron\"");
4342
4343 WriteLiteral(" aria-hidden=\"true\"");
4344
4345 WriteLiteral(">\r\n <svg");
4346
4347 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4348
4349 WriteLiteral(" viewBox=\"0 0 25.469 14.143\"");
4350
4351 WriteLiteral("><path");
4352
4353 WriteLiteral(" d=\"M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L1" +
4354 "2.74 14.143z\"");
4355
4356 WriteLiteral("/></svg>\r\n </span>\r\n " +
4357 " </button>\r\n </span> " +
4358 " \r\n");
4359
4360
4361 #line 894 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4362 }
4363
4364
4365 #line default
4366 #line hidden
4367 WriteLiteral(" ");
4368
4369
4370 #line 895 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4371 if (links2 != null)
4372 {
4373
4374
4375
4376 #line default
4377 #line hidden
4378 WriteLiteral(" <div");
4379
4380 WriteLiteral(" id=\"accordion__content_hours\"");
4381
4382 WriteLiteral(" class=\"accordion__content\"");
4383
4384 WriteLiteral(" aria-hidden=\"true\"");
4385
4386 WriteLiteral(" aria-labelledby=\"accordion__trigger_hours\"");
4387
4388 WriteLiteral(">\r\n <ul");
4389
4390 WriteLiteral(" class=\"footer__list\"");
4391
4392 WriteLiteral(">\r\n");
4393
4394
4395 #line 900 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4396
4397
4398 #line default
4399 #line hidden
4400
4401 #line 900 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4402 foreach (var columnLink in links2)
4403 {
4404
4405
4406 #line default
4407 #line hidden
4408
4409 #line 902 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4410 Write(RenderColumnLink(columnLink));
4411
4412
4413 #line default
4414 #line hidden
4415
4416 #line 902 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4417
4418 }
4419
4420
4421 #line default
4422 #line hidden
4423 WriteLiteral(" </ul>\r\n " +
4424 " </div>\r\n");
4425
4426
4427 #line 906 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4428 }
4429
4430
4431 #line default
4432 #line hidden
4433 WriteLiteral(" </div>\r\n </div>\r\n " +
4434 " <div");
4435
4436 WriteLiteral(" class=\"footer__contact-mobile\"");
4437
4438 WriteLiteral(">\r\n <div");
4439
4440 WriteLiteral(" class=\"footer__contact\"");
4441
4442 WriteLiteral(">\r\n <a");
4443
4444 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 60665), Tuple.Create("\"", 60722)
4445 , Tuple.Create(Tuple.Create("", 60672), Tuple.Create("tel:+45", 60672), true)
4446
4447 #line 911 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4448 , Tuple.Create(Tuple.Create("", 60679), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("Phonenumber")
4449
4450 #line default
4451 #line hidden
4452 , 60679), false)
4453 );
4454
4455 WriteAttribute("title", Tuple.Create(" title=\"", 60723), Tuple.Create("\"", 60771)
4456
4457 #line 911 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4458 , Tuple.Create(Tuple.Create("", 60731), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("PhoneLabel")
4459
4460 #line default
4461 #line hidden
4462 , 60731), false)
4463 );
4464
4465 WriteLiteral(" class=\"footer__contact-link\"");
4466
4467 WriteLiteral(">\r\n <span");
4468
4469 WriteLiteral(" class=\"footer__contact-svg\"");
4470
4471 WriteLiteral(">\r\n <svg");
4472
4473 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4474
4475 WriteLiteral(" viewBox=\"0 0 26.054 26\"");
4476
4477 WriteLiteral("><path");
4478
4479 WriteLiteral(@" d=""M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z""");
4480
4481 WriteLiteral("/></svg>\r\n </span>\r\n");
4482
4483 WriteLiteral(" ");
4484
4485
4486 #line 915 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4487 Write(Model.Area.Item.GetString("Phonenumber"));
4488
4489
4490 #line default
4491 #line hidden
4492 WriteLiteral("\r\n </a>\r\n <span>\r\n");
4493
4494 WriteLiteral(" ");
4495
4496
4497 #line 918 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4498 Write(Model.Area.Item.GetString("PhonenumberLabel"));
4499
4500
4501 #line default
4502 #line hidden
4503 WriteLiteral("\r\n </span>\r\n </div>\r\n " +
4504 " <div");
4505
4506 WriteLiteral(" class=\"footer__contact\"");
4507
4508 WriteLiteral(">\r\n <a");
4509
4510 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 62341), Tuple.Create("\"", 62361)
4511
4512 #line 922 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4513 , Tuple.Create(Tuple.Create("", 62348), Tuple.Create<System.Object, System.Int32>(contactValue
4514
4515 #line default
4516 #line hidden
4517 , 62348), false)
4518 );
4519
4520 WriteAttribute("title", Tuple.Create(" title=\"", 62362), Tuple.Create("\"", 62410)
4521
4522 #line 922 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4523 , Tuple.Create(Tuple.Create("", 62370), Tuple.Create<System.Object, System.Int32>(Model.Area.Item.GetString("EmailLabel")
4524
4525 #line default
4526 #line hidden
4527 , 62370), false)
4528 );
4529
4530 WriteLiteral(" class=\"footer__contact-link\"");
4531
4532 WriteLiteral(">\r\n <span");
4533
4534 WriteLiteral(" class=\"footer__contact-svg\"");
4535
4536 WriteLiteral(">\r\n <svg");
4537
4538 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4539
4540 WriteLiteral(" viewBox=\"0 0 26 21.125\"");
4541
4542 WriteLiteral("><path");
4543
4544 WriteLiteral(@" d=""M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z""");
4545
4546 WriteLiteral("/></svg>\r\n </span>\r\n");
4547
4548 WriteLiteral(" ");
4549
4550
4551 #line 926 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4552 Write(Model.Area.Item.GetString("EmailLabel"));
4553
4554
4555 #line default
4556 #line hidden
4557 WriteLiteral("\r\n </a>\r\n <span>\r\n");
4558
4559 WriteLiteral(" ");
4560
4561
4562 #line 929 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4563 Write(Model.Area.Item.GetString("EmailLabel_2"));
4564
4565
4566 #line default
4567 #line hidden
4568 WriteLiteral("\r\n </span>\r\n </div>\r\n " +
4569 " </div>\r\n </div>\r\n </div>" +
4570 "\r\n <div");
4571
4572 WriteLiteral(" class=\"col col--md-3 footer__col-last\"");
4573
4574 WriteLiteral(">\r\n <div");
4575
4576 WriteLiteral(" class=\"footer__shortcuts\"");
4577
4578 WriteLiteral(">\r\n");
4579
4580
4581 #line 937 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4582
4583
4584 #line default
4585 #line hidden
4586
4587 #line 937 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4588 if (!string.IsNullOrEmpty(CLabel3))
4589 {
4590
4591
4592 #line default
4593 #line hidden
4594 WriteLiteral(" <h2");
4595
4596 WriteLiteral(" class=\"footer__heading\"");
4597
4598 WriteLiteral(">\r\n");
4599
4600 WriteLiteral(" ");
4601
4602
4603 #line 940 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4604 Write(Model.Area.Item.GetString("ColumnLabel3"));
4605
4606
4607 #line default
4608 #line hidden
4609 WriteLiteral("\r\n </h2>\r\n");
4610
4611
4612 #line 942 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4613 }
4614
4615
4616 #line default
4617 #line hidden
4618 WriteLiteral("\t\r\n");
4619
4620
4621 #line 944 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4622
4623
4624 #line default
4625 #line hidden
4626
4627 #line 944 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4628 if (links3 != null)
4629 {
4630
4631
4632 #line default
4633 #line hidden
4634 WriteLiteral(" <ul");
4635
4636 WriteLiteral(" class=\"footer__list\"");
4637
4638 WriteLiteral(">\r\n");
4639
4640
4641 #line 947 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4642
4643
4644 #line default
4645 #line hidden
4646
4647 #line 947 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4648 foreach (var columnLink in links3)
4649 {
4650
4651
4652 #line default
4653 #line hidden
4654
4655 #line 949 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4656 Write(RenderColumnLink(columnLink));
4657
4658
4659 #line default
4660 #line hidden
4661
4662 #line 949 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4663
4664 }
4665
4666
4667 #line default
4668 #line hidden
4669 WriteLiteral(" </ul>\r\n");
4670
4671
4672 #line 952 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4673 }
4674
4675
4676 #line default
4677 #line hidden
4678 WriteLiteral(" </div>\r\n <div");
4679
4680 WriteLiteral(" class=\"footer__social\"");
4681
4682 WriteLiteral(">\r\n <div");
4683
4684 WriteLiteral(" class=\"footer__social-text\"");
4685
4686 WriteLiteral(">\r\n");
4687
4688 WriteLiteral(" ");
4689
4690
4691 #line 956 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4692 Write(Translate("MeetEsbjergSoMe", "Mød Esbjerg på de sociale medier"));
4693
4694
4695 #line default
4696 #line hidden
4697 WriteLiteral("\r\n </div>\r\n <div");
4698
4699 WriteLiteral(" class=\"footer__social-links\"");
4700
4701 WriteLiteral(">\r\n");
4702
4703
4704 #line 959 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4705
4706
4707 #line default
4708 #line hidden
4709
4710 #line 959 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4711 if (!string.IsNullOrEmpty(footerFacebook))
4712 {
4713 string facebookLink = redirectPage + footerFacebook;
4714
4715
4716 #line default
4717 #line hidden
4718 WriteLiteral(" <a");
4719
4720 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 64881), Tuple.Create("\"", 64901)
4721
4722 #line 962 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4723 , Tuple.Create(Tuple.Create("", 64888), Tuple.Create<System.Object, System.Int32>(facebookLink
4724
4725 #line default
4726 #line hidden
4727 , 64888), false)
4728 );
4729
4730 WriteLiteral(" title=\"link til Facebook\"");
4731
4732 WriteLiteral(" class=\"footer__social-link\"");
4733
4734 WriteLiteral(" target=\"_blank\"");
4735
4736 WriteLiteral(" rel=\"noopener noreferrer\"");
4737
4738 WriteLiteral(">\r\n <svg");
4739
4740 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4741
4742 WriteLiteral(" viewBox=\"0 0 12.945 24.181\"");
4743
4744 WriteLiteral("><path");
4745
4746 WriteLiteral(" d=\"M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A" +
4747 "5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 " +
4748 "0 0-.286 1v2.348h4.625v4.622H8.319v11.236z\"");
4749
4750 WriteLiteral("/></svg>\r\n </a>\r\n");
4751
4752
4753 #line 965 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4754 }
4755
4756
4757 #line default
4758 #line hidden
4759 WriteLiteral(" ");
4760
4761
4762 #line 966 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4763 if (!string.IsNullOrEmpty(footerTwitter))
4764 {
4765 string twitterLink = redirectPage + footerTwitter;
4766
4767
4768 #line default
4769 #line hidden
4770 WriteLiteral(" <a");
4771
4772 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 65614), Tuple.Create("\"", 65633)
4773
4774 #line 969 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4775 , Tuple.Create(Tuple.Create("", 65621), Tuple.Create<System.Object, System.Int32>(twitterLink
4776
4777 #line default
4778 #line hidden
4779 , 65621), false)
4780 );
4781
4782 WriteLiteral(" title=\"Link til Twitter\"");
4783
4784 WriteLiteral(" class=\"footer__social-link\"");
4785
4786 WriteLiteral(" target=\"_blank\"");
4787
4788 WriteLiteral(" rel=\"noopener noreferrer\"");
4789
4790 WriteLiteral(">\r\n <svg");
4791
4792 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4793
4794 WriteLiteral(" viewBox=\"0 0 24.064 19.692\"");
4795
4796 WriteLiteral("><path");
4797
4798 WriteLiteral(@" d=""M7.56 19.693a13.155 13.155 0 0 1-4.023-.623 13.892 13.892 0 0 1-3.536-1.665H1.18a9.521 9.521 0 0 0 6.1-2.08 5.335 5.335 0 0 1-2.915-1.041 4.5 4.5 0 0 1-1.662-2.427l.114.023.068.015h.01a3.54 3.54 0 0 0 .638.1 2.887 2.887 0 0 0 .764-.068h.013a1.869 1.869 0 0 0 .611-.07 5.156 5.156 0 0 1-2.774-1.732 4.637 4.637 0 0 1-1.109-3.121v-.07a4.561 4.561 0 0 0 2.218.556 4.392 4.392 0 0 1-2.15-4.091 5.157 5.157 0 0 1 .624-2.5 14.11 14.11 0 0 0 4.438 3.674 12.9 12.9 0 0 0 5.688 1.524 18.723 18.723 0 0 0-.054-.353v-.01a5.178 5.178 0 0 1-.085-.747 4.833 4.833 0 0 1 1.456-3.535 4.765 4.765 0 0 1 3.468-1.456 4.719 4.719 0 0 1 2.012.415 4.249 4.249 0 0 1 1.526 1.179 7.016 7.016 0 0 0 1.724-.482h.009c.256-.108.536-.239.782-.355s.505-.235.744-.338a6.826 6.826 0 0 1-.9 1.525 5.4 5.4 0 0 1-1.319 1.18l.057-.008a10.711 10.711 0 0 0 1.4-.269 11.514 11.514 0 0 0 1.388-.485c-.349.487-.7.906-1.037 1.311a7.775 7.775 0 0 1-1.386 1.25v.623a14.166 14.166 0 0 1-.9 4.992 14.216 14.216 0 0 1-2.7 4.509 13.291 13.291 0 0 1-4.438 3.327 12.782 12.782 0 0 1-6.043 1.323z""");
4799
4800 WriteLiteral("/></svg>\r\n </a>\r\n");
4801
4802
4803 #line 972 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4804 }
4805
4806
4807 #line default
4808 #line hidden
4809 WriteLiteral(" ");
4810
4811
4812 #line 973 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4813 if (!string.IsNullOrEmpty(footerLinkedIn))
4814 {
4815 string linkedInLink = redirectPage + footerLinkedIn;
4816
4817
4818 #line default
4819 #line hidden
4820 WriteLiteral(" <a");
4821
4822 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 67194), Tuple.Create("\"", 67214)
4823
4824 #line 976 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4825 , Tuple.Create(Tuple.Create("", 67201), Tuple.Create<System.Object, System.Int32>(linkedInLink
4826
4827 #line default
4828 #line hidden
4829 , 67201), false)
4830 );
4831
4832 WriteLiteral(" title=\"Link til LinkedIn\"");
4833
4834 WriteLiteral(" class=\"footer__social-link\"");
4835
4836 WriteLiteral(" target=\"_blank\"");
4837
4838 WriteLiteral(" rel=\"noopener noreferrer\"");
4839
4840 WriteLiteral(">\r\n <svg");
4841
4842 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4843
4844 WriteLiteral(" viewBox=\"0 0 20.129 22.404\"");
4845
4846 WriteLiteral("><path");
4847
4848 WriteLiteral(@" d=""M11.451 22.404H7.112V7.113h4.409v.71a5.1 5.1 0 0 1 2.433-.58c.146 0 .284 0 .411.014a6.95 6.95 0 0 1 2.846.709 6.335 6.335 0 0 1 2.134 2.205 6.226 6.226 0 0 1 .782 2.917v9.315h-4.339v-9.316a1.562 1.562 0 0 0-.215-.71l-.059-.079v-.006c-.182-.244-.313-.422-.5-.484a2.347 2.347 0 0 0-1.054-.3 1.219 1.219 0 0 0-.227.019 5.229 5.229 0 0 0-1.139.286 4.014 4.014 0 0 0-1.136.782v9.813zm-6.543 0H.497V7.113h4.411v15.29zM2.701 5.478a2.623 2.623 0 0 1-1.919-.782A2.623 2.623 0 0 1 0 2.774 2.923 2.923 0 0 1 .782.783 2.613 2.613 0 0 1 2.701.001a2.616 2.616 0 0 1 1.921.782 2.923 2.923 0 0 1 .782 1.991 2.623 2.623 0 0 1-.782 1.922 2.625 2.625 0 0 1-1.921.781z""");
4849
4850 WriteLiteral("/></svg>\r\n </a>\r\n");
4851
4852
4853 #line 979 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4854 }
4855
4856
4857 #line default
4858 #line hidden
4859 WriteLiteral(" ");
4860
4861
4862 #line 980 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4863 if (!string.IsNullOrEmpty(footerInstagram))
4864 {
4865 string instagramLink = redirectPage + footerInstagram;
4866
4867
4868 #line default
4869 #line hidden
4870 WriteLiteral(" <a");
4871
4872 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 68382), Tuple.Create("\"", 68403)
4873
4874 #line 983 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4875 , Tuple.Create(Tuple.Create("", 68389), Tuple.Create<System.Object, System.Int32>(instagramLink
4876
4877 #line default
4878 #line hidden
4879 , 68389), false)
4880 );
4881
4882 WriteLiteral(" title=\"Link til Instagram\"");
4883
4884 WriteLiteral(" class=\"footer__social-link\"");
4885
4886 WriteLiteral(" target=\"_blank\"");
4887
4888 WriteLiteral(" rel=\"noopener noreferrer\"");
4889
4890 WriteLiteral(">\r\n <svg");
4891
4892 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
4893
4894 WriteLiteral(" viewBox=\"0 0 19.991 19.988\"");
4895
4896 WriteLiteral("><path");
4897
4898 WriteLiteral(@" d=""M9.992 1.8c2.669 0 2.983.012 4.038.059a5.453 5.453 0 0 1 1.856.345 3.1 3.1 0 0 1 1.15.746 3.053 3.053 0 0 1 .746 1.15 5.555 5.555 0 0 1 .345 1.856c.048 1.055.059 1.368.059 4.038s-.012 2.983-.059 4.038a5.453 5.453 0 0 1-.345 1.856 3.1 3.1 0 0 1-.746 1.15 3.053 3.053 0 0 1-1.15.746 5.555 5.555 0 0 1-1.856.345c-1.055.048-1.368.059-4.038.059s-2.983-.012-4.038-.059a5.453 5.453 0 0 1-1.854-.343 3.1 3.1 0 0 1-1.15-.746 3.053 3.053 0 0 1-.75-1.15 5.555 5.555 0 0 1-.345-1.856C1.809 12.979 1.8 12.665 1.8 10s.012-2.983.059-4.038A5.453 5.453 0 0 1 2.2 4.1a3.1 3.1 0 0 1 .746-1.15A3.053 3.053 0 0 1 4.1 2.205a5.555 5.555 0 0 1 1.856-.345c1.055-.052 1.368-.059 4.038-.059m0-1.8C7.281.001 6.94.013 5.873.06a7.324 7.324 0 0 0-2.424.464 4.87 4.87 0 0 0-1.771 1.154A4.956 4.956 0 0 0 .524 3.447 7.329 7.329 0 0 0 .06 5.875C.012 6.938.001 7.275.001 9.992s.012 3.054.059 4.121a7.372 7.372 0 0 0 .464 2.428 4.87 4.87 0 0 0 1.154 1.769 4.956 4.956 0 0 0 1.769 1.154 7.329 7.329 0 0 0 2.428.464c1.067.048 1.4.059 4.121.059s3.054-.012 4.121-.059a7.372 7.372 0 0 0 2.428-.464 4.87 4.87 0 0 0 1.769-1.154 4.956 4.956 0 0 0 1.154-1.769 7.329 7.329 0 0 0 .464-2.428c.048-1.067.059-1.4.059-4.121s-.012-3.054-.059-4.121a7.372 7.372 0 0 0-.464-2.428 4.87 4.87 0 0 0-1.154-1.769A4.956 4.956 0 0 0 16.545.52a7.329 7.329 0 0 0-2.428-.464C13.046.012 12.7 0 9.992 0z""");
4899
4900 WriteLiteral("/><path");
4901
4902 WriteLiteral(" d=\"M9.992 4.859a5.133 5.133 0 1 0 5.133 5.133 5.134 5.134 0 0 0-5.133-5.133zm0 8" +
4903 ".465a3.332 3.332 0 1 1 3.332-3.332 3.331 3.331 0 0 1-3.332 3.332z\"");
4904
4905 WriteLiteral("/><circle");
4906
4907 WriteLiteral(" class=\"a\"");
4908
4909 WriteLiteral(" cx=\"1.198\"");
4910
4911 WriteLiteral(" cy=\"1.198\"");
4912
4913 WriteLiteral(" r=\"1.198\"");
4914
4915 WriteLiteral(" transform=\"translate(14.129 3.459)\"");
4916
4917 WriteLiteral("/></svg>\r\n </a>\r\n");
4918
4919
4920 #line 986 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4921 }
4922
4923
4924 #line default
4925 #line hidden
4926 WriteLiteral(" </div>\r\n </div>\r\n </div" +
4927 ">\r\n </div>\r\n </div>\r\n </div>\r\n</footer>\r\n\r\n");
4928
4929 WriteLiteral("\r\n <div");
4930
4931 WriteLiteral(" class=\"cookie-wrapper hard-load\"");
4932
4933 WriteLiteral(">\r\n");
4934
4935
4936 #line 1008 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4937
4938
4939 #line default
4940 #line hidden
4941 WriteLiteral(" ");
4942
4943
4944 #line 1012 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4945
4946 var breakingNewsId = Model.Area.Item.GetValue("BreakingNewsPage");
4947
4948 if (breakingNewsId != null)
4949 {
4950 if(!string.IsNullOrEmpty(breakingNewsId.ToString()))
4951 {
4952 Item item = Helpers.GetBreakingNewsItem(Convert.ToInt32(breakingNewsId));
4953
4954 if (item != null)
4955 {
4956 var link1 = item["Link_1"];
4957 var link2 = item["Link_2"];
4958
4959 var facebook = item["FacebookLink"];
4960 var email = item["Email"];
4961 var emailSubject = item["Subject"];
4962 var emailBody = item["Body"];
4963 var smsNumber = item["PhoneNumber"];
4964 var smsBody = item["SMSText"];
4965
4966
4967
4968 #line default
4969 #line hidden
4970 WriteLiteral(" <div");
4971
4972 WriteAttribute("id", Tuple.Create(" id=\"", 71909), Tuple.Create("\"", 71922)
4973
4974 #line 1033 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
4975 , Tuple.Create(Tuple.Create("", 71914), Tuple.Create<System.Object, System.Int32>(item.Id
4976
4977 #line default
4978 #line hidden
4979 , 71914), false)
4980 );
4981
4982 WriteLiteral(" class=\"alert-banner alert-banner--accepted\"");
4983
4984 WriteLiteral(">\r\n <div");
4985
4986 WriteLiteral(" class=\"grid grid-container\"");
4987
4988 WriteLiteral(">\r\n <div");
4989
4990 WriteLiteral(" class=\"row\"");
4991
4992 WriteLiteral(">\r\n <div");
4993
4994 WriteLiteral(" class=\"col col--sm-7 col--md-8 col--xl-9\"");
4995
4996 WriteLiteral(">\r\n <div");
4997
4998 WriteLiteral(" class=\"alert-banner__rich-text\"");
4999
5000 WriteLiteral(">\r\n <h3>\r\n");
5001
5002 WriteLiteral(" ");
5003
5004
5005 #line 1039 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5006 Write(item["Headline"]);
5007
5008
5009 #line default
5010 #line hidden
5011 WriteLiteral("\r\n </h3>\r\n " +
5012 "<p>\r\n");
5013
5014 WriteLiteral(" ");
5015
5016
5017 #line 1042 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5018 Write(item["Text"]);
5019
5020
5021 #line default
5022 #line hidden
5023 WriteLiteral("\r\n </p>\r\n </div" +
5024 ">\r\n </div>\r\n <div");
5025
5026 WriteLiteral(" class=\"col col--sm-5 col--md-4 col--xl-3\"");
5027
5028 WriteLiteral(">\r\n <div");
5029
5030 WriteLiteral(" class=\"alert-banner__link-wrapper\"");
5031
5032 WriteLiteral(">\r\n <div");
5033
5034 WriteLiteral(" class=\"alert-banner__contact-links\"");
5035
5036 WriteLiteral(">\r\n");
5037
5038
5039 #line 1049 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5040
5041
5042 #line default
5043 #line hidden
5044
5045 #line 1049 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5046
5047 if (facebook != null && !string.IsNullOrEmpty(facebook.ToString()))
5048 {
5049
5050
5051 #line default
5052 #line hidden
5053 WriteLiteral(" <a");
5054
5055 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 73058), Tuple.Create("\"", 73085)
5056
5057 #line 1052 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5058 , Tuple.Create(Tuple.Create("", 73065), Tuple.Create<System.Object, System.Int32>(facebook.ToString()
5059
5060 #line default
5061 #line hidden
5062 , 73065), false)
5063 );
5064
5065 WriteLiteral(" title=\"Alert link\"");
5066
5067 WriteLiteral(" class=\"alert-banner__contact-link\"");
5068
5069 WriteLiteral(">\r\n <svg");
5070
5071 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5072
5073 WriteLiteral(" viewBox=\"0 0 12.945 24.181\"");
5074
5075 WriteLiteral("><path");
5076
5077 WriteLiteral(" d=\"M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A" +
5078 "5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 " +
5079 "0 0-.286 1v2.348h4.625v4.622H8.319v11.236z\"");
5080
5081 WriteLiteral("/></svg>\r\n </a>\r\n");
5082
5083
5084 #line 1055 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5085 }
5086 if (email != null && !string.IsNullOrEmpty(email.ToString()))
5087 {
5088
5089
5090
5091 #line default
5092 #line hidden
5093 WriteLiteral(" <a");
5094
5095 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 73789), Tuple.Create("\"", 73959)
5096 , Tuple.Create(Tuple.Create("", 73796), Tuple.Create("mailto:", 73796), true)
5097
5098 #line 1059 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5099 , Tuple.Create(Tuple.Create("", 73803), Tuple.Create<System.Object, System.Int32>(email.ToString()
5100
5101 #line default
5102 #line hidden
5103 , 73803), false)
5104 , Tuple.Create(Tuple.Create("", 73820), Tuple.Create("?subject=", 73820), true)
5105
5106 #line 1059 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5107 , Tuple.Create(Tuple.Create("", 73829), Tuple.Create<System.Object, System.Int32>(emailSubject != null ? emailSubject.ToString() : string.Empty
5108
5109 #line default
5110 #line hidden
5111 , 73829), false)
5112 , Tuple.Create(Tuple.Create(" ", 73893), Tuple.Create("&body=", 73894), true)
5113
5114 #line 1059 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5115 , Tuple.Create(Tuple.Create("", 73900), Tuple.Create<System.Object, System.Int32>(emailBody != null ? emailBody.ToString() : string.Empty
5116
5117 #line default
5118 #line hidden
5119 , 73900), false)
5120 , Tuple.Create(Tuple.Create(" ", 73958), Tuple.Create("", 73958), true)
5121 );
5122
5123 WriteLiteral(" title=\"Alert link\"");
5124
5125 WriteLiteral(" class=\"alert-banner__contact-link\"");
5126
5127 WriteLiteral(">\r\n <svg");
5128
5129 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5130
5131 WriteLiteral(" viewBox=\"0 0 26 21.125\"");
5132
5133 WriteLiteral("><path");
5134
5135 WriteLiteral(@" d=""M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z""");
5136
5137 WriteLiteral("/></svg>\r\n </a>\r\n");
5138
5139
5140 #line 1062 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5141 }
5142 if (smsNumber != null && !string.IsNullOrEmpty(smsNumber.ToString()))
5143 {
5144
5145
5146 #line default
5147 #line hidden
5148 WriteLiteral(" <a");
5149
5150 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 74796), Tuple.Create("\"", 74889)
5151 , Tuple.Create(Tuple.Create("", 74803), Tuple.Create("sms:", 74803), true)
5152
5153 #line 1065 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5154 , Tuple.Create(Tuple.Create("", 74807), Tuple.Create<System.Object, System.Int32>(smsNumber.ToString()
5155
5156 #line default
5157 #line hidden
5158 , 74807), false)
5159 , Tuple.Create(Tuple.Create("", 74828), Tuple.Create("?&body=", 74828), true)
5160
5161 #line 1065 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5162 , Tuple.Create(Tuple.Create("", 74835), Tuple.Create<System.Object, System.Int32>(smsBody != null ? smsBody.ToString() : string.Empty
5163
5164 #line default
5165 #line hidden
5166 , 74835), false)
5167 );
5168
5169 WriteLiteral(" title=\"Alert link\"");
5170
5171 WriteLiteral(" class=\"alert-banner__contact-link alert-banner__contact-links--sms\"");
5172
5173 WriteLiteral(">\r\n <svg");
5174
5175 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5176
5177 WriteLiteral(" width=\"32\"");
5178
5179 WriteLiteral(" height=\"32\"");
5180
5181 WriteLiteral(" viewBox=\"0 0 32 32\"");
5182
5183 WriteLiteral("><g");
5184
5185 WriteLiteral(" fill=\"#d53f53\"");
5186
5187 WriteLiteral("><path");
5188
5189 WriteLiteral(" d=\"M10.624 15.81a2.03 2.03 0 0 1-.766 1.681 3.325 3.325 0 0 1-2.13.612 5 5 0 0 1" +
5190 "-2.228-.477v-1.547a9.163 9.163 0 0 0 1.345.5 3.981 3.981 0 0 0 1.007.145 1.432 1" +
5191 ".432 0 0 0 .841-.209.716.716 0 0 0 .298-.624.688.688 0 0 0-.129-.411 1.442 1.442" +
5192 " 0 0 0-.379-.346 9.739 9.739 0 0 0-1.018-.532 4.824 4.824 0 0 1-1.08-.65 2.44 2." +
5193 "44 0 0 1-.575-.725 2.069 2.069 0 0 1-.21-.967 2.029 2.029 0 0 1 .7-1.638 2.935 2" +
5194 ".935 0 0 1 1.952-.6 4.61 4.61 0 0 1 1.168.145 8.03 8.03 0 0 1 1.163.408l-.534 1." +
5195 "298a7.858 7.858 0 0 0-1.039-.36 3.345 3.345 0 0 0-.808-.1 1.07 1.07 0 0 0-.725.2" +
5196 "2.726.726 0 0 0-.252.575.711.711 0 0 0 .1.384 1.122 1.122 0 0 0 .325.317 10.047 " +
5197 "10.047 0 0 0 1.055.551 4.2 4.2 0 0 1 1.51 1.053 2.06 2.06 0 0 1 .409 1.297zm4.74" +
5198 "8 2.181l-1.891-6.161h-.048q.1 1.88.1 2.508v3.653h-1.486v-7.853h2.266l1.858 6h.02" +
5199 "9l1.971-6h2.267v7.853H18.89v-3.717q0-.263.008-.607t.072-1.826h-.048l-2.022 6.15z" +
5200 "m11.682-2.181a2.03 2.03 0 0 1-.765 1.676 3.325 3.325 0 0 1-2.13.612 5 5 0 0 1-2." +
5201 "224-.473v-1.546a9.163 9.163 0 0 0 1.345.5 3.981 3.981 0 0 0 1.007.145 1.432 1.43" +
5202 "2 0 0 0 .841-.209.716.716 0 0 0 .293-.623.688.688 0 0 0-.129-.411 1.442 1.442 0 " +
5203 "0 0-.379-.346 9.739 9.739 0 0 0-1.013-.533 4.824 4.824 0 0 1-1.08-.65 2.44 2.44 " +
5204 "0 0 1-.575-.725 2.069 2.069 0 0 1-.215-.967 2.029 2.029 0 0 1 .706-1.638 2.935 2" +
5205 ".935 0 0 1 1.952-.6 4.61 4.61 0 0 1 1.168.145 8.03 8.03 0 0 1 1.163.408l-.537 1." +
5206 "294a7.858 7.858 0 0 0-1.039-.36 3.345 3.345 0 0 0-.808-.1 1.07 1.07 0 0 0-.725.2" +
5207 "2.726.726 0 0 0-.252.575.711.711 0 0 0 .1.384 1.122 1.122 0 0 0 .325.317 10.047 " +
5208 "10.047 0 0 0 1.055.551 4.2 4.2 0 0 1 1.509 1.055 2.06 2.06 0 0 1 .407 1.299z\"");
5209
5210 WriteLiteral("/><path");
5211
5212 WriteLiteral(@" d=""M16 28a18.276 18.276 0 0 1-2.991-.253L6 32v-7.081A13.4 13.4 0 0 1 0 14C0 6.268 7.163 0 16 0s16 6.268 16 14-7.163 14-16 14zm0-26C8.268 2 2 7.373 2 14a11.591 11.591 0 0 0 5.975 9.824l-.063 4.638 4.707-2.829A16.2 16.2 0 0 0 16 26c7.732 0 14-5.372 14-12S23.732 2 16 2z""");
5213
5214 WriteLiteral("/></g></svg>\r\n </a>\r\n");
5215
5216
5217 #line 1068 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5218 }
5219
5220
5221 #line default
5222 #line hidden
5223 WriteLiteral(" \r\n </div>\r\n");
5224
5225
5226 #line 1071 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5227
5228
5229 #line default
5230 #line hidden
5231
5232 #line 1071 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5233 if (link1 != null)
5234 {
5235 Item linkItem = Helpers.GetItemByItemId("LinkItem", link1.ToString());
5236 if (linkItem["Link"] != null)
5237 {
5238 string link = linkItem["Link"].ToString();
5239 if (!string.IsNullOrEmpty(link))
5240 {
5241
5242
5243 #line default
5244 #line hidden
5245 WriteLiteral(" <a");
5246
5247 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 77836), Tuple.Create("\"", 77848)
5248
5249 #line 1079 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5250 , Tuple.Create(Tuple.Create("", 77843), Tuple.Create<System.Object, System.Int32>(link
5251
5252 #line default
5253 #line hidden
5254 , 77843), false)
5255 );
5256
5257 WriteLiteral(" class=\"alert-banner__link\"");
5258
5259 WriteLiteral(">\r\n \r\n");
5260
5261 WriteLiteral("<span");
5262
5263 WriteLiteral(" class=\"arrow\"");
5264
5265 WriteLiteral(">\r\n <svg");
5266
5267 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5268
5269 WriteLiteral(" viewBox=\"0 0 40.62 16\"");
5270
5271 WriteLiteral("><path");
5272
5273 WriteLiteral(" d=\"M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z\"");
5274
5275 WriteLiteral("/><path");
5276
5277 WriteLiteral(" class=\"spine\"");
5278
5279 WriteLiteral(" d=\"M0 7.5h40v1H0z\"");
5280
5281 WriteLiteral("/></svg>\r\n</span>\r\n\r\n <span>");
5282
5283
5284 #line 1086 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5285 Write(linkItem["Label"].ToString());
5286
5287
5288 #line default
5289 #line hidden
5290 WriteLiteral("</span>\r\n </a>\r\n");
5291
5292
5293 #line 1088 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5294 }
5295 }
5296 }
5297
5298
5299 #line default
5300 #line hidden
5301 WriteLiteral(" ");
5302
5303
5304 #line 1091 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5305 if (link2 != null)
5306 {
5307 Item linkItem = Helpers.GetItemByItemId("LinkItem", link2.ToString());
5308 if (linkItem["Link"] != null)
5309 {
5310 string link = linkItem["Link"].ToString();
5311 if (!string.IsNullOrEmpty(link))
5312 {
5313
5314
5315 #line default
5316 #line hidden
5317 WriteLiteral(" <a");
5318
5319 WriteAttribute("href", Tuple.Create(" href=https://oplev.esbjerg.dk/\"", 79095), Tuple.Create("\"", 79107)
5320
5321 #line 1099 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5322 , Tuple.Create(Tuple.Create("", 79102), Tuple.Create<System.Object, System.Int32>(link
5323
5324 #line default
5325 #line hidden
5326 , 79102), false)
5327 );
5328
5329 WriteLiteral(" class=\"alert-banner__link\"");
5330
5331 WriteLiteral(">\r\n \r\n");
5332
5333 WriteLiteral("<span");
5334
5335 WriteLiteral(" class=\"arrow\"");
5336
5337 WriteLiteral(">\r\n <svg");
5338
5339 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5340
5341 WriteLiteral(" viewBox=\"0 0 40.62 16\"");
5342
5343 WriteLiteral("><path");
5344
5345 WriteLiteral(" d=\"M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z\"");
5346
5347 WriteLiteral("/><path");
5348
5349 WriteLiteral(" class=\"spine\"");
5350
5351 WriteLiteral(" d=\"M0 7.5h40v1H0z\"");
5352
5353 WriteLiteral("/></svg>\r\n</span>\r\n\r\n <span>");
5354
5355
5356 #line 1106 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5357 Write(linkItem["Label"].ToString());
5358
5359
5360 #line default
5361 #line hidden
5362 WriteLiteral("</span>\r\n </a>\r\n");
5363
5364
5365 #line 1108 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5366 }
5367 }
5368 }
5369
5370
5371 #line default
5372 #line hidden
5373 WriteLiteral("\r\n </div>\r\n <button" +
5374 "");
5375
5376 WriteLiteral(" type=\"button\"");
5377
5378 WriteLiteral(" class=\"alert-banner__close-btn\"");
5379
5380 WriteLiteral(">\r\n <span");
5381
5382 WriteLiteral(" class=\"alert-banner__close-icon\"");
5383
5384 WriteLiteral(">\r\n <svg");
5385
5386 WriteLiteral(" xmlns=\"http://www.w3.org/2000/svg\"");
5387
5388 WriteLiteral(" viewBox=\"0 0 19.801 19.798\"");
5389
5390 WriteLiteral("><path");
5391
5392 WriteLiteral(" d=\"M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485" +
5393 " 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z\"");
5394
5395 WriteLiteral("/></svg>\r\n </span>\r\n " +
5396 " <span");
5397
5398 WriteLiteral(" class=\"alert-banner__close-text\"");
5399
5400 WriteLiteral(@">
5401 Luk
5402 </span>
5403 </button>
5404 </div>
5405 </div>
5406 </div>
5407 </div>
5408 ");
5409
5410
5411 #line 1125 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5412 }
5413 }
5414 }
5415
5416
5417
5418 #line default
5419 #line hidden
5420 WriteLiteral("\r\n\r\n\r\n\r\n <!-- <div class=\"cookie cookie--accepted\">\r\n <div class=\"grid " +
5421 "grid-container\">\r\n <div class=\"row\">\r\n <div class=\"col col--sm" +
5422 "-8 col--md-9\">\r\n <div class=\"cookie__text\">\r\n");
5423
5424 WriteLiteral(" ");
5425
5426
5427 #line 1138 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5428 Write(Model.Area.Item.GetField("CookieWarning").GetValue());
5429
5430
5431 #line default
5432 #line hidden
5433 WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"col col--sm" +
5434 "-4 col--md-3\">\r\n <button type=\"button\" class=\"cookie__accept-btn " +
5435 "text--link svg-fill--link\">\r\n \r\n");
5436
5437 WriteLiteral("<span class=\"arrow\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 40" +
5438 ".62 16\"><path d=\"M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z\"/><path cla" +
5439 "ss=\"spine\" d=\"M0 7.5h40v1H0z\"/></svg>\r\n</span>\r\n\r\n <span>");
5440
5441
5442 #line 1149 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5443 Write(Translate("OkAccept", "Ok, jeg accepterer"));
5444
5445
5446 #line default
5447 #line hidden
5448 WriteLiteral("</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div" +
5449 ">\r\n</div> -->\r\n </div>\r\n\r\n");
5450
5451
5452 #line 1157 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5453
5454
5455 #line default
5456 #line hidden
5457 WriteLiteral("\r\n");
5458
5459
5460 #line 1160 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5461
5462 var host = HttpContext.Current.Request.Url.Host.StartsWith("local.") ? "subsite-esbjerg.dis-play.dk" : HttpContext.Current.Request.Url.Host;
5463
5464 string jsPath = "/Files/Templates/Designs/" + Pageview.Layout.Design.Name;
5465 string searchPath = Model.Area.Item.GetString("SearchResultPage");
5466 string cludoEngineID = Model.Area.Item.GetString("CludoEngineID");
5467
5468 if (!string.IsNullOrEmpty(searchPath))
5469 {
5470 searchPath = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("Default.aspx?Id=" + searchPath);
5471 }
5472
5473 if (string.IsNullOrEmpty(cludoEngineID))
5474 {
5475 cludoEngineID = 11424;
5476 }
5477
5478
5479 #line default
5480 #line hidden
5481 WriteLiteral("\r\n\r\n<script>\r\n ");
5482
5483 WriteLiteral("\r\n\r\n /*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT Li" +
5484 "cense - https://github.com/filamentgroup/loadCSS */\r\n !function (t) { \"us" +
5485 "e strict\"; t.loadCSS || (t.loadCSS = function () { }); var e = loadCSS.relpreloa" +
5486 "d = {}; if (e.support = function () { var e; try { e = t.document.createElement(" +
5487 "\"link\").relList.supports(\"preload\") } catch (t) { e = !1 } return function () { " +
5488 "return e } }(), e.bindMediaToggle = function (t) { function e() { t.media = a } " +
5489 "var a = t.media || \"all\"; t.addEventListener ? t.addEventListener(\"load\", e) : t" +
5490 ".attachEvent && t.attachEvent(\"onload\", e), setTimeout(function () { t.rel = \"st" +
5491 "ylesheet\", t.media = \"only x\" }), setTimeout(e, 3e3) }, e.poly = function () { i" +
5492 "f (!e.support()) for (var a = t.document.getElementsByTagName(\"link\"), n = 0; n " +
5493 "< a.length; n++) { var o = a[n]; \"preload\" !== o.rel || \"style\" !== o.getAttribu" +
5494 "te(\"as\") || o.getAttribute(\"data-loadcss\") || (o.setAttribute(\"data-loadcss\", !0" +
5495 "), e.bindMediaToggle(o)) } }, !e.support()) { e.poly(); var a = t.setInterval(e." +
5496 "poly, 500); t.addEventListener ? t.addEventListener(\"load\", function () { e.poly" +
5497 "(), t.clearInterval(a) }) : t.attachEvent && t.attachEvent(\"onload\", function ()" +
5498 " { e.poly(), t.clearInterval(a) }) } \"undefined\" != typeof exports ? exports.loa" +
5499 "dCSS = loadCSS : t.loadCSS = loadCSS }(\"undefined\" != typeof global ? global : t" +
5500 "his);\r\n\r\n // Enable this to register a service worker. Pl" +
5501 "ease make sure you understand the implications of doing so.\r\n " +
5502 " // if (\"serviceWorker\" in navigator) { navigator.serviceWorker.register(\"/s" +
5503 "w.js\", { scope: \'/\' }); }\r\n</script>\r\n\r\n<script");
5504
5505 WriteAttribute("src", Tuple.Create(" src=https://oplev.esbjerg.dk/\'", 85504), Tuple.Create("\'", 85544)
5506
5507 #line 1197 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5508 , Tuple.Create(Tuple.Create("", 85510), Tuple.Create<System.Object, System.Int32>(jsPath
5509
5510 #line default
5511 #line hidden
5512 , 85510), false)
5513 , Tuple.Create(Tuple.Create("", 85517), Tuple.Create("/static/dist/js/main.min.js", 85517), true)
5514 );
5515
5516 WriteLiteral(" type=\"text/javascript\"");
5517
5518 WriteLiteral("></script>\r\n<script");
5519
5520 WriteLiteral(" src=https://oplev.esbjerg.dk/\'https://cdn.polyfill.io/v2/polyfill.js?features=default-3.6,fetch,Object.va" +
5521 "lues,Array.prototype.findIndex\'");
5522
5523 WriteLiteral(" type=\"text/javascript\"");
5524
5525 WriteLiteral("></script>\r\n");
5526
5527 WriteLiteral("\r\n\r\n<!--SiteImprove script-->\r\n<script");
5528
5529 WriteLiteral(" type=\"text/javascript\"");
5530
5531 WriteLiteral(@">
5532 /*<![CDATA[*/
5533 (function () {
5534 var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true;
5535 sz.src ='//siteimproveanalytics.com/js/siteanalyze_273521.js';
5536 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s);
5537 })();
5538 /*]]>*/
5539 </script>
5540 <!--Minimap-->
5541 ");
5542
5543
5544 #line 1212 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5545 Write(RenderSnippet("Minimap"));
5546
5547
5548 #line default
5549 #line hidden
5550 WriteLiteral("\r\n \r\n<!--Kode - Footer section-->\r\n");
5551
5552
5553 #line 1215 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5554 Write(RenderSnippet("KodeFooter"));
5555
5556
5557 #line default
5558 #line hidden
5559 WriteLiteral(@"
5560
5561
5562 <!-- SCRIPT -->
5563 <!-- www.Cludo.com search start JS -->
5564 <!--[if lte IE 9]>
5565 <script src=""https://api.cludo.com/scripts/xdomain.js"" slave=""https://api.cludo.com/proxy.html""></script>
5566 <![endif]-->
5567 <!-- www.Cludo.com search end JS -->
5568 <!-- www.Cludo.com Search body init script start -->
5569
5570 <script");
5571
5572 WriteLiteral(" type=\"text/javascript\"");
5573
5574 WriteLiteral(" src=https://oplev.esbjerg.dk/\"https://customer.cludo.com/scripts/bundles/search-script.min.js\"");
5575
5576 WriteLiteral("></script>\r\n\r\n<script>\r\n var CludoSearch;\r\n (function () {\r\n var clu" +
5577 "doSettings = {\r\n customerId: 80,\r\n engineId: 11424,\r\n " +
5578 " searchUrl: \"");
5579
5580
5581 #line 1234 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5582 Write(searchPath);
5583
5584
5585 #line default
5586 #line hidden
5587 WriteLiteral("\",\r\n language: \"");
5588
5589
5590 #line 1235 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5591 Write(Dynamicweb.Services.Areas.GetArea(Model.Area.ID).CultureInfo.TwoLetterISOLanguageName);
5592
5593
5594 #line default
5595 #line hidden
5596 WriteLiteral("\",\r\n filters: { \"DomainName\": [\"https://");
5597
5598
5599 #line 1236 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5600 Write(host);
5601
5602
5603 #line default
5604 #line hidden
5605 WriteLiteral(@"/""] },
5606 searchInputs: [""cludo-search-form"", ""search-box-form""],
5607 initSearchBoxText: """",
5608 loading: ""<img src='//customer.cludo.com/img/loading.gif' alt='Loading' class='loading' role='progressbar' />"",
5609 customCallbackAfterSearch: function () {
5610 window.cludoCallback();
5611 }
5612 //bannerIsInSearchTemplate: false,
5613 //endlessScroll: {stopAfterPage:3, resultsPerPage:10, bottomOffset: 700},
5614 //richAutocomplete: true
5615 //");
5616
5617
5618 #line 1246 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5619 Write(cludoEngineID);
5620
5621
5622 #line default
5623 #line hidden
5624 WriteLiteral("\r\n };\r\n CludoSearch = new Cludo(cludoSettings);\r\n\t\tCludoSearch.init" +
5625 "();\r\n })();\r\n</script>\r\n\r\n\r\n\r\n<!--Footer scripts from website settings subsit" +
5626 "es-->\r\n");
5627
5628
5629 #line 1256 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5630 string scriptFooterArea = Model.Area.Item.GetString("ScriptFooterArea");
5631
5632 #line default
5633 #line hidden
5634 WriteLiteral("\r\n");
5635
5636
5637 #line 1257 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5638
5639
5640 #line default
5641 #line hidden
5642
5643 #line 1257 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5644 if (!string.IsNullOrEmpty(scriptFooterArea)){
5645
5646
5647 #line default
5648 #line hidden
5649
5650 #line 1258 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5651 Write(scriptFooterArea);
5652
5653
5654 #line default
5655 #line hidden
5656
5657 #line 1258 "D:\Subsites\Files\Templates\Designs\Esbjerg\_parsed\SubsitePage.parsed.cshtml"
5658
5659 }
5660
5661
5662 #line default
5663 #line hidden
5664 WriteLiteral("</body>\r\n</html>\r\n\r\n");
5665
5666 }
5667 }
5668 }
5669
1 @using System.Activities.Statements
2 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
3 @Title("Subsite - Master")
4 @Description("Master template til subsites")
5 @{
6 var bodyClass = "subsite";
7
8 // thema variables
9 var themeActive = Model.Area.Item.GetBoolean("Subsite");
10 var themeTop = Model.Area.Item.GetList("ThemeTop").SelectedValue;
11 var themeContentArea = Model.Area.Item.GetList("ThemeContentArea").SelectedValue;
12 var themeFooter = Model.Area.Item.GetList("ThemeFooter").SelectedValue;
13 var themeTopHex = themeActive && themeTop != null ? themeTop : "";
14 var themeContentHex = themeActive && themeContentArea != null ? themeContentArea : "";
15 var themeFooterHex = themeActive && themeFooter != null ? themeFooter : "";
16
17 var searchPageId = Model.Area.Item.GetInt64("SearchResultPage");
18 var bodyId = "";
19
20 // if current page is the searchresult page
21 if (searchPageId != 0)
22 {
23 if (Dynamicweb.Frontend.PageView.Current().Page.ID == searchPageId)
24 {
25 bodyId = "id=\"cludo-search-results\"";
26 }
27 }
28
29 if (Dynamicweb.Environment.ExecutingContext.IsAdminLoggedIn())
30 {
31 bodyClass += " logged-in";
32 }
33 }
34
35 <!DOCTYPE html>
36 <html lang="@Dynamicweb.Services.Areas.GetArea(Model.Area.ID).CultureInfo.TwoLetterISOLanguageName" class="no-js">
37
38 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
39
40 @using Esbjerg.Logic
41
42 @{
43 string cssPath = "/Files/Templates/Designs/" + Pageview.Layout.Design.Name;
44 //Color codes
45 // string colorPrimary = "#007AB8";
46 // string colorPrimaryHover = "#004069";
47 // string colorPrimaryAlternate = "#00669F";
48 // string colorSecondary = "#007AB8";
49 // string textPrimary = "#FFFFFF";
50 // string textSecondary = "#FFFFFF";
51 // string colorLink = "#D53F53";
52 // string colorLinkAlternate = colorPrimary;
53
54 // if (Model.Area.Item.GetBoolean("Subsite"))
55 // {
56 // colorPrimary = Model.Area.Item.GetString("ColorArea1");
57 // colorPrimaryHover = Model.Area.Item.GetString("HoverColor"); // Need new color in BE here
58 // colorPrimaryAlternate = colorPrimaryHover;
59 // colorSecondary = Model.Area.Item.GetString("ColorArea2");
60 // textPrimary = Model.Area.Item.GetString("MenuTextColorPassive");
61 // textSecondary = Model.Area.Item.GetString("HeaderFooterMenuText");
62 // colorLink = colorPrimary;
63 // colorLinkAlternate = colorPrimary;
64 // }
65
66 string appleTouchIcon = @Model.Area.Item.GetString("Apple_touch_icon");
67 string Favicon32x32 = @Model.Area.Item.GetString("Favicon32x32");
68 string Favicon16x16 = @Model.Area.Item.GetString("Favicon16x16");
69 }
70 <head>
71 <title>@Model.Title</title>
72 <meta name="pageID" content='@Model.ID'>
73 <script src="https://cookiecontrol.bleau.dk/scripts/cookieconsent.js"></script>
74 <script id="cookiecontrolfunctions" src="https://cookiecontrol.bleau.dk/scripts/Cookiecontrolfunctions.js" data-cname="Esbjerg" data-defaultset="EsbjergDefault"></script>
75 <meta name="description" content="@Model.Description" />
76 <meta name="keywords" content="@Model.Keywords" />
77 <meta charset="utf-8">
78 <!-- Add to web.config -->
79 <meta http-equiv="X-UA-Compatible" content="IE=edge">
80 <meta name="viewport" content="width=device-width, initial-scale=1">
81 <meta name="format-detection" content="telephone=no">
82
83 <!-- Change this to be dynamic -->
84 @RenderSnippet("MetaTags")
85
86 <!-- Favicons @appleTouchIcon test="@(!String.IsNullOrEmpty(appleTouchIcon) ? "@appleTouchIcon" : "/apple-touch-icon.png")" -->
87
88
89 <link rel="apple-touch-icon" sizes="180x180" href="@(!String.IsNullOrEmpty(appleTouchIcon) ? @appleTouchIcon : "/apple-touch-icon.png")">
90 <link rel="icon" type="image/png" sizes="32x32" href="@(!String.IsNullOrEmpty(@Favicon32x32) ? @Favicon32x32 : "/favicon-32x32.png")">
91 <link rel="icon" type="image/png" sizes="16x16" href="@(!String.IsNullOrEmpty(@Favicon16x16) ? @Favicon16x16 : "/favicon-16x16.png")">
92 <link rel="manifest" href="/site.webmanifest">
93 <link rel="mask-icon" href="/safari-pinned-tab.svg" color="Favicon32x32#5bbad5">
94 <meta name="msapplication-TileColor" content="#da532c">
95 <meta name="theme-color" content="#ffffff">
96
97 @RenderSnippet("EditorSnippet")
98
99 <!-- Create a block of inline styling to display until the primary CSS is ready. -->
100 <style type="text/css"> @Helpers.ReadFile(Pageview.Layout.Design.Path, "static/dist/css/critical-subsite.min.css")</style>
101 @* <link rel="preload" href="@cssPath/static/dist/css/critical-subsite.min.css" as="style" onload="this.onload=null;this.rel='stylesheet';window.esbjerg&&window.esbjerg.stylesLoaded&&window.esbjerg.stylesLoaded()"> *@
102 <link rel="preload" href="@cssPath/static/dist/css/main-subsite.min.css" as="style" onload="this.onload=null;this.rel='stylesheet';window.esbjerg&&window.esbjerg.stylesLoaded&&window.esbjerg.stylesLoaded()">
103 <noscript><link rel="stylesheet" type="text/css" href="@cssPath/static/dist/css/main-subsite.min.css"></noscript>
104 <!-- www.Cludo.com search start CSS -->
105 <link href="https://customer.cludo.com/assets/80/10930/cludo-search.min.css" type="text/css" rel="stylesheet">
106 <!-- Preload our main script, since we know we are gonna load this later -->
107 @*<link rel="preload" as="script" href="@cssPath/static/dist/js/main.min.js">*@
108
109 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
110 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Regular.woff" as="font" type="font/woff" crossorigin="anonymous">
111 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Regular.ttf" as="font" type="font/ttf" crossorigin="anonymous">
112
113 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Light.woff2" as="font" type="font/woff2" crossorigin="anonymous">
114 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Light.woff" as="font" type="font/woff" crossorigin="anonymous">
115 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Light.ttf" as="font" type="font/ttf" crossorigin="anonymous">
116
117 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Bold.woff2" as="font" type="font/woff2" crossorigin="anonymous">
118 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Bold.woff" as="font" type="font/woff" crossorigin="anonymous">
119 <link rel="preload" href="@cssPath/static/dist/fonts/OpenSans/OpenSans-Bold.ttf" as="font" type="font/ttf" crossorigin="anonymous">
120
121
122
123 <!-- You can use "prefetch" to preload other important assets (if you're not using HTTP/2 push) -->
124 <!-- And you can tell the browser to pre-connect to other sites you know you are going to talk to eventually: -->
125 <link rel="dns-prefetch" href="https://cdn.polyfill.io">
126
127 <script type="text/javascript">@Helpers.ReadFile(Pageview.Layout.Design.Path, "static/dist/js/modernizr.js")</script>
128
129 <!--Insights-->
130 <script type="text/javascript">
131 !function (T, l, y) { var S = T.location, u = "script", k = "instrumentationKey", D = "ingestionendpoint", C = "disableExceptionTracking", E = "ai.device.", I = "toLowerCase", b = "crossOrigin", w = "POST", e = "appInsightsSDK", t = y.name || "appInsights"; (y.name || T[e]) && (T[e] = t); var n = T[t] || function (d) { var g = !1, f = !1, m = { initialize: !0, queue: [], sv: "4", version: 2, config: d }; function v(e, t) { var n = {}, a = "Browser"; return n[E + "id"] = a[I](), n[E + "type"] = a, n["ai.operation.name"] = S && S.pathname || "_unknown_", n["ai.internal.sdkVersion"] = "javascript:snippet_" + (m.sv || m.version), { time: function () { var e = new Date; function t(e) { var t = "" + e; return 1 === t.length && (t = "0" + t), t } return e.getUTCFullYear() + "-" + t(1 + e.getUTCMonth()) + "-" + t(e.getUTCDate()) + "T" + t(e.getUTCHours()) + ":" + t(e.getUTCMinutes()) + ":" + t(e.getUTCSeconds()) + "." + ((e.getUTCMilliseconds() / 1e3).toFixed(3) + "").slice(2, 5) + "Z" }(), iKey: e, name: "Microsoft.ApplicationInsights." + e.replace(/-/g, "") + "." + t, sampleRate: 100, tags: n, data: { baseData: { ver: 2 } } } } var h = d.url || y.src; if (h) { function a(e) { var t, n, a, i, r, o, s, c, p, l, u; g = !0, m.queue = [], f || (f = !0, t = h, s = function () { var e = {}, t = d.connectionString; if (t) for (var n = t.split(";"), a = 0; a < n.length; a++) { var i = n[a].split("="); 2 === i.length && (e[i[0][I]()] = i[1]) } if (!e[D]) { var r = e.endpointsuffix, o = r ? e.location : null; e[D] = "https://" + (o ? o + "." : "") + "dc." + (r || "services.visualstudio.com") } return e }(), c = s[k] || d[k] || "", p = s[D], l = p ? p + "/v2/track" : config.endpointUrl, (u = []).push((n = "SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details)", a = t, i = l, (o = (r = v(c, "Exception")).data).baseType = "ExceptionData", o.baseData.exceptions = [{ typeName: "SDKLoadFailed", message: n.replace(/\./g, "-"), hasFullStack: !1, stack: n + "\nSnippet failed to load [" + a + "] -- Telemetry is disabled\nHelp Link: https://go.microsoft.com/fwlink/?linkid=2128109\nHost: " + (S && S.pathname || "_unknown_") + "\nEndpoint: " + i, parsedStack: [] }], r)), u.push(function (e, t, n, a) { var i = v(c, "Message"), r = i.data; r.baseType = "MessageData"; var o = r.baseData; return o.message = 'AI (Internal): 99 message:"' + ("SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details) (" + n + ")").replace(/\"/g, "") + '"', o.properties = { endpoint: a }, i }(0, 0, t, l)), function (e, t) { if (JSON) { var n = T.fetch; if (n && !y.useXhr) n(t, { method: w, body: JSON.stringify(e), mode: "cors" }); else if (XMLHttpRequest) { var a = new XMLHttpRequest; a.open(w, t), a.setRequestHeader("Content-type", "application/json"), a.send(JSON.stringify(e)) } } }(u, l)) } function i(e, t) { f || setTimeout(function () { !t && m.core || a() }, 500) } var e = function () { var n = l.createElement(u); n.src =h; var e = y[b]; return !e && "" !== e || "undefined" == n[b] || (n[b] = e), n.onload = i, n.onerror = a, n.onreadystatechange = function (e, t) { "loaded" !== n.readyState && "complete" !== n.readyState || i(0, t) }, n }(); y.ld < 0 ? l.getElementsByTagName("head")[0].appendChild(e) : setTimeout(function () { l.getElementsByTagName(u)[0].parentNode.appendChild(e) }, y.ld || 0) } try { m.cookie = l.cookie } catch (p) { } function t(e) { for (; e.length;)!function (t) { m[t] = function () { var e = arguments; g || m.queue.push(function () { m[t].apply(m, e) }) } }(e.pop()) } var n = "track", r = "TrackPage", o = "TrackEvent"; t([n + "Event", n + "PageView", n + "Exception", n + "Trace", n + "DependencyData", n + "Metric", n + "PageViewPerformance", "start" + r, "stop" + r, "start" + o, "stop" + o, "addTelemetryInitializer", "setAuthenticatedUserContext", "clearAuthenticatedUserContext", "flush"]), m.SeverityLevel = { Verbose: 0, Information: 1, Warning: 2, Error: 3, Critical: 4 }; var s = (d.extensionConfig || {}).ApplicationInsightsAnalytics || {}; if (!0 !== d[C] && !0 !== s[C]) { method = "onerror", t(["_" + method]); var c = T[method]; T[method] = function (e, t, n, a, i) { var r = c && c(e, t, n, a, i); return !0 !== r && m["_" + method]({ message: e, url: t, lineNumber: n, columnNumber: a, error: i }), r }, d.autoExceptionInstrumented = !0 } return m }(y.cfg); (T[t] = n).queue && 0 === n.queue.length && n.trackPageView({}) }(window, document, {
132 src: "https://az416426.vo.msecnd.net/scripts/b/ai.2.min.js", // The SDK URL Source
133 //name: "appInsights", // Global SDK Instance name defaults to "appInsights" when not supplied
134 //ld: 0, // Defines the load delay (in ms) before attempting to load the sdk. -1 = block page load and add to head. (default) = 0ms load after timeout,
135 //useXhr: 1, // Use XHR instead of fetch to report failures (if available),
136 //crossOrigin: "anonymous", // When supplied this will add the provided value as the cross origin attribute on the script tag
137 cfg: { // Application Insights Configuration
138 instrumentationKey: "5b8602f4-7263-41f7-b005-6c42db042759",
139 name: "BleauBorgerEsbjerg",
140 isCookieUseDisabled: "true"
141 /* ...Other Configuration Options... */
142 }
143 });
144 </script>
145
146 <!--Kode - Header section-->
147 @RenderSnippet("KodeHeader")
148
149 @RenderSnippet("MinimapHead")
150 </head>
151
152 <body class="@bodyClass" @bodyId>
153 @if (themeActive)
154 {
155 <style>
156 :root {
157 /* Header/Top Area*/
158 --theme-top__primary-color: @($"#{themeTopHex}");
159 --theme-top__primary-color--alternate: @($"#{GetLinkColor(themeTopHex)}");
160 --theme-top__primary-color--text: @GetThemeTextColor(themeTopHex);
161 --theme-top__primary-color--dimmed: @($"#{GetContrastColor(themeTopHex)}");
162 --theme-top__color--link-hover: @($"#{themeTopHex}");
163
164 /* Content Area */
165 --theme-content__primary-color: @($"#{themeContentHex}");
166 --theme-content__primary-color--alternate: @($"#{GetLinkColor(themeContentHex)}");
167 --theme-content__primary-color--text: @GetThemeTextColor(themeContentHex);
168 --theme-content__color--gallery-arrow: @($"#{themeContentHex}");
169 --theme-content__primary-color--dimmed: @($"#{GetContrastColor(themeContentHex)}");
170 --theme-content__color--link-hover: @($"#{themeContentHex}");
171
172 /* Footer Area */
173 --theme-footer__primary-color: @($"#{themeFooterHex}");
174 --theme-footer__primary-color--alternate: @($"#{GetLinkColor(themeFooterHex)}");
175 --theme-footer__primary-color--text: @GetThemeTextColor(themeFooterHex);
176 --theme-footer__primary-color--dimmed: @($"#{GetContrastColor(themeFooterHex)}");
177 --theme-footer__color--link-hover: @($"#{GetLinkColor(themeFooterHex)}");
178 }
179 </style>
180 }
181
182 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
183 <header class="header-main header-main--subsite">
184 <div class="header-main__top">
185 <div class="search">
186 <button type="button" name="toggle-search-button" aria-label="toggle-search" class="search__toggle-btn" aria-expanded="false" aria-haspopup="true">
187 <span class="search__search-icon">
188 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23.071"><path d="M22.292 22.295a.72.72 0 0 1-1.007 0l-5.7-5.612a9.306 9.306 0 0 1-5.826 2.034 9.11 9.11 0 1 1 9.256-9.109 8.984 8.984 0 0 1-2.4 6.105l5.68 5.59a.693.693 0 0 1-.003.992zM9.756 1.9a7.708 7.708 0 1 0 7.832 7.707A7.77 7.77 0 0 0 9.756 1.9z"/></svg>
189 </span>
190 <span class="search__close-icon">
191 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.801 19.798"><path d="M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z"/></svg>
192 </span>
193 <span class="search__text" data-text-default="@Translate("Search", "Søg")" data-text-close="@Translate("Close", "Luk")">
194 @Translate("Search", "Søg")
195 </span>
196 </button>
197 <div class="search__content cludo-search-page">
198 <div class="grid grid-container">
199 <div class="row row--right cludo-nav-items">
200 <div class="cludo-nav-items-search">
201 <form class="search__form" id="cludo-search-form" role="search" autocomplete="off">
202 <input class="search__input" autofill="false" type="search" name="search" title="Global søgning" placeholder="@Translate("(Search) Label", "Hvad kan vi hjælpe med?")">
203 <button type="submit" aria-label="@Translate("Search", "Søg")">
204 <span class="cludo-search-icon">
205 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23.071"><path d="M22.292 22.295a.72.72 0 0 1-1.007 0l-5.7-5.612a9.306 9.306 0 0 1-5.826 2.034 9.11 9.11 0 1 1 9.256-9.109 8.984 8.984 0 0 1-2.4 6.105l5.68 5.59a.693.693 0 0 1-.003.992zM9.756 1.9a7.708 7.708 0 1 0 7.832 7.707A7.77 7.77 0 0 0 9.756 1.9z"/></svg>
206 </span>
207 </button>
208 </form>
209 </div>
210
211 <div class="cludo-nav-items-filters">
212 <div class="search-filters search-filters-mobile" aria-haspopup="true"></div>
213 </div>
214 </div>
215 </div>
216 </div>
217 </div>
218 <a class="skip-to-content" href="#maincontent">Gå til hovedindhold <span>(Tryk Enter)</span></a>
219 </div>
220 <div class="header-main__bottom">
221 <div class="header-main__menu header-main__menu--to-top-on-open">
222 <div class="menu menu--closed">
223 <button type="button" name="toggle-menu-button" aria-label="toggle-menu" class="menu__burger-btn svg-fill--primary text--primary bg--primary" aria-haspopup="true" aria-controls="main-nav" data-svg-default="svg-fill--primary" data-svg-open="svg-fill--secondary" data-text-default="text--primary" data-text-open="text--secondary" data-background-default="bg--primary" data-background-open="bg--primary-alternate" aria-expanded="false">
224 <span class="menu__menu-icon">
225 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 16"><path d="M.001 16v-2h26v2zm0-7V7h26v2zm0-7V0h26v2z"/></svg>
226 </span>
227 <span class="menu__close-icon">
228 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.801 19.798"><path d="M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z"/></svg>
229 </span>
230 <span class="menu__text" data-text-open="@Translate("Menu", "Menu")" data-text-close="@Translate("Close", "Luk")">
231 @Translate("Menu", "Menu")
232 </span>
233 </button>
234
235 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
236
237 @{
238 var navImage = Model.Area.Item.GetString("Image");
239 var navImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkInternal");
240 var navImageLinkText = Model.Area.Item.GetItem("ImageLink").GetString("LinkText");
241 var navImageLinkTarget = Model.Area.Item.GetItem("ImageLink").GetList("LinkTarget").SelectedValue;
242 var navImageLinkLinkType = Model.Area.Item.GetItem("ImageLink").GetList("LinkType").SelectedValue;
243
244 var navImage2 = Model.Area.Item.GetString("Image2");
245 var navImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkInternal");
246 var navImageLinkText2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkText");
247 var navImageLinkTarget2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkTarget").SelectedValue;
248 var navImageLinkLinkType2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkType").SelectedValue;
249
250 if (navImageLinkLinkType == "external")
251 {
252 navImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkExternal");
253 }
254 if (navImageLinkLinkType2 == "external")
255 {
256 navImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkExternal");
257 }
258
259 }
260
261 <nav id="main-nav" class="menu__content" aria-labelledby="primary-navigation">
262 <h2 id="primary-navigation" class="visuallyhidden">Primær navigation</h2>
263
264 @RenderNavigation(new { template = "SubsiteBurgerNavigation.xslt", expandmode = "all", startlevel = 2 })
265 @if (!string.IsNullOrWhiteSpace(navImage))
266 {
267 <div class="menu__culture">
268 @if (navImage != "")
269 {
270 <a class="menu__culture-link" href="@navImageLink" target="@navImageLinkTarget">
271 <img src="@navImage" alt="@navImageLinkText">
272 </a>
273 }
274 @if (navImage2 != "")
275 {
276 <a class="menu__culture-link" href="@navImageLink2" target="@navImageLinkTarget2">
277 <img src="@navImage2" alt="@navImageLinkText2">
278 </a>
279 }
280 </div>
281 }
282 </nav>
283 </div>
284 </div>
285 <div class="header-main__bar">
286 <div class="grid grid-container">
287 <div class="header-main__logo logo">
288 <a href="/" title="Gå til forsiden" class="logo__link">
289 <img src="@Model.Area.Item.GetString("SiteLogo")" alt="Logo alt tekst">
290 </a>
291 </div>
292 </div>
293 </div>
294 </div>
295 </header>
296
297 <main id="maincontent" tabindex="-1">
298 @using Esbjerg.Logic;
299 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
300
301 @using Dynamicweb.Content;
302 @using Esbjerg.Logic;
303 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
304 @{
305 string snippetPicturePath = "http://" + System.Web.HttpContext.Current.Request.Url.Host + "/admin/public/GetImage.ashx?Image=" + Model.Item.GetString("Heropicture") + "&width=1200&altFmImage_path=" + Model.Area.Item.GetString("DefaultPicture");
306 PageService pageService = new PageService();
307 Dynamicweb.Content.Page p = pageService.GetPage(Model.Item.PageID);
308 bool isVideo = Model.Item.GetBoolean("IsVideo");
309
310 }
311 @SnippetStart("MetaTags")
312 <meta property="og:title" content="@p.MetaTitle" />
313 <meta property="og:description" content="@p.Description" />
314 <meta property="og:url" content="@p.MetaCanonical"/>
315 <meta property="og:image" content="@snippetPicturePath" />
316 @SnippetEnd("MetaTags")
317
318
319 @{
320
321 ParagraphService paragrapService = new ParagraphService();
322
323 var paragraphs = paragrapService.GetParagraphsByPageId(Model.ID);
324
325 if (!paragraphs.Where(x => x.ItemType == "ArticleReference" || x.ItemType == "Article").Any())
326 {
327 string hero = Model.Item.GetString("Heropicture");
328 string subhero = Model.Item.GetString("Subhero");
329
330 string heroPicture = "/admin/public/GetImage.ashx?Image=" + hero;
331 string subheroPicture = "/admin/public/GetImage.ashx?Image=" + subhero;
332 string ctaLink = Model.Item.GetString("Link");
333 if(string.IsNullOrEmpty(ctaLink))
334 {
335 ctaLink = Model.Item.GetString("InternLink");
336 }
337 string buttonIcon = Model.Item.GetString("ButtonIcon");
338 string target = Model.Item.GetField("Target").GetString();
339 if(string.IsNullOrWhiteSpace(target))
340 {
341 target = "_self";
342 }
343 <!--Social-->
344 bool includeSocials = Model.Item.GetBoolean("IncludeSocials");
345 string facebook = Model.Area.Item.GetString("Facebook");
346 string twitter = Model.Area.Item.GetString("Twitter");
347 string linkedIn = Model.Area.Item.GetString("LinkedIn");
348 string instagram = Model.Area.Item.GetString("Instagram");
349
350
351 <!--Classes-->
352 string heroClass = string.Empty;
353 string subheroClass = string.Empty;
354 string ctaClass = string.Empty;
355 string ctaExternal = string.Empty;
356 string socialClass = string.Empty;
357
358 if (!string.IsNullOrEmpty(ctaLink))
359 { ctaClass = "top-content--cta"; }
360
361 if (!string.IsNullOrEmpty(subhero))
362 { subheroClass = "top-content--sub-hero"; }
363
364 if (!string.IsNullOrEmpty(hero))
365 { heroClass = "top-content--hero"; }
366
367 if (includeSocials)
368 { socialClass = "top-content--social"; }
369
370 if (Model.Item.GetString("ButtonIcon") == "External")
371 { ctaExternal = "cta--external"; }
372
373 <section class="top-content @heroClass @subheroClass @ctaClass @socialClass">
374 @if (!string.IsNullOrEmpty(hero))
375 {
376 <div class="hero" data-module="hero">
377
378 @if (isVideo)
379 {
380 string videoValue = Model.Item.GetString("Video");
381
382 if (!string.IsNullOrEmpty(videoValue))
383 {
384 string video = videoValue.Substring(0, videoValue.IndexOf('.'));
385 <div class="hero__video-container">
386 <div class="hero__video-wrapper" style="background-image: url('https://oplev.esbjerg.dk/admin/public/GetImage.ashx?Image=@heroPicture&width=100&height=50&crop=0')">
387 <video tabindex="0" class="hero__video" preload="auto" autoplay muted loop data-src="@video">
388 <p>This browser does not support the video element</p>
389 </video>
390 </div>
391 </div>
392 <button type="button" class="hero__pause-btn">
393 <span class="visuallyhidden">Tryk her for at pause eller fortsætte video</span>
394 <span class="hero__play-icon"><svg xmlns="http://www.w3.org/2000/svg" width="26.437" height="52.956" viewBox="0 0 26.437 52.956"><path d="M.022 51.356H.014V1.785L0 1.771V.001l18.44 18.435 8 8-7.779 7.779L.025 52.955zm1.292-1.688L17.77 33.327l6.894-6.894-6.7-6.7L1.316 3.086z"/></svg></span>
395 </button>
396 }
397 }
398
399 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
400 @{
401 string heroValue = Model.Item.GetString("Heropicture");
402 string heroPic = "/admin/public/GetImage.ashx?Image=" + heroValue;
403
404 if (!string.IsNullOrEmpty(heroValue))
405 {
406 <div class="hero__background-image-container">
407 <div class="hero__background-image-wrapper"
408 data-src-xxs="@heroPic&width=375&height=250&crop=0"
409 data-src-xs="@heroPic&width=768&height=250&crop=0"
410 data-src-sm="@heroPic&width=992&height=400&crop=0"
411 data-src-md="@heroPic&width=1220&height=400&crop=0"
412 data-src-lg='@heroPic&width=1540&height=500&crop=0'
413 data-src-xl="@heroPic&width=1920&height=600&crop=0">
414 <div class="hero__background-image" style="background-image: url('https://oplev.esbjerg.dk/@heroPic&width=96&height=30&crop=0')"></div>
415 </div>
416 </div>
417 if (Model.Area.Item.GetBoolean("Subsite"))
418 {
419 <div class="hero__line bg--primary"></div>
420 }
421 }
422 }
423 </div>
424 }
425 <div class="grid grid-container">
426 <div class="top-content__box">
427 <div class="top-content__box-top">
428 <div class="grid">
429 <div class="row">
430 <div class="col col--no-pad col--sm-8 col--md-7 col--offset-md-1">
431 <div class="top-content__breadcrumb">
432 <!--breadcrumb-->
433 @RenderNavigation(new
434 {
435 template = "Breadcrumb.xslt",
436 expandmode = "all",
437 id = "breadcrumb",
438 sitemapmode = "true",
439 includemode = "all"
440 })
441 </div>
442 </div>
443 @if (!string.IsNullOrEmpty(ctaLink))
444 {
445 <div class="col col--no-pad col--sm-4 soft-load">
446 <div class="top-content__cta" data-module="stickyCta">
447 <a class="cta @ctaExternal bg--link" href="@ctaLink" title="@Model.Item.GetValue("Linklabel")" target="@target">
448
449 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
450 <span class="arrow">
451 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40.62 16"><path d="M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z"/><path class="spine" d="M0 7.5h40v1H0z"/></svg>
452 </span>
453
454 <span>@Model.Item.GetValue("Linklabel")</span>
455
456 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
457 <span class="external-link">
458 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.234 24H3.372A3.372 3.372 0 0 1 0 20.628V3.766A3.778 3.778 0 0 1 3.429 0h9.429v1.714H3.429a1.734 1.734 0 0 0-1.714 1.714l-.028 17.2a1.686 1.686 0 0 0 1.686 1.686l17.2-.028a1.735 1.735 0 0 0 1.714-1.714v-9.428H24v9.428A3.778 3.778 0 0 1 20.234 24zm2.909-16.286a.854.854 0 0 1-.857-.857l-.025-4.1L9.216 15.2a.906.906 0 0 1-1.239 0 .808.808 0 0 1 0-1.181L20.909 1.685l-3.767.027a.857.857 0 1 1 0-1.714h5.981a.852.852 0 0 1 .876.835v6.022a.856.856 0 0 1-.856.859z" fill="#fff"/></svg>
459 </span>
460
461 </a>
462 </div>
463 </div>
464 }
465 </div>
466 </div>
467 </div>
468 <div class="grid">
469 <div class="row">
470 <div class="col col--no-pad col--md-9 col--offset-md-1">
471 <header class="top-content__header bg--pseudo soft-load">
472 <h1 class="top-content__headline">@Model.Item.GetValue("H1")</h1>
473 <div class="top-content__rich-text lix">
474 @Model.Item.GetValue("Manchet")
475 </div>
476 </header>
477 </div>
478 </div>
479 </div>
480 </div>
481 </div>
482
483 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
484
485 @{
486 var itemViewModel = Model.Item.GetField("Contact").GetItem();
487
488 if (itemViewModel != null)
489 {
490 bool english = itemViewModel.GetBoolean("English");
491 string picture = itemViewModel.GetString("ContactBoxImage");
492 string picturePath = "/admin/public/GetImage.ashx?Image=" + picture + "&width=375&height=150&crop=0";
493
494 <aside class="contact hard-load">
495 <div class="contact__header">
496 <div class="contact__open">
497 <div class="contact__image-container">
498 <img class="contact__image" src="@picturePath" alt="@itemViewModel.GetString("ContactBoxTitle")">
499 </div>
500 <div class="contact__header-text">
501 @*<p>@(english ? "Questions?" : "Spørgsmål?")</p>*@
502 <p><strong>@(english ? "Contact us" : "Kontakt os")</strong></p>
503 </div>
504 <button type="button" class="contact__open-btn" aria-label="Åben kontakt boks" aria-expanded="false"><span class="contact__open-btn-extra">@Translate("ContactUs", "Kontakt os")</span></button>
505 </div>
506 <button type="button" class="contact__close-btn bg--secondary" aria-hidden="true" tabindex="-1">
507 <span class="contact__close-svg">
508 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.801 19.798"><path d="M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z"/></svg>
509 </span>
510 <span class="contact__close-text">
511 @*@(english ? "Close" : "Luk") *@
512 @Translate("Close","Luk")
513 </span>
514 </button>
515 </div>
516 <div class="contact__content bg--secondary" aria-hidden="true">
517 <div class="contact__mobile-image-container">
518 <img class="contact__mobile-image" src="@picturePath" alt="@itemViewModel.GetString("ContactBoxTitle")">
519 </div>
520 <h2>@itemViewModel.GetString("ContactBoxTitle")</h2>
521 <div class="contact__text">
522 @itemViewModel.GetString("ContentBoxDescription")
523 </div>
524 <ul class="contact__links">
525 @if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxPhone")))
526 {
527 <li>
528 <a href="tel:@itemViewModel.GetString("ContactBoxPhone")" title="@Translate("PhoneToUs", "Ring til os")" class="contact__link svg-fill--bg-secondary">
529 <span class="contact__link-svg bg--parent-hover">
530 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26.054 26"><path d="M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z"/></svg>
531 </span>
532 @itemViewModel.GetString("ContactBoxPhone")
533 </a>
534 </li>
535 }
536 @if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxEmail")))
537 {
538 string hrefValue = itemViewModel.GetString("ContactBoxEmail").Contains("@") ? "mailto:" + itemViewModel.GetString("ContactBoxEmail") : itemViewModel.GetString("ContactBoxEmail");
539 <li>
540 <a target="_blank" href="@hrefValue" title="@Translate("WriteUs", "Skriv til os")" class="contact__link svg-fill--bg-secondary">
541 <span class="contact__link-svg bg--parent-hover">
542 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 21.125"><path d="M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z"/></svg>
543 </span>
544 @itemViewModel.GetString("ContactBoxEmailLabel")
545 </a>
546 </li>
547 }
548 @if (!string.IsNullOrEmpty((string)itemViewModel.GetString("ContactBoxLink")))
549 {
550 <li>
551 <a target="_blank" href="@(itemViewModel.GetString("ContactBoxLink").Contains("http") ? itemViewModel.GetString("ContactBoxLink") : "https://" + itemViewModel.GetString("ContactBoxLink"))" title="@Translate("WriteUs", "Skriv til os")" class="contact__link svg-fill--bg-secondary">
552 <span class="contact__link-svg bg--parent-hover">
553 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 21.125"><path d="M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z"/></svg>
554 </span>
555 @itemViewModel.GetString("ContactBoxLinkLabel")
556 </a>
557 </li>
558 }
559 </ul>
560 <div class="contact__text">
561 @if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxPhoneHours")))
562 {
563 @itemViewModel.GetString("ContactBoxPhoneHours")
564 }
565 @if (!string.IsNullOrEmpty(itemViewModel.GetString("ContactBoxOpenHours")))
566 {
567 @itemViewModel.GetString("ContactBoxOpenHours")
568 }
569 </div>
570 </div>
571 </aside>
572 }
573 }
574
575 @if (includeSocials || !string.IsNullOrEmpty(subhero))
576 {
577 <div class="top-content__sub-content">
578 <div class="grid grid-container">
579 <div class="row">
580 @if (!string.IsNullOrEmpty(subhero))
581 {
582 <div class="col col--sm-9">
583 <div class="top-content__sub-hero">
584 <div class="top-content__sub-hero-image-container lazy"
585 data-src-xxs="@subheroPicture&width=440"
586 data-src-xs="@subheroPicture&width=727"
587 data-src-sm="@subheroPicture&width=595"
588 data-src-md="@subheroPicture&width=624"
589 data-src-lg="@subheroPicture&width=795"
590 data-src-xl="@subheroPicture&width=870"
591 data-alt="@Model.Item.GetString("SubheroAlt")">
592 <noscript>
593 <img src="@subheroPicture&width=440" alt="@Model.Item.GetString("SubheroAlt")">
594 </noscript>
595 </div>
596 <span>@Model.Item.GetValue("Picturetext")</span>
597 </div>
598 </div>
599 }
600 @if (includeSocials)
601 {
602 <div class="col col--sm-3">
603 <div class="top-content__social">
604 <button type="button" class="top-content__social-toggle" aria-hidden="true">
605 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17.639 27.026"><path d="M10.242 23.328a3.682 3.682 0 0 1 .445-1.761l-4.876-4.876A3.7 3.7 0 1 1 5.46 10.4l5.132-5.132a3.7 3.7 0 1 1 1.072 1.342l-4.93 4.929a3.7 3.7 0 0 1 .218 3.875l4.876 4.876a3.7 3.7 0 1 1-1.585 3.035z"/></svg>
606 </button>
607 <div class="top-content__social-links">
608 @if (!string.IsNullOrEmpty(twitter))
609 {
610 <button type="button" aria-label="Del på twitter" class="top-content__social-link link-twitter">
611 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24.064 19.692"><path d="M7.56 19.693a13.155 13.155 0 0 1-4.023-.623 13.892 13.892 0 0 1-3.536-1.665H1.18a9.521 9.521 0 0 0 6.1-2.08 5.335 5.335 0 0 1-2.915-1.041 4.5 4.5 0 0 1-1.662-2.427l.114.023.068.015h.01a3.54 3.54 0 0 0 .638.1 2.887 2.887 0 0 0 .764-.068h.013a1.869 1.869 0 0 0 .611-.07 5.156 5.156 0 0 1-2.774-1.732 4.637 4.637 0 0 1-1.109-3.121v-.07a4.561 4.561 0 0 0 2.218.556 4.392 4.392 0 0 1-2.15-4.091 5.157 5.157 0 0 1 .624-2.5 14.11 14.11 0 0 0 4.438 3.674 12.9 12.9 0 0 0 5.688 1.524 18.723 18.723 0 0 0-.054-.353v-.01a5.178 5.178 0 0 1-.085-.747 4.833 4.833 0 0 1 1.456-3.535 4.765 4.765 0 0 1 3.468-1.456 4.719 4.719 0 0 1 2.012.415 4.249 4.249 0 0 1 1.526 1.179 7.016 7.016 0 0 0 1.724-.482h.009c.256-.108.536-.239.782-.355s.505-.235.744-.338a6.826 6.826 0 0 1-.9 1.525 5.4 5.4 0 0 1-1.319 1.18l.057-.008a10.711 10.711 0 0 0 1.4-.269 11.514 11.514 0 0 0 1.388-.485c-.349.487-.7.906-1.037 1.311a7.775 7.775 0 0 1-1.386 1.25v.623a14.166 14.166 0 0 1-.9 4.992 14.216 14.216 0 0 1-2.7 4.509 13.291 13.291 0 0 1-4.438 3.327 12.782 12.782 0 0 1-6.043 1.323z"/></svg>
612 </button>
613 }
614 @if (!string.IsNullOrEmpty(facebook))
615 {
616 <button type="button" aria-label="Del på facebook" class="top-content__social-link link-facebook">
617 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12.945 24.181"><path d="M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 0 0-.286 1v2.348h4.625v4.622H8.319v11.236z"/></svg>
618 </button>
619 }
620 @if (!string.IsNullOrEmpty(linkedIn))
621 {
622 <button type="button" aria-label="Del på linkedin" class="top-content__social-link link-linkedin">
623 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20.129 22.404"><path d="M11.451 22.404H7.112V7.113h4.409v.71a5.1 5.1 0 0 1 2.433-.58c.146 0 .284 0 .411.014a6.95 6.95 0 0 1 2.846.709 6.335 6.335 0 0 1 2.134 2.205 6.226 6.226 0 0 1 .782 2.917v9.315h-4.339v-9.316a1.562 1.562 0 0 0-.215-.71l-.059-.079v-.006c-.182-.244-.313-.422-.5-.484a2.347 2.347 0 0 0-1.054-.3 1.219 1.219 0 0 0-.227.019 5.229 5.229 0 0 0-1.139.286 4.014 4.014 0 0 0-1.136.782v9.813zm-6.543 0H.497V7.113h4.411v15.29zM2.701 5.478a2.623 2.623 0 0 1-1.919-.782A2.623 2.623 0 0 1 0 2.774 2.923 2.923 0 0 1 .782.783 2.613 2.613 0 0 1 2.701.001a2.616 2.616 0 0 1 1.921.782 2.923 2.923 0 0 1 .782 1.991 2.623 2.623 0 0 1-.782 1.922 2.625 2.625 0 0 1-1.921.781z"/></svg>
624 </button>
625 }
626 </div>
627 </div>
628 </div>
629 }
630 </div>
631 </div>
632 </div>
633 }
634
635 </section>
636 }
637 }
638
639 @Title("Subsite - Page")
640 @Description("Almindelig side til subsites")
641
642 <div class="content content--primary">
643 @Model.Placeholder("primary", "Primære", "items-allowed:Ribbon_A,Ribbon_B,Ribbon_C,Ribbon_D,Ribbon_E,Ribbon_F,Gallery,Accordion,Richtext,Minimap,SponsorList,KultuNautCalendar,Infobox,Calendar,EksternKode,Kode,ModuleOnly")
644 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
645
646
647 @{
648 string pageCtaLink = Model.Item.GetString("Link");
649 if(string.IsNullOrEmpty(pageCtaLink))
650 {
651 pageCtaLink = Model.Item.GetString("InternLink");
652 }
653 string ctaExternalPartial = string.Empty;
654 if (Model.Item.GetString("ButtonIcon") == "External")
655 {
656 ctaExternalPartial = "cta--external";
657 }
658
659 if (!string.IsNullOrEmpty(Model.Item.GetString("Link")) || !string.IsNullOrEmpty(pageCtaLink))
660 {
661 string target = Model.Item.GetString("Target");
662 if (string.IsNullOrWhiteSpace(target))
663 {
664 target = "_self";
665 }
666 <section class="page-cta-container soft-load">
667 <div class="grid grid-container">
668 <div class="row">
669
670 <div class="col col--md-8 col--offset-md-2">
671 <div class="page-cta">
672 <a class="cta @ctaExternalPartial bg--link" href="@pageCtaLink" title="@Model.Item.GetValue("Linklabel")" target="@target">
673
674 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
675 <span class="arrow">
676 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40.62 16"><path d="M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z"/><path class="spine" d="M0 7.5h40v1H0z"/></svg>
677 </span>
678
679 <span>@Model.Item.GetValue("Linklabel")</span>
680
681 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
682 <span class="external-link">
683 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.234 24H3.372A3.372 3.372 0 0 1 0 20.628V3.766A3.778 3.778 0 0 1 3.429 0h9.429v1.714H3.429a1.734 1.734 0 0 0-1.714 1.714l-.028 17.2a1.686 1.686 0 0 0 1.686 1.686l17.2-.028a1.735 1.735 0 0 0 1.714-1.714v-9.428H24v9.428A3.778 3.778 0 0 1 20.234 24zm2.909-16.286a.854.854 0 0 1-.857-.857l-.025-4.1L9.216 15.2a.906.906 0 0 1-1.239 0 .808.808 0 0 1 0-1.181L20.909 1.685l-3.767.027a.857.857 0 1 1 0-1.714h5.981a.852.852 0 0 1 .876.835v6.022a.856.856 0 0 1-.856.859z" fill="#fff"/></svg>
684 </span>
685
686 </a>
687 </div>
688 </div>
689 </div>
690 </div>
691 </section>
692 }
693 }
694 </div>
695 <div class="content content--secondary">
696 @Model.Placeholder("secondary", "Sekundær", "items-allowed:Ribbon_A,Ribbon_B,Ribbon_C,Ribbon_D,Ribbon_E,Ribbon_D,Ribbon_E,Gallery,Ribbon_F,SponsorList,Infobox,Calendar,EksternKode,Kode,PersonPicker,ModuleOnly")
697 </div>
698
699 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
700
701 @SnippetStart("EditorSnippet")
702
703 @{
704 DateTime date = Model.UpdatedDate;
705
706
707 foreach (var user in Model.Item.GetUsers("Editor"))
708 {
709 <meta name="web_author" content="@user.UserName" />
710 <meta name="contact" content="@user.Email" />
711 }
712 <meta name="Last-Modified" content="@date.ToString("yyyy-MM-ddTHH:mm:ssZ")" />
713
714 }
715 @SnippetEnd("EditorSnippet")
716 </main>
717
718 @using System.Web;
719 @using Dynamicweb.Frontend
720 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
721
722 @{
723 string redirectPage = "";
724
725 string footerPhonenumber = Model.Area.Item.GetString("Phonenumber");
726 string footerEmail = Model.Area.Item.GetString("Email");
727 string footerFacebook = Model.Area.Item.GetString("Facebook");
728 string footerTwitter = Model.Area.Item.GetString("Twitter");
729 string footerLinkedIn = Model.Area.Item.GetString("LinkedIn");
730 string footerInstagram = Model.Area.Item.GetString("Instagram");
731
732 var links1 = Model.Area.Item.GetItems("ColumnLinks1");
733 var links2 = Model.Area.Item.GetItems("ColumnLinks2");
734 var links3 = Model.Area.Item.GetItems("ColumnLinks3");
735 string CLabel1 = Model.Area.Item.GetString("ColumnLabel1");
736 string CLabel2 = Model.Area.Item.GetString("ColumnLabel2");
737 string CLabel3 = Model.Area.Item.GetString("ColumnLabel3");
738
739 string contactValue = string.Empty;
740
741 var footerImage = Model.Area.Item.GetString("Image");
742 var footerImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkInternal");
743 var footerImageLinkText = Model.Area.Item.GetItem("ImageLink").GetString("LinkText");
744 var footerImageLinkTarget = Model.Area.Item.GetItem("ImageLink").GetList("LinkTarget").SelectedValue;
745 var footerImageLinkLinkType = Model.Area.Item.GetItem("ImageLink").GetList("LinkType").SelectedValue;
746
747 var footerImage2 = Model.Area.Item.GetString("Image2");
748 var footerImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkInternal");
749 var footerImageLinkText2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkText");
750 var footerImageLinkTarget2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkTarget").SelectedValue;
751 var footerImageLinkLinkType2 = Model.Area.Item.GetItem("ImageLink2").GetList("LinkType").SelectedValue;
752
753 if (footerImageLinkLinkType == "external")
754 {
755 footerImageLink = Model.Area.Item.GetItem("ImageLink").GetString("LinkExternal");
756 }
757
758 if (footerImageLinkLinkType2 == "external")
759 {
760 footerImageLink2 = Model.Area.Item.GetItem("ImageLink2").GetString("LinkExternal");
761 }
762
763 if (Model.Area.Item.GetValue("Email") != null)
764 {
765 contactValue = footerEmail.Contains("@") ? "mailto:" + footerEmail : footerEmail;
766 }
767 }
768
769 <footer class="footer soft-load">
770 <aside class="footer__sidebar">
771 <div class="footer__culture">
772 @if (footerImage != "")
773 {
774 <a class="footer__culture-link" href="@footerImageLink" target="@footerImageLinkTarget">
775 <img src="@footerImage" alt="@footerImageLinkText">
776 </a>
777 }
778 @if (footerImage2 != "")
779 {
780 <a class="footer__culture-link" href="@footerImageLink2" target="@footerImageLinkTarget2">
781 <img src="@footerImage2" alt="@footerImageLinkText2">
782 </a>
783 }
784 </div>
785 </aside>
786 <div class="footer__container">
787 <div class="grid grid-container">
788 <div class="row">
789 <div class="col col--md-3 footer__col-first">
790 <div class="footer__logo">
791 @if (Model.Area.Item.GetString("Logo") != "")
792 {
793 <a href="/" title="Gå til forsiden" class="footer__logo-link">
794 <img src="@Model.Area.Item.GetString("Logo")" alt="Logo alt tekst">
795 </a>
796 }
797 </div>
798 <div class="footer__contact-desktop">
799
800 @if (!string.IsNullOrEmpty(footerPhonenumber))
801 {
802 <div class="footer__contact">
803 <a href="tel:+45@(Model.Area.Item.GetString("Phonenumber"))" title="@Model.Area.Item.GetString("PhoneLabel")" class="footer__contact-link">
804 <span class="footer__contact-svg">
805 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26.054 26"><path d="M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z"/></svg>
806 </span>
807 @Model.Area.Item.GetString("Phonenumber")
808 </a>
809 <span>
810 @Model.Area.Item.GetString("PhonenumberLabel")
811 </span>
812 </div>
813 }
814
815 @if (!string.IsNullOrEmpty(footerEmail))
816 {
817 <div class="footer__contact">
818 <a href="@contactValue" title="@Model.Area.Item.GetString("EmailLabel")" class="footer__contact-link">
819 <span class="footer__contact-svg">
820 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 21.125"><path d="M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z"/></svg>
821 </span>
822 @Model.Area.Item.GetString("EmailLabel")
823 </a>
824 <span>
825 @Model.Area.Item.GetString("EmailLabel_2")
826 </span>
827 </div>
828 }
829 </div>
830 </div>
831 <div class="col col--md-3 footer__col-info">
832 <div class="footer__info">
833 <div class="footer__accordion" data-module="accordion">
834 <div class="accordion">
835 @if (!string.IsNullOrEmpty(CLabel1))
836 {
837 <h2 class="accordion__heading footer__heading">
838 <button id="accordion__trigger_info" type="button" class="accordion__trigger" aria-expanded="false" aria-controls="accordion__content_info">
839 @Model.Area.Item.GetString("ColumnLabel1")
840 <span class="accordion__chevron" aria-hidden="true">
841 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25.469 14.143"><path d="M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L12.74 14.143z"/></svg>
842 </span>
843 </button>
844 </h2>
845 }else{
846 <span class="accordion__heading footer__heading">
847 <button id="accordion__trigger_info" type="button" class="accordion__trigger" aria-expanded="false" aria-controls="accordion__content_info">
848 @Model.Area.Item.GetString("ColumnLabel1")
849 <span class="accordion__chevron" aria-hidden="true">
850 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25.469 14.143"><path d="M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L12.74 14.143z"/></svg>
851 </span>
852 </button>
853 </span>
854 }
855 @if (links1 != null)
856 {
857 <div id="accordion__content_info" class="accordion__content" aria-hidden="true" aria-labelledby="accordion__trigger_info">
858 <ul class="footer__list">
859 @foreach (var columnLink in links1)
860 {
861 @RenderColumnLink(columnLink)
862 }
863 </ul>
864 </div>
865 }
866 </div>
867 </div>
868 </div>
869 </div>
870 <div class="col col--md-3 footer__col-hours">
871 <div class="footer__hours">
872 <div class="footer__accordion" data-module="accordion">
873 <div class="accordion">
874 @if (!string.IsNullOrEmpty(CLabel2))
875 {
876 <h2 class="accordion__heading footer__heading">
877 <button id="accordion__trigger_hours" type="button" class="accordion__trigger" aria-expanded="false" aria-controls="accordion__content_hours">
878 @Model.Area.Item.GetString("ColumnLabel2")
879 <span class="accordion__chevron" aria-hidden="true">
880 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25.469 14.143"><path d="M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L12.74 14.143z"/></svg>
881 </span>
882 </button>
883 </h2>
884 }else{
885
886 <span class="accordion__heading footer__heading">
887 <button id="accordion__trigger_hours" type="button" class="accordion__trigger" aria-expanded="false" aria-controls="accordion__content_hours">
888 @Model.Area.Item.GetString("ColumnLabel2")
889 <span class="accordion__chevron" aria-hidden="true">
890 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25.469 14.143"><path d="M12.733 14.137l-.006.006L0 1.416 1.414 0l11.321 11.319L24.053 0l1.416 1.416L12.74 14.143z"/></svg>
891 </span>
892 </button>
893 </span>
894 }
895 @if (links2 != null)
896 {
897
898 <div id="accordion__content_hours" class="accordion__content" aria-hidden="true" aria-labelledby="accordion__trigger_hours">
899 <ul class="footer__list">
900 @foreach (var columnLink in links2)
901 {
902 @RenderColumnLink(columnLink)
903 }
904 </ul>
905 </div>
906 }
907 </div>
908 </div>
909 <div class="footer__contact-mobile">
910 <div class="footer__contact">
911 <a href="tel:+45@(Model.Area.Item.GetString("Phonenumber"))" title="@Model.Area.Item.GetString("PhoneLabel")" class="footer__contact-link">
912 <span class="footer__contact-svg">
913 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26.054 26"><path d="M4.991 26a2.743 2.743 0 0 1-2.025-.844L.554 22.75a1.87 1.87 0 0 1-.548-1.45 1.263 1.263 0 0 1 .548-.958l4.824-3.609a2.4 2.4 0 0 1 1.32-.457 1.5 1.5 0 0 1 1.092.457l1.427 1.423a48.044 48.044 0 0 0 5.207-4.43 41.4 41.4 0 0 0 3.889-4.542l-1.476-1.469a1.8 1.8 0 0 1 0-2.406L20.455.5a1.71 1.71 0 0 1 2.412 0l2.413 2.4c1.289 1.286.723 2.836.067 4.629l-.067.183a57.34 57.34 0 0 1-7.605 9.913 51.92 51.92 0 0 1-9.883 7.528A6.261 6.261 0 0 1 4.991 26zm1.447-7.805a1.529 1.529 0 0 0-.84.291l-3.07 2.3c-.53.446-.227 1.15 0 1.531l1.535 1.531a2.019 2.019 0 0 0 1.305.324 2.928 2.928 0 0 0 1.217-.214c.072-.045 7.233-4.553 10.252-7.818a50.434 50.434 0 0 0 7.236-9.622c.3-.588.512-1.932-.109-2.515l-1.535-1.536a1.2 1.2 0 0 0-.827-.373.866.866 0 0 0-.708.373l-1.11 1.476-1.193 1.585a1.148 1.148 0 0 0 0 1.531l1.938 1.932c-3.4 5.511-9.1 9.743-11.4 11.307l-.107.074-1.889-1.886a.954.954 0 0 0-.695-.291z"/></svg>
914 </span>
915 @Model.Area.Item.GetString("Phonenumber")
916 </a>
917 <span>
918 @Model.Area.Item.GetString("PhonenumberLabel")
919 </span>
920 </div>
921 <div class="footer__contact">
922 <a href="@contactValue" title="@Model.Area.Item.GetString("EmailLabel")" class="footer__contact-link">
923 <span class="footer__contact-svg">
924 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 21.125"><path d="M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z"/></svg>
925 </span>
926 @Model.Area.Item.GetString("EmailLabel")
927 </a>
928 <span>
929 @Model.Area.Item.GetString("EmailLabel_2")
930 </span>
931 </div>
932 </div>
933 </div>
934 </div>
935 <div class="col col--md-3 footer__col-last">
936 <div class="footer__shortcuts">
937 @if (!string.IsNullOrEmpty(CLabel3))
938 {
939 <h2 class="footer__heading">
940 @Model.Area.Item.GetString("ColumnLabel3")
941 </h2>
942 }
943
944 @if (links3 != null)
945 {
946 <ul class="footer__list">
947 @foreach (var columnLink in links3)
948 {
949 @RenderColumnLink(columnLink)
950 }
951 </ul>
952 }
953 </div>
954 <div class="footer__social">
955 <div class="footer__social-text">
956 @Translate("MeetEsbjergSoMe", "Mød Esbjerg på de sociale medier")
957 </div>
958 <div class="footer__social-links">
959 @if (!string.IsNullOrEmpty(footerFacebook))
960 {
961 string facebookLink = redirectPage + footerFacebook;
962 <a href="@facebookLink" title="link til Facebook" class="footer__social-link" target="_blank" rel="noopener noreferrer">
963 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12.945 24.181"><path d="M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 0 0-.286 1v2.348h4.625v4.622H8.319v11.236z"/></svg>
964 </a>
965 }
966 @if (!string.IsNullOrEmpty(footerTwitter))
967 {
968 string twitterLink = redirectPage + footerTwitter;
969 <a href="@twitterLink" title="Link til Twitter" class="footer__social-link" target="_blank" rel="noopener noreferrer">
970 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24.064 19.692"><path d="M7.56 19.693a13.155 13.155 0 0 1-4.023-.623 13.892 13.892 0 0 1-3.536-1.665H1.18a9.521 9.521 0 0 0 6.1-2.08 5.335 5.335 0 0 1-2.915-1.041 4.5 4.5 0 0 1-1.662-2.427l.114.023.068.015h.01a3.54 3.54 0 0 0 .638.1 2.887 2.887 0 0 0 .764-.068h.013a1.869 1.869 0 0 0 .611-.07 5.156 5.156 0 0 1-2.774-1.732 4.637 4.637 0 0 1-1.109-3.121v-.07a4.561 4.561 0 0 0 2.218.556 4.392 4.392 0 0 1-2.15-4.091 5.157 5.157 0 0 1 .624-2.5 14.11 14.11 0 0 0 4.438 3.674 12.9 12.9 0 0 0 5.688 1.524 18.723 18.723 0 0 0-.054-.353v-.01a5.178 5.178 0 0 1-.085-.747 4.833 4.833 0 0 1 1.456-3.535 4.765 4.765 0 0 1 3.468-1.456 4.719 4.719 0 0 1 2.012.415 4.249 4.249 0 0 1 1.526 1.179 7.016 7.016 0 0 0 1.724-.482h.009c.256-.108.536-.239.782-.355s.505-.235.744-.338a6.826 6.826 0 0 1-.9 1.525 5.4 5.4 0 0 1-1.319 1.18l.057-.008a10.711 10.711 0 0 0 1.4-.269 11.514 11.514 0 0 0 1.388-.485c-.349.487-.7.906-1.037 1.311a7.775 7.775 0 0 1-1.386 1.25v.623a14.166 14.166 0 0 1-.9 4.992 14.216 14.216 0 0 1-2.7 4.509 13.291 13.291 0 0 1-4.438 3.327 12.782 12.782 0 0 1-6.043 1.323z"/></svg>
971 </a>
972 }
973 @if (!string.IsNullOrEmpty(footerLinkedIn))
974 {
975 string linkedInLink = redirectPage + footerLinkedIn;
976 <a href="@linkedInLink" title="Link til LinkedIn" class="footer__social-link" target="_blank" rel="noopener noreferrer">
977 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20.129 22.404"><path d="M11.451 22.404H7.112V7.113h4.409v.71a5.1 5.1 0 0 1 2.433-.58c.146 0 .284 0 .411.014a6.95 6.95 0 0 1 2.846.709 6.335 6.335 0 0 1 2.134 2.205 6.226 6.226 0 0 1 .782 2.917v9.315h-4.339v-9.316a1.562 1.562 0 0 0-.215-.71l-.059-.079v-.006c-.182-.244-.313-.422-.5-.484a2.347 2.347 0 0 0-1.054-.3 1.219 1.219 0 0 0-.227.019 5.229 5.229 0 0 0-1.139.286 4.014 4.014 0 0 0-1.136.782v9.813zm-6.543 0H.497V7.113h4.411v15.29zM2.701 5.478a2.623 2.623 0 0 1-1.919-.782A2.623 2.623 0 0 1 0 2.774 2.923 2.923 0 0 1 .782.783 2.613 2.613 0 0 1 2.701.001a2.616 2.616 0 0 1 1.921.782 2.923 2.923 0 0 1 .782 1.991 2.623 2.623 0 0 1-.782 1.922 2.625 2.625 0 0 1-1.921.781z"/></svg>
978 </a>
979 }
980 @if (!string.IsNullOrEmpty(footerInstagram))
981 {
982 string instagramLink = redirectPage + footerInstagram;
983 <a href="@instagramLink" title="Link til Instagram" class="footer__social-link" target="_blank" rel="noopener noreferrer">
984 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.991 19.988"><path d="M9.992 1.8c2.669 0 2.983.012 4.038.059a5.453 5.453 0 0 1 1.856.345 3.1 3.1 0 0 1 1.15.746 3.053 3.053 0 0 1 .746 1.15 5.555 5.555 0 0 1 .345 1.856c.048 1.055.059 1.368.059 4.038s-.012 2.983-.059 4.038a5.453 5.453 0 0 1-.345 1.856 3.1 3.1 0 0 1-.746 1.15 3.053 3.053 0 0 1-1.15.746 5.555 5.555 0 0 1-1.856.345c-1.055.048-1.368.059-4.038.059s-2.983-.012-4.038-.059a5.453 5.453 0 0 1-1.854-.343 3.1 3.1 0 0 1-1.15-.746 3.053 3.053 0 0 1-.75-1.15 5.555 5.555 0 0 1-.345-1.856C1.809 12.979 1.8 12.665 1.8 10s.012-2.983.059-4.038A5.453 5.453 0 0 1 2.2 4.1a3.1 3.1 0 0 1 .746-1.15A3.053 3.053 0 0 1 4.1 2.205a5.555 5.555 0 0 1 1.856-.345c1.055-.052 1.368-.059 4.038-.059m0-1.8C7.281.001 6.94.013 5.873.06a7.324 7.324 0 0 0-2.424.464 4.87 4.87 0 0 0-1.771 1.154A4.956 4.956 0 0 0 .524 3.447 7.329 7.329 0 0 0 .06 5.875C.012 6.938.001 7.275.001 9.992s.012 3.054.059 4.121a7.372 7.372 0 0 0 .464 2.428 4.87 4.87 0 0 0 1.154 1.769 4.956 4.956 0 0 0 1.769 1.154 7.329 7.329 0 0 0 2.428.464c1.067.048 1.4.059 4.121.059s3.054-.012 4.121-.059a7.372 7.372 0 0 0 2.428-.464 4.87 4.87 0 0 0 1.769-1.154 4.956 4.956 0 0 0 1.154-1.769 7.329 7.329 0 0 0 .464-2.428c.048-1.067.059-1.4.059-4.121s-.012-3.054-.059-4.121a7.372 7.372 0 0 0-.464-2.428 4.87 4.87 0 0 0-1.154-1.769A4.956 4.956 0 0 0 16.545.52a7.329 7.329 0 0 0-2.428-.464C13.046.012 12.7 0 9.992 0z"/><path d="M9.992 4.859a5.133 5.133 0 1 0 5.133 5.133 5.134 5.134 0 0 0-5.133-5.133zm0 8.465a3.332 3.332 0 1 1 3.332-3.332 3.331 3.331 0 0 1-3.332 3.332z"/><circle class="a" cx="1.198" cy="1.198" r="1.198" transform="translate(14.129 3.459)"/></svg>
985 </a>
986 }
987 </div>
988 </div>
989 </div>
990 </div>
991 </div>
992 </div>
993 </footer>
994
995 @helper RenderColumnLink(ItemViewModel columnLink)
996 {
997 var linkType = columnLink.GetList("LinkType").SelectedValue;
998 var linkTarget = columnLink.GetList("LinkTarget").SelectedValue;
999 var linkText = columnLink.GetString("LinkText");
1000 var link = linkType == "external" ? columnLink.GetString("LinkExternal") : columnLink.GetString("LinkInternal");
1001
1002 <li>
1003 <a href="@link" title="Link til @linkText" target="@linkTarget" class="footer__link">@linkText</a>
1004 </li>
1005 }
1006
1007 <div class="cookie-wrapper hard-load">
1008 @using Esbjerg.Logic;
1009 @using Dynamicweb.Content.Items;
1010 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
1011
1012 @{
1013 var breakingNewsId = Model.Area.Item.GetValue("BreakingNewsPage");
1014
1015 if (breakingNewsId != null)
1016 {
1017 if(!string.IsNullOrEmpty(breakingNewsId.ToString()))
1018 {
1019 Item item = Helpers.GetBreakingNewsItem(Convert.ToInt32(breakingNewsId));
1020
1021 if (item != null)
1022 {
1023 var link1 = item["Link_1"];
1024 var link2 = item["Link_2"];
1025
1026 var facebook = item["FacebookLink"];
1027 var email = item["Email"];
1028 var emailSubject = item["Subject"];
1029 var emailBody = item["Body"];
1030 var smsNumber = item["PhoneNumber"];
1031 var smsBody = item["SMSText"];
1032
1033 <div id="@item.Id" class="alert-banner alert-banner--accepted">
1034 <div class="grid grid-container">
1035 <div class="row">
1036 <div class="col col--sm-7 col--md-8 col--xl-9">
1037 <div class="alert-banner__rich-text">
1038 <h3>
1039 @item["Headline"]
1040 </h3>
1041 <p>
1042 @item["Text"]
1043 </p>
1044 </div>
1045 </div>
1046 <div class="col col--sm-5 col--md-4 col--xl-3">
1047 <div class="alert-banner__link-wrapper">
1048 <div class="alert-banner__contact-links">
1049 @{
1050 if (facebook != null && !string.IsNullOrEmpty(facebook.ToString()))
1051 {
1052 <a href="@facebook.ToString()" title="Alert link" class="alert-banner__contact-link">
1053 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12.945 24.181"><path d="M8.32 24.181H3.698V12.944h-3.7V8.322h3.7V6.047a6.294 6.294 0 0 1 1.635-4.269A5.028 5.028 0 0 1 9.245.001h3.7v4.552h-3.7a.867.867 0 0 0-.64.426 1.624 1.624 0 0 0-.286 1v2.348h4.625v4.622H8.319v11.236z"/></svg>
1054 </a>
1055 }
1056 if (email != null && !string.IsNullOrEmpty(email.ToString()))
1057 {
1058
1059 <a href="mailto:@email.ToString()?subject=@(emailSubject != null ? emailSubject.ToString() : string.Empty) &body=@(emailBody != null ? emailBody.ToString() : string.Empty) " title="Alert link" class="alert-banner__contact-link">
1060 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 21.125"><path d="M22.75 21.125H3.25A3.25 3.25 0 0 1 0 17.875V3.25A3.25 3.25 0 0 1 3.25 0h19.5A3.25 3.25 0 0 1 26 3.25v14.625a3.25 3.25 0 0 1-3.25 3.25zM4.062 1.625L13 9.395l8.938-7.77zM24.375 3.25a1.616 1.616 0 0 0-.516-1.182L13 11.375 2.141 2.068a1.616 1.616 0 0 0-.516 1.182v14.625A1.625 1.625 0 0 0 3.25 19.5h19.5a1.625 1.625 0 0 0 1.625-1.625z"/></svg>
1061 </a>
1062 }
1063 if (smsNumber != null && !string.IsNullOrEmpty(smsNumber.ToString()))
1064 {
1065 <a href="sms:@smsNumber.ToString()?&body=@(smsBody != null ? smsBody.ToString() : string.Empty)" title="Alert link" class="alert-banner__contact-link alert-banner__contact-links--sms">
1066 <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="#d53f53"><path d="M10.624 15.81a2.03 2.03 0 0 1-.766 1.681 3.325 3.325 0 0 1-2.13.612 5 5 0 0 1-2.228-.477v-1.547a9.163 9.163 0 0 0 1.345.5 3.981 3.981 0 0 0 1.007.145 1.432 1.432 0 0 0 .841-.209.716.716 0 0 0 .298-.624.688.688 0 0 0-.129-.411 1.442 1.442 0 0 0-.379-.346 9.739 9.739 0 0 0-1.018-.532 4.824 4.824 0 0 1-1.08-.65 2.44 2.44 0 0 1-.575-.725 2.069 2.069 0 0 1-.21-.967 2.029 2.029 0 0 1 .7-1.638 2.935 2.935 0 0 1 1.952-.6 4.61 4.61 0 0 1 1.168.145 8.03 8.03 0 0 1 1.163.408l-.534 1.298a7.858 7.858 0 0 0-1.039-.36 3.345 3.345 0 0 0-.808-.1 1.07 1.07 0 0 0-.725.22.726.726 0 0 0-.252.575.711.711 0 0 0 .1.384 1.122 1.122 0 0 0 .325.317 10.047 10.047 0 0 0 1.055.551 4.2 4.2 0 0 1 1.51 1.053 2.06 2.06 0 0 1 .409 1.297zm4.748 2.181l-1.891-6.161h-.048q.1 1.88.1 2.508v3.653h-1.486v-7.853h2.266l1.858 6h.029l1.971-6h2.267v7.853H18.89v-3.717q0-.263.008-.607t.072-1.826h-.048l-2.022 6.15zm11.682-2.181a2.03 2.03 0 0 1-.765 1.676 3.325 3.325 0 0 1-2.13.612 5 5 0 0 1-2.224-.473v-1.546a9.163 9.163 0 0 0 1.345.5 3.981 3.981 0 0 0 1.007.145 1.432 1.432 0 0 0 .841-.209.716.716 0 0 0 .293-.623.688.688 0 0 0-.129-.411 1.442 1.442 0 0 0-.379-.346 9.739 9.739 0 0 0-1.013-.533 4.824 4.824 0 0 1-1.08-.65 2.44 2.44 0 0 1-.575-.725 2.069 2.069 0 0 1-.215-.967 2.029 2.029 0 0 1 .706-1.638 2.935 2.935 0 0 1 1.952-.6 4.61 4.61 0 0 1 1.168.145 8.03 8.03 0 0 1 1.163.408l-.537 1.294a7.858 7.858 0 0 0-1.039-.36 3.345 3.345 0 0 0-.808-.1 1.07 1.07 0 0 0-.725.22.726.726 0 0 0-.252.575.711.711 0 0 0 .1.384 1.122 1.122 0 0 0 .325.317 10.047 10.047 0 0 0 1.055.551 4.2 4.2 0 0 1 1.509 1.055 2.06 2.06 0 0 1 .407 1.299z"/><path d="M16 28a18.276 18.276 0 0 1-2.991-.253L6 32v-7.081A13.4 13.4 0 0 1 0 14C0 6.268 7.163 0 16 0s16 6.268 16 14-7.163 14-16 14zm0-26C8.268 2 2 7.373 2 14a11.591 11.591 0 0 0 5.975 9.824l-.063 4.638 4.707-2.829A16.2 16.2 0 0 0 16 26c7.732 0 14-5.372 14-12S23.732 2 16 2z"/></g></svg>
1067 </a>
1068 }
1069 }
1070 </div>
1071 @if (link1 != null)
1072 {
1073 Item linkItem = Helpers.GetItemByItemId("LinkItem", link1.ToString());
1074 if (linkItem["Link"] != null)
1075 {
1076 string link = linkItem["Link"].ToString();
1077 if (!string.IsNullOrEmpty(link))
1078 {
1079 <a href="@link" class="alert-banner__link">
1080
1081 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
1082 <span class="arrow">
1083 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40.62 16"><path d="M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z"/><path class="spine" d="M0 7.5h40v1H0z"/></svg>
1084 </span>
1085
1086 <span>@linkItem["Label"].ToString()</span>
1087 </a>
1088 }
1089 }
1090 }
1091 @if (link2 != null)
1092 {
1093 Item linkItem = Helpers.GetItemByItemId("LinkItem", link2.ToString());
1094 if (linkItem["Link"] != null)
1095 {
1096 string link = linkItem["Link"].ToString();
1097 if (!string.IsNullOrEmpty(link))
1098 {
1099 <a href="@link" class="alert-banner__link">
1100
1101 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
1102 <span class="arrow">
1103 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40.62 16"><path d="M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z"/><path class="spine" d="M0 7.5h40v1H0z"/></svg>
1104 </span>
1105
1106 <span>@linkItem["Label"].ToString()</span>
1107 </a>
1108 }
1109 }
1110 }
1111
1112 </div>
1113 <button type="button" class="alert-banner__close-btn">
1114 <span class="alert-banner__close-icon">
1115 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.801 19.798"><path d="M9.9 11.314l-8.485 8.485-1.416-1.414 8.487-8.486L.002 1.414 1.416 0 9.9 8.485 18.384 0 19.8 1.414l-8.485 8.485 8.485 8.485-1.416 1.414z"/></svg>
1116 </span>
1117 <span class="alert-banner__close-text">
1118 Luk
1119 </span>
1120 </button>
1121 </div>
1122 </div>
1123 </div>
1124 </div>
1125 }
1126 }
1127 }
1128
1129 }
1130
1131
1132
1133 <!-- <div class="cookie cookie--accepted">
1134 <div class="grid grid-container">
1135 <div class="row">
1136 <div class="col col--sm-8 col--md-9">
1137 <div class="cookie__text">
1138 @Model.Area.Item.GetField("CookieWarning").GetValue()
1139 </div>
1140 </div>
1141 <div class="col col--sm-4 col--md-3">
1142 <button type="button" class="cookie__accept-btn text--link svg-fill--link">
1143
1144 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
1145 <span class="arrow">
1146 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40.62 16"><path d="M40.62 8l-8 8-.89-.89L38.84 8 31.73.89l.89-.89 8 8z"/><path class="spine" d="M0 7.5h40v1H0z"/></svg>
1147 </span>
1148
1149 <span>@Translate("OkAccept", "Ok, jeg accepterer")</span>
1150 </button>
1151 </div>
1152 </div>
1153 </div>
1154 </div> -->
1155 </div>
1156
1157 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
1158 @using System.Web;
1159
1160 @{
1161 var host = HttpContext.Current.Request.Url.Host.StartsWith("local.") ? "subsite-esbjerg.dis-play.dk" : HttpContext.Current.Request.Url.Host;
1162
1163 string jsPath = "/Files/Templates/Designs/" + Pageview.Layout.Design.Name;
1164 string searchPath = Model.Area.Item.GetString("SearchResultPage");
1165 string cludoEngineID = Model.Area.Item.GetString("CludoEngineID");
1166
1167 if (!string.IsNullOrEmpty(searchPath))
1168 {
1169 searchPath = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("Default.aspx?Id=" + searchPath);
1170 }
1171
1172 if (string.IsNullOrEmpty(cludoEngineID))
1173 {
1174 cludoEngineID = 11424;
1175 }
1176 }
1177
1178 <script>
1179 @*var scriptLoaderSettings = {
1180 mainScriptSrc: [
1181 '@jsPath/static/dist/js/@Esbjerg.Logic.Helpers.CacheBuster(jsPath + "/static/dist/js/", "main.min.js")'
1182 ],
1183 polyfillFallback: '@jsPath/static/dist/js/polyfillFallback.js',
1184 polyfills: 'default-3.6,fetch,Object.values,Array.prototype.findIndex'
1185 };
1186
1187 var loadMainScript = function () { function a(a) { var b = document.createElement("script"); b.defer = !0, b.async = !!0, b.src =a, document.body.appendChild(b) } if ("object" == typeof scriptLoaderSettings.mainScriptSrc) for (var b = 0; b < scriptLoaderSettings.mainScriptSrc.length; b++)a(scriptLoaderSettings.mainScriptSrc[b]); else a(scriptLoaderSettings.mainScriptSrc) };
1188 !function (e, t) { var r, a = [/^(.+)(\[.+MessengerForiOS.+\][ ]*)/, /^(.+)(\[.+FBIOS.+\][ ]*)/, /^(.+)( Twitter for iPhone)/]; for (r = 0; r < a.length; ++r) { var n = a[r], i = e.match(n); if (i) { t = t + "&ua=" + encodeURIComponent(i[1] + " Safari"); break } } var o = document.createElement("script"); o.addEventListener("error", function () { var e = document.createElement("script"); e.src =scriptLoaderSettings.polyfillFallback, document.body.appendChild(e) }),o.defer=true, o.src =t, document.body.appendChild(o) }(navigator.userAgent, "https://cdn.polyfill.io/v2/polyfill.min.js?features=" + scriptLoaderSettings.polyfills + "&callback=loadMainScript");*@
1189
1190 /*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT License - https://github.com/filamentgroup/loadCSS */
1191 !function (t) { "use strict"; t.loadCSS || (t.loadCSS = function () { }); var e = loadCSS.relpreload = {}; if (e.support = function () { var e; try { e = t.document.createElement("link").relList.supports("preload") } catch (t) { e = !1 } return function () { return e } }(), e.bindMediaToggle = function (t) { function e() { t.media = a } var a = t.media || "all"; t.addEventListener ? t.addEventListener("load", e) : t.attachEvent && t.attachEvent("onload", e), setTimeout(function () { t.rel = "stylesheet", t.media = "only x" }), setTimeout(e, 3e3) }, e.poly = function () { if (!e.support()) for (var a = t.document.getElementsByTagName("link"), n = 0; n < a.length; n++) { var o = a[n]; "preload" !== o.rel || "style" !== o.getAttribute("as") || o.getAttribute("data-loadcss") || (o.setAttribute("data-loadcss", !0), e.bindMediaToggle(o)) } }, !e.support()) { e.poly(); var a = t.setInterval(e.poly, 500); t.addEventListener ? t.addEventListener("load", function () { e.poly(), t.clearInterval(a) }) : t.attachEvent && t.attachEvent("onload", function () { e.poly(), t.clearInterval(a) }) } "undefined" != typeof exports ? exports.loadCSS = loadCSS : t.loadCSS = loadCSS }("undefined" != typeof global ? global : this);
1192
1193 // Enable this to register a service worker. Please make sure you understand the implications of doing so.
1194 // if ("serviceWorker" in navigator) { navigator.serviceWorker.register("/sw.js", { scope: '/' }); }
1195 </script>
1196
1197 <script src='https://oplev.esbjerg.dk/@jsPath/static/dist/js/main.min.js' type="text/javascript"></script>
1198 <script src='https://cdn.polyfill.io/v2/polyfill.js?features=default-3.6,fetch,Object.values,Array.prototype.findIndex' type="text/javascript"></script>
1199 @*<script src='https://oplev.esbjerg.dk/@jsPath/static/dist/js/polyfillFallback.js' type="text/javascript"></script>*@
1200
1201 <!--SiteImprove script-->
1202 <script type="text/javascript">
1203 /*<![CDATA[*/
1204 (function () {
1205 var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true;
1206 sz.src ='//siteimproveanalytics.com/js/siteanalyze_273521.js';
1207 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s);
1208 })();
1209 /*]]>*/
1210 </script>
1211 <!--Minimap-->
1212 @RenderSnippet("Minimap")
1213
1214 <!--Kode - Footer section-->
1215 @RenderSnippet("KodeFooter")
1216
1217
1218 <!-- SCRIPT -->
1219 <!-- www.Cludo.com search start JS -->
1220 <!--[if lte IE 9]>
1221 <script src="https://api.cludo.com/scripts/xdomain.js" slave="https://api.cludo.com/proxy.html"></script>
1222 <![endif]-->
1223 <!-- www.Cludo.com search end JS -->
1224 <!-- www.Cludo.com Search body init script start -->
1225
1226 <script type="text/javascript" src="https://customer.cludo.com/scripts/bundles/search-script.min.js"></script>
1227
1228 <script>
1229 var CludoSearch;
1230 (function () {
1231 var cludoSettings = {
1232 customerId: 80,
1233 engineId: 11424,
1234 searchUrl: "@searchPath",
1235 language: "@Dynamicweb.Services.Areas.GetArea(Model.Area.ID).CultureInfo.TwoLetterISOLanguageName",
1236 filters: { "DomainName": ["https://@host/"] },
1237 searchInputs: ["cludo-search-form", "search-box-form"],
1238 initSearchBoxText: "",
1239 loading: "<img src='//customer.cludo.com/img/loading.gif' alt='Loading' class='loading' role='progressbar' />",
1240 customCallbackAfterSearch: function () {
1241 window.cludoCallback();
1242 }
1243 //bannerIsInSearchTemplate: false,
1244 //endlessScroll: {stopAfterPage:3, resultsPerPage:10, bottomOffset: 700},
1245 //richAutocomplete: true
1246 //@cludoEngineID
1247 };
1248 CludoSearch = new Cludo(cludoSettings);
1249 CludoSearch.init();
1250 })();
1251 </script>
1252
1253
1254
1255 <!--Footer scripts from website settings subsites-->
1256 @{string scriptFooterArea = Model.Area.Item.GetString("ScriptFooterArea"); }
1257 @if (!string.IsNullOrEmpty(scriptFooterArea)){
1258 @scriptFooterArea
1259 }
1260 </body>
1261 </html>
1262
1263 @functions {
1264
1265 private string GetThemeTextColor(string hex)
1266 {
1267 const string white = "#fff";
1268 const string black = "#000";
1269
1270 var color = white;
1271
1272 switch (hex.ToLower())
1273 {
1274 case ThemeColors.Cornflower:
1275 color = black;
1276 break;
1277 case ThemeColors.Surf:
1278 color = black;
1279 break;
1280 case ThemeColors.BeautyBush:
1281 color = black;
1282 break;
1283 case ThemeColors.Cerulean:
1284 color = black;
1285 break;
1286 case ThemeColors.Cinnabar:
1287 color = black;
1288 break;
1289 }
1290
1291 return color;
1292 }
1293
1294 private string GetContrastColor(string hex)
1295 {
1296 var color = hex;
1297
1298 switch (hex.ToLower())
1299 {
1300 case ThemeColors.DeepSapphire:
1301 color = "020305";
1302 break;
1303 case ThemeColors.RegalBlue:
1304 color = "013150";
1305 break;
1306 case ThemeColors.DoveGray:
1307 color = "505050";
1308 break;
1309 case ThemeColors.Valencia:
1310 color = "b23646";
1311 break;
1312 case ThemeColors.Cornflower:
1313 color = "8bbbd5";
1314 break;
1315 case ThemeColors.Surf:
1316 color = "c3beb6";
1317 break;
1318 case ThemeColors.BeautyBush:
1319 color = "e0e0e0";
1320 break;
1321 case ThemeColors.Cerulean:
1322 color = "0079a8";
1323 break;
1324 case ThemeColors.Cinnabar:
1325 color = "de3517";
1326 break;
1327 }
1328
1329 return color;
1330 }
1331
1332 private string GetLinkColor(string hex)
1333 {
1334 var color = hex;
1335
1336 switch (hex.ToLower())
1337 {
1338 case ThemeColors.DeepSapphire:
1339 color = "1d293b";
1340 break;
1341 case ThemeColors.Cornflower:
1342 color = "085077";
1343 break;
1344 case ThemeColors.Surf:
1345 color = "555555";
1346 break;
1347 case ThemeColors.BeautyBush:
1348 color = "555555";
1349 break;
1350 case ThemeColors.Cerulean:
1351 color = "0079a8";
1352 break;
1353 case ThemeColors.Cinnabar:
1354 color = "de3517";
1355 break;
1356 }
1357
1358 return color;
1359 }
1360
1361 private struct ThemeColors
1362 {
1363 public const string DeepSapphire = "0a2e68";
1364 public const string RegalBlue = "004069";
1365 public const string DoveGray = "666666";
1366 public const string Valencia = "d53f53";
1367 public const string Cornflower = "88bfe8";
1368 public const string Surf = "b1d8b9";
1369 public const string BeautyBush = "edc3c4";
1370 public const string Cerulean = "009bd9";
1371 public const string Cinnabar = "eb573d";
1372 }
1373 }