diff --git a/src/data/docsSidebarLinks.js b/src/data/docsSidebarLinks.js new file mode 100644 index 0000000..3cc692c --- /dev/null +++ b/src/data/docsSidebarLinks.js @@ -0,0 +1,10 @@ +export const anchorLinks = [ + { + title: "Accessing Data", + url: "#accessing-data", + }, + { + title: "Bulk Downloads", + url: "#bulk-downloads", + }, +]; diff --git a/src/docs/index.html b/src/docs/index.html new file mode 100644 index 0000000..7231393 --- /dev/null +++ b/src/docs/index.html @@ -0,0 +1,22 @@ + + + + Documentation | Caselaw Access Project + + + + + + + + + + + + + + + + + + diff --git a/src/templates/cap-docs-page.js b/src/templates/cap-docs-page.js new file mode 100644 index 0000000..a91dfd9 --- /dev/null +++ b/src/templates/cap-docs-page.js @@ -0,0 +1,46 @@ +import { LitElement, html } from "../lib/lit.js"; +import "../components/cap-nav.js"; +import "../components/cap-page-header.js"; +import "../components/cap-footer.js"; +import "../components/cap-anchor-list.js"; +import { anchorLinks } from "../data/docsSidebarLinks.js"; + +export class CapDocsPage extends LitElement { + // Turn Shadow DOM off + // Generally discouraged: https://lit.dev/docs/components/shadow-dom/#implementing-createrenderroot + createRenderRoot() { + return this; + } + + render() { + return html` + +
+
+ +

+ Welcome to the Caselaw Access Project Documentation. Here you'll + find some documentation about our project, organization, data, and + site. +

+
+
+ +
+

Accessing Data

+

+ [We will put some documentation content about accessing data here.] +

+

Bulk Downloads

+

+ [We will put some documentation content about bulk downloads here.] +

+
+
+ + `; + } +} +customElements.define("cap-docs-page", CapDocsPage);