import * as React from "react"
import { Link as GatsbyLink, graphql } from "gatsby"
import Bio from "../components/bio"
import Layout from "../components/layout"
import Seo from "../components/seo"
import { Box, Button, Link, List, ListItem, ListItemButton, ListItemIcon, ListItemText, Stack, Typography } from "@mui/material"
import EastIcon from '@mui/icons-material/East'
const serviceMenu = [
{ label: "Support", path: "/" },
{ label: "Website development", path: "/" },
{ label: "Custom development", path: "/" },
{ label: "Training", path: "/" },
{ label: "Etc Whatever U Want", path: "/" },
]
const coreValues = [
{ label: "Sustainability", path: "/"},
{ label: "Privacy", path: "/"},
{ label: "Transparency", path: "/"},
]
const BlogIndex = ({ data, location }) => {
const siteTitle = data.site.siteMetadata?.title || `Title`
const posts = data.allMarkdownRemark.nodes
if (posts.length === 0) {
return (
No blog posts found. Add markdown posts to "content/blog" (or the
directory you specified for the "gatsby-source-filesystem" plugin in
gatsby-config.js).
)
}
return (
Autonomic is a co-operative that is owned and run by its workers
What we offer
{serviceMenu.map(({ label, path }) => (
))}
Interested? Work with us
We build technologies and infrastructure to empower users to make a
positive impact on the world. All of our services reflect our commitment
to our core values:
{coreValues.map(({ label, path }) => (
))}
You can consult our expanded list of values{" "}
here
.
{/* */}
{/*
{posts.map(post => {
const title = post.frontmatter.title || post.fields.slug
return (
{title}
{post.frontmatter.date}
)
})}
*/}
)
}
export default BlogIndex
/**
* Head export to define metadata for the page
*
* See: https://www.gatsbyjs.com/docs/reference/built-in-components/gatsby-head/
*/
export const Head = () =>
export const pageQuery = graphql`
{
site {
siteMetadata {
title
}
}
allMarkdownRemark(sort: { frontmatter: { date: DESC } }) {
nodes {
excerpt
fields {
slug
}
frontmatter {
date(formatString: "MMMM DD, YYYY")
title
description
}
}
}
}
`