Compare commits

..

2 commits

Author SHA1 Message Date
n8fr8
3c79172a68 attempt to add matomo tracking 2026-04-24 09:19:49 -04:00
n8fr8
f61f69f087 update navbar localization for es 2026-04-24 09:19:41 -04:00
4 changed files with 28 additions and 0 deletions

View file

@ -70,6 +70,10 @@ const config: Config = {
colorMode: {
respectPrefersColorScheme: true,
},
matomo: {
matomoUrl: 'https://metrics.cleaninsights.org/', // Your Matomo URL
siteId: '20', // Your Site ID (e.g., '1')
},
navbar: {
title: 'Butter',
logo: {
@ -148,4 +152,5 @@ const config: Config = {
} satisfies Preset.ThemeConfig,
};
export default config;

View file

@ -11,6 +11,10 @@
"message": "Cómo usar",
"description": "Navbar item with label How To"
},
"item.label.Get Started": {
"message": "Empezar",
"description": "Navbar item with label How To"
},
"item.label.Get In Touch": {
"message": "Ponte en contacto",
"description": "Navbar item with label Get In Touch"
@ -19,6 +23,10 @@
"message": "Noticias",
"description": "Navbar item with label Blog"
},
"item.label.Latest News": {
"message": "Noticias",
"description": "Navbar item with label Blog"
},
"item.label.Content Packs": {
"message": "Paquetes de contenido",
"description": "Navbar item with label Content Packs"

14
www/package-lock.json generated
View file

@ -13,6 +13,7 @@
"@docusaurus/preset-classic": "3.10.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"docusaurus-plugin-matomo": "^0.0.8",
"prism-react-renderer": "^2.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
@ -3467,6 +3468,7 @@
"resolved": "https://registry.npmjs.org/@docusaurus/core/-/core-3.10.0.tgz",
"integrity": "sha512-mgLdQsO8xppnQZc3LPi+Mf+PkPeyxJeIx11AXAq/14fsaMefInQiMEZUUmrc7J+956G/f7MwE7tn8KZgi3iRcA==",
"license": "MIT",
"peer": true,
"dependencies": {
"@docusaurus/babel": "3.10.0",
"@docusaurus/bundler": "3.10.0",
@ -8723,6 +8725,18 @@
"node": ">=6"
}
},
"node_modules/docusaurus-plugin-matomo": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/docusaurus-plugin-matomo/-/docusaurus-plugin-matomo-0.0.8.tgz",
"integrity": "sha512-YSaDdjxI7uN1FuNLSGrQy4BmDEXwwyL6vac7GfmS7wFBLck/Ias5jHqENPBHXe36m2cYzyesGPQL1EsS9vanwA==",
"license": "MIT",
"engines": {
"node": ">=12.13.0"
},
"peerDependencies": {
"@docusaurus/core": "^2.0.0-alpha.56 || ^3.0.0"
}
},
"node_modules/dom-converter": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz",

View file

@ -20,6 +20,7 @@
"@docusaurus/preset-classic": "3.10.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"docusaurus-plugin-matomo": "^0.0.8",
"prism-react-renderer": "^2.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"