<commit_before>import * as React from "react"
import { graphql, PageProps } from "gatsby"
import { Container, SimpleGrid, Link, Button } from '@chakra-ui/react'
import Layout from "../components/layout"
import Seo from "../components/seo"
import Card from "../components/card"
import Hero from "../components/hero"
import { GetWritingPageDataQuery } from "../../graphql-types"

const BlogIndex: React.FC<PageProps<GetWritingPageDataQuery>> = ({ data }) => {
  const posts = data.allMdx.nodes

  return (
    <Layout>
      <Seo title="All posts" />
      <Hero
        heading="Writing"
        subheading="Collection of thoughts and some more text to expand on this paragraph.">
        <Button as={Link} href="/rss.xml" mt={2} fontWeight="semibold">RSS</Button>
      </Hero>
      <Container maxW="container.lg" py={[4, 10]}>
        <SimpleGrid columns={[1, null, 2]} spacing={5} justifyItems="center">
          {posts.map(post => (
            <Card<commit_msg>Update writing page into content<commit_after>import * as React from "react"
import { graphql, PageProps } from "gatsby"
import { Container, SimpleGrid, Link, Button } from '@chakra-ui/react'
import Layout from "../components/layout"
import Seo from "../components/seo"
import Card from "../components/card"
import Hero from "../components/hero"
import { GetWritingPageDataQuery } from "../../graphql-types"

const BlogIndex: React.FC<PageProps<GetWritingPageDataQuery>> = ({ data }) => {
  const posts = data.allMdx.nodes

  return (
    <Layout>
      <Seo title="All posts" />
      <Hero
        heading="Writing"
        subheading="Articles about things that are interesting to me, maybe to you too.">
        <Button as={Link} href="/rss.xml" mt={2} fontWeight="semibold">RSS</Button>
      </Hero>
      <Container maxW="container.lg" py={[4, 10]}>
        <SimpleGrid columns={[1, null, 2]} spacing={5} justifyItems="center">
          {posts.map(post => (
            <Card
{'fraction_non_alphanumeric': 0.15128205128205127, 'fraction_numerical': 0.0071794871794871795, 'mean_word_length': 3.364653243847875, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1267643', 'n_tokens_mistral': 595, 'n_tokens_neox': 578, 'n_words': 165}