-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-news-jsx-ee451128911fa68a55b2.js.map
1 lines (1 loc) · 11.2 KB
/
component---src-pages-news-jsx-ee451128911fa68a55b2.js.map
1
{"version":3,"file":"component---src-pages-news-jsx-ee451128911fa68a55b2.js","mappings":"2JAEWA,EAAO,kCACPC,EAAY,uCCAhB,SAASC,EAAWC,GAAwC,IAAvC,MAAEC,EAAK,MAAEC,EAAK,SAAEC,EAAQ,SAAEC,GAAUJ,EAC9D,OACEK,EAAAA,cAAA,OAAKC,UAAWC,EAAaC,MAAO,CAAEC,gBAAgB,OAAQR,EAAK,MACjEI,EAAAA,cAAA,UAAKH,GACJC,GAAYE,EAAAA,cAAA,SAAIF,GAChBC,GAAYC,EAAAA,cAAA,OAAKC,UAAWC,GAASH,GAG5C,C,yKCNO,SAASM,EAAQV,GAAwB,IAADW,EAAA,IAAtB,KAAEC,EAAI,MAAEX,EAAK,IAAEY,GAAKb,EAC3C,OACEK,EAAAA,cAACS,EAAAA,EAAI,CAACC,GAAIC,EAAAA,KAAMC,GAAIJ,GAElBR,EAAAA,cAACa,EAAAA,EAAW,CACVjB,MAAOA,SAAsB,QAAjBU,EAALV,EAAOkB,uBAAe,IAAAR,OAAjB,EAALA,EAAwBS,gBAC/BC,IAAKT,EACLJ,MAAO,CAAEc,aAAc,SAM/B,C,yICgCO,SAASC,IACd,OAAOlB,EAAAA,cAAA,aAAO,OAChB,CAJA,UAzCA,SAAiBL,GAAY,IAAX,KAAEwB,GAAMxB,EACxB,OACEK,EAAAA,cAACoB,EAAAA,EAAM,KACLpB,EAAAA,cAACN,EAAAA,EAAW,CACVE,MAAOuB,EAAKE,UAAUP,gBAAgBC,gBAAgBO,OAAOC,SAASC,MAWxExB,EAAAA,cAACyB,EAAAA,EAAS,CAACxB,UAAU,mBACnBD,EAAAA,cAAC0B,EAAAA,EAAG,KACDP,EAAKQ,kBAAkBC,MAAMC,KAAIC,IAAA,IAAC,KAAEC,GAAMD,EAAA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,GAAmB,YAAa,CAC/ChB,UAAW,MAEPqB,GAAa,EAAAL,EAAA,GAAmB,eAChCM,GAAiB,EAAAN,EAAA,GAAmB,oBACpC/C,EAAoB,cAAiB,EACzC6B,WACArC,YACA8D,KACAC,OACAC,SACAC,QAAO,EACPnE,WAEAW,GAAI8B,EAAY,SACbC,GACFC,KACD,MAAMC,GAAS,QAAmBL,EAAU,QAC5C,OAAoB,SAAKE,EAAW,CAClCE,IAAKA,KACFD,EACHxC,UAAW,IAAWA,EAAW0C,EAAQoB,GAAM,MAAMA,IAAMC,GAAQ,QAAQA,IAAQC,GAAU,UAAUA,KACvGlE,SAAUmE,GAAoB,SAAKX,EAAU,CAC3CxD,SAAUA,IACPA,GACL,IAEJU,EAAKmC,YAAc,OACnB,MAAeuB,OAAOC,OAAO3D,EAAM,CACjC4D,IAAK,EACLC,MAAOb,EACPc,SAAUb,EACVc,KAAMjB,EACN5C,KAAMgD,EACNc,KAAMb,EACNc,OAAQ,EACRC,OAAQd,EACRe,WAAYd,G","sources":["webpack://man_gatsby/./src/components/HeroSection/HeroSection.module.scss","webpack://man_gatsby/./src/components/HeroSection/HeroSection.jsx","webpack://man_gatsby/./src/components/NewsCard/NewsCard.jsx","webpack://man_gatsby/./src/pages/news.jsx","webpack://man_gatsby/./node_modules/react-bootstrap/esm/CardImg.js","webpack://man_gatsby/./node_modules/react-bootstrap/esm/CardHeader.js","webpack://man_gatsby/./node_modules/react-bootstrap/esm/Card.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport var btnMobile = \"HeroSection-module--btn-mobile--15240\";\nexport var btns = \"HeroSection-module--btns--baf00\";\nexport var container = \"HeroSection-module--container--3b7b5\";\nexport var faPlayCircle = \"HeroSection-module--fa-play-circle--af6d3\";","import React from 'react'\nimport * as s from './HeroSection.module.scss'\n\nexport function HeroSection({ image, title, subtitle, children }) {\n return (\n <div className={s.container} style={{ backgroundImage: `url(${image})` }}>\n <h1>{title}</h1>\n {subtitle && <p>{subtitle}</p>}\n {children && <div className={s.btns}>{children}</div>}\n </div>\n )\n}\n","import { Link } from 'gatsby'\nimport { GatsbyImage } from 'gatsby-plugin-image'\nimport React from 'react'\nimport { Card } from 'react-bootstrap'\n\nexport function NewsCard({ name, image, url }) {\n return (\n <Card as={Link} to={url}>\n {/* <Card.Header>{name}</Card.Header> */}\n <GatsbyImage\n image={image?.childImageSharp?.gatsbyImageData}\n alt={name}\n style={{ borderRadius: '5px' }}\n />\n {/* <Card.Body>{intro}</Card.Body> */}\n\n </Card>\n )\n}\n","import { graphql } from 'gatsby'\nimport * as React from 'react'\nimport { Col, Container, Row } from 'react-bootstrap'\nimport { HeroSection } from '../components/HeroSection'\nimport { Layout } from '../components/Layout'\nimport { NewsCard } from '../components/NewsCard'\n\nfunction NewsPage({ data }) {\n return (\n <Layout>\n <HeroSection\n image={data.heroImage.childImageSharp.gatsbyImageData.images.fallback.src}\n // title=\"Future Awaits\"\n // subtitle=\"Read some stuff about some stuff\"\n >\n {/* <Button as={Link} to=\"/contact\" variant=\"primary\" size=\"lg\">\n Read now\n </Button> */}\n {/* <Button variant=\"primary\" size=\"lg\" onClick={console.log('hey')}>\n WATCH TRAILER <i className=\"far fa-play-circle\" />\n </Button> */}\n </HeroSection>\n <Container className=\"text-center m-3\">\n <Row>\n {data.allMarkdownRemark.edges.map(({ node }) => (\n <Col md={6} lg={5}>\n <NewsCard\n image={node.frontmatter.image}\n // name={node.frontmatter.name}\n // intro={node.frontmatter.intro}\n // url=\"https://fixr.co/event/bring-your-usb-sun-7th-may-tickets-340368492?\"\n url={`/news/${node.parent.name}/`}\n />\n </Col>\n ))}\n <Col md={6} lg={7}>\n <p className=\"fs-2 align-self-center mt-3\">\n lurom Welcome to the Music Events Platform, created in 2021 to provide opportunities\n for upcoming South coast local talent. .\n </p>\n <small>3min read</small>\n </Col>\n </Row>\n </Container>\n </Layout>\n )\n}\n\nexport default NewsPage\n\nexport function Head() {\n return <title>News</title>\n}\n\nexport const pageQuery = graphql`\n query ArtistsPage {\n heroImage: file(relativePath: { eq: \"artists/harry.png\" }) {\n relativePath\n childImageSharp {\n gatsbyImageData(width: 1920, height: 400, layout: CONSTRAINED)\n }\n }\n allMarkdownRemark(filter: { fileAbsolutePath: { glob: \"**/news/*\" } }) {\n edges {\n node {\n id\n frontmatter {\n name\n intro\n image {\n childImageSharp {\n gatsbyImageData(width: 540)\n }\n }\n }\n parent {\n ... on File {\n name\n }\n }\n }\n }\n }\n }\n`\n","import classNames from 'classnames';\nimport * as React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst CardImg = /*#__PURE__*/React.forwardRef(\n// Need to define the default \"as\" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595\n({\n bsPrefix,\n className,\n variant,\n as: Component = 'img',\n ...props\n}, ref) => {\n const prefix = useBootstrapPrefix(bsPrefix, 'card-img');\n return /*#__PURE__*/_jsx(Component, {\n ref: ref,\n className: classNames(variant ? `${prefix}-${variant}` : prefix, className),\n ...props\n });\n});\nCardImg.displayName = 'CardImg';\nexport default CardImg;","import classNames from 'classnames';\nimport * as React from 'react';\nimport { useMemo } from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport CardHeaderContext from './CardHeaderContext';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst CardHeader = /*#__PURE__*/React.forwardRef(({\n bsPrefix,\n className,\n // Need to define the default \"as\" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595\n as: Component = 'div',\n ...props\n}, ref) => {\n const prefix = useBootstrapPrefix(bsPrefix, 'card-header');\n const contextValue = useMemo(() => ({\n cardHeaderBsPrefix: prefix\n }), [prefix]);\n return /*#__PURE__*/_jsx(CardHeaderContext.Provider, {\n value: contextValue,\n children: /*#__PURE__*/_jsx(Component, {\n ref: ref,\n ...props,\n className: classNames(className, prefix)\n })\n });\n});\nCardHeader.displayName = 'CardHeader';\nexport default CardHeader;","import classNames from 'classnames';\nimport * as React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport createWithBsPrefix from './createWithBsPrefix';\nimport divWithClassName from './divWithClassName';\nimport CardImg from './CardImg';\nimport CardHeader from './CardHeader';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst DivStyledAsH5 = divWithClassName('h5');\nconst DivStyledAsH6 = divWithClassName('h6');\nconst CardBody = createWithBsPrefix('card-body');\nconst CardTitle = createWithBsPrefix('card-title', {\n Component: DivStyledAsH5\n});\nconst CardSubtitle = createWithBsPrefix('card-subtitle', {\n Component: DivStyledAsH6\n});\nconst CardLink = createWithBsPrefix('card-link', {\n Component: 'a'\n});\nconst CardText = createWithBsPrefix('card-text', {\n Component: 'p'\n});\nconst CardFooter = createWithBsPrefix('card-footer');\nconst CardImgOverlay = createWithBsPrefix('card-img-overlay');\nconst Card = /*#__PURE__*/React.forwardRef(({\n bsPrefix,\n className,\n bg,\n text,\n border,\n body = false,\n children,\n // Need to define the default \"as\" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595\n as: Component = 'div',\n ...props\n}, ref) => {\n const prefix = useBootstrapPrefix(bsPrefix, 'card');\n return /*#__PURE__*/_jsx(Component, {\n ref: ref,\n ...props,\n className: classNames(className, prefix, bg && `bg-${bg}`, text && `text-${text}`, border && `border-${border}`),\n children: body ? /*#__PURE__*/_jsx(CardBody, {\n children: children\n }) : children\n });\n});\nCard.displayName = 'Card';\nexport default Object.assign(Card, {\n Img: CardImg,\n Title: CardTitle,\n Subtitle: CardSubtitle,\n Body: CardBody,\n Link: CardLink,\n Text: CardText,\n Header: CardHeader,\n Footer: CardFooter,\n ImgOverlay: CardImgOverlay\n});"],"names":["btns","container","HeroSection","_ref","image","title","subtitle","children","React","className","s","style","backgroundImage","NewsCard","_image$childImageShar","name","url","Card","as","Link","to","GatsbyImage","childImageSharp","gatsbyImageData","alt","borderRadius","Head","data","Layout","heroImage","images","fallback","src","Container","Row","allMarkdownRemark","edges","map","_ref2","node","Col","md","lg","frontmatter","parent","CardImg","bsPrefix","variant","Component","props","ref","prefix","displayName","CardHeader","contextValue","useMemo","cardHeaderBsPrefix","CardHeaderContext","Provider","value","DivStyledAsH5","divWithClassName","DivStyledAsH6","CardBody","createWithBsPrefix","CardTitle","CardSubtitle","CardLink","CardText","CardFooter","CardImgOverlay","bg","text","border","body","Object","assign","Img","Title","Subtitle","Body","Text","Header","Footer","ImgOverlay"],"sourceRoot":""}