UNPKG

@europeana/portal

Version:
142 lines (122 loc) 3.74 kB
exports.ids = [4]; exports.modules = { /***/ 566: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/components/authored/AuthoredHead.vue?vue&type=template&id=3ba6b931& var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-container',[_c('b-row',{staticClass:"justify-content-center"},[_c('b-col',{staticClass:"col-lg-8 pt-large mb-4",attrs:{"cols":"12"}},[_c('article',[_c('div',{staticClass:"title"},[(_vm.contextLabel)?_c('div',{staticClass:"context-label",attrs:{"data-qa":"context label"}},[_vm._v("\n "+_vm._s(_vm.contextLabel)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.exhibitionTitle)?_c('h2',{staticClass:"subtitle mb-0"},[_vm._v("\n "+_vm._s(_vm.exhibitionTitle)+"\n ")]):_vm._e(),_vm._v(" "),_c('h1',{attrs:{"data-qa":"title"}},[_vm._v("\n "+_vm._s(_vm.title)+"\n ")]),_vm._v(" "),(_vm.description)?_c('p',{staticClass:"lead"},[_vm._v("\n "+_vm._s(_vm.description)+"\n ")]):_vm._e()])])])],1),_vm._v(" "),_c('b-row',{staticClass:"justify-content-center"},[_c('b-col',{staticClass:"col-lg-8",attrs:{"cols":"12"}},[(_vm.heroImage)?_c('ImageWithAttribution',{attrs:{"src":_vm.heroImage.url,"content-type":_vm.heroImage.contentType,"rights-statement":_vm.hero.license,"attribution":_vm.hero,"alt":_vm.heroImageAlt,"hero":""}}):_vm._e()],1)],1)],1)} var staticRenderFns = [] // CONCATENATED MODULE: ./src/components/authored/AuthoredHead.vue?vue&type=template&id=3ba6b931& // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/authored/AuthoredHead.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var AuthoredHeadvue_type_script_lang_js_ = ({ name: 'AuthoredHead', components: { ImageWithAttribution: () => __webpack_require__.e(/* import() */ 9).then(__webpack_require__.bind(null, 581)) }, props: { title: { type: String, required: true }, description: { type: String, default: '' }, exhibitionTitle: { type: String, default: '' }, hero: { type: Object, default: null }, contextLabel: { type: String, default: null } }, computed: { heroImage() { return this.hero ? this.hero.image : null; }, heroImageAlt() { var _this$heroImage; return ((_this$heroImage = this.heroImage) === null || _this$heroImage === void 0 ? void 0 : _this$heroImage.description) || ''; } } }); // CONCATENATED MODULE: ./src/components/authored/AuthoredHead.vue?vue&type=script&lang=js& /* harmony default export */ var authored_AuthoredHeadvue_type_script_lang_js_ = (AuthoredHeadvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(3); // CONCATENATED MODULE: ./src/components/authored/AuthoredHead.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( authored_AuthoredHeadvue_type_script_lang_js_, render, staticRenderFns, false, null, null, "c611fef4" ) /* harmony default export */ var AuthoredHead = __webpack_exports__["default"] = (component.exports); /***/ }) };; //# sourceMappingURL=4.js.map