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AU,6BAA4B,sBAAIA,UAAU,cAAa,oBACtE,uBAAKA,UAAU,kBACb,qBAAGA,UAAU,WAAWV,MAAM,kCAAkCW,KAAK,YACnE,qBAAGD,UAAU,iBAIlBqB,EACD,uBAAKrB,UAAU,OACb,uBAAKA,UAAU,aACf,uBAAKA,UAAU,YACb,gBAAC,KAAI,CAACO,GAAG,UAAUP,UAAU,6BAC3B,qBAAGA,UAAU,eAAiB,8BAQ9C,EAAC,EAxFY,CAASQ,EAAAA,WA2FxB,G","sources":["webpack://colibris-outils-libres/./src/components/CardService/index.jsx","webpack://colibris-outils-libres/./src/pages/index.js"],"sourcesContent":["import React from 'react'\nimport Link from 'gatsby-link'\nimport get from 'lodash/get'\nimport './style.scss'\n\nclass CardService extends React.Component {\n render() {\n const { site, data, isIndex } = this.props\n const title = get(data, 'frontmatter.title')\n const short = get(data, 'frontmatter.short')\n const path = get(data, 'frontmatter.path')\n const description = get(data, 'frontmatter.description')\n const color = get(data, 'frontmatter.color')\n const image = get(data, 'frontmatter.image')\n const serviceUrl = get(data, 'frontmatter.serviceUrl')\n const serviceUrlTitle = get(data, 'frontmatter.serviceUrlTitle')\n\n return (\n
\n
\n \n

{title}

\n

{short}

\n
\n \n \"image\n \n \n
\n

\n {serviceUrlTitle}\n

\n
\n
\n
\n
\n
\n
\n {description}\n
\n \n En savoir +\n \n
\n
\n
\n )\n }\n}\n\nexport default CardService\n","import React from \"react\"\nimport Layout from \"../components/layout\"\nimport Link from 'gatsby-link'\nimport get from 'lodash/get'\nimport Helmet from 'react-helmet'\nimport LazyLoad from 'react-lazyload'\nimport { graphql } from \"gatsby\"\nimport CardPost from '../components/CardPost'\nimport CardService from '../components/CardService'\n\nclass HomeIndex extends React.Component {\n render() {\n const site = get(this, 'props.data.site.siteMetadata')\n const posts = get(this, 'props.data.remark.posts')\n const services = get(this, 'props.data.services.posts')\n\n // Tous les services libres\n const cardServices = []\n services.forEach((data, i) => {\n cardServices.push(\n \n \n \n )\n })\n\n // Les 3 derniers articles\n const cardPosts = []\n posts.forEach((data, i) => {\n const layout = get(data, 'post.frontmatter.layout')\n const path = get(data, 'post.path')\n if (layout === 'post' && path !== '/404/') {\n cardPosts.push(\n \n \n \n )\n }\n })\n\n return (\n \n \n
\n
\n
\n

Organisons-nous

\n

et collaborons autrement !

\n
\n
\n
Outils Libres Colibris :
\n Des services web libres,
\n décentralisés, et qui respectent votre vie privée.\n
\n
\n
\n
\n
\n {cardServices}\n
\n
\n
\n
\n
\n

Dernières actus

\n
\n \n \n \n
\n
\n {cardPosts}\n
\n
\n
\n \n Toutes les actualités\n \n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default HomeIndex\n\nexport const pageQuery = graphql`\n query IndexQuery {\n site {\n siteMetadata {\n title\n description\n url: siteUrl\n author\n twitter\n }\n }\n remark: allMarkdownRemark(\n limit:3,\n filter: {\n frontmatter:{\n type:{eq : \"blog\"}\n }\n },\n sort: {\n fields: [frontmatter___date],\n order: DESC\n }\n ){\n posts: edges {\n post: node {\n fileAbsolutePath\n html\n excerpt(pruneLength: 300)\n frontmatter {\n layout\n title\n path\n categories\n date(formatString: \"DD.MM.YYYY\")\n type\n image {\n childImageSharp {\n fixed(width: 600, height: 338) {\n ...GatsbyImageSharpFixed\n }\n }\n }\n description\n serviceUrl\n serviceUrlTitle\n }\n }\n }\n }\n services: allMarkdownRemark(filter: {\n frontmatter:{\n type:{eq : \"services\"}\n }\n },\n sort: {\n fields: [fileAbsolutePath],\n order: ASC\n }) {\n posts: edges {\n post: node {\n fileAbsolutePath\n html\n excerpt(pruneLength: 300)\n frontmatter {\n layout\n title\n short\n path\n color\n image {\n publicURL\n }\n description\n serviceUrl\n serviceUrlTitle\n }\n }\n }\n }\n }\n`"],"names":["CardService","render","this","props","data","site","title","isIndex","get","short","path","description","color","image","serviceUrl","serviceUrlTitle","className","href","style","backgroundColor","src","publicURL","alt","to","React","HomeIndex","posts","services","cardServices","forEach","i","push","height","offset","once","key","post","cardPosts","layout","CardPost","location","Helmet","meta","name","content","property"],"sourceRoot":""}