-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-category-template-js-4a959fb2c492a16c65e9.js.map
1 lines (1 loc) · 32.9 KB
/
component---src-templates-category-template-js-4a959fb2c492a16c65e9.js.map
1
{"version":3,"sources":["webpack:///./src/templates/category-template.js","webpack:///./src/constants/icons.js","webpack:///./src/constants/pagination.js","webpack:///./src/constants/index.js","webpack:///./src/components/Layout/Layout.js","webpack:///./src/components/Layout/index.js","webpack:///./src/components/Layout/Layout.module.scss","webpack:///./src/utils/get-icon.js","webpack:///./src/utils/get-contact-href.js","webpack:///./src/utils/index.js","webpack:///./src/components/Sidebar/Author/Author.js","webpack:///./src/components/Icon/Icon.js","webpack:///./src/components/Sidebar/Contacts/Contacts.js","webpack:///./src/components/Sidebar/Copyright/Copyright.js","webpack:///./src/components/Sidebar/Menu/Menu.js","webpack:///./src/components/Sidebar/Sidebar.js","webpack:///./src/components/Sidebar/index.js","webpack:///./src/components/Page/Page.js","webpack:///./src/components/Page/index.js","webpack:///./src/components/Sidebar/Author/Author.module.scss","webpack:///./node_modules/core-js/modules/es6.object.keys.js","webpack:///./node_modules/core-js/modules/_object-sap.js","webpack:///./src/components/Icon/Icon.module.scss","webpack:///./src/components/Sidebar/Contacts/Contacts.module.scss","webpack:///./src/components/Sidebar/Copyright/Copyright.module.scss","webpack:///./src/components/Sidebar/Menu/Menu.module.scss","webpack:///./src/components/Sidebar/Sidebar.module.scss","webpack:///./src/components/Page/Page.module.scss","webpack:///./src/components/Feed/Feed.module.scss","webpack:///./node_modules/classnames/bind.js","webpack:///./src/components/Pagination/Pagination.module.scss","webpack:///./src/components/Feed/Feed.js","webpack:///./src/components/Feed/index.js","webpack:///./src/components/Pagination/Pagination.js","webpack:///./src/components/Pagination/index.js"],"names":["__webpack_require__","r","__webpack_exports__","d","query","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","_components_Layout__WEBPACK_IMPORTED_MODULE_1__","_components_Sidebar__WEBPACK_IMPORTED_MODULE_2__","_components_Feed__WEBPACK_IMPORTED_MODULE_3__","_components_Page__WEBPACK_IMPORTED_MODULE_4__","_components_Pagination__WEBPACK_IMPORTED_MODULE_5__","CategoryTemplate","_ref","data","pageContext","_data$site$siteMetada","site","siteMetadata","siteTitle","title","siteSubtitle","subtitle","category","currentPage","prevPagePath","nextPagePath","hasPrevPage","hasNextPage","edges","allMarkdownRemark","pageTitle","a","createElement","description","ICONS","TWITTER","path","viewBox","FACEBOOK","TELEGRAM","VKONTAKTE","GITHUB","EMAIL","RSS","PAGINATION","PREV_PAGE","NEXT_PAGE","icons","pagination","Layout","children","react_default","className","styles","layout","Helmet_default","lang","name","content","components_Layout_Layout","module","exports","getIcon","icon","getContactHref","contact","href","get_icon","get_contact_href","Author","author","isIndex","gatsby_browser_entry","to","src","withPrefix","photo","width","height","alt","bio","Icon","Contacts","contacts","Object","keys","map","key","rel","target","components_Icon_Icon","Copyright","copyright","Menu","menu","item","activeClassName","label","PureSidebar","Sidebar_Author_Author","Sidebar_Menu_Menu","Sidebar_Contacts_Contacts","Sidebar_Copyright_Copyright","Sidebar","props","render","Sidebar_PureSidebar","assign","_1283196385","components_Sidebar_Sidebar","Page","pageRef","useRef","useEffect","current","scrollIntoView","ref","components_Page_Page","author__photo","author__title","author__title-link","author__subtitle","toObject","$keys","it","$export","core","fails","KEY","exec","fn","exp","S","F","contacts__list","contacts__list-item","contacts__list-item-link","menu__list","menu__list-item","menu__list-item-link","menu__list-item-link--active","sidebar","sidebar__inner","page","page__inner","page__title","page__body","feed__item","feed__item-title","feed__item-title-link","feed__item-description","feed__item-meta-time","feed__item-meta-divider","feed__item-meta-category-link","feed__item-readmore","__WEBPACK_AMD_DEFINE_RESULT__","hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","argType","push","this","Array","isArray","apply","call","join","default","undefined","pagination__prev","pagination__prev-link","pagination__prev-link--disable","pagination__next","pagination__next-link","pagination__next-link--disable","Feed","edge","node","fields","slug","dateTime","moment","frontmatter","date","format","categorySlug","components_Feed_Feed","cx","bind","Pagination","prevClassName","nextClassName","components_Pagination_Pagination"],"mappings":"2FAAAA,EAAAC,EAAAC,GAAAF,EAAAG,EAAAD,EAAA,0BAAAE,IAAA,IAAAC,EAAAL,EAAA,GAAAM,EAAAN,EAAAO,EAAAF,GAAAG,EAAAR,EAAA,KAAAS,EAAAT,EAAA,KAAAU,EAAAV,EAAA,KAAAW,EAAAX,EAAA,KAAAY,EAAAZ,EAAA,KA0CaI,EAAK,aAgCHS,UAlEU,SAAAC,GAA2B,IAAxBC,EAAwBD,EAAxBC,KAAMC,EAAkBF,EAAlBE,YAAkBC,EAI9CF,EAAKG,KAAKC,aAFLC,EAFyCH,EAEhDI,MACUC,EAHsCL,EAGhDM,SAIAC,EAMER,EANFQ,SACAC,EAKET,EALFS,YACAC,EAIEV,EAJFU,aACAC,EAGEX,EAHFW,aACAC,EAEEZ,EAFFY,YACAC,EACEb,EADFa,YAGMC,EAAUf,EAAKgB,kBAAfD,MACFE,EAAYP,EAAc,EAAOD,EAArB,WAAwCC,EAAxC,MAAyDL,EAAiBI,EAA1E,MAAwFJ,EAE1G,OACEd,EAAA2B,EAAAC,cAAC1B,EAAA,EAAD,CAAQa,MAAOW,EAAWG,YAAab,GACrChB,EAAA2B,EAAAC,cAACzB,EAAA,EAAD,MACAH,EAAA2B,EAAAC,cAACvB,EAAA,EAAD,CAAMU,MAAOG,GACXlB,EAAA2B,EAAAC,cAACxB,EAAA,EAAD,CAAMoB,MAAOA,IACbxB,EAAA2B,EAAAC,cAACtB,EAAA,EAAD,CACEc,aAAcA,EACdC,aAAcA,EACdC,YAAaA,EACbC,YAAaA,yCCnCvB,IA+BeO,EA/BD,CACZC,QAAS,CACPC,KAAM,8rBACNC,QAAS,aAEXC,SAAU,CACRF,KAAM,+MACNC,QAAS,aAEXE,SAAU,CACRH,KAAM,2dACNC,QAAS,aAEXG,UAAW,CACTJ,KAAM,0/BACNC,QAAS,aAEXI,OAAQ,CACNL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AFJe,YACAD,EACId,EADJc,YAEMyK,EAAgBH,EAAG,CACvBjB,yBAAyB,EACzBC,kCAAmCtJ,IAG/B0K,EAAgBJ,EAAG,CACvBd,yBAAyB,EACzBC,kCAAmCxJ,IAGrC,OACEwB,EAAApB,EAAAC,cAAA,OAAKoB,UAAWC,IAAM,YACpBF,EAAApB,EAAAC,cAAA,OAAKoB,UAAWC,IAAM,kBACpBF,EAAApB,EAAAC,cAACwC,EAAA,KAAD,CAAMgB,IAAI,OAAOf,GAAIjD,EAAc4B,UAAW+I,GAAgBvJ,IAAWC,YAE3EM,EAAApB,EAAAC,cAAA,OAAKoB,UAAWC,IAAM,kBACpBF,EAAApB,EAAAC,cAACwC,EAAA,KAAD,CAAMgB,IAAI,OAAOf,GAAIhD,EAAc2B,UAAWgJ,GAAgBxJ,IAAWE,cC9BjFhD,EAAAG,EAAAD,EAAA,sBAAAqM","file":"component---src-templates-category-template-js-4a959fb2c492a16c65e9.js","sourcesContent":["import React from 'react';\nimport { graphql } from 'gatsby';\nimport Layout from '../components/Layout';\nimport Sidebar from '../components/Sidebar';\nimport Feed from '../components/Feed';\nimport Page from '../components/Page';\nimport Pagination from '../components/Pagination';\n\nconst CategoryTemplate = ({ data, pageContext }) => {\n const {\n title: siteTitle,\n subtitle: siteSubtitle\n } = data.site.siteMetadata;\n\n const {\n category,\n currentPage,\n prevPagePath,\n nextPagePath,\n hasPrevPage,\n hasNextPage,\n } = pageContext;\n\n const { edges } = data.allMarkdownRemark;\n const pageTitle = currentPage > 0 ? `${category} - Page ${currentPage} - ${siteTitle}` : `${category} - ${siteTitle}`;\n\n return (\n <Layout title={pageTitle} description={siteSubtitle}>\n <Sidebar />\n <Page title={category}>\n <Feed edges={edges} />\n <Pagination\n prevPagePath={prevPagePath}\n nextPagePath={nextPagePath}\n hasPrevPage={hasPrevPage}\n hasNextPage={hasNextPage}\n />\n </Page>\n </Layout>\n );\n};\n\nexport const query = graphql`\n query CategoryPage($category: String, $postsLimit: Int!, $postsOffset: Int!) {\n site {\n siteMetadata {\n title\n subtitle\n }\n }\n allMarkdownRemark(\n limit: $postsLimit,\n skip: $postsOffset,\n filter: { frontmatter: { category: { eq: $category }, template: { eq: \"post\" }, draft: { ne: true } } },\n sort: { order: DESC, fields: [frontmatter___date] }\n ){\n edges {\n node {\n fields {\n categorySlug\n slug\n }\n frontmatter {\n date\n description\n category\n title\n }\n }\n }\n }\n }\n`;\n\nexport default CategoryTemplate;\n","const ICONS = {\n TWITTER: {\n path: 'M25.312 6.375c-0.688 1-1.547 1.891-2.531 2.609 0.016 0.219 0.016 0.438 0.016 0.656 0 6.672-5.078 14.359-14.359 14.359-2.859 0-5.516-0.828-7.75-2.266 0.406 0.047 0.797 0.063 1.219 0.063 2.359 0 4.531-0.797 6.266-2.156-2.219-0.047-4.078-1.5-4.719-3.5 0.313 0.047 0.625 0.078 0.953 0.078 0.453 0 0.906-0.063 1.328-0.172-2.312-0.469-4.047-2.5-4.047-4.953v-0.063c0.672 0.375 1.453 0.609 2.281 0.641-1.359-0.906-2.25-2.453-2.25-4.203 0-0.938 0.25-1.797 0.688-2.547 2.484 3.062 6.219 5.063 10.406 5.281-0.078-0.375-0.125-0.766-0.125-1.156 0-2.781 2.25-5.047 5.047-5.047 1.453 0 2.766 0.609 3.687 1.594 1.141-0.219 2.234-0.641 3.203-1.219-0.375 1.172-1.172 2.156-2.219 2.781 1.016-0.109 2-0.391 2.906-0.781z',\n viewBox: '0 0 26 28'\n },\n FACEBOOK: {\n path: 'M14.984 0.187v4.125h-2.453c-1.922 0-2.281 0.922-2.281 2.25v2.953h4.578l-0.609 4.625h-3.969v11.859h-4.781v-11.859h-3.984v-4.625h3.984v-3.406c0-3.953 2.422-6.109 5.953-6.109 1.687 0 3.141 0.125 3.563 0.187z',\n viewBox: '0 0 16 28'\n },\n TELEGRAM: {\n path: 'M27.563 0.172c0.328 0.234 0.484 0.609 0.422 1l-4 24c-0.047 0.297-0.234 0.547-0.5 0.703-0.141 0.078-0.313 0.125-0.484 0.125-0.125 0-0.25-0.031-0.375-0.078l-7.078-2.891-3.781 4.609c-0.187 0.234-0.469 0.359-0.766 0.359-0.109 0-0.234-0.016-0.344-0.063-0.391-0.141-0.656-0.516-0.656-0.938v-5.453l13.5-16.547-16.703 14.453-6.172-2.531c-0.359-0.141-0.594-0.469-0.625-0.859-0.016-0.375 0.172-0.734 0.5-0.922l26-15c0.156-0.094 0.328-0.141 0.5-0.141 0.203 0 0.406 0.063 0.562 0.172z',\n viewBox: '0 0 28 28'\n },\n VKONTAKTE: {\n path: 'M29.953 8.125c0.234 0.641-0.5 2.141-2.344 4.594-3.031 4.031-3.359 3.656-0.859 5.984 2.406 2.234 2.906 3.313 2.984 3.453 0 0 1 1.75-1.109 1.766l-4 0.063c-0.859 0.172-2-0.609-2-0.609-1.5-1.031-2.906-3.703-4-3.359 0 0-1.125 0.359-1.094 2.766 0.016 0.516-0.234 0.797-0.234 0.797s-0.281 0.297-0.828 0.344h-1.797c-3.953 0.25-7.438-3.391-7.438-3.391s-3.813-3.938-7.156-11.797c-0.219-0.516 0.016-0.766 0.016-0.766s0.234-0.297 0.891-0.297l4.281-0.031c0.406 0.063 0.688 0.281 0.688 0.281s0.25 0.172 0.375 0.5c0.703 1.75 1.609 3.344 1.609 3.344 1.563 3.219 2.625 3.766 3.234 3.437 0 0 0.797-0.484 0.625-4.375-0.063-1.406-0.453-2.047-0.453-2.047-0.359-0.484-1.031-0.625-1.328-0.672-0.234-0.031 0.156-0.594 0.672-0.844 0.766-0.375 2.125-0.391 3.734-0.375 1.266 0.016 1.625 0.094 2.109 0.203 1.484 0.359 0.984 1.734 0.984 5.047 0 1.062-0.203 2.547 0.562 3.031 0.328 0.219 1.141 0.031 3.141-3.375 0 0 0.938-1.625 1.672-3.516 0.125-0.344 0.391-0.484 0.391-0.484s0.25-0.141 0.594-0.094l4.5-0.031c1.359-0.172 1.578 0.453 1.578 0.453z',\n viewBox: '0 0 31 28'\n },\n GITHUB: {\n path: 'M10 19c0 1.141-0.594 3-2 3s-2-1.859-2-3 0.594-3 2-3 2 1.859 2 3zM20 19c0 1.141-0.594 3-2 3s-2-1.859-2-3 0.594-3 2-3 2 1.859 2 3zM22.5 19c0-2.391-1.453-4.5-4-4.5-1.031 0-2.016 0.187-3.047 0.328-0.812 0.125-1.625 0.172-2.453 0.172s-1.641-0.047-2.453-0.172c-1.016-0.141-2.016-0.328-3.047-0.328-2.547 0-4 2.109-4 4.5 0 4.781 4.375 5.516 8.188 5.516h2.625c3.813 0 8.188-0.734 8.188-5.516zM26 16.25c0 1.734-0.172 3.578-0.953 5.172-2.063 4.172-7.734 4.578-11.797 4.578-4.125 0-10.141-0.359-12.281-4.578-0.797-1.578-0.969-3.437-0.969-5.172 0-2.281 0.625-4.438 2.125-6.188-0.281-0.859-0.422-1.766-0.422-2.656 0-1.172 0.266-2.344 0.797-3.406 2.469 0 4.047 1.078 5.922 2.547 1.578-0.375 3.203-0.547 4.828-0.547 1.469 0 2.953 0.156 4.375 0.5 1.859-1.453 3.437-2.5 5.875-2.5 0.531 1.062 0.797 2.234 0.797 3.406 0 0.891-0.141 1.781-0.422 2.625 1.5 1.766 2.125 3.938 2.125 6.219z',\n viewBox: '0 0 26 28'\n },\n EMAIL: {\n path: 'M26 23.5v-12c-0.328 0.375-0.688 0.719-1.078 1.031-2.234 1.719-4.484 3.469-6.656 5.281-1.172 0.984-2.625 2.188-4.25 2.188h-0.031c-1.625 0-3.078-1.203-4.25-2.188-2.172-1.813-4.422-3.563-6.656-5.281-0.391-0.313-0.75-0.656-1.078-1.031v12c0 0.266 0.234 0.5 0.5 0.5h23c0.266 0 0.5-0.234 0.5-0.5zM26 7.078c0-0.391 0.094-1.078-0.5-1.078h-23c-0.266 0-0.5 0.234-0.5 0.5 0 1.781 0.891 3.328 2.297 4.438 2.094 1.641 4.188 3.297 6.266 4.953 0.828 0.672 2.328 2.109 3.422 2.109h0.031c1.094 0 2.594-1.437 3.422-2.109 2.078-1.656 4.172-3.313 6.266-4.953 1.016-0.797 2.297-2.531 2.297-3.859zM28 6.5v17c0 1.375-1.125 2.5-2.5 2.5h-23c-1.375 0-2.5-1.125-2.5-2.5v-17c0-1.375 1.125-2.5 2.5-2.5h23c1.375 0 2.5 1.125 2.5 2.5z',\n viewBox: '0 0 28 28'\n },\n RSS: {\n path: 'M6 21c0 1.656-1.344 3-3 3s-3-1.344-3-3 1.344-3 3-3 3 1.344 3 3zM14 22.922c0.016 0.281-0.078 0.547-0.266 0.75-0.187 0.219-0.453 0.328-0.734 0.328h-2.109c-0.516 0-0.938-0.391-0.984-0.906-0.453-4.766-4.234-8.547-9-9-0.516-0.047-0.906-0.469-0.906-0.984v-2.109c0-0.281 0.109-0.547 0.328-0.734 0.172-0.172 0.422-0.266 0.672-0.266h0.078c3.328 0.266 6.469 1.719 8.828 4.094 2.375 2.359 3.828 5.5 4.094 8.828zM22 22.953c0.016 0.266-0.078 0.531-0.281 0.734-0.187 0.203-0.438 0.313-0.719 0.313h-2.234c-0.531 0-0.969-0.406-1-0.938-0.516-9.078-7.75-16.312-16.828-16.844-0.531-0.031-0.938-0.469-0.938-0.984v-2.234c0-0.281 0.109-0.531 0.313-0.719 0.187-0.187 0.438-0.281 0.688-0.281h0.047c5.469 0.281 10.609 2.578 14.484 6.469 3.891 3.875 6.188 9.016 6.469 14.484z',\n viewBox: '0 0 22 28'\n }\n};\n\nexport default ICONS;\n","const PAGINATION = {\n PREV_PAGE: '← PREV',\n NEXT_PAGE: '→ NEXT'\n};\n\nexport default PAGINATION;\n","export { default as ICONS } from './icons';\nexport { default as PAGINATION } from './pagination';\n","import React from 'react';\nimport Helmet from 'react-helmet';\nimport styles from './Layout.module.scss';\n\nconst Layout = ({ children, title, description }) => (\n <div className={styles.layout}>\n <Helmet>\n <html lang=\"en\" />\n <title>{title}</title>\n <meta name=\"description\" content={description} />\n </Helmet>\n {children}\n </div>\n);\n\nexport default Layout;\n","export { default } from './Layout';\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"layout\":\"Layout-module--layout--3Pyz6\"};","import { ICONS } from '../constants';\n\nconst getIcon = (name) => {\n let icon;\n\n switch (name) {\n case 'twitter':\n icon = ICONS.TWITTER;\n break;\n case 'github':\n icon = ICONS.GITHUB;\n break;\n case 'vkontakte':\n icon = ICONS.VKONTAKTE;\n break;\n case 'telegram':\n icon = ICONS.TELEGRAM;\n break;\n case 'email':\n icon = ICONS.EMAIL;\n break;\n case 'rss':\n icon = ICONS.RSS;\n break;\n default:\n icon = {};\n break;\n }\n\n return icon;\n};\n\nexport default getIcon;\n","const getContactHref = (name, contact) => {\n let href;\n\n switch (name) {\n case 'twitter':\n href = `https://www.twitter.com/${contact}`;\n break;\n case 'github':\n href = `https://github.com/${contact}`;\n break;\n case 'vkontakte':\n href = `https://vk.com/${contact}`;\n break;\n case 'telegram':\n href = `telegram:${contact}`;\n break;\n case 'email':\n href = `mailto:${contact}`;\n break;\n default:\n href = contact;\n break;\n }\n\n return href;\n};\n\nexport default getContactHref;\n","export { default as getIcon } from './get-icon';\nexport { default as getContactHref } from './get-contact-href';\n","import React from 'react';\nimport { withPrefix, Link } from 'gatsby';\nimport styles from './Author.module.scss';\n\nconst Author = ({ author, isIndex }) => (\n <div className={styles['author']}>\n <Link to=\"/\">\n <img\n src={withPrefix(author.photo)}\n className={styles['author__photo']}\n width=\"75\"\n height=\"75\"\n alt={author.name}\n />\n </Link>\n\n { isIndex ? (\n <h1 className={styles['author__title']}>\n <Link className={styles['author__title-link']} to=\"/\">{author.name}</Link>\n </h1>\n ) : (\n <h2 className={styles['author__title']}>\n <Link className={styles['author__title-link']} to=\"/\">{author.name}</Link>\n </h2>\n )}\n <p className={styles['author__subtitle']}>{author.bio}</p>\n </div>\n);\n\nexport default Author;\n","import React from 'react';\nimport styles from './Icon.module.scss';\n\nconst Icon = ({ icon }) => (\n <svg className={styles['icon']} viewBox={icon.viewBox}>\n <path d={icon.path} />\n </svg>\n);\n\nexport default Icon;\n","import React from 'react';\nimport { getContactHref, getIcon } from '../../../utils';\nimport Icon from '../../Icon';\nimport styles from './Contacts.module.scss';\n\nconst Contacts = ({ contacts }) => (\n <div className={styles['contacts']}>\n <ul className={styles['contacts__list']}>\n {Object.keys(contacts).map((name) => (\n <li className={styles['contacts__list-item']} key={name}>\n <a\n className={styles['contacts__list-item-link']}\n href={getContactHref(name, contacts[name])}\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >\n <Icon icon={getIcon(name)} />\n </a>\n </li>\n ))}\n </ul>\n </div>\n);\n\nexport default Contacts;\n","import React from 'react';\nimport styles from './Copyright.module.scss';\n\nconst Copyright = ({ copyright }) => (\n <div className={styles['copyright']}>\n {copyright}\n </div>\n);\n\nexport default Copyright;","import React from 'react';\nimport { Link } from 'gatsby';\nimport styles from './Menu.module.scss';\n\nconst Menu = ({ menu }) => (\n <nav className={styles['menu']}>\n <ul className={styles['menu__list']}>\n {menu.map((item) => (\n <li className={styles['menu__list-item']} key={item.path}>\n <Link\n to={item.path}\n className={styles['menu__list-item-link']}\n activeClassName={styles['menu__list-item-link--active']}\n >\n {item.label}\n </Link>\n </li>\n ))}\n </ul>\n </nav>\n);\n\nexport default Menu;\n","import React from 'react';\nimport { graphql, StaticQuery } from 'gatsby';\nimport Author from './Author';\nimport Contacts from './Contacts';\nimport Copyright from './Copyright';\nimport Menu from './Menu';\nimport styles from './Sidebar.module.scss';\n\nexport const PureSidebar = ({ data, isIndex }) => {\n const {\n author,\n copyright,\n menu\n } = data.site.siteMetadata;\n\n return (\n <div className={styles['sidebar']}>\n <div className={styles['sidebar__inner']}>\n <Author author={author} isIndex={isIndex} />\n <Menu menu={menu} />\n <Contacts contacts={author.contacts} />\n <Copyright copyright={copyright} />\n </div>\n </div>\n );\n};\n\nexport const Sidebar = (props) => (\n <StaticQuery\n query={graphql`\n query SidebarQuery {\n site {\n siteMetadata {\n title\n subtitle\n copyright\n menu {\n label\n path\n }\n author {\n name\n photo\n bio\n contacts {\n # twitter\n # telegram\n github\n email\n # rss\n # vkontakte\n }\n }\n }\n }\n }\n `}\n render={(data) => <PureSidebar {...props} data={data}/>}\n />\n);\n\nexport default Sidebar;\n","export { default } from './Sidebar';\n","import React, { useRef, useEffect } from 'react';\nimport styles from './Page.module.scss';\n\nconst Page = ({ title, children }) => {\n const pageRef = useRef();\n\n useEffect(() => {\n pageRef.current.scrollIntoView();\n });\n\n return (\n <div ref={pageRef} className={styles['page']}>\n <div className={styles['page__inner']}>\n { title && <h1 className={styles['page__title']}>{title}</h1>}\n <div className={styles['page__body']}>\n {children}\n </div>\n </div>\n </div>\n );\n};\n\nexport default Page;","export { default } from './Page';\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"author__photo\":\"Author-module--author__photo--36xCH\",\"author__title\":\"Author-module--author__title--2CaTb\",\"author__title-link\":\"Author-module--author__title-link--Yrism\",\"author__subtitle\":\"Author-module--author__subtitle--cAaEB\"};","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"Icon-module--icon--Gpyvw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"contacts\":\"Contacts-module--contacts--1rGd1\",\"contacts__list\":\"Contacts-module--contacts__list--3OgdW\",\"contacts__list-item\":\"Contacts-module--contacts__list-item--16p9q\",\"contacts__list-item-link\":\"Contacts-module--contacts__list-item-link--2MIDn\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"copyright\":\"Copyright-module--copyright--1ariN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menu\":\"Menu-module--menu--Efbin\",\"menu__list\":\"Menu-module--menu__list--31Zeo\",\"menu__list-item\":\"Menu-module--menu__list-item--1lJ6B\",\"menu__list-item-link\":\"Menu-module--menu__list-item-link--10Ush\",\"menu__list-item-link--active\":\"Menu-module--menu__list-item-link--active--2CbUO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sidebar\":\"Sidebar-module--sidebar--X4z2p\",\"sidebar__inner\":\"Sidebar-module--sidebar__inner--Jdc5s\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"page\":\"Page-module--page--2nMky\",\"page__inner\":\"Page-module--page__inner--2M_vz\",\"page__title\":\"Page-module--page__title--GPD8L\",\"page__body\":\"Page-module--page__body--Ic6i6\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"feed__item\":\"Feed-module--feed__item--2D5rE\",\"feed__item-title\":\"Feed-module--feed__item-title--3nigr\",\"feed__item-title-link\":\"Feed-module--feed__item-title-link--iFMRs\",\"feed__item-description\":\"Feed-module--feed__item-description--1uO8e\",\"feed__item-meta-time\":\"Feed-module--feed__item-meta-time--3t1fg\",\"feed__item-meta-divider\":\"Feed-module--feed__item-meta-divider--N-Q0A\",\"feed__item-meta-category-link\":\"Feed-module--feed__item-meta-category-link--23f8F\",\"feed__item-readmore\":\"Feed-module--feed__item-readmore--1u6bI\"};","/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(this && this[arg] || arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(this, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(this && this[key] || key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"pagination\":\"Pagination-module--pagination--2H3nO\",\"pagination__prev\":\"Pagination-module--pagination__prev--bet5s\",\"pagination__prev-link\":\"Pagination-module--pagination__prev-link--1Nzs6\",\"pagination__prev-link--disable\":\"Pagination-module--pagination__prev-link--disable--Yklx9\",\"pagination__next\":\"Pagination-module--pagination__next--3hFiN\",\"pagination__next-link\":\"Pagination-module--pagination__next-link--3FUtA\",\"pagination__next-link--disable\":\"Pagination-module--pagination__next-link--disable--30UwZ\"};","import React from 'react';\nimport moment from 'moment';\nimport { Link } from 'gatsby';\nimport styles from './Feed.module.scss';\n\nconst Feed = ({ edges }) => (\n <div className={styles['feed']}>\n {edges.map((edge) => (\n <div className={styles['feed__item']} key={edge.node.fields.slug}>\n <div className={styles['feed__item-meta']}>\n <time className={styles['feed__item-meta-time']} dateTime={moment(edge.node.frontmatter.date).format('MMMM D, YYYY')}>\n {moment(edge.node.frontmatter.date).format('MMMM YYYY')}\n </time>\n <span className={styles['feed__item-meta-divider']} />\n <span className={styles['feed__item-meta-category']}>\n <Link to={edge.node.fields.categorySlug} className={styles['feed__item-meta-category-link']}>{edge.node.frontmatter.category}</Link>\n </span>\n </div>\n <h2 className={styles['feed__item-title']}>\n <Link className={styles['feed__item-title-link']} to={edge.node.fields.slug}>{edge.node.frontmatter.title}</Link>\n </h2>\n <p className={styles['feed__item-description']}>{edge.node.frontmatter.description}</p>\n <Link className={styles['feed__item-readmore']} to={edge.node.fields.slug}>Read</Link>\n </div>\n ))}\n </div>\n);\n\nexport default Feed;\n","export { default } from './Feed';\n","import React from 'react';\nimport classNames from 'classnames/bind';\nimport { Link } from 'gatsby';\nimport { PAGINATION } from '../../constants';\nimport styles from './Pagination.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst Pagination = ({\n prevPagePath,\n nextPagePath,\n hasNextPage,\n hasPrevPage\n}) => {\n const prevClassName = cx({\n 'pagination__prev-link': true,\n 'pagination__prev-link--disable': !hasPrevPage\n });\n\n const nextClassName = cx({\n 'pagination__next-link': true,\n 'pagination__next-link--disable': !hasNextPage\n });\n\n return (\n <div className={styles['pagination']}>\n <div className={styles['pagination__prev']}>\n <Link rel=\"prev\" to={prevPagePath} className={prevClassName}>{PAGINATION.PREV_PAGE}</Link>\n </div>\n <div className={styles['pagination__next']}>\n <Link rel=\"next\" to={nextPagePath} className={nextClassName}>{PAGINATION.NEXT_PAGE}</Link>\n </div>\n </div>\n );\n};\n\nexport default Pagination;\n","export { default } from './Pagination';\n"],"sourceRoot":""}