{"version":3,"sources":["webpack://gatsby-test-notion-api/./src/layout.js","webpack://gatsby-test-notion-api/./src/pages/index.js"],"names":["Layout","children","className","to","role","aria-label","href","pages","data","allMarkdownRemark","edges","map","node","key","frontmatter","slug","title"],"mappings":"0LAGaA,EAAS,SAAC,GAAD,IAAGC,EAAH,EAAGA,SAAH,OACrB,gCACC,uBAAKC,UAAU,mCACd,0BACC,sBAAIA,UAAU,OACb,gBAAC,KAAD,CAAMC,GAAG,KACR,wBACCD,UAAU,mDACVE,KAAK,MACLC,aAAW,QAHZ,UAYJ,wBAAMH,UAAU,uDAAuDD,GAEvE,0BAAQC,UAAU,4GACjB,+FACoE,2CAA2B,IAD/F,4BAIA,uBAAKA,UAAU,wCACd,qBAAGI,KAAK,gCAAR,WACA,qBAAGA,KAAK,kCAAR,aACA,qBAAGA,KAAK,+BAAR,UACA,qBAAGA,KAAK,qBAAR,SAED,yBACC,qBAAGA,KAAK,qBAAR,4B,8DCyGJ,UAvIkB,SAAC,GAAc,IACzBC,EADwB,EAAXC,KACAC,kBAAkBC,MAErC,OACE,gBAAC,IAAD,KACE,2BAASR,UAAU,8CACjB,sBAAIA,UAAU,iDACZ,qBAAGI,KAAK,wBACN,wBAAMJ,UAAU,gDAAhB,WAGG,IALP,IAMI,IACF,qBAAGI,KAAK,qBACN,wBAAMJ,UAAU,8CAAhB,WAGG,IAXP,IAYI,IACF,qBAAGI,KAAK,0DACN,wBACEJ,UAAU,6CACVE,KAAK,MACLC,aAAW,SAHb,QASJ,qBAAGH,UAAU,kBAAb,MAGF,uBAAKA,UAAU,uCACb,sHAEyB,IACvB,qBAAGI,KAAK,0DAAR,4BAEK,IALP,sDASA,yCACgB,IACd,qBAAGA,KAAK,wDAAR,oBAEK,IAJP,yDAQA,sEAC6C,IAC3C,qBAAGA,KAAK,2BAAR,eAFF,QAEyD,IACvD,mCAHF,+BAMA,oIAEuC,6CAFvC,MAEqE,IACnE,mCAHF,mFAI+B,6CAJ/B,KAOA,sBAAIJ,UAAU,YAAd,iDAIA,2BACE,0BACGK,EAAMI,KAAI,gBAAGC,EAAH,EAAGA,KAAH,OACT,sBAAIC,IAAKD,EAAKE,YAAYC,MACxB,qBAAGT,KAAMM,EAAKE,YAAYC,MAAOH,EAAKE,YAAYE,aAM1D,sBAAId,UAAU,YAAd,WAEA,mFAC0D,IACxD,2CAFF,6DAGe,wDAHf,yIAQA,sBAAIA,UAAU,YAAd,wBAEA,2BACE,0BACE,0BACE,qBAAGI,KAAK,qBAAR,WAEF,0BACE,qBAAGA,KAAK,wBAAR,WAEF,0BACE,qBAAGA,KAAK,sGAAR,iDAIF,0BACE,qBAAGA,KAAK,6DAAR,gCAKF,0BACE,qBAAGA,KAAK,0DACN,wDADF,YAIF,0BACE,qBAAGA,KAAK,4DACN,wDADF,eAIF,0BACE,qBAAGA,KAAK,kFACN,wDADF,qBAIF,0BACE,qBAAGA,KAAK,iDAAR","file":"component---src-pages-index-js-b40ee738e1ba8ca1f36c.js","sourcesContent":["import { Link } from \"gatsby\"\nimport React from \"react\"\n\nexport const Layout = ({ children }) => (\n\t<>\n\t\t\n\n\t\t
{children}
\n\n\t\t\n\t\n)\n","import { graphql } from \"gatsby\";\nimport * as React from \"react\";\nimport { Layout } from \"../layout\";\n\n// markup\nconst IndexPage = ({ data }) => {\n const pages = data.allMarkdownRemark.edges;\n\n return (\n \n
\n

\n \n \n Gatsby\n \n {\" \"}\n +{\" \"}\n \n \n Notion\n \n {\" \"}\n ={\" \"}\n \n \n ♥️\n \n \n

\n

\n
\n\n
\n

\n This is a demo website that uses Notion.so as a backend for Gatsby.\n This is possible using{\" \"}\n \n gatsby-source-notion-api\n {\" \"}\n plugin that works with official public Notion API.\n

\n\n

\n Check out the{\" \"}\n \n README on GitHub\n {\" \"}\n for the latest information on how to use the package.\n

\n\n

\n The styling of this demo site is done with{\" \"}\n TailwindCSS with{\" \"}\n 0 lines of CSS code written.\n

\n\n

\n Thanks to simple and convenient API provided by MarkdownRemark and\n MDX, you can query Notion pages with mardownRemark or{\" \"}\n mdx if you use them. For your convenience, all Notion\n page properties are put into frontmatter.\n

\n\n

\n Here is the list of pages coming from Notion:\n

\n\n \n\n

Caveats

\n\n

\n Currently Notion API returns many blocks with a type of{\" \"}\n unsupported. They will hopefully become available later\n on. For now, gatsby-source-notion-api marks places for\n these blocks with an HTML comment. All attachment blocks are not\n supported. Unfortunately, it also includes images.\n

\n\n

Additional Resources

\n\n \n
\n
\n );\n};\n\nexport default IndexPage;\n\nexport const query = graphql`\n query IndexPage {\n allMarkdownRemark {\n edges {\n node {\n frontmatter {\n title\n slug\n }\n }\n }\n }\n }\n`;\n"],"sourceRoot":""}