-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-templates-policies-tsx-359925d45492160d5e8b.js.map
1 lines (1 loc) · 2.08 KB
/
component---src-pages-templates-policies-tsx-359925d45492160d5e8b.js.map
1
{"version":3,"file":"component---src-pages-templates-policies-tsx-359925d45492160d5e8b.js","mappings":"kKAkBA,UAbqBA,IAAoD,IAAAC,EAAAC,EAAA,IAAnD,KAAEC,GAA4CH,EAClE,MAAMI,EAA6B,QAAzBH,EAAGE,EAAKE,yBAAiB,IAAAJ,GAAU,QAAVC,EAAtBD,EAAwBK,MAAM,UAAE,IAAAJ,OAAV,EAAtBA,EAAkCE,KAE/C,OACEG,EAAAA,EAAAA,IAAA,OAAKC,UAAU,oCACbD,EAAAA,EAAAA,IAAA,OACEC,UAAU,iFACVC,wBAAyB,CAAEC,OAAQN,KAEjC,EAMH,MAAMO,EAAOC,IAAoD,IAAAC,EAAAC,EAAAC,EAAA,IAAnD,KAAEZ,GAA4CS,EACjE,MAAMI,EAA8B,QAAzBH,EAAGV,EAAKE,yBAAiB,IAAAQ,GAAU,QAAVC,EAAtBD,EAAwBP,MAAM,UAAE,IAAAQ,GAAa,QAAbC,EAAhCD,EAAkCG,mBAAW,IAAAF,OAAvB,EAAtBA,EAA+CC,MAE7D,OAAOT,EAAAA,EAAAA,IAAA,aAAQS,EAAc,C","sources":["webpack://code-cave/./src/pagesTemplates/policies.tsx"],"sourcesContent":["import React from \"react\";\nimport { HeadProps, PageProps, graphql } from \"gatsby\";\n\nimport { IPrivacyPolicyQueryResult } from \"../types/policies.type\";\n\nconst PoliciesPage = ({ data }: PageProps<IPrivacyPolicyQueryResult>) => {\n const html = data.allMarkdownRemark?.nodes[0]?.html;\n\n return (\n <div className=\"bg-main-100 text-secondary-100\">\n <div\n className=\"flex w-full max-w-7xl mx-auto privacy-policy flex-col gap-4 text-lg py-10 px-4\"\n dangerouslySetInnerHTML={{ __html: html }}\n />\n </div>\n );\n};\n\nexport default PoliciesPage;\n\nexport const Head = ({ data }: HeadProps<IPrivacyPolicyQueryResult>) => {\n const title = data.allMarkdownRemark?.nodes[0]?.frontmatter?.title;\n\n return <title>{title}</title>;\n};\n\nexport const query = graphql`\n query ($lang: String, $policy: String) {\n allMarkdownRemark(\n filter: {\n fields: { sourceName: { eq: $policy }, language: { eq: $lang } }\n }\n ) {\n nodes {\n id\n html\n frontmatter {\n title\n }\n }\n }\n }\n`;\n"],"names":["_ref","_data$allMarkdownRema","_data$allMarkdownRema2","data","html","allMarkdownRemark","nodes","___EmotionJSX","className","dangerouslySetInnerHTML","__html","Head","_ref2","_data$allMarkdownRema3","_data$allMarkdownRema4","_data$allMarkdownRema5","title","frontmatter"],"sourceRoot":""}