@europeana/portal
Version:
Europeana Portal
2 lines • 3.95 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[99],{743:function(t,n,e){var content=e(762);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,e(138).default)("15a7eb04",content,!0,{sourceMap:!1})},761:function(t,n,e){"use strict";e(743)},762:function(t,n,e){var o=e(137)(!1);o.push([t.i,".cta-banner[data-v-30ef1156]{background-color:#d9d4ca;margin-bottom:2em;font-size:1rem;border-radius:.25em;border:.25em solid #1a1a1a;box-shadow:.75em .75em 0 0 #1a1a1a}@media(min-width: 1920px){.cta-banner[data-v-30ef1156]{font-size:1vw}}.cta-banner .cta-content[data-v-30ef1156]{padding:1.75em;text-align:center;font-size:1rem}@media(min-width: 1200px){.cta-banner .cta-content[data-v-30ef1156]{font-size:1.375rem}}@media(min-width: 1920px){.cta-banner .cta-content[data-v-30ef1156]{font-size:1em}}.cta-banner .cta-content h2[data-v-30ef1156]{color:#4d4d4d;font-size:2rem;font-weight:700;margin-bottom:1.5rem}@media(min-width: 1200px){.cta-banner .cta-content h2[data-v-30ef1156]{font-size:2.375rem}}@media(min-width: 1920px){.cta-banner .cta-content h2[data-v-30ef1156]{font-size:2em;margin-bottom:.8em}}.cta-banner .cta-content p[data-v-30ef1156]{margin-bottom:1em}.cta-banner .btn-primary.btn-cta[data-v-30ef1156]{margin-bottom:0;text-transform:none;border:.1875em solid #1a1a1a;box-shadow:.25em .25em 0 0 #1a1a1a;font-weight:700;padding:.5em 1em;border-radius:.25em;margin-top:2em}@media(min-width: 1920px){.cta-banner .btn-primary.btn-cta[data-v-30ef1156]{font-size:1vw}}.cta-banner.light[data-v-30ef1156]{background-color:#ededed}.cta-banner.innovationblue[data-v-30ef1156]{background-color:#0a72cc}.cta-banner.innovationblue .cta-content[data-v-30ef1156]{color:#fff}.cta-banner.innovationblue .cta-content h2[data-v-30ef1156]{color:#fff}.cta-banner.innovationblue .btn-primary.btn-cta[data-v-30ef1156]{background-color:#d9d4ca;color:#1a1a1a}.cta-banner.innovationblue .btn-primary.btn-cta[data-v-30ef1156]:hover{background-color:#fff}.cta-banner .cta-illustration[data-v-30ef1156]{margin-top:1em;margin-left:1em;margin-right:1em;height:175px;position:relative;flex-shrink:0}@media(min-width: 768px){.cta-banner .cta-illustration[data-v-30ef1156]{height:auto;width:40%}}.cta-banner .cta-illustration img[data-v-30ef1156]{position:absolute;left:0;bottom:0;max-height:100%;right:0;margin:0 auto}.home-cta[data-v-30ef1156]{margin:3em auto}",""]),t.exports=o},763:function(t,n){},903:function(t,n,e){"use strict";e.r(n);e(10),e(43),e(46);var o=e(203),r=e(717),c={name:"CallToActionBanner",components:{SmartLink:o.a,OptimisedImage:function(){return e.e(115).then(e.bind(null,759))}},props:{name:{type:String,required:!0},text:{type:String,required:!0},link:{type:Object,required:!0},illustration:{type:Object,default:null},variant:{type:String,default:"yellowgrey"}},computed:{html:function(){return r.marked.parse(this.text)}}},l=(e(761),e(59)),d=e(763),m=e.n(d),component=Object(l.a)(c,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"cta-banner d-flex flex-md-row flex-column",class:t.variant},[t.illustration?e("div",{staticClass:"cta-illustration align-self-stretch"},[e("OptimisedImage",{attrs:{alt:t.illustration.image.description,src:t.illustration.image.url,width:t.illustration.image.width,height:t.illustration.image.height,"content-type":t.illustration.image.contentType,"max-width":1100,lazy:!0}})],1):t._e(),t._v(" "),e("div",{staticClass:"cta-content align-self-stretch flex-md-fill"},[e("h2",[t._v("\n "+t._s(t.name)+"\n ")]),t._v(" "),e("div",{domProps:{innerHTML:t._s(t.html)}}),t._v(" "),e("SmartLink",{staticClass:"btn btn-cta btn-primary",attrs:{destination:t.link.url,"data-qa":"call to action"}},[t._v("\n "+t._s(t.link.text)+"\n ")])],1)])}),[],!1,null,"30ef1156",null);"function"==typeof m.a&&m()(component);n.default=component.exports}}]);
//# sourceMappingURL=e38914b.js.map