diff --git a/site/package-lock.json b/site/package-lock.json index 066ae36be6..d217a34891 100644 --- a/site/package-lock.json +++ b/site/package-lock.json @@ -12,6 +12,9 @@ "@tailwindcss/vite": "^4.0.0", "astro": "^6.0.4", "tailwindcss": "^4.0.0" + }, + "devDependencies": { + "@types/grecaptcha": "^3.0.9" } }, "node_modules/@astrojs/compiler": { @@ -1901,6 +1904,13 @@ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", "license": "MIT" }, + "node_modules/@types/grecaptcha": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/@types/grecaptcha/-/grecaptcha-3.0.9.tgz", + "integrity": "sha512-fFxMtjAvXXMYTzDFK5NpcVB7WHnrHVLl00QzEGpuFxSAC789io6M+vjcn+g5FTEamIJtJr/IHkCDsqvJxeWDyw==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/hast": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", diff --git a/site/package.json b/site/package.json index d5170c2266..aff9882de9 100644 --- a/site/package.json +++ b/site/package.json @@ -14,5 +14,8 @@ "@tailwindcss/vite": "^4.0.0", "astro": "^6.0.4", "tailwindcss": "^4.0.0" + }, + "devDependencies": { + "@types/grecaptcha": "^3.0.9" } } diff --git a/site/public/robots.txt b/site/public/robots.txt index b99418a18c..6efa4ae85b 100644 --- a/site/public/robots.txt +++ b/site/public/robots.txt @@ -1,4 +1,6 @@ User-agent: * Allow: / +Disallow: /_assets/ Sitemap: https://synthorg.io/sitemap-index.xml +Sitemap: https://synthorg.io/docs/sitemap.xml diff --git a/site/src/components/ContactForm.astro b/site/src/components/ContactForm.astro index 1d5f01b621..88d94612cb 100644 --- a/site/src/components/ContactForm.astro +++ b/site/src/components/ContactForm.astro @@ -1,8 +1,13 @@ +--- +const recaptchaSiteKey = import.meta.env.PUBLIC_RECAPTCHA_SITE_KEY || "6LdQkossAAAAADwxZo5bt8p6az7P3M6I_8k4_ypu"; +--- +