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";
12} from "foundation-design-system";
13import Header from "./Header";
14import Footer from "./Footer";
15import { DateTime } from "luxon";
17export default function GrantProgramOverview({
25 const router = useRouter();
26 if (!router.isFallback && !post?.slug) {
30 const title = program.charAt(0).toUpperCase() + program.slice(1);
34 <title>{title} • Grants • urbit.org</title>
38 <Header search={search} />
39 <Section narrow short>
41 <div className="type-ui text-wall-500 mt-4 md:mt-8 lg:mt-10">
42 Last Revision: {formatDate(DateTime.fromISO(post.date))}
44 <Link href={actionLink} passHref>
45 <a className="button-sm bg-green-400 text-white mt-8 max-w-fit">
50 <Section narrow short className="markdown">
51 <Markdown.render content={JSON.parse(markdown)} />
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