-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-blog-post-js-content-file-path-content-blog-2010-05-30-new-lens-mdx-f9a5b27ee3e5acc57334.js.map
1 lines (1 loc) · 9.96 KB
/
component---src-templates-blog-post-js-content-file-path-content-blog-2010-05-30-new-lens-mdx-f9a5b27ee3e5acc57334.js.map
1
{"version":3,"file":"component---src-templates-blog-post-js-content-file-path-content-blog-2010-05-30-new-lens-mdx-f9a5b27ee3e5acc57334.js","mappings":"qMAGA,SAASA,EAAkBC,GACzB,MAAMC,EAAcC,OAAOC,OAAO,CAChCC,EAAG,MACFC,EAAAA,EAAAA,MAAsBL,EAAMM,YAC/B,OAAOC,EAAAA,cAAoBA,EAAAA,SAAgB,KAAMA,EAAAA,cAAoBN,EAAYG,EAAG,KAAM,oHAAqH,KAAMG,EAAAA,cAAoBN,EAAYG,EAAG,KAAM,iIAAkI,KAAMG,EAAAA,cAAoB,IAAK,KAAMA,EAAAA,cAAoB,SAAU,KAAMA,EAAAA,cAAoB,MAAO,CACleC,IAAK,wDACHD,EAAAA,cAAoB,aAAc,KAAM,sCAC9C,CAKA,MAJA,SAAoBP,QAAK,IAALA,IAAAA,EAAQ,CAAC,GAC3B,MAAOS,QAASC,GAAaR,OAAOC,OAAO,CAAC,GAAGE,EAAAA,EAAAA,MAAsBL,EAAMM,YAC3E,OAAOI,EAAYH,EAAAA,cAAoBG,EAAWV,EAAOO,EAAAA,cAAoBR,EAAmBC,IAAUD,EAAkBC,EAC9H,E,wCCRA,MAAMW,EAAmBC,IAAgC,IAAAC,EAAA,IAA/B,KAACC,EAAI,SAAEC,EAAQ,SAAEC,GAASJ,EAClD,MAAMK,EAAOH,EAAKI,IACZC,GAAkC,QAAtBN,EAAAC,EAAKM,KAAKC,oBAAY,IAAAR,OAAA,EAAtBA,EAAwBS,QAAK,SACzC,SAACC,EAAQ,KAAEC,GAAQV,EACzB,OAAOP,EAAAA,cAAoBkB,EAAAA,EAAQ,CACjCV,SAAUA,EACVO,MAAO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ACzB,C","sources":["webpack://robli-co-gatsby-src/./content/blog/2010-05-30-New-lens.mdx","webpack://robli-co-gatsby-src/./src/templates/blog-post.js","webpack://robli-co-gatsby-src/./node_modules/@mdx-js/react/lib/index.js"],"sourcesContent":["/*@jsxRuntime classic @jsx React.createElement @jsxFrag React.Fragment*/\nimport {useMDXComponents as _provideComponents} from \"@mdx-js/react\";\nimport React from \"react\";\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return React.createElement(React.Fragment, null, React.createElement(_components.p, null, \"Haven’t really had a chance to properly use it, but the faster lens already opens up so many more possibilities.\"), \"\\n\", React.createElement(_components.p, null, \"So far I’ve learnt shallow depth of field is nice, but I’m guessing I need a macro lens to make the focused parts really pop.\"), \"\\n\", React.createElement(\"p\", null, React.createElement(\"figure\", null, React.createElement(\"img\", {\n src: \"/images/2010/05/img_0657-2010-05-25-at-21-23-26.jpg\"\n }), React.createElement(\"figcaption\", null, \"ISO 400, 50mm, 0 ev, f/1.8, 1/25\"))));\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? React.createElement(MDXLayout, props, React.createElement(_createMdxContent, props)) : _createMdxContent(props);\n}\nexport default MDXContent;\n","import GATSBY_COMPILED_MDX from \"/home/runner/work/robli-co-gatsby-src/robli-co-gatsby-src/content/blog/2010-05-30-New-lens.mdx\";\nimport React from \"react\";\nimport {Link, graphql} from \"gatsby\";\nimport Layout from \"../components/layout\";\nimport Seo from \"../components/seo\";\nimport {BlogPostMetadata} from \"../components/custom-styled-components\";\nconst BlogPostTemplate = ({data, location, children}) => {\n const post = data.mdx;\n const siteTitle = data.site.siteMetadata?.title || `Title`;\n const {previous, next} = data;\n return React.createElement(Layout, {\n location: location,\n title: siteTitle\n }, React.createElement(Seo, {\n title: post.frontmatter.title,\n description: post.frontmatter.description || post.excerpt\n }), React.createElement(\"article\", {\n className: \"blog-post\",\n itemScope: true,\n itemType: \"http://schema.org/Article\"\n }, React.createElement(\"header\", null, React.createElement(\"h1\", {\n itemProp: \"headline\"\n }, post.frontmatter.title), React.createElement(BlogPostMetadata, null, post.frontmatter.date, \" by \", React.createElement(Link, {\n to: \"/about\"\n }, \"Rob Li\"))), React.createElement(\"section\", null, children), React.createElement(\"hr\"), React.createElement(\"footer\")), React.createElement(\"nav\", {\n className: \"blog-post-nav\"\n }, React.createElement(\"ul\", {\n style: {\n display: `flex`,\n flexWrap: `wrap`,\n justifyContent: `space-between`,\n listStyle: `none`,\n padding: 0\n }\n }, React.createElement(\"li\", null, previous && React.createElement(Link, {\n to: `/blog${previous.fields.slug}`,\n rel: \"prev\"\n }, \"← \", previous.frontmatter.title)), React.createElement(\"li\", null, next && React.createElement(Link, {\n to: `/blog${next.fields.slug}`,\n rel: \"next\"\n }, next.frontmatter.title, \" →\")))));\n};\nBlogPostTemplate\nexport default function GatsbyMDXWrapper(props) {\n return React.createElement(BlogPostTemplate, props, React.createElement(GATSBY_COMPILED_MDX, props));\n}\nexport const pageQuery = graphql`\n query BlogPostTemplate(\n $id: String!\n $previousPostId: String\n $nextPostId: String\n ) {\n site {\n siteMetadata {\n title\n }\n }\n mdx(id: { eq: $id }) {\n id\n excerpt(pruneLength: 160)\n# body\n frontmatter {\n title\n date(formatString: \"dddd, DD MMMM YYYY\")\n description\n# author\n tags\n }\n }\n previous: mdx(id: { eq: $previousPostId }) {\n fields {\n slug\n }\n frontmatter {\n title\n }\n }\n next: mdx(id: { eq: $nextPostId }) {\n fields {\n slug\n }\n frontmatter {\n title\n }\n }\n }\n`;\n","/**\n * @typedef {import('react').ReactNode} ReactNode\n * @typedef {import('mdx/types.js').MDXComponents} Components\n *\n * @typedef Props\n * Configuration.\n * @property {Components | MergeComponents | null | undefined} [components]\n * Mapping of names for JSX components to React components.\n * @property {boolean | null | undefined} [disableParentContext=false]\n * Turn off outer component context.\n * @property {ReactNode | null | undefined} [children]\n * Children.\n *\n * @callback MergeComponents\n * Custom merge function.\n * @param {Components} currentComponents\n * Current components from the context.\n * @returns {Components}\n * Merged components.\n */\n\nimport React from 'react'\n\n/**\n * @type {import('react').Context<Components>}\n * @deprecated\n * This export is marked as a legacy feature.\n * That means it’s no longer recommended for use as it might be removed\n * in a future major release.\n *\n * Please use `useMDXComponents` to get context based components and\n * `MDXProvider` to set context based components instead.\n */\nexport const MDXContext = React.createContext({})\n\n/**\n * @param {import('react').ComponentType<any>} Component\n * @deprecated\n * This export is marked as a legacy feature.\n * That means it’s no longer recommended for use as it might be removed\n * in a future major release.\n *\n * Please use `useMDXComponents` to get context based components instead.\n */\nexport function withMDXComponents(Component) {\n return boundMDXComponent\n\n /**\n * @param {Record<string, unknown> & {components?: Components | null | undefined}} props\n * @returns {JSX.Element}\n */\n function boundMDXComponent(props) {\n const allComponents = useMDXComponents(props.components)\n return React.createElement(Component, {...props, allComponents})\n }\n}\n\n/**\n * Get current components from the MDX Context.\n *\n * @param {Components | MergeComponents | null | undefined} [components]\n * Additional components to use or a function that takes the current\n * components and filters/merges/changes them.\n * @returns {Components}\n * Current components.\n */\nexport function useMDXComponents(components) {\n const contextComponents = React.useContext(MDXContext)\n\n // Memoize to avoid unnecessary top-level context changes\n return React.useMemo(() => {\n // Custom merge via a function prop\n if (typeof components === 'function') {\n return components(contextComponents)\n }\n\n return {...contextComponents, ...components}\n }, [contextComponents, components])\n}\n\n/** @type {Components} */\nconst emptyObject = {}\n\n/**\n * Provider for MDX context\n *\n * @param {Props} props\n * @returns {JSX.Element}\n */\nexport function MDXProvider({components, children, disableParentContext}) {\n /** @type {Components} */\n let allComponents\n\n if (disableParentContext) {\n allComponents =\n typeof components === 'function'\n ? components({})\n : components || emptyObject\n } else {\n allComponents = useMDXComponents(components)\n }\n\n return React.createElement(\n MDXContext.Provider,\n {value: allComponents},\n children\n )\n}\n"],"names":["_createMdxContent","props","_components","Object","assign","p","_provideComponents","components","React","src","wrapper","MDXLayout","BlogPostTemplate","_ref","_data$site$siteMetada","data","location","children","post","mdx","siteTitle","site","siteMetadata","title","previous","next","Layout","Seo","frontmatter","description","excerpt","className","itemScope","itemType","itemProp","BlogPostMetadata","date","Link","to","style","display","flexWrap","justifyContent","listStyle","padding","fields","slug","rel","GatsbyMDXWrapper","GATSBY_COMPILED_MDX","MDXContext","useMDXComponents","contextComponents"],"sourceRoot":""}