1import { useRouter } from "next/router";
2import { formatDate } from "../lib/lib";
3import Link from "next/link";
4import Head from "next/head";
5import Meta from "../components/Meta";
6import ErrorPage from "../pages/404";
7import Container from "./Container";
8import Header from "./Header";
9import Footer from "./Footer";
10import SingleColumn from "./SingleColumn";
11import Section from "./Section";
12import { decode } from "html-entities";
13import { DateTime } from "luxon";
15export default function GrantProgramOverview({
22 const router = useRouter();
23 if (!router.isFallback && !post?.slug) {
27 const title = program.charAt(0).toUpperCase() + program.slice(1);
31 <title>{title} • Grants • urbit.org</title>
35 <Header search={search} />
36 <Section narrow short>
38 <div className="type-ui text-wall-500 mt-4 md:mt-8 lg:mt-10">
39 Last Revision: {formatDate(DateTime.fromISO(post.date))}
41 <Link href={actionLink} passHref>
42 <a className="button-sm bg-green-400 text-white mt-8 max-w-fit">
47 <Section narrow short className="markdown">
48 <Markdown post={post} />
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list