webcomponents / webcomponents.org

Home of the web components community
https://www.webcomponents.org
Apache License 2.0
363 stars 84 forks source link

Add docs layout and page #1401

Closed justinfagnani closed 1 year ago

justinfagnani commented 1 year ago

This adds a WCOPage base class for page components and runs the 11ty generated pages through slots in page components. Seems to be a promising pattern for similar code organization between server and 11ty pages.

github-actions[bot] commented 1 year ago

A live preview of this PR will be available at the URL below and will update on each commit. = The build takes ~5-10 minutes, and will 404 until finished.

https://pr1401---site-khswqo4xea-wl.a.run.app/

Warning Until our Cloud Run project is public, only authorized users can view the above URL. The easiest way to view it authenticated is to run the following proxy command and visit http://localhost:5453

(gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr1401 --port=5453 site \
& gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr1401 --port=6453 catalog)
justinfagnani commented 1 year ago

@aomarks this is ready for review now. It doesn't add docs, just a stand-in page to see the shell layout.