-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---node-modules-lekoarts-gatsby-theme-minimal-blog-core-src-templates-homepage-query-tsx-b6e2cfa00420b235eebb.js.map
1 lines (1 loc) · 9.04 KB
/
component---node-modules-lekoarts-gatsby-theme-minimal-blog-core-src-templates-homepage-query-tsx-b6e2cfa00420b235eebb.js.map
1
{"version":3,"sources":["webpack:///./src/@lekoarts/gatsby-theme-minimal-blog/texts/hero.mdx","webpack:///./src/@lekoarts/gatsby-theme-minimal-blog/texts/bottom.mdx","webpack:///./node_modules/@lekoarts/gatsby-theme-minimal-blog/src/components/list.tsx","webpack:///./node_modules/@lekoarts/gatsby-theme-minimal-blog/src/components/homepage.tsx","webpack:///./node_modules/@lekoarts/gatsby-theme-minimal-blog-core/src/templates/homepage-query.tsx","webpack:///./node_modules/@lekoarts/gatsby-theme-minimal-blog/src/@lekoarts/gatsby-theme-minimal-blog-core/components/homepage.tsx","webpack:///./src/@lekoarts/gatsby-theme-minimal-blog/components/blog-list-item.tsx","webpack:///./node_modules/@lekoarts/gatsby-theme-minimal-blog/src/components/listing.tsx"],"names":["name","Text","props","console","warn","layoutProps","_frontmatter","MDXContent","components","mdxType","sx","fontSize","fontWeight","color","isMDXComponent","List","children","mb","ul","margin","padding","li","listStyle","a","variant","Homepage","posts","useSiteMetadata","basePath","blogPath","p","mt","text","to","replaceSlashes","showTags","HomepageComponent","allPost","data","nodes","query","BlogListItem","post","as","Link","slug","title","date","tags","Fragment","Listing","className","map","key"],"mappings":"+NAKO,IAEeA,EAKhBC,GALgBD,EAKK,OALG,SAA6BE,GAEzD,OADAC,QAAQC,KAAK,aAAeJ,EAAO,2EAC5B,oBAASE,KAIZG,EAAc,CAClBC,aAT0B,IAYb,SAASC,EAAT,GAGZ,IAFDC,EAEC,EAFDA,WACGN,E,oIACF,mBACD,OAAO,cALS,UAKT,iBAAeG,EAAiBH,EAAhC,CAAuCM,WAAYA,EAAYC,QAAQ,cAC5E,cAACR,EAAD,CA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R,CAAUoB,GAAIC,OAAMX,GAAIS,EAAKG,KAAMnC,GAAI,CAAEC,SAAU,CAAC,EAAG,EAAG,GAAIE,MAAO,SAClE6B,EAAKI,OAER,iBAAGpC,GAAI,CAAEG,MAAO,YAAakB,GAAI,EAAGR,EAAG,CAAEV,MAAO,aAAeF,SAAU,CAAC,EAAG,EAAG,KAC9E,wBAAO+B,EAAKK,MACXL,EAAKM,MAAQb,GACZ,YAAC,IAAMc,SAAP,WAEE,YAAC,IAAD,CAAUD,KAAMN,EAAKM,WCJhBE,IARC,SAAC,GAAD,IAAGxB,EAAH,EAAGA,MAAOyB,EAAV,EAAUA,UAAV,IAAqBhB,gBAArB,gBACd,uBAASzB,GAAI,CAAEO,GAAI,CAAC,EAAG,EAAG,IAAMkC,UAAWA,GACxCzB,EAAM0B,KAAI,SAAAV,GAAI,OACb,YAAC,EAAD,CAAcW,IAAKX,EAAKG,KAAMH,KAAMA,EAAMP,SAAUA","file":"component---node-modules-lekoarts-gatsby-theme-minimal-blog-core-src-templates-homepage-query-tsx-b6e2cfa00420b235eebb.js","sourcesContent":["import React from 'react'\n /* @jsx mdx */\nimport { mdx } from '@mdx-js/react';\n/* @jsx mdx */\n\nexport const _frontmatter = {};\n\nconst makeShortcode = name => function MDXDefaultShortcode(props) {\n console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n return <div {...props} />;\n};\n\nconst Text = makeShortcode(\"Text\");\nconst layoutProps = {\n _frontmatter\n};\nconst MDXLayout = \"wrapper\";\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n <Text sx={{\n fontSize: [4, 5, 6],\n fontWeight: `bold`,\n color: `heading`\n }} mdxType=\"Text\">\n Hey there, I'm Ganesh Swami.\n </Text>\n <p>{`I'm an entrepreneur, speaker and adventurer currently living and working in Vancouver, BC.`}</p>\n\n </MDXLayout>;\n}\n;\nMDXContent.isMDXComponent = true;\n ","import React from 'react'\n /* @jsx mdx */\nimport { mdx } from '@mdx-js/react';\n/* @jsx mdx */\n\nexport const _frontmatter = {};\n\nconst makeShortcode = name => function MDXDefaultShortcode(props) {\n console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n return <div {...props} />;\n};\n\nconst layoutProps = {\n _frontmatter\n};\nconst MDXLayout = \"wrapper\";\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n {\n /*\n <Title text=\"Projects\" />\n - [Super Short Story Telling: Harry Potter](https://www.lekoarts.de/en/projects/docma-award-super-short-story-telling-about-harry-potter)\n - [Instagram Project \"Proprius\"](https://www.lekoarts.de/en/projects/private-instagram-project-proprius)\n */\n }\n\n </MDXLayout>;\n}\n;\nMDXContent.isMDXComponent = true;\n ","/** @jsx jsx */\r\nimport React from \"react\"\r\nimport { jsx } from \"theme-ui\"\r\n\r\ntype ListProps = {\r\n children: React.ReactNode\r\n}\r\n\r\nconst List = ({ children }: ListProps) => (\r\n <section\r\n sx={{\r\n mb: [5, 5, 6],\r\n ul: { margin: 0, padding: 0 },\r\n li: { listStyle: `none`, mb: 3 },\r\n a: { variant: `links.listItem` },\r\n }}\r\n >\r\n {children}\r\n </section>\r\n)\r\n\r\nexport default List\r\n","/** @jsx jsx */\r\nimport { jsx } from \"theme-ui\"\r\nimport { Link } from \"gatsby\"\r\nimport Layout from \"./layout\"\r\nimport Hero from \"../texts/hero\"\r\nimport Bottom from \"../texts/bottom\"\r\nimport Title from \"./title\"\r\nimport Listing from \"./listing\"\r\nimport List from \"./list\"\r\nimport useSiteMetadata from \"../hooks/use-site-metadata\"\r\nimport replaceSlashes from \"../utils/replaceSlashes\"\r\n\r\ntype PostsProps = {\r\n posts: {\r\n slug: string\r\n title: string\r\n date: string\r\n tags?: {\r\n name: string\r\n slug: string\r\n }[]\r\n }[]\r\n}\r\n\r\nconst Homepage = ({ posts }: PostsProps) => {\r\n const { basePath, blogPath } = useSiteMetadata()\r\n\r\n return (\r\n <Layout>\r\n <section sx={{ mb: [5, 6, 7], p: { fontSize: [1, 2, 3], mt: 2 } }}>\r\n <Hero />\r\n </section>\r\n <Title text=\"Latest Posts\">\r\n <Link to={replaceSlashes(`/${basePath}/${blogPath}`)}>Read all posts</Link>\r\n </Title>\r\n <Listing posts={posts} showTags={false} />\r\n <List>\r\n <Bottom />\r\n </List>\r\n </Layout>\r\n )\r\n}\r\n\r\nexport default Homepage\r\n","import { graphql } from \"gatsby\"\r\nimport HomepageComponent from \"../components/homepage\"\r\n\r\nexport default HomepageComponent\r\n\r\nexport const query = graphql`\r\n query {\r\n allPost(sort: { fields: date, order: DESC }, limit: 3) {\r\n nodes {\r\n slug\r\n title\r\n date(formatString: \"DD.MM.YYYY\")\r\n tags {\r\n name\r\n slug\r\n }\r\n }\r\n }\r\n }\r\n`\r\n","import React from \"react\"\r\nimport Homepage from \"../../../components/homepage\"\r\n\r\ntype Props = {\r\n data: {\r\n allPost: any\r\n [key: string]: string\r\n }\r\n}\r\n\r\nexport default ({ data }: Props) => {\r\n const { allPost } = data\r\n\r\n return <Homepage posts={allPost.nodes} />\r\n}\r\n","/** @jsx jsx */\nimport React from \"react\"\nimport { jsx, Styled } from \"theme-ui\"\nimport { Box } from \"@theme-ui/components\"\nimport { Link } from \"gatsby\"\nimport ItemTags from \"./item-tags\"\n\ntype BlogListItemProps = {\n post: {\n slug: string\n title: string\n date: string\n tags?: {\n name: string\n slug: string\n }[]\n }\n showTags?: boolean\n}\n\nconst BlogListItem = ({ post, showTags = true }: BlogListItemProps) => (\n <Box mb={4}>\n <Styled.a as={Link} to={post.slug} sx={{ fontSize: [1, 2, 3], color: `text` }}>\n {post.title}\n </Styled.a>\n <p sx={{ color: `secondary`, mt: 1, a: { color: `secondary` }, fontSize: [1, 1, 2] }}>\n <time>{post.date}</time>\n {post.tags && showTags && (\n <React.Fragment>\n {` — `}\n <ItemTags tags={post.tags} />\n </React.Fragment>\n )}\n </p>\n </Box>\n)\n\nexport default BlogListItem\n","/** @jsx jsx */\r\nimport { jsx } from \"theme-ui\"\r\nimport BlogListItem from \"./blog-list-item\"\r\n\r\ntype ListingProps = {\r\n posts: {\r\n slug: string\r\n title: string\r\n date: string\r\n tags?: {\r\n name: string\r\n slug: string\r\n }[]\r\n }[]\r\n className?: string\r\n showTags?: boolean\r\n}\r\n\r\nconst Listing = ({ posts, className, showTags = true }: ListingProps) => (\r\n <section sx={{ mb: [5, 6, 7] }} className={className}>\r\n {posts.map(post => (\r\n <BlogListItem key={post.slug} post={post} showTags={showTags} />\r\n ))}\r\n </section>\r\n)\r\n\r\nexport default Listing\r\n"],"sourceRoot":""}