-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---node-modules-lekoarts-gatsby-theme-minimal-blog-core-src-templates-blog-query-tsx-bfd0163ac319ba89115f.js.map
1 lines (1 loc) · 3.6 KB
/
component---node-modules-lekoarts-gatsby-theme-minimal-blog-core-src-templates-blog-query-tsx-bfd0163ac319ba89115f.js.map
1
{"version":3,"file":"component---node-modules-lekoarts-gatsby-theme-minimal-blog-core-src-templates-blog-query-tsx-bfd0163ac319ba89115f.js","mappings":"m1BAwBA,IAsBA,EAtBa,SAAH,GAA+B,IAAzBA,EAAK,EAALA,MACd,GAA+BC,EAAAA,EAAAA,KAAvBC,EAAQ,EAARA,SAAUC,EAAQ,EAARA,SAElB,OACEC,EAAAA,EAAAA,IAACC,EAAAA,EAAM,MACLD,EAAAA,EAAAA,IAACE,EAAAA,EAAG,CAACC,MAAM,UACXH,EAAAA,EAAAA,IAACI,EAAAA,GAAI,CAACC,GAAI,CAAEC,WAAW,SAAWC,eAAe,gBAAkBC,SAAS,UAC1ER,EAAAA,EAAAA,IAACS,EAAAA,GAAO,CAACC,GAAG,KAAKC,QAAQ,YAAYN,GAAI,CAAEO,QAAS,IAAK,SAGzDZ,EAAAA,EAAAA,IAACa,EAAAA,KAAI,CACHR,GAAI,SAACS,GAAC,oBAAmB,QAAnB,EAAWA,EAAEC,cAAM,aAARC,EAAUC,GAAC,IAAEN,QAAQ,kBAAoBC,QAAS,GAAC,EACpEM,IAAIC,EAAAA,EAAAA,GAAe,IAAIpB,EAAQ,IAAID,IACpC,mBAIHE,EAAAA,EAAAA,IAACoB,EAAAA,EAAO,CAACxB,MAAOA,EAAOS,GAAI,CAAEgB,GAAI,CAAC,EAAG,MAG3C,ECzCA,MCQe,SAA6B,GAAsB,IAAjBC,EAAK,oBAE1CC,EACND,EADFE,KAAQD,QAGV,OAAOE,EAAAA,cAACC,EAAI,eAAC9B,MAAO2B,EAAQI,OAAWL,GACzC,C","sources":["webpack://minimal-blog/./node_modules/@lekoarts/gatsby-theme-minimal-blog/src/components/blog.tsx","webpack://minimal-blog/./node_modules/@lekoarts/gatsby-theme-minimal-blog-core/src/templates/blog-query.tsx","webpack://minimal-blog/./node_modules/@lekoarts/gatsby-theme-minimal-blog/src/@lekoarts/gatsby-theme-minimal-blog-core/components/blog.tsx"],"sourcesContent":["/** @jsx jsx */\nimport { jsx, Heading, Flex } from \"theme-ui\"\nimport { Link } from \"gatsby\"\nimport Layout from \"./layout\"\nimport Listing from \"./listing\"\nimport useMinimalBlogConfig from \"../hooks/use-minimal-blog-config\"\nimport replaceSlashes from \"../utils/replaceSlashes\"\nimport Seo from \"./seo\"\n\ntype PostsProps = {\n posts: {\n slug: string\n title: string\n date: string\n excerpt: string\n description: string\n timeToRead?: number\n tags?: {\n name: string\n slug: string\n }[]\n }[]\n}\n\nconst Blog = ({ posts }: PostsProps) => {\n const { tagsPath, basePath } = useMinimalBlogConfig()\n\n return (\n <Layout>\n <Seo title=\"Blog\" />\n <Flex sx={{ alignItems: `center`, justifyContent: `space-between`, flexFlow: `wrap` }}>\n <Heading as=\"h1\" variant=\"styles.h1\" sx={{ marginY: 2 }}>\n Blog\n </Heading>\n <Link\n sx={(t) => ({ ...t.styles?.a, variant: `links.secondary`, marginY: 2 })}\n to={replaceSlashes(`/${basePath}/${tagsPath}`)}\n >\n View all tags\n </Link>\n </Flex>\n <Listing posts={posts} sx={{ mt: [4, 5] }} />\n </Layout>\n )\n}\n\nexport default Blog\n","import { graphql } from \"gatsby\"\nimport BlogComponent from \"../components/blog\"\n\nexport default BlogComponent\n\nexport const query = graphql`\n query ($formatString: String!) {\n allPost(sort: { fields: date, order: DESC }) {\n nodes {\n slug\n title\n date(formatString: $formatString)\n excerpt\n timeToRead\n description\n tags {\n name\n slug\n }\n }\n }\n }\n`\n","import * as React from \"react\"\nimport Blog from \"../../../components/blog\"\n\ntype Props = {\n data: {\n allPost: any\n [key: string]: string\n }\n [key: string]: any\n}\n\nexport default function MinimalBlogCoreBlog({ ...props }: Props) {\n const {\n data: { allPost },\n } = props\n\n return <Blog posts={allPost.nodes} {...props} />\n}\n"],"names":["posts","useMinimalBlogConfig","tagsPath","basePath","jsx","Layout","Seo","title","Flex","sx","alignItems","justifyContent","flexFlow","Heading","as","variant","marginY","Link","t","styles","_t$styles","a","to","replaceSlashes","Listing","mt","props","allPost","data","React","Blog","nodes"],"sourceRoot":""}