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,OACEiB,UAAWC,IACT,2HA9CmB,CAC3BC,KAAM,6BACNC,MAAO,4BACPC,IAAK,4BACLC,OAAQ,6BA2CqBN,KAGvBhB,EAAAA,cAAA,OAAKiB,UAAU,iCACbjB,EAAAA,cAACuB,EAAAA,EAAK,CACJN,UAAWC,IACT,0IA3DK,CACjBC,KAAM,gDACNC,MAAO,sDACPC,IAAK,yDACLC,OAAQ,iDAwDeN,GACX,gBAEFb,MAAOM,EACPe,IAAKd,EACLe,IAAKlB,OAKbP,EAAAA,cAAA,OAAKiB,UAAU,sEACbjB,EAAAA,cAAA,OAAKiB,UAAU,aACbjB,EAAAA,cAACuB,EAAAA,EAAK,CACJN,UAAU,iDACVd,MAAOM,EACPe,IAAKd,EACLe,IAAKpB,MAMjB,C","sources":["webpack://printivity/./client/app/bundles/App/pages/HomePage/StoryVogue.tsx","webpack://printivity/./client/app/styleguide/components/Story/Story.tsx"],"sourcesContent":["import * as React from 'react';\nimport Story from 'styleguide/components/Story/Story';\n\nimport img from 'assets/images/stories/make-something-vogue.jpg';\n\nconst DescriptionBlock = () => (\n
\n

Bringing an idea from concept to life can be tricky - but you've got help.

\n

\n Learn about design, discuss product recommendations, review production options, and have your files\n checked before ordering.\n

\n

Focus on showcasing your originality.

\n You can leave the details to us.\n
\n);\n\nconst StoryVogue = () => (\n }\n imageUrlMobile={img}\n imageUrlDesktop={img}\n direction=\"right\"\n imageTitle=\"Make Something Vogue\"\n imageAlt=\"Make something vogue\"\n />\n);\n\nexport default StoryVogue;\n","import * as React from 'react';\nimport cn from 'classnames';\nimport Image from '../Image/Image';\n\ninterface Props {\n intro?: string;\n subtitle?: string;\n title: string;\n titleStyle?: string;\n descriptionStyle?: string;\n description: JSX.Element;\n imageUrlMobile: string;\n imageUrlDesktop: string;\n imageTitle: string;\n imageAlt: string;\n direction: 'left' | 'right' | 'top' | 'bottom';\n}\n\nfunction getImageOrder(textOrder: string | 'left') {\n return textOrder === 'left' ? 'right' : 'left';\n}\n\nconst Story = (props: Props) => {\n const {\n intro,\n subtitle,\n title,\n titleStyle,\n descriptionStyle,\n description,\n imageUrlMobile,\n imageUrlDesktop,\n imageTitle,\n imageAlt,\n direction = 'left',\n } = props;\n const imagePosition = getImageOrder(direction);\n const imageStyle = {\n left: 'xs:left-[12px] lg:left-[16px] 2xl:left-[20px]',\n right: 'xs:-right-[12px] lg:-right-[16px] 2xl:-right-[20px]',\n top: 'xs:-bottom-[12px] lg:-bottom-[16px] 2xl:-bottom-[20px]',\n bottom: 'xs:-top-[12px] lg:-top-[16px] 2xl:-top-[20px]',\n };\n const backgroundImageStyle = {\n left: ' ml-[10px] md:ml-4 md:ml-6',\n right: 'mr-[10px] md:mr-4 md:mr-6',\n top: 'mt-[10px] md:mt-4 md:mt-6',\n bottom: 'mb-[10px] md:mb-4 md:mb-6',\n };\n const imageWrapperStyle = {\n left: 'order-2 xs:ml-0 md:-ml-[100px] md:-ml-[60px] md:ml-0 ',\n right: 'order-3 xs:mr-0 md:-mr-[100px] md:-mr-[60px] md:mr-0 ',\n top: '',\n bottom: '',\n };\n const descriptionWrapperStyle = {\n left: 'order-2 justify-start xs:ml-5 lg:pr-[80px] 3xl:pr-52 xl:ml-0 ml-[10px] md:ml-4 md:ml-6',\n right: 'order-3 justify-end xs:ml-5 lg:pl-[80px] 3xl:pl-52 xl:ml-0 mr-[10px] md:mr-4 md:mr-6',\n };\n\n return (\n
\n \n
\n {intro && (\n
\n {intro}\n
\n )}\n
\n {title}\n
\n {subtitle &&
{subtitle}
}\n
{description}
\n
\n
\n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n \n );\n};\n\nexport default Story;\n"],"names":["DescriptionBlock","React","Story","intro","title","description","imageUrlMobile","img","imageUrlDesktop","direction","imageTitle","imageAlt","props","subtitle","titleStyle","descriptionStyle","_props$direction","imagePosition","className","cn","left","right","top","bottom","Image","alt","url"],"sourceRoot":""}