This is an automated email from the ASF dual-hosted git repository. leonardcs pushed a commit to branch feature/styles in repository https://gitbox.apache.org/repos/asf/incubator-baremaps-site.git
commit 509cdb2eeaa2e12868c0a5b9693081123b67b033 Author: Leonard <[email protected]> AuthorDate: Tue Jul 4 10:47:19 2023 +0200 Add map page --- src/pages/_meta.json | 9 +++++++++ src/pages/map.mdx | 15 +++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/src/pages/_meta.json b/src/pages/_meta.json index 201da86..edc3447 100644 --- a/src/pages/_meta.json +++ b/src/pages/_meta.json @@ -7,6 +7,15 @@ "layout": "raw" } }, + "map": { + "type": "page", + "title": "Map", + "display": "hidden", + "theme": { + "layout": "raw", + "footer": false + } + }, "download": { "title": "Download", "type": "page" diff --git a/src/pages/map.mdx b/src/pages/map.mdx new file mode 100644 index 0000000..de3ad4a --- /dev/null +++ b/src/pages/map.mdx @@ -0,0 +1,15 @@ +--- +title: Apache Baremaps +--- + +import Map from '@/components/map'; + +<div className="container"> + <Map mapOptions={{ hash: true }} styleSelect rounded={false} /> +</div> + +<style jsx>{` + .container { + height: calc(100vh - 64px); /* 64px is the height of the navbar */ + } +`}</style>
