@europeana/portal
Version:
Europeana Portal
2 lines • 1.81 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{1160:function(t,e,n){"use strict";n.r(e);n(10),n(43),n(46),n(15),n(64);var l={name:"AuthoredHead",components:{ImageWithAttribution:function(){return n.e(15).then(n.bind(null,1175))}},props:{title:{type:String,required:!0},description:{type:String,default:""},exhibitionTitle:{type:String,default:""},hero:{type:Object,default:null},contextLabel:{type:String,default:null}},computed:{heroImage:function(){return this.hero?this.hero.image:null},heroImageAlt:function(){var t;return(null===(t=this.heroImage)||void 0===t?void 0:t.description)||""}}},o=n(59),component=Object(o.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("b-container",[n("b-row",{staticClass:"justify-content-center"},[n("b-col",{staticClass:"col-lg-8 pt-large mb-4",attrs:{cols:"12"}},[n("article",[n("div",{staticClass:"title"},[t.contextLabel?n("div",{staticClass:"context-label",attrs:{"data-qa":"context label"}},[t._v("\n "+t._s(t.contextLabel)+"\n ")]):t._e(),t._v(" "),t.exhibitionTitle?n("h2",{staticClass:"subtitle mb-0"},[t._v("\n "+t._s(t.exhibitionTitle)+"\n ")]):t._e(),t._v(" "),n("h1",{attrs:{"data-qa":"title"}},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.description?n("p",{staticClass:"lead"},[t._v("\n "+t._s(t.description)+"\n ")]):t._e()])])])],1),t._v(" "),n("b-row",{staticClass:"justify-content-center"},[n("b-col",{staticClass:"col-lg-8",attrs:{cols:"12"}},[t.heroImage?n("ImageWithAttribution",{attrs:{src:t.heroImage.url,"content-type":t.heroImage.contentType,"rights-statement":t.hero.license,attribution:t.hero,alt:t.heroImageAlt,hero:""}}):t._e()],1)],1)],1)}),[],!1,null,null,null);e.default=component.exports}}]);
//# sourceMappingURL=3eda319.js.map