diff --git a/src/homepage/PrototypesPage.js b/src/homepage/PrototypesPage.js new file mode 100644 index 0000000..07037be --- /dev/null +++ b/src/homepage/PrototypesPage.js @@ -0,0 +1,39 @@ +// @flow + +import stringify from "json-stable-stringify"; +import React, {type ComponentType} from "react"; + +import type {RepoIdRegistry} from "../explorer/repoIdRegistry"; +import Link from "../webutil/Link"; +import type {Assets} from "../webutil/assets"; + +export default function makePrototypesPage( + registry: RepoIdRegistry +): ComponentType<{|+assets: Assets|}> { + return class PrototypesPage extends React.Component<{|+assets: Assets|}> { + render() { + return ( +
+

Select a project:

+ +
+ ); + } + }; +} diff --git a/src/homepage/routeData.js b/src/homepage/routeData.js index 0ed964c..32d3eb6 100644 --- a/src/homepage/routeData.js +++ b/src/homepage/routeData.js @@ -34,6 +34,15 @@ const routeData /*: $ReadOnlyArray */ = [ title: "SourceCred", navTitle: "Home", }, + { + path: "/prototypes/", + contents: { + type: "PAGE", + component: () => require("./PrototypesPage").default([]), + }, + title: "SourceCred prototypes", + navTitle: null, // for now + }, { path: "/prototype/", contents: {