-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomponent---src-pages-projects-index-js-a551a507d0667a4c5480.js.map
1 lines (1 loc) · 2.39 KB
/
component---src-pages-projects-index-js-a551a507d0667a4c5480.js.map
1
{"version":3,"sources":["webpack:///./src/pages/projects/index.js"],"names":["query","Projects","props","projects","data","allMarkdownRemark","edges","bodyClass","title","className","map","edge","key","node","frontmatter","path","to","excerpt"],"mappings":"2FAAA,0GAwCaA,EAAK,aAmBHC,UAtDE,SAACC,GAChB,IAAMC,EAAWD,EAAME,KAAKC,kBAAkBC,MAC9C,OACE,kBAAC,IAAD,CAAQC,UAAU,iBAChB,kBAAC,IAAD,CAAKC,MAAM,aACX,yBAAKC,UAAU,SACb,yBAAKA,UAAU,aACb,yBAAKA,UAAU,OACb,yBAAKA,UAAU,UACb,4CAMR,yBAAKA,UAAU,kBACb,yBAAKA,UAAU,OACZN,EAASO,KAAI,SAAAC,GAAI,OAChB,yBAAKC,IAAKD,EAAKE,KAAKC,YAAYC,KAAMN,UAAU,wBAC9C,yBAAKA,UAAU,+BACb,yBAAKA,UAAU,gBACb,4BACE,kBAAC,IAAD,CAAMO,GAAIL,EAAKE,KAAKC,YAAYC,MAAOJ,EAAKE,KAAKC,YAAYN,QAE/D,2BAAIG,EAAKE,KAAKI","file":"component---src-pages-projects-index-js-a551a507d0667a4c5480.js","sourcesContent":["import React from 'react';\nimport { Link, graphql } from 'gatsby';\nimport SEO from '../../components/SEO';\nimport Layout from '../../layouts/index';\n\nconst Projects = (props) => {\n const projects = props.data.allMarkdownRemark.edges;\n return (\n <Layout bodyClass=\"page-services\">\n <SEO title=\"Projects\" />\n <div className=\"intro\">\n <div className=\"container\">\n <div className=\"row\">\n <div className=\"col-12\">\n <h1>Projects</h1>\n </div>\n </div>\n </div>\n </div>\n\n <div className=\"container pb-6\">\n <div className=\"row\">\n {projects.map(edge => (\n <div key={edge.node.frontmatter.path} className=\"col-12 col-md-4 mb-1\">\n <div className=\"card service service-teaser\">\n <div className=\"card-content\">\n <h2>\n <Link to={edge.node.frontmatter.path}>{edge.node.frontmatter.title}</Link>\n </h2>\n <p>{edge.node.excerpt}</p>\n </div>\n </div>\n </div>\n ))}\n </div>\n </div>\n </Layout>\n );\n};\n\nexport const query = graphql`\n query ProjectsQuery {\n allMarkdownRemark(\n filter: { fileAbsolutePath: { regex: \"/projects/\" } }\n sort: { fields: [frontmatter___title], order: DESC }\n ) {\n edges {\n node {\n excerpt\n frontmatter {\n title\n path\n }\n }\n }\n }\n }\n`;\n\nexport default Projects;\n"],"sourceRoot":""}