diff --git a/astro.config.mjs b/astro.config.mjs
index b37627f..377f4df 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -1,9 +1,11 @@
-import { defineConfig } from 'astro/config';
+import {defineConfig} from 'astro/config';
import tailwind from '@astrojs/tailwind';
import react from '@astrojs/react';
import image from '@astrojs/image';
+import sitemap from "@astrojs/sitemap";
// https://astro.build/config
export default defineConfig({
- integrations: [tailwind({ config: { applyBaseStyles: false } }), image(), react()],
+ site: "https://web3extension.io",
+ integrations: [tailwind({config: {applyBaseStyles: false}}), image(), react(), sitemap()],
});
diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json
index bb22609..f818b1f 100644
--- a/npm-shrinkwrap.json
+++ b/npm-shrinkwrap.json
@@ -10,11 +10,13 @@
"dependencies": {
"@astrojs/image": "^0.16.6",
"@astrojs/react": "^2.1.1",
+ "@astrojs/sitemap": "^2.0.2",
"@astrojs/tailwind": "^3.1.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^10.0.4",
"@semantic-release/release-notes-generator": "^11.0.4",
+ "add": "^2.0.6",
"astro": "^2.3.2",
"autoprefixer": "^10.4.14",
"sass": "^1.62.1",
@@ -151,6 +153,15 @@
"react-dom": "^17.0.2 || ^18.0.0"
}
},
+ "node_modules/@astrojs/sitemap": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/@astrojs/sitemap/-/sitemap-2.0.2.tgz",
+ "integrity": "sha512-dFWtdFwN8kxDiqIxF8T8ODqsUr6hG+EQlFEqm+3oQkhAkucF9QkYLM5Q72mEbYytkL4jvKyHbW1u10T5sWBZew==",
+ "dependencies": {
+ "sitemap": "^7.1.1",
+ "zod": "^3.17.3"
+ }
+ },
"node_modules/@astrojs/tailwind": {
"version": "3.1.3",
"license": "MIT",
@@ -1289,6 +1300,11 @@
"@types/unist": "*"
}
},
+ "node_modules/@types/node": {
+ "version": "17.0.45",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz",
+ "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw=="
+ },
"node_modules/@types/normalize-package-data": {
"version": "2.4.1",
"resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz",
@@ -1325,6 +1341,14 @@
"version": "1.20.2",
"license": "MIT"
},
+ "node_modules/@types/sax": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@types/sax/-/sax-1.2.4.tgz",
+ "integrity": "sha512-pSAff4IAxJjfAXUG6tFkO7dsSbTmf8CtUpfhhZ5VhkRpC4628tJhh3+V6H1E+/Gs9piSzYKT5yzHO5M4GG9jkw==",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
"node_modules/@types/scheduler": {
"version": "0.16.3",
"license": "MIT",
@@ -1367,6 +1391,11 @@
"node": ">=0.4.0"
}
},
+ "node_modules/add": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/add/-/add-2.0.6.tgz",
+ "integrity": "sha512-j5QzrmsokwWWp6kUcJQySpbG+xfOBqqKnup3OIk1pz+kB/80SLorZ9V8zHFLO92Lcd+hbvq8bT+zOGoPkmBV0Q=="
+ },
"node_modules/agent-base": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz",
@@ -9680,6 +9709,11 @@
"suf-log": "^2.5.3"
}
},
+ "node_modules/sax": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
+ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
+ },
"node_modules/scheduler": {
"version": "0.23.0",
"license": "MIT",
@@ -10018,6 +10052,24 @@
"version": "1.0.5",
"license": "MIT"
},
+ "node_modules/sitemap": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/sitemap/-/sitemap-7.1.1.tgz",
+ "integrity": "sha512-mK3aFtjz4VdJN0igpIJrinf3EO8U8mxOPsTBzSsy06UtjZQJ3YY3o3Xa7zSc5nMqcMrRwlChHZ18Kxg0caiPBg==",
+ "dependencies": {
+ "@types/node": "^17.0.5",
+ "@types/sax": "^1.2.1",
+ "arg": "^5.0.0",
+ "sax": "^1.2.4"
+ },
+ "bin": {
+ "sitemap": "dist/cli.js"
+ },
+ "engines": {
+ "node": ">=12.0.0",
+ "npm": ">=5.6.0"
+ }
+ },
"node_modules/slash": {
"version": "4.0.0",
"license": "MIT",
diff --git a/package.json b/package.json
index 0cedd95..9b6ef44 100644
--- a/package.json
+++ b/package.json
@@ -18,15 +18,17 @@
"dependencies": {
"@astrojs/image": "^0.16.6",
"@astrojs/react": "^2.1.1",
+ "@astrojs/sitemap": "^2.0.2",
"@astrojs/tailwind": "^3.1.1",
- "astro": "^2.3.2",
- "autoprefixer": "^10.4.14",
- "sass": "^1.62.1",
- "tailwindcss": "^3.3.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^10.0.4",
"@semantic-release/release-notes-generator": "^11.0.4",
- "semantic-release": "^21.0.7"
+ "add": "^2.0.6",
+ "astro": "^2.3.2",
+ "autoprefixer": "^10.4.14",
+ "sass": "^1.62.1",
+ "semantic-release": "^21.0.7",
+ "tailwindcss": "^3.3.2"
}
}
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 59791b6..990cc0c 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -38,6 +38,7 @@ const url = "https://web3extension.io";
+