From deacf5991abfb777aae7823a8e7e352fbefdabd0 Mon Sep 17 00:00:00 2001 From: Jay V Date: Mon, 26 May 2025 16:36:30 -0400 Subject: Adding share page --- www/src/components/Header.astro | 57 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 www/src/components/Header.astro (limited to 'www/src/components/Header.astro') diff --git a/www/src/components/Header.astro b/www/src/components/Header.astro new file mode 100644 index 000000000..85cdc2ea5 --- /dev/null +++ b/www/src/components/Header.astro @@ -0,0 +1,57 @@ +--- +import config from 'virtual:starlight/user-config'; +import { Icon } from '@astrojs/starlight/components'; +import { HeaderLinks } from 'toolbeam-docs-theme/components'; +import Default from 'toolbeam-docs-theme/overrides/Header.astro'; +import SiteTitle from '@astrojs/starlight/components/SiteTitle.astro'; + +const path = Astro.url.pathname; + +const links = config.social || []; +--- + +{ path.startsWith("/share/") + ?
+
+ +
+
+ +
+
+ : +} + + + -- cgit v1.2.3