diff options
| author | Jay V <[email protected]> | 2025-05-26 17:25:06 -0400 |
|---|---|---|
| committer | Jay V <[email protected]> | 2025-05-26 17:25:12 -0400 |
| commit | 66b18959ebc7b699a74ce69d3adfb4c4dcaa5fd1 (patch) | |
| tree | 5ef9340b1c496076dd1e12156fdc35c3f3c35933 /app/packages/web/src/pages | |
| parent | deacf5991abfb777aae7823a8e7e352fbefdabd0 (diff) | |
| download | opencode-66b18959ebc7b699a74ce69d3adfb4c4dcaa5fd1.tar.gz opencode-66b18959ebc7b699a74ce69d3adfb4c4dcaa5fd1.zip | |
Merging docs and share app
Diffstat (limited to 'app/packages/web/src/pages')
| -rw-r--r-- | app/packages/web/src/pages/share/index.astro | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app/packages/web/src/pages/share/index.astro b/app/packages/web/src/pages/share/index.astro new file mode 100644 index 000000000..f8364b616 --- /dev/null +++ b/app/packages/web/src/pages/share/index.astro @@ -0,0 +1,39 @@ +--- +import config from "virtual:starlight/user-config"; + +import StarlightPage from '@astrojs/starlight/components/StarlightPage.astro'; +import Share from "../../components/Share.tsx"; + +// export const prerender = false; + +const { id } = Astro.params; +console.log(Astro.url); +console.log(import.meta.env.VITE_API_URL); + +//export function getStaticPaths() { +// return [ +// { params: { slug: undefined }} +// ]; +//} +--- + +<StarlightPage + hasSidebar={false} + frontmatter={{ + title: "Share", + pageFind: false, + template: "splash", + tableOfContents: false, + }} +> + <Share id={id} api={import.meta.env.VITE_API_URL} client:only="solid" /> +</StarlightPage> + +<style is:global> +body > .page > .main-frame .main-pane > main > .content-panel:first-of-type { + display: none; +} +body > .page > .main-frame .main-pane > main > .content-panel + .content-panel { + border-top: none; +} +</style> |
