-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-language-all-jsx-e13f7c7604c774b0bbdd.js.map
1 lines (1 loc) · 1.59 KB
/
component---src-templates-language-all-jsx-e13f7c7604c774b0bbdd.js.map
1
{"version":3,"file":"component---src-templates-language-all-jsx-e13f7c7604c774b0bbdd.js","mappings":"kJA0BA,UArBsB,SAAC,GAAoC,IAAnBA,EAAkB,EAAjCC,YAAeD,UAE9BE,GAAMC,EAAAA,EAAAA,KAAND,EAER,OACI,2BACA,gBAAC,IAAD,CACIE,KAAMJ,EACNK,QAAS,CACP,CAACC,SAAU,MAAOC,OAAQ,MAAMC,QAAO,GACvC,CAACF,SAAU,OAAQC,OAAQL,EAAE,eACzBO,KAAM,gBAAGC,EAAH,EAAGA,IAAH,OACF,qBAAGC,UAAS,QAAUC,EAAAA,cAAV,OAA+BC,KAAM,cAAgBH,EAAII,OAAOC,KACxE,uBAAKJ,UAAS,QAAUC,EAAAA,cAAV,+CAAuEF,EAAII,OAAOE","sources":["webpack://tav/./src/templates/languageAll.jsx"],"sourcesContent":["import React from 'react'\nimport DataTable from \"../components/Datatable/DataTable\"\nimport {useTranslation} from \"react-i18next\";\nimport {COLOR_PRIMARY} from 'gatsby-env-variables'\n\nconst LanguagesPage = ({ pageContext: { languages } }) => {\n\n const { t } = useTranslation()\n\n return (\n <div>\n <DataTable\n data={languages}\n columns={[\n {accessor: 'iso', Header: 'iso',hidden:true},\n {accessor: 'name', Header: t('fields.name'),\n Cell: ({ row }) => (\n <a className={`text-${COLOR_PRIMARY}-600`} href={'/languages/' + row.values.iso}>\n <div className={`text-${COLOR_PRIMARY}-600 w-60 overflow-ellipsis overflow-hidden`}>{row.values.name}</div>\n </a>\n )},\n ]} />\n </div>\n );\n};\n\nexport default LanguagesPage"],"names":["languages","pageContext","t","useTranslation","data","columns","accessor","Header","hidden","Cell","row","className","COLOR_PRIMARY","href","values","iso","name"],"sourceRoot":""}