|
- "use strict";(self.webpackChunk_ihk24_storybook=self.webpackChunk_ihk24_storybook||[]).push([[1734],{"./stories/sections/social/SocialComponent.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{N:()=>createSocialSection});var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),social=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./stories/sections/social/social.scss"),options={insert:"head",singleton:!1};injectStylesIntoStyleTag_default()(social.Z,options);social.Z.locals;var helpers=__webpack_require__("./stories/_global/scripts/helpers.js"),SocialIconsComponent=__webpack_require__("./stories/atoms/social-icons/SocialIconsComponent.js"),createSocialSection=function createSocialSection(_ref){var _ref$kicker=_ref.kicker,kicker=void 0===_ref$kicker?"Aktuelles aus Social Media":_ref$kicker,_ref$headline=_ref.headline,headline=void 0===_ref$headline?"#ihkmusterstadt":_ref$headline,_ref$copy=_ref.copy,copy=void 0===_ref$copy?"Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio magnam, fugiat maxime sapiente sit similique quis officia minus. Dolore, repellat.":_ref$copy,_ref$visitUs=_ref.visitUs,visitUs=void 0===_ref$visitUs?"Besuchen Sie uns auf:":_ref$visitUs,section=(0,helpers.az)("section",["social"]),container=(0,helpers.az)("div",["container"],null,section),wrapper=(0,helpers.az)("div",["social-wrapper"],null,container),iconWrapper=(0,helpers.az)("div",["social-profiles"],visitUs&&visitUs.length>0?"<p>"+visitUs+"</p>":null,wrapper),icons=(0,SocialIconsComponent.C)({title:visitUs});iconWrapper.appendChild(icons);var textBox=(0,helpers.az)("div",["text-box"],null,wrapper);return kicker&&kicker.length>0&&(0,helpers.az)("span",["kicker"],kicker,textBox),headline&&headline.length>0&&(0,helpers.az)("h2",[],headline,textBox),copy&©.length>0&&(0,helpers.az)("p",[],copy,textBox),(0,helpers.az)("div",["social-box"],null,wrapper).innerHTML='<iframe src="./html/twitter.html" width="100%" height="100%" frameborder="0"></iframe>',section}},"./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./stories/sections/social/social.scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/cssWithMappingToString.js"),_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,"@media(max-width: 767px){section.social .container{padding:0}}section.social h2,section.social .like-h2{margin-bottom:.4em}section.social .text-box>*:first-child{margin-top:var(--section-headline-margin)}section.social .social-wrapper{position:relative;background-color:var(--theme-color-primary-dimmed-04);padding:var(--content-box-padding);display:flex;border-bottom:var(--border-width) solid var(--theme-color-secondary)}@media(max-width: 999px){section.social .social-wrapper{flex-direction:column}}@media(max-width: 567px){section.social .social-wrapper{padding:calc(var(--content-box-padding)*1.5) var(--content-box-padding)}}@media(min-width: 1000px){section.social .social-wrapper>div{flex:1 1 50%;max-width:50%}}section.social .social-profiles p{margin-bottom:.5em}section.social .social-box{position:relative;min-height:500px;display:block}@media(max-width: 767px){section.social .social-box{height:350px}}section.social .social-box iframe{position:relative;min-height:100%}section.social .social-box .fb_iframe_widget{float:right}@media(max-width: 999px){section.social .social-box .fb_iframe_widget{float:none;display:inline-block;transform:translateX(-50%);left:50%}}section.social .social-profiles{position:absolute;bottom:var(--content-box-padding);left:var(--content-box-padding)}@media(max-width: 567px){section.social .social-profiles{bottom:calc(var(--content-box-padding)*1.5)}}@media(min-width: 1000px){section.social .social-profiles~.text-box{padding-bottom:120px}section.social .text-box{padding-right:40px}}@media(max-width: 999px){section.social .social-profiles{position:absolute}section.social .social-profiles~.social-box{margin-bottom:110px}section.social .text-box{margin-bottom:10px}}","",{version:3,sources:["webpack://./stories/sections/social/social.scss"],names:[],mappings:"AAIE,yBACE,0BACE,SAAA,CAAA,CAIJ,0CACE,kBAAA,CAGF,uCACE,yCAAA,CAGF,+BACE,iBAAA,CACA,qDAAA,CACA,kCAAA,CACA,YAAA,CACA,oEAAA,CAEA,yBAPF,+BAQI,qBAAA,CAAA,CAGF,yBAXF,+BAYI,uEAAA,CAAA,CAGF,0BACE,mCACE,YAAA,CACA,aAAA,CAAA,CAKN,kCACE,kBAAA,CAGF,2BACE,iBAAA,CACA,gBAAA,CACA,aAAA,CAEA,yBALF,2BAMI,YAAA,CAAA,CAGF,kCACE,iBAAA,CACA,eAAA,CAGF,6CACE,WAAA,CAEA,yBAHF,6CAII,UAAA,CACA,oBAAA,CACA,0BAAA,CACA,QAAA,CAAA,CAKN,gCACE,iBAAA,CACA,iCAAA,CACA,+BAAA,CAEA,yBALF,gCAMI,2CAAA,CAAA,CAIJ,0BACE,0CACE,oBAAA,CAGF,yBACE,kBAAA,CAAA,CAIJ,yBACE,gCACE,iBAAA,CAEA,4CACE,mBAAA,CAIJ,yBACE,kBAAA,CAAA",sourcesContent:["@import '../../_global/styles/mixins';\n@import '../../_global/styles/vars';\n\nsection.social {\n @media(max-width: 767px) {\n .container {\n padding: 0;\n }\n }\n\n h2, .like-h2 {\n margin-bottom: 0.4em;\n }\n\n .text-box > *:first-child {\n margin-top: var(--section-headline-margin);\n }\n\n .social-wrapper {\n position: relative;\n background-color: var(--theme-color-primary-dimmed-04);\n padding: var(--content-box-padding);\n display: flex;\n border-bottom: var(--border-width) solid var(--theme-color-secondary);\n\n @media(max-width: 999px) {\n flex-direction: column;\n }\n\n @media(max-width: 567px) {\n padding: calc(var(--content-box-padding) * 1.5) var(--content-box-padding);\n }\n\n @media(min-width: 1000px) {\n > div {\n flex: 1 1 50%;\n max-width: 50%;\n }\n }\n }\n\n .social-profiles p {\n margin-bottom: 0.5em;\n }\n\n .social-box {\n position: relative;\n min-height: 500px;\n display: block;\n\n @media(max-width: 767px) {\n height: 350px;\n }\n\n iframe {\n position: relative;\n min-height: 100%;\n }\n\n .fb_iframe_widget {\n float: right;\n\n @media(max-width: 999px) {\n float: none;\n display: inline-block;\n transform: translateX(-50%);\n left: 50%;\n }\n }\n }\n\n .social-profiles {\n position: absolute;\n bottom: var(--content-box-padding);\n left: var(--content-box-padding);\n\n @media(max-width: 567px) {\n bottom: calc(var(--content-box-padding) * 1.5);\n }\n }\n\n @media(min-width: 1000px) {\n .social-profiles ~ .text-box {\n padding-bottom: 120px;\n }\n\n .text-box {\n padding-right: 40px;\n }\n }\n\n @media(max-width: 999px) {\n .social-profiles {\n position: absolute;\n\n ~ .social-box {\n margin-bottom: 110px;\n }\n }\n\n .text-box {\n margin-bottom: 10px;\n }\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./stories/sections/social/Social.stories.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Social:()=>Social,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.error.cause.js"),__webpack_require__("./node_modules/core-js/modules/es.error.to-string.js");var _SocialComponent__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./stories/sections/social/SocialComponent.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}const __WEBPACK_DEFAULT_EXPORT__={title:"Sections/Social",parameters:{layout:"fullscreen"},args:{visitUs:"Besuchen Sie uns auf:"}};var Social=function Template(_ref){var args=_extends({},(function _objectDestructuringEmpty(obj){if(null==obj)throw new TypeError("Cannot destructure "+obj)}(_ref),_ref));return(0,_SocialComponent__WEBPACK_IMPORTED_MODULE_4__.N)(Object.assign({},args))}.bind({});Social.args={};var __namedExportsOrder=["Social"];Social.parameters={...Social.parameters,docs:{...Social.parameters?.docs,source:{originalSource:"({\n ...args\n}) => {\n return createSocialSection({\n ...args\n });\n}",...Social.parameters?.docs?.source}}}}}]);
|