import React from 'react'
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
import {Card} from '@/components/ui/Card'
import {Views} from '@/components/ui/Views'
import {formatDate} from '@/lib/formatDate'
import {getAllArticles} from '@/lib/getAllArticles'
import {generateMetadata as _generateMetadata} from '@/lib/generateMetadata'
import type {Article} from '@/types'
const meta = {
title: 'Writing',
heading: 'Writing on software engineering, and everything in between.',
description: 'All of my long-form thoughts on software engineering, and more, displayed in chronological order.',
type: 'website'
}
export async function generateMetadata() {
return _generateMetadata(meta)
}
function Article({article}: { article: Article }) {
return (
{article.title}