-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-all-tag-tsx-4279756f4157d6fbef2a.js.map
1 lines (1 loc) · 1.52 KB
/
component---src-templates-all-tag-tsx-4279756f4157d6fbef2a.js.map
1
{"version":3,"sources":["webpack:///./src/templates/AllTag.tsx"],"names":["props","tags","pathContext","title","config","siteTitle","to","map","tag","index","key"],"mappings":"kMASe,mBAACA,GAAqB,IAC3BC,EAASD,EAAME,YAAfD,KACR,GAAIA,EACF,OACE,kBAAC,IAAD,KACE,kBAAC,IAAD,CAAQE,MAAK,UAAYC,IAAOC,YAChC,kBAAC,IAAD,KACE,kBAAC,OAAD,CAAMC,GAAG,KAAKF,IAAOC,WACrB,kBAAC,IAAD,cAEF,kBAAC,IAAD,KACE,kBAAC,IAAD,KACGJ,EAAKM,KAAI,SAACC,EAAKC,GAAN,OACR,kBAAC,IAAD,CAAOC,IAAKD,GACV,kBAAC,OAAD,CAAMH,GAAE,SAAW,IAAUE,IAASA","file":"component---src-templates-all-tag-tsx-4279756f4157d6fbef2a.js","sourcesContent":["import React from 'react';\nimport { Helmet } from 'react-helmet';\nimport { Link } from 'gatsby';\nimport { kebabCase } from 'lodash';\nimport { Layout, Wrapper, Header, SectionTitle, Content, Title } from '../components';\n\nimport config from '../../config/SiteConfig';\nimport PageProps from '../models/PageProps';\n\nexport default (props: PageProps) => {\n const { tags } = props.pathContext;\n if (tags) {\n return (\n <Layout>\n <Helmet title={`Tags | ${config.siteTitle}`} />\n <Header>\n <Link to=\"/\">{config.siteTitle}</Link>\n <SectionTitle>Tags</SectionTitle>\n </Header>\n <Wrapper>\n <Content>\n {tags.map((tag, index: number) => (\n <Title key={index}>\n <Link to={`/tags/${kebabCase(tag)}`}>{tag}</Link>\n </Title>\n ))}\n </Content>\n </Wrapper>\n </Layout>\n );\n }\n};\n"],"sourceRoot":""}