update matomo link #59

Merged
mik-tf merged 2 commits from main_matomo into main 2025-01-28 16:33:13 +00:00
Showing only changes of commit 1da2e9b580 - Show all commits

View File

@ -48,15 +48,32 @@ const config: Config = {
themes: ['@docusaurus/theme-mermaid'],
scripts: [
{
src:
'/js/crisp.js',
src: '/js/crisp.js', // Keep this for Crisp script
async: false,
},
],
themeConfig: {
injectHtmlTags: {
headTags: [
{
tagName: 'script',
innerHTML: `
var _paq = window._paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.threefold.io/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '20']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
`,
},
],
},
algolia: {
appId: 'ARAM4VJG2D',
@ -70,12 +87,14 @@ const config: Config = {
respectPrefersColorScheme: false,
},
image: 'img/tf_graph.png',
metadata: [
{ name: 'description', content: 'ThreeFold is laying the foundation for Web4, the next generation of the Internet.' },
{ property: 'og:image', content: 'https://docs.threefold.io/img/tf_graph.png' },
{ property: 'og:description', content: 'ThreeFold is laying the foundation for Web4, the next generation of the Internet.' },
{ property: 'og:title', content: 'Introduction | ThreeFold Docs' },
],
metadata: [
{ name: 'description', content: 'ThreeFold is laying the foundation for Web4, the next generation of the Internet.' },
{ property: 'og:image', content: 'https://docs.threefold.io/img/tf_graph.png' },
{ property: 'og:description', content: 'ThreeFold is laying the foundation for Web4, the next generation of the Internet.' },
{ property: 'og:title', content: 'Introduction | ThreeFold Docs' },
],
navbar: {
title: '',
logo: {
@ -102,96 +121,50 @@ const config: Config = {
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Introduction',
to: '/docs/introduction',
},
{
label: 'Litepaper',
to: '/docs/litepaper',
},
{
label: 'Roadmap',
to: '/docs/roadmap',
},
{
label: 'Manual',
href: 'https://manual.grid.tf/',
},
{ label: 'Introduction', to: '/docs/introduction' },
{ label: 'Litepaper', to: '/docs/litepaper' },
{ label: 'Roadmap', to: '/docs/roadmap' },
{ label: 'Manual', href: 'https://manual.grid.tf/' },
],
},
{
title: 'Features',
items: [
{
label: 'Become a Farmer',
to: '/docs/category/become-a-farmer',
},
{
label: 'Components',
to: '/docs/category/components',
},
{
label: 'Technology',
to: '/docs/tech',
},
{
label: 'Tokenomics',
to: '/docs/tokens/tokenomics',
},
{ label: 'Become a Farmer', to: '/docs/category/become-a-farmer' },
{ label: 'Components', to: '/docs/category/components' },
{ label: 'Technology', to: '/docs/tech' },
{ label: 'Tokenomics', to: '/docs/tokens/tokenomics' },
],
},
{
title: 'Community',
items: [
{
label: 'Telegram',
href: 'https://t.me/threefold',
},
{
label: 'X',
href: 'https://x.com/threefold_io',
},
{
label: 'Forum',
href: 'https://forum.threefold.io',
},
{
label: 'Support',
to: '/support',
},
{ label: 'Telegram', href: 'https://t.me/threefold' },
{ label: 'X', href: 'https://x.com/threefold_io' },
{ label: 'Forum', href: 'https://forum.threefold.io' },
{ label: 'Support', to: '/support' },
],
},
{
title: 'Links',
items: [
{
label: 'ThreeFold.io',
href: 'https://threefold.io',
},
{
label: 'Dashboard',
href: 'https://dashboard.grid.tf',
},
{
label: 'GitHub',
href: 'https://github.com/threefoldtech/home',
},
{
label: 'Gitea',
href: 'https://git.ourworld.tf',
},
{ label: 'ThreeFold.io', href: 'https://threefold.io' },
{ label: 'Dashboard', href: 'https://dashboard.grid.tf' },
{ label: 'GitHub', href: 'https://github.com/threefoldtech/home' },
{ label: 'Gitea', href: 'https://git.ourworld.tf' },
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} ThreeFold`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,