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";
13} from "@urbit/foundation-design-system";
14import Header from "./Header";
15import Footer from "./Footer";
16import { DateTime } from "luxon";
18export default function GrantProgramOverview({
26 const router = useRouter();
27 if (!router.isFallback && !post?.slug) {
31 const title = program.charAt(0).toUpperCase() + program.slice(1);
35 <title>{title} • Grants</title>
38 <IntraNav ourSite="https://urbit.org" search={search} />
41 <Section narrow short>
43 <div className="type-ui text-wall-500 mt-4 md:mt-8 lg:mt-10">
44 Last Revision: {formatDate(DateTime.fromISO(post.date))}
46 <Link href={actionLink} passHref>
47 <a className="button-sm bg-green-400 text-white mt-8 max-w-fit">
52 <Section narrow short className="markdown">
53 <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