diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..99f2846 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "deno.enable": true, + "deno.lint": true, + "deno.unstable": false +} diff --git a/README.md b/README.md index 33f6cb9..5c4eeea 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # www -The website for this community group + +The website for this community group. diff --git a/data/work.json b/data/work.json index 87ce9cd..7e1efcb 100644 --- a/data/work.json +++ b/data/work.json @@ -1,12 +1,14 @@ [ { "name": "Common Minimum API", - "description": "The minimal collection of Web Platform APIs that ought to be implemented by Web-interoperable runtimes", - "repo": "proposal-common-minimum-api" + "description": "The minimal collection of Web Platform APIs that ought to be implemented by Web-interoperable runtimes.", + "repo": "proposal-common-minimum-api", + "specification": "https://proposal-common-min-api.deno.dev" }, { "name": "Web Crypto Streams", - "description": "A proposal to define streaming support in Web Crypto APIs", - "repo": "proposal-webcrypto-streams" + "description": "A proposal to define streaming support in the Web Crypto API.", + "repo": "proposal-webcrypto-streams", + "specification": "https://proposal-webcrypto-streams.deno.dev" } ] diff --git a/main.jsx b/main.jsx new file mode 100755 index 0000000..506fa8b --- /dev/null +++ b/main.jsx @@ -0,0 +1,226 @@ +#!/usr/bin/env -S deno run --no-check --watch=data/ --allow-read --allow-net + +/** @jsx h */ +/** @jsxFrag Fragment */ +import { serve } from "https://deno.land/std@0.135.0/http/server.ts"; +import { serveDir } from "https://deno.land/std@0.135.0/http/file_server.ts"; +import { h, ssr } from "https://crux.land/nanossr@0.0.4"; + +import work from "./data/work.json" assert { type: "json" }; + +function Home() { + return ( + +
+ +

+ {/* TODO: import text from ./data/intro.md */} + This community group aims to provide a space for JS runtimes to + collaborate on API interoperability. We focus on documenting and + improving interoperability of web platform APIs across runtimes + (especially non-Browser ones). This is done through discussions between + runtimes, proposals for new and existing web APIs in existing + specification venues (WHATWG, W3C), and documentation of existing + runtime behaviours.{" "} + + Learn more. + +

+ +