cmux/web/app/blog/page.tsx
Lawrence Chen f970cdcf33 Add docs, blog, community pages and polish landing page layout
- Add docs pages (getting-started, changelog, keyboard-shortcuts)
- Add blog, community, and legal pages (privacy, terms, EULA)
- Add site header, footer, download button, and nav components
- Add sitemap and robots.txt generation
- Narrow main page container (max-w-2xl), fix footer positioning
- Switch README feature list to colon style
2026-02-09 23:38:05 -08:00

41 lines
1 KiB
TypeScript

import type { Metadata } from "next";
import Link from "next/link";
export const metadata: Metadata = {
title: "Blog",
description: "News and updates from the cmux team",
};
const posts = [
{
slug: "introducing-cmux",
title: "Introducing cmux",
date: "2025-06-01",
summary:
"A native macOS terminal built on Ghostty, designed for running multiple AI coding agents side by side.",
},
];
export default function BlogPage() {
return (
<>
<h1>Blog</h1>
<div className="space-y-8 mt-6">
{posts.map((post) => (
<article key={post.slug}>
<Link
href={`/blog/${post.slug}`}
className="block group"
>
<h2 className="text-lg font-medium group-hover:underline">
{post.title}
</h2>
<time className="text-sm text-muted">{post.date}</time>
<p className="mt-1 text-muted">{post.summary}</p>
</Link>
</article>
))}
</div>
</>
);
}