- Groot assortiment gereedschappen
- Gratis verzending vanaf €100 (Excl. BTW)
- Bezoek ons in Buggenhout
Error compiling template "Designs/Kinder_generated/Paragraph/Jumbotron.cshtml" Line 439: 'CTAButton' does not contain a definition for 'Configuration' and no accessible extension method 'Configuration' accepting a first argument of type 'CTAButton' could be found (are you missing a using directive or an assembly reference?) Line 439: 'CTAButton' does not contain a definition for 'Configuration' and no accessible extension method 'Configuration' accepting a first argument of type 'CTAButton' could be found (are you missing a using directive or an assembly reference?) Line 562: 'CTAButton' does not contain a definition for 'Configuration' and no accessible extension method 'Configuration' accepting a first argument of type 'CTAButton' could be found (are you missing a using directive or an assembly reference?) Line 562: 'CTAButton' does not contain a definition for 'Configuration' and no accessible extension method 'Configuration' accepting a first argument of type 'CTAButton' could be found (are you missing a using directive or an assembly reference?)
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 14 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 17 using Dynamicweb; 18 19 #line default 20 #line hidden 21 22 #line 9 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 23 using Dynamicweb.Content.Items; 24 25 #line default 26 #line hidden 27 28 #line 10 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 29 using Bluedesk.DynamicWeb.ItemTypes; 30 31 #line default 32 #line hidden 33 34 #line 11 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 35 using Bluedesk.DynamicWeb.ItemTypes.Extensions; 36 37 #line default 38 #line hidden 39 40 #line 12 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 41 using Bluedesk.DynamicWeb.ItemTypes.Configuration; 42 43 #line default 44 #line hidden 45 46 #line 13 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 47 using Bluedesk.DynamicWeb.ItemTypes.Settings.Configuration; 48 49 #line default 50 #line hidden 51 52 #line 15 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 53 using Dynamicweb.Frontend; 54 55 #line default 56 #line hidden 57 58 #line 16 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 59 using Bluedesk.DynamicWeb.ItemTypes.BaseSolution; 60 61 #line default 62 #line hidden 63 64 65 public class RazorEngine_c469bdb6047745c2b7337baf7d44710e : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 66 67 #line hidden 68 69 #line 18 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 70 public RazorEngine.Templating.TemplateWriter RenderButton(CTAButton button, PageView Pageview) 71 { 72 #line default 73 #line hidden 74 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 75 76 #line 19 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 77 78 79 if (!string.IsNullOrWhiteSpace(button.GetLink(Pageview))) 80 { 81 string Template = button.GetButtonTemplate().Replace("{{ ButtonLink }}", button.GetLink(Pageview)); 82 83 84 #line default 85 #line hidden 86 87 #line 24 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 88 WriteTo(__razor_helper_writer, Template); 89 90 91 #line default 92 #line hidden 93 94 #line 24 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 95 ; 96 } 97 98 99 #line default 100 #line hidden 101 }); 102 103 #line 26 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 104 } 105 #line default 106 #line hidden 107 108 109 public RazorEngine_c469bdb6047745c2b7337baf7d44710e() { 110 } 111 112 public override void Execute() { 113 WriteLiteral("\r\n\r\n"); 114 115 WriteLiteral("\r\n"); 116 117 WriteLiteral("\r\n\r\n"); 118 119 120 #line 29 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 121 122 Jumbotron _data = ItemManager.Storage.GetById<Jumbotron>(Pageview.CurrentParagraph.ItemId ?? "0"); 123 var paragraphID = Pageview.CurrentParagraph.ID; 124 125 126 #line default 127 #line hidden 128 WriteLiteral("\r\n\r\n<section"); 129 130 WriteLiteral(" class=\"jumbotron playground\""); 131 132 WriteLiteral(" data-paragraphid=\""); 133 134 135 #line 34 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 136 Write(paragraphID); 137 138 139 #line default 140 #line hidden 141 WriteLiteral("\""); 142 143 WriteAttribute("id", Tuple.Create(" id=\"", 1186), Tuple.Create("\"", 1203) 144 145 #line 34 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 146 , Tuple.Create(Tuple.Create("", 1191), Tuple.Create<System.Object, System.Int32>(paragraphID 147 148 #line default 149 #line hidden 150 , 1191), false) 151 ); 152 153 WriteLiteral(">\r\n\r\n\t<div"); 154 155 WriteLiteral(" class=\"jumbotron__background-color\""); 156 157 WriteLiteral(@"> 158 159 <!-- 160 161 <svg width=""100%"" height=""500"" viewBox=""0 0 1600 600"" preserveAspectRatio=""none""> 162 <defs> 163 <style> 164 .cls-1 { 165 fill: #cccccb; 166 } 167 168 .cls-2 { 169 fill: #fff; 170 opacity: 0.2; 171 } 172 </style> 173 </defs> 174 <title></title> 175 <path class=""jumbotron__shaper"" d=""M2.59,495,237,553l122-48,132,54,360,16,262-48,176-90,154,120,112,12,206-102,159.79,65v71H1.56S1.31,493.72,2.59,495Z"" /> 176 <polygon class=""cls-2"" points=""359 505 317 599 491 559 359 505"" /> 177 <polygon class=""cls-2"" points=""1289 437 1443 557 1177 601 1289 437"" /> 178 <polygon class=""cls-2"" points=""1761 467 1696.44 604.28 1920.8 603 1920.8 532.03 1761 467"" /> 179 </svg> 180 181 --> 182 183 <svg"); 184 185 WriteLiteral(" width=\"100%\""); 186 187 WriteLiteral(" height=\"500\""); 188 189 WriteLiteral(" viewBox=\"0 0 2634 919\""); 190 191 WriteLiteral(" preserveAspectRatio=\"none\""); 192 193 WriteLiteral(">\r\n\t<polygon"); 194 195 WriteLiteral(" points=\"240,0 200,120 1190,0\""); 196 197 WriteLiteral(" fill=\"rgba(0,0,0,0.18129169211208676)\""); 198 199 WriteLiteral("></polygon>\r\n\t<polygon"); 200 201 WriteLiteral(" points=\"200,120 1190,0 928,378\""); 202 203 WriteLiteral(" fill=\"rgba(0,0,0,0.11560041336118099)\""); 204 205 WriteLiteral("></polygon>\r\n\t<polygon"); 206 207 WriteLiteral(" points=\"1190,0 928,378 1558,0\""); 208 209 WriteLiteral(" fill=\"rgba(0,0,0,0.19221545874582663)\""); 210 211 WriteLiteral("></polygon>\r\n\t<polygon"); 212 213 WriteLiteral(" points=\"928,378 1558,0 1725,367\""); 214 215 WriteLiteral(" fill=\"rgba(0,0,0,0.17782430844065544)\""); 216 217 WriteLiteral("></polygon>\r\n\t<polygon"); 218 219 WriteLiteral(" points=\"1558,0 1725,367 2099,0\""); 220 221 WriteLiteral(" fill=\"rgba(0,0,0,0.0442797005382173)\""); 222 223 WriteLiteral("></polygon>\r\n\t<polygon"); 224 225 WriteLiteral(" points=\"1725,367 2099,0 2025,280\""); 226 227 WriteLiteral(" fill=\"rgba(0,0,0,0.04841994330042705)\""); 228 229 WriteLiteral("></polygon>\r\n\t<polygon"); 230 231 WriteLiteral(" points=\"2099,0 2025,280 2635,173\""); 232 233 WriteLiteral(" fill=\"rgba(0,0,0,0.055649837709599706)\""); 234 235 WriteLiteral("></polygon>\r\n\t<polygon"); 236 237 WriteLiteral(" points=\"2099,0 2635,0 2635,173\""); 238 239 WriteLiteral(" fill=\"rgba(0,0,0,0.07944421825947519)\""); 240 241 WriteLiteral("></polygon>\r\n\t<polygon"); 242 243 WriteLiteral(" points=\"0,80 0,492 200,120\""); 244 245 WriteLiteral(" fill=\"rgba(0,0,0,0.09388572892996119)\""); 246 247 WriteLiteral("></polygon>\r\n\t<polygon"); 248 249 WriteLiteral(" points=\"0,492 200,120 303,650\""); 250 251 WriteLiteral(" fill=\"rgba(0,0,0,0.17301052460010619)\""); 252 253 WriteLiteral("></polygon>\r\n\t<polygon"); 254 255 WriteLiteral(" points=\"200,120 303,650 1150,640\""); 256 257 WriteLiteral(" fill=\"rgba(0,0,0,0.16342077898487148)\""); 258 259 WriteLiteral("></polygon>\r\n\t<polygon"); 260 261 WriteLiteral(" points=\"200,120 928,378 1150,640\""); 262 263 WriteLiteral(" fill=\"rgba(0,0,0,0.1604235966874455)\""); 264 265 WriteLiteral("></polygon>\r\n\t<polygon"); 266 267 WriteLiteral(" points=\"928,378 1150,640 1655,550\""); 268 269 WriteLiteral(" fill=\"rgba(0,0,0,0.08618530711315295)\""); 270 271 WriteLiteral("></polygon>\r\n\t<polygon"); 272 273 WriteLiteral(" points=\"928,378 1725,367 1655,550\""); 274 275 WriteLiteral(" fill=\"rgba(0,0,0,0.15569838904814332)\""); 276 277 WriteLiteral("></polygon>\r\n\t<polygon"); 278 279 WriteLiteral(" points=\"1725,367 1655,550 1905,664\""); 280 281 WriteLiteral(" fill=\"rgba(0,0,0,0.17760714138215486)\""); 282 283 WriteLiteral("></polygon>\r\n\t<polygon"); 284 285 WriteLiteral(" points=\"1725,367 2025,280 1905,664\""); 286 287 WriteLiteral(" fill=\"rgba(0,0,0,0.037322438496872536)\""); 288 289 WriteLiteral("></polygon>\r\n\t<polygon"); 290 291 WriteLiteral(" points=\"2025,280 1905,664 2635,475\""); 292 293 WriteLiteral(" fill=\"rgba(0,0,0,0.1444290570717587)\""); 294 295 WriteLiteral("></polygon>\r\n\t<polygon"); 296 297 WriteLiteral(" points=\"2025,280 2635,173 2635,475\""); 298 299 WriteLiteral(" fill=\"rgba(0,0,0,0.04418200557187766)\""); 300 301 WriteLiteral("></polygon>\r\n\t<polygon"); 302 303 WriteLiteral(" points=\"0,492 0,921 303,650\""); 304 305 WriteLiteral(" fill=\"rgba(0,0,0,0.15019238818936703)\""); 306 307 WriteLiteral("></polygon>\r\n\t<polygon"); 308 309 WriteLiteral(" points=\"0,921 303,650 478,921\""); 310 311 WriteLiteral(" fill=\"rgba(0,0,0,0.15886873413248268)\""); 312 313 WriteLiteral("></polygon>\r\n\t<polygon"); 314 315 WriteLiteral(" points=\"303,650 478,921 884,921\""); 316 317 WriteLiteral(" fill=\"rgba(0,0,0,0.08673396076539985)\""); 318 319 WriteLiteral("></polygon>\r\n\t<polygon"); 320 321 WriteLiteral(" points=\"303,650 1150,640 884,921\""); 322 323 WriteLiteral(" fill=\"rgba(0,0,0,0.1690203412768186)\""); 324 325 WriteLiteral("></polygon>\r\n\t<polygon"); 326 327 WriteLiteral(" points=\"1150,640 884,921 1655,550\""); 328 329 WriteLiteral(" fill=\"rgba(0,0,0,0.19680687213506243)\""); 330 331 WriteLiteral("></polygon>\r\n\t<polygon"); 332 333 WriteLiteral(" points=\"884,921 1655,550 1631,921\""); 334 335 WriteLiteral(" fill=\"rgba(0,0,0,0.15853668601888743)\""); 336 337 WriteLiteral("></polygon>\r\n\t<polygon"); 338 339 WriteLiteral(" points=\"1655,550 1631,921 1905,664\""); 340 341 WriteLiteral(" fill=\"rgba(0,0,0,0.14436960127279813)\""); 342 343 WriteLiteral("></polygon>\r\n\t<polygon"); 344 345 WriteLiteral(" points=\"1631,921 1905,664 2215,921\""); 346 347 WriteLiteral(" fill=\"rgba(0,0,0,0.0712994433633896)\""); 348 349 WriteLiteral("></polygon>\r\n\t<polygon"); 350 351 WriteLiteral(" points=\"1905,664 2215,921 2635,475\""); 352 353 WriteLiteral(" fill=\"rgba(0,0,0,0.05496224497337878)\""); 354 355 WriteLiteral("></polygon>\r\n\t<polygon"); 356 357 WriteLiteral(" points=\"2215,921 2635,475 2635,921\""); 358 359 WriteLiteral(" fill=\"rgba(0,0,0,0.04025287138834699)\""); 360 361 WriteLiteral("></polygon>\r\n\r\n</svg>\r\n;\r\n\r\n\t</div>\r\n\t<figure"); 362 363 WriteLiteral(" class=\"jumbotron__image mask1\""); 364 365 WriteAttribute("style", Tuple.Create(" style=\"", 4706), Tuple.Create("\"", 4757) 366 , Tuple.Create(Tuple.Create("", 4714), Tuple.Create("background-image:", 4714), true) 367 , Tuple.Create(Tuple.Create(" ", 4731), Tuple.Create("url(\'", 4732), true) 368 369 #line 96 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 370 , Tuple.Create(Tuple.Create("", 4737), Tuple.Create<System.Object, System.Int32>(_data.Image.Image 371 372 #line default 373 #line hidden 374 , 4737), false) 375 , Tuple.Create(Tuple.Create("", 4755), Tuple.Create("\')", 4755), true) 376 ); 377 378 WriteLiteral("></figure>\r\n\r\n\t<div"); 379 380 WriteLiteral(" class=\"container hidden md:block\""); 381 382 WriteLiteral(">\r\n\r\n"); 383 384 385 #line 100 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 386 387 388 #line default 389 #line hidden 390 391 #line 100 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 392 if (!string.IsNullOrWhiteSpace(@_data.Header.HeaderFormatted("jumbotron__heading")) || !string.IsNullOrWhiteSpace(_data.Content.Text) || !string.IsNullOrWhiteSpace(_data.Button.ButtonText)) 393 { 394 395 396 397 #line default 398 #line hidden 399 WriteLiteral("\t\t\t<section"); 400 401 WriteLiteral(" class=\"jumbotron__shoutbox fullheight\""); 402 403 WriteLiteral(">\r\n\t\t\t\t<div"); 404 405 WriteLiteral(" class=\"jumbotron__shoutbox-header\""); 406 407 WriteLiteral(">\r\n"); 408 409 WriteLiteral("\t\t\t\t\t"); 410 411 412 #line 105 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 413 Write(_data.Header.HeaderFormatted("jumbotron__heading")); 414 415 416 #line default 417 #line hidden 418 WriteLiteral("\r\n\t\t\t\t\t<div"); 419 420 WriteLiteral(" class=\"jumbotron__shoutbox-intro\""); 421 422 WriteLiteral(">\r\n"); 423 424 WriteLiteral("\t\t\t\t\t\t"); 425 426 427 #line 107 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 428 Write(_data.Content.Text); 429 430 431 #line default 432 #line hidden 433 WriteLiteral("\r\n\t\t\t\t\t</div>\r\n\r\n"); 434 435 WriteLiteral("\t\t\t\t\t"); 436 437 438 #line 110 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 439 Write(RenderButton(_data.Button.Configuration, _data.Button.GetLink(Pageview), _data.Button.Configuration.ButtonClass, _data.Button.ButtonText, _data.Button.ButtonAriaLabel, _data.Button.NewWindow, "", "jumbotron__shoutbox-cta", "jumbotron__shoutbox-cta-label", "jumbotron__shoutbox-cta-icon")); 440 441 442 #line default 443 #line hidden 444 WriteLiteral("\r\n\r\n\t\t\t\t</div>\r\n\t\t\t</section>\r\n"); 445 446 447 #line 114 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 448 } 449 450 451 #line default 452 #line hidden 453 WriteLiteral("\r\n\t</div>\r\n\r\n\t<section"); 454 455 WriteLiteral(" class=\"jumbotron jumbotron--mobile\""); 456 457 WriteLiteral(">\r\n\t\t<div"); 458 459 WriteLiteral(" class=\"jumbotron__wrapper\""); 460 461 WriteLiteral(">\r\n\r\n\t\t\t<figure"); 462 463 WriteLiteral(" class=\"jumbotron__image\""); 464 465 WriteLiteral(">\r\n\t\t\t\t<picture>\r\n\t\t\t\t\t<source"); 466 467 WriteLiteral(" media=\"(max-width: 400px)\""); 468 469 WriteAttribute("srcset", Tuple.Create(" srcset=\"", 5782), Tuple.Create("\"", 5883) 470 , Tuple.Create(Tuple.Create("", 5791), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 5791), true) 471 472 #line 123 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 473 , Tuple.Create(Tuple.Create("", 5825), Tuple.Create<System.Object, System.Int32>(_data.Image.Image 474 475 #line default 476 #line hidden 477 , 5825), false) 478 , Tuple.Create(Tuple.Create("", 5843), Tuple.Create("&Crop=7&Format=webp&Quality=90&Width=400", 5843), true) 479 ); 480 481 WriteLiteral(">\r\n\t\t\t\t\t<source"); 482 483 WriteLiteral(" media=\"(max-width: 994px)\""); 484 485 WriteAttribute("srcset", Tuple.Create(" srcset=\"", 5926), Tuple.Create("\"", 6027) 486 , Tuple.Create(Tuple.Create("", 5935), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 5935), true) 487 488 #line 124 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 489 , Tuple.Create(Tuple.Create("", 5969), Tuple.Create<System.Object, System.Int32>(_data.Image.Image 490 491 #line default 492 #line hidden 493 , 5969), false) 494 , Tuple.Create(Tuple.Create("", 5987), Tuple.Create("&Crop=7&Format=webp&Quality=90&Width=994", 5987), true) 495 ); 496 497 WriteLiteral(">\r\n\t\t\t\t\t<img"); 498 499 WriteAttribute("src", Tuple.Create(" src=\"", 6040), Tuple.Create("\"", 6139) 500 , Tuple.Create(Tuple.Create("", 6046), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 6046), true) 501 502 #line 125 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 503 , Tuple.Create(Tuple.Create("", 6080), Tuple.Create<System.Object, System.Int32>(_data.Image.Image 504 505 #line default 506 #line hidden 507 , 6080), false) 508 , Tuple.Create(Tuple.Create("", 6098), Tuple.Create("&Crop=7&Format=webp&Quality=90&width=1980", 6098), true) 509 ); 510 511 WriteAttribute("alt", Tuple.Create(" alt=\"", 6140), Tuple.Create("\"", 6167) 512 513 #line 125 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 514 , Tuple.Create(Tuple.Create("", 6146), Tuple.Create<System.Object, System.Int32>(_data.Image.ImageAlt 515 516 #line default 517 #line hidden 518 , 6146), false) 519 ); 520 521 WriteLiteral(" width=\"1980\""); 522 523 WriteLiteral(" height=\"500\""); 524 525 WriteLiteral(" />\r\n\t\t\t\t</picture>\r\n\t\t\t</figure>\r\n\r\n"); 526 527 528 #line 129 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 529 530 531 #line default 532 #line hidden 533 534 #line 129 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 535 if (!string.IsNullOrWhiteSpace(@_data.Header.HeaderFormatted("jumbotron__heading")) || !string.IsNullOrWhiteSpace(_data.Button.ButtonText)) 536 { 537 538 539 #line default 540 #line hidden 541 WriteLiteral("\t\t\t\t<section"); 542 543 WriteLiteral(" class=\"jumbotron__shoutbox\""); 544 545 WriteLiteral(">\r\n"); 546 547 WriteLiteral("\t\t\t\t\t"); 548 549 550 #line 132 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 551 Write(_data.Header.HeaderFormatted("jumbotron__heading")); 552 553 554 #line default 555 #line hidden 556 WriteLiteral("\r\n\r\n"); 557 558 WriteLiteral("\t\t\t\t\t"); 559 560 561 #line 134 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 562 Write(RenderButton(_data.Button.Configuration, _data.Button.GetLink(Pageview), _data.Button.Configuration.ButtonClass, _data.Button.ButtonText, _data.Button.ButtonAriaLabel, _data.Button.NewWindow, "", "jumbotron__shoutbox-cta", "jumbotron__shoutbox-cta-label", "jumbotron__shoutbox-cta-icon")); 563 564 565 #line default 566 #line hidden 567 WriteLiteral("\r\n\r\n\t\t\t\t</section>\r\n"); 568 569 570 #line 137 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 571 } 572 573 574 #line default 575 #line hidden 576 WriteLiteral("\t\t</div>\r\n\t</section>\r\n\r\n\t<div"); 577 578 WriteLiteral(" class=\"jumbotron__shaper-container\""); 579 580 WriteLiteral(">\r\n"); 581 582 583 #line 142 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 584 585 586 #line default 587 #line hidden 588 589 #line 142 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 590 if (@_data.Tag == "homepage") 591 { 592 593 594 #line default 595 #line hidden 596 WriteLiteral(@" <!--// 597 <svg width=""100%"" height=""500"" viewBox=""0 0 1600 600"" preserveAspectRatio=""none""> 598 <defs> 599 <style> 600 .cls-1 { 601 fill: #cccccb; 602 } 603 604 .cls-2 { 605 fill: #fff; 606 opacity: 0.2; 607 } 608 609 </style> 610 </defs> 611 <title></title> 612 <path class=""jumbotron__shaper-homepage"" d=""M2.59,495,237,553l122-48,132,54,360,16,262-48,176-90,154,120,112,12,206-102,159.79,65v71H1.56S1.31,493.72,2.59,495Z"" /> 613 <polygon class=""cls-2"" points=""359 505 317 599 491 559 359 505"" /> 614 <polygon class=""cls-2"" points=""1289 437 1443 557 1177 601 1289 437"" /> 615 <polygon class=""cls-2"" points=""1761 467 1696.44 604.28 1920.8 603 1920.8 532.03 1761 467"" /> 616 </svg> 617 <svg width=""100%"" height=""600"" viewBox=""0 0 2000 600"" preserveAspectRatio=""none""> 618 <clipPath id=""myClip""> 619 <path class=""cls-1"" d=""M1999.57,425c-123.24,53.94-329.82,96.6-581.35,119.35q33.6-6.59,65.7-14.19c104.82-24.86,197.33-58,276-98.78,21.37-11.08,49.25-53.51,49.25-53.51C1609,504.41,1328.64,545.78,1128.7,558.21c-31.7,2-62.42,3.29-91.8,4.12q-18.23.13-36.6.13c-81.34,0-160.65-1.95-237.08-5.65-16.15-1.19-25.6-1.31-25.6-1.31C416.39,538.15,148.8,489.67,1,425H.3V600h2000V425Z""></path> 620 </clipPath> 621 </svg> 622 //--> 623 "); 624 625 626 #line 171 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 627 628 629 630 #line default 631 #line hidden 632 WriteLiteral(@"<!--// 633 <svg version=""1.1"" id=""Layer_1"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" x=""0px"" y=""0px"" height=""0"" width=""0"" viewBox=""0 0 2000 600"" preserveAspectRatio=""""> 634 <clipPath id=""myClip""> 635 <path class=""st0"" d=""M0,0v325h0.2C37.1,389.7,104,438.2,184.3,455.5c0,0,2.4,0.1,6.4,1.3c19.1,3.7,38.9,5.7,59.3,5.7 636 c3.1,0,6.1,0,9.2-0.1c7.3-0.8,15-2.1,23-4.1c50-12.4,120.1-53.8,170.1-180.3c0,0-7,42.4-12.3,53.5c-19.7,40.8-42.8,73.9-69,98.8 637 c-5.4,5.1-10.8,9.8-16.4,14.2C417.4,421.6,469,378.9,499.8,325h0.2V0H0z"" /> 638 </clipPath> 639 </svg> 640 //--> 641 "); 642 643 644 #line 181 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 645 646 647 648 #line default 649 #line hidden 650 WriteLiteral(@"<!--<img src=""https://images.unsplash.com/photo-1592006256125-1e7622ead3b0?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&ixid=eyJhcHBfaWQiOjE0NTg5fQ"" alt=""Photographer in a market."" height=""1000"" width=""1000"" /> 651 <svg width=""0"" height=""0""> 652 <clipPath id=""svgClip"" clipPathUnits=""objectBoundingBox""> 653 <path d=""M0.75815095, 0.0579477769 C0.879893708, 0.187288937 0.902165272, 0.677587654 0.799370955, 0.785996249 C0.627963035, 0.966765889 0.26163708, 0.91434951 0.111342491,0.755791573 C-0.0332137967,0.603287436 -0.035795248,0.382887577 0.0965066612,0.173955315 C0.200239457,0.0101396315 0.648923894,-0.0580965318 0.75815095,0.0579477769 Z""></path> 654 </clipPath> 655 </svg> 656 <style> 657 .jumbotron-mask { 658 clip-path: url(#svgClip); 659 width: 18em; 660 height: 18em; 661 object-fit: cover; 662 display: block; 663 margin-right: auto; 664 margin-left: auto; 665 } 666 </style>--> 667 "); 668 669 670 #line 199 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 671 672 } 673 else 674 { 675 676 677 #line default 678 #line hidden 679 WriteLiteral(@" <!--<svg width=""100%"" height=""500"" viewBox=""0 0 1600 600"" preserveAspectRatio=""none""> 680 <defs> 681 <style> 682 .cls-1 { 683 fill: #cccccb; 684 } 685 686 .cls-2 { 687 fill: #fff; 688 opacity: 0.2; 689 } 690 </style> 691 </defs> 692 <title></title> 693 <path class=""jumbotron__shaper"" d=""M2.59,495,237,553l122-48,132,54,360,16,262-48,176-90,154,120,112,12,206-102,159.79,65v71H1.56S1.31,493.72,2.59,495Z"" /> 694 <polygon class=""cls-2"" points=""359 505 317 599 491 559 359 505"" /> 695 <polygon class=""cls-2"" points=""1289 437 1443 557 1177 601 1289 437"" /> 696 <polygon class=""cls-2"" points=""1761 467 1696.44 604.28 1920.8 603 1920.8 532.03 1761 467"" /> 697 </svg>--> 698 "); 699 700 701 #line 222 "D:\dynamicweb.net\Solutions\DeKinder\Productie\files\Templates\Designs\Kinder_generated\Paragraph\Jumbotron.cshtml" 702 703 } 704 705 706 #line default 707 #line hidden 708 WriteLiteral("\t</div>\r\n\r\n</section>\r\n"); 709 710 } 711 } 712 } 713
1 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 2 @using Dynamicweb; 3 @using Dynamicweb.Content.Items; 4 @using Bluedesk.DynamicWeb.ItemTypes; 5 6 7 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 8 @using Dynamicweb; 9 @using Dynamicweb.Content.Items; 10 @using Bluedesk.DynamicWeb.ItemTypes; 11 @using Bluedesk.DynamicWeb.ItemTypes.Extensions; 12 @using Bluedesk.DynamicWeb.ItemTypes.Configuration; 13 @using Bluedesk.DynamicWeb.ItemTypes.Settings.Configuration; 14 @using Dynamicweb; 15 @using Dynamicweb.Frontend 16 @using Bluedesk.DynamicWeb.ItemTypes.BaseSolution; 17 18 @helper RenderButton(CTAButton button, PageView Pageview) 19 { 20 21 if (!string.IsNullOrWhiteSpace(button.GetLink(Pageview))) 22 { 23 string Template = button.GetButtonTemplate().Replace("{{ ButtonLink }}", button.GetLink(Pageview)); 24 @Template; 25 } 26 } 27 28 29 @{ 30 Jumbotron _data = ItemManager.Storage.GetById<Jumbotron>(Pageview.CurrentParagraph.ItemId ?? "0"); 31 var paragraphID = Pageview.CurrentParagraph.ID; 32 } 33 34 <section class="jumbotron playground" data-paragraphid="@paragraphID" id="@paragraphID"> 35 36 <div class="jumbotron__background-color"> 37 38 <!-- 39 40 <svg width="100%" height="500" viewBox="0 0 1600 600" preserveAspectRatio="none"> 41 <defs> 42 <style> 43 .cls-1 { 44 fill: #cccccb; 45 } 46 47 .cls-2 { 48 fill: #fff; 49 opacity: 0.2; 50 } 51 </style> 52 </defs> 53 <title></title> 54 <path class="jumbotron__shaper" d="M2.59,495,237,553l122-48,132,54,360,16,262-48,176-90,154,120,112,12,206-102,159.79,65v71H1.56S1.31,493.72,2.59,495Z" /> 55 <polygon class="cls-2" points="359 505 317 599 491 559 359 505" /> 56 <polygon class="cls-2" points="1289 437 1443 557 1177 601 1289 437" /> 57 <polygon class="cls-2" points="1761 467 1696.44 604.28 1920.8 603 1920.8 532.03 1761 467" /> 58 </svg> 59 60 --> 61 62 <svg width="100%" height="500" viewBox="0 0 2634 919" preserveAspectRatio="none"> 63 <polygon points="240,0 200,120 1190,0" fill="rgba(0,0,0,0.18129169211208676)"></polygon> 64 <polygon points="200,120 1190,0 928,378" fill="rgba(0,0,0,0.11560041336118099)"></polygon> 65 <polygon points="1190,0 928,378 1558,0" fill="rgba(0,0,0,0.19221545874582663)"></polygon> 66 <polygon points="928,378 1558,0 1725,367" fill="rgba(0,0,0,0.17782430844065544)"></polygon> 67 <polygon points="1558,0 1725,367 2099,0" fill="rgba(0,0,0,0.0442797005382173)"></polygon> 68 <polygon points="1725,367 2099,0 2025,280" fill="rgba(0,0,0,0.04841994330042705)"></polygon> 69 <polygon points="2099,0 2025,280 2635,173" fill="rgba(0,0,0,0.055649837709599706)"></polygon> 70 <polygon points="2099,0 2635,0 2635,173" fill="rgba(0,0,0,0.07944421825947519)"></polygon> 71 <polygon points="0,80 0,492 200,120" fill="rgba(0,0,0,0.09388572892996119)"></polygon> 72 <polygon points="0,492 200,120 303,650" fill="rgba(0,0,0,0.17301052460010619)"></polygon> 73 <polygon points="200,120 303,650 1150,640" fill="rgba(0,0,0,0.16342077898487148)"></polygon> 74 <polygon points="200,120 928,378 1150,640" fill="rgba(0,0,0,0.1604235966874455)"></polygon> 75 <polygon points="928,378 1150,640 1655,550" fill="rgba(0,0,0,0.08618530711315295)"></polygon> 76 <polygon points="928,378 1725,367 1655,550" fill="rgba(0,0,0,0.15569838904814332)"></polygon> 77 <polygon points="1725,367 1655,550 1905,664" fill="rgba(0,0,0,0.17760714138215486)"></polygon> 78 <polygon points="1725,367 2025,280 1905,664" fill="rgba(0,0,0,0.037322438496872536)"></polygon> 79 <polygon points="2025,280 1905,664 2635,475" fill="rgba(0,0,0,0.1444290570717587)"></polygon> 80 <polygon points="2025,280 2635,173 2635,475" fill="rgba(0,0,0,0.04418200557187766)"></polygon> 81 <polygon points="0,492 0,921 303,650" fill="rgba(0,0,0,0.15019238818936703)"></polygon> 82 <polygon points="0,921 303,650 478,921" fill="rgba(0,0,0,0.15886873413248268)"></polygon> 83 <polygon points="303,650 478,921 884,921" fill="rgba(0,0,0,0.08673396076539985)"></polygon> 84 <polygon points="303,650 1150,640 884,921" fill="rgba(0,0,0,0.1690203412768186)"></polygon> 85 <polygon points="1150,640 884,921 1655,550" fill="rgba(0,0,0,0.19680687213506243)"></polygon> 86 <polygon points="884,921 1655,550 1631,921" fill="rgba(0,0,0,0.15853668601888743)"></polygon> 87 <polygon points="1655,550 1631,921 1905,664" fill="rgba(0,0,0,0.14436960127279813)"></polygon> 88 <polygon points="1631,921 1905,664 2215,921" fill="rgba(0,0,0,0.0712994433633896)"></polygon> 89 <polygon points="1905,664 2215,921 2635,475" fill="rgba(0,0,0,0.05496224497337878)"></polygon> 90 <polygon points="2215,921 2635,475 2635,921" fill="rgba(0,0,0,0.04025287138834699)"></polygon> 91 92 </svg> 93 ; 94 95 </div> 96 <figure class="jumbotron__image mask1" style="background-image: url('@_data.Image.Image')"></figure> 97 98 <div class="container hidden md:block"> 99 100 @if (!string.IsNullOrWhiteSpace(@_data.Header.HeaderFormatted("jumbotron__heading")) || !string.IsNullOrWhiteSpace(_data.Content.Text) || !string.IsNullOrWhiteSpace(_data.Button.ButtonText)) 101 { 102 103 <section class="jumbotron__shoutbox fullheight"> 104 <div class="jumbotron__shoutbox-header"> 105 @_data.Header.HeaderFormatted("jumbotron__heading") 106 <div class="jumbotron__shoutbox-intro"> 107 @_data.Content.Text 108 </div> 109 110 @RenderButton(_data.Button.Configuration, _data.Button.GetLink(Pageview), _data.Button.Configuration.ButtonClass, _data.Button.ButtonText, _data.Button.ButtonAriaLabel, _data.Button.NewWindow, "", "jumbotron__shoutbox-cta", "jumbotron__shoutbox-cta-label", "jumbotron__shoutbox-cta-icon") 111 112 </div> 113 </section> 114 } 115 116 </div> 117 118 <section class="jumbotron jumbotron--mobile"> 119 <div class="jumbotron__wrapper"> 120 121 <figure class="jumbotron__image"> 122 <picture> 123 <source media="(max-width: 400px)" srcset="/Admin/Public/GetImage.ashx?Image=@_data.Image.Image&Crop=7&Format=webp&Quality=90&Width=400"> 124 <source media="(max-width: 994px)" srcset="/Admin/Public/GetImage.ashx?Image=@_data.Image.Image&Crop=7&Format=webp&Quality=90&Width=994"> 125 <img src="/Admin/Public/GetImage.ashx?Image=@_data.Image.Image&Crop=7&Format=webp&Quality=90&width=1980" alt="@_data.Image.ImageAlt" width="1980" height="500" /> 126 </picture> 127 </figure> 128 129 @if (!string.IsNullOrWhiteSpace(@_data.Header.HeaderFormatted("jumbotron__heading")) || !string.IsNullOrWhiteSpace(_data.Button.ButtonText)) 130 { 131 <section class="jumbotron__shoutbox"> 132 @_data.Header.HeaderFormatted("jumbotron__heading") 133 134 @RenderButton(_data.Button.Configuration, _data.Button.GetLink(Pageview), _data.Button.Configuration.ButtonClass, _data.Button.ButtonText, _data.Button.ButtonAriaLabel, _data.Button.NewWindow, "", "jumbotron__shoutbox-cta", "jumbotron__shoutbox-cta-label", "jumbotron__shoutbox-cta-icon") 135 136 </section> 137 } 138 </div> 139 </section> 140 141 <div class="jumbotron__shaper-container"> 142 @if (@_data.Tag == "homepage") 143 { 144 <!--// 145 <svg width="100%" height="500" viewBox="0 0 1600 600" preserveAspectRatio="none"> 146 <defs> 147 <style> 148 .cls-1 { 149 fill: #cccccb; 150 } 151 152 .cls-2 { 153 fill: #fff; 154 opacity: 0.2; 155 } 156 157 </style> 158 </defs> 159 <title></title> 160 <path class="jumbotron__shaper-homepage" d="M2.59,495,237,553l122-48,132,54,360,16,262-48,176-90,154,120,112,12,206-102,159.79,65v71H1.56S1.31,493.72,2.59,495Z" /> 161 <polygon class="cls-2" points="359 505 317 599 491 559 359 505" /> 162 <polygon class="cls-2" points="1289 437 1443 557 1177 601 1289 437" /> 163 <polygon class="cls-2" points="1761 467 1696.44 604.28 1920.8 603 1920.8 532.03 1761 467" /> 164 </svg> 165 <svg width="100%" height="600" viewBox="0 0 2000 600" preserveAspectRatio="none"> 166 <clipPath id="myClip"> 167 <path class="cls-1" d="M1999.57,425c-123.24,53.94-329.82,96.6-581.35,119.35q33.6-6.59,65.7-14.19c104.82-24.86,197.33-58,276-98.78,21.37-11.08,49.25-53.51,49.25-53.51C1609,504.41,1328.64,545.78,1128.7,558.21c-31.7,2-62.42,3.29-91.8,4.12q-18.23.13-36.6.13c-81.34,0-160.65-1.95-237.08-5.65-16.15-1.19-25.6-1.31-25.6-1.31C416.39,538.15,148.8,489.67,1,425H.3V600h2000V425Z"></path> 168 </clipPath> 169 </svg> 170 //--> 171 172 <!--// 173 <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" height="0" width="0" viewBox="0 0 2000 600" preserveAspectRatio=""> 174 <clipPath id="myClip"> 175 <path class="st0" d="M0,0v325h0.2C37.1,389.7,104,438.2,184.3,455.5c0,0,2.4,0.1,6.4,1.3c19.1,3.7,38.9,5.7,59.3,5.7 176 c3.1,0,6.1,0,9.2-0.1c7.3-0.8,15-2.1,23-4.1c50-12.4,120.1-53.8,170.1-180.3c0,0-7,42.4-12.3,53.5c-19.7,40.8-42.8,73.9-69,98.8 177 c-5.4,5.1-10.8,9.8-16.4,14.2C417.4,421.6,469,378.9,499.8,325h0.2V0H0z" /> 178 </clipPath> 179 </svg> 180 //--> 181 182 <!--<img src="https://images.unsplash.com/photo-1592006256125-1e7622ead3b0?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&ixid=eyJhcHBfaWQiOjE0NTg5fQ" alt="Photographer in a market." height="1000" width="1000" /> 183 <svg width="0" height="0"> 184 <clipPath id="svgClip" clipPathUnits="objectBoundingBox"> 185 <path d="M0.75815095, 0.0579477769 C0.879893708, 0.187288937 0.902165272, 0.677587654 0.799370955, 0.785996249 C0.627963035, 0.966765889 0.26163708, 0.91434951 0.111342491,0.755791573 C-0.0332137967,0.603287436 -0.035795248,0.382887577 0.0965066612,0.173955315 C0.200239457,0.0101396315 0.648923894,-0.0580965318 0.75815095,0.0579477769 Z"></path> 186 </clipPath> 187 </svg> 188 <style> 189 .jumbotron-mask { 190 clip-path: url(#svgClip); 191 width: 18em; 192 height: 18em; 193 object-fit: cover; 194 display: block; 195 margin-right: auto; 196 margin-left: auto; 197 } 198 </style>--> 199 200 } 201 else 202 { 203 <!--<svg width="100%" height="500" viewBox="0 0 1600 600" preserveAspectRatio="none"> 204 <defs> 205 <style> 206 .cls-1 { 207 fill: #cccccb; 208 } 209 210 .cls-2 { 211 fill: #fff; 212 opacity: 0.2; 213 } 214 </style> 215 </defs> 216 <title></title> 217 <path class="jumbotron__shaper" d="M2.59,495,237,553l122-48,132,54,360,16,262-48,176-90,154,120,112,12,206-102,159.79,65v71H1.56S1.31,493.72,2.59,495Z" /> 218 <polygon class="cls-2" points="359 505 317 599 491 559 359 505" /> 219 <polygon class="cls-2" points="1289 437 1443 557 1177 601 1289 437" /> 220 <polygon class="cls-2" points="1761 467 1696.44 604.28 1920.8 603 1920.8 532.03 1761 467" /> 221 </svg>--> 222 223 } 224 </div> 225 226 </section> 227

Boven titel
Titel
Haal snel jouw Napoleon Barbecue in huis om optimaal te kunnen genieten van de zomer