@@ -0,0 +1,77 @@
1+import { useRouter } from "next/router";
2+import Head from "next/head";
3+import Meta from "../../../components/Meta";
4+import ErrorPage from "../../../pages/404";
11+} from "foundation-design-system";
12+import Header from "../../../components/Header";
13+import Footer from "../../../components/Footer";
14+import Post from "../../../components/ecosystem/Post";
15+import { getAllPosts, getPostBySlug } from "../../../lib/lib";
17+export default function BasicPage({ post, markdown, search, index = false }) {
18+ const router = useRouter();
19+ if (!router.isFallback && !post?.slug) {
20+ return <ErrorPage />;
25+ <title>Urbit • {post.title}</title>
28+ <IntraNav ourSite="https://urbit.org" search={search} />
32+ <h1>Ecosystem Spotlight - {post.title}</h1>
43+export async function getStaticProps({ params }) {
44+ const post = getPostBySlug(
46+ ["title", "slug", "date", "featured-1", "featured-2", "featured-3"],
47+ "ecosystem/spotlight"
49+ ["featured-1", "featured-2", "featured-3"].forEach((feat) => {
51+ post[feat].content = JSON.stringify(
53+ post: { content: post[feat].content },
64+export async function getStaticPaths() {
65+ const posts = getAllPosts(["slug", "date"], "ecosystem/spotlight", "date");
68+ paths: posts.map((post) => {