update matomo link
This commit is contained in:
parent
2f1bd37b8f
commit
1da2e9b580
@ -48,15 +48,32 @@ const config: Config = {
|
|||||||
themes: ['@docusaurus/theme-mermaid'],
|
themes: ['@docusaurus/theme-mermaid'],
|
||||||
|
|
||||||
scripts: [
|
scripts: [
|
||||||
|
|
||||||
{
|
{
|
||||||
src:
|
src: '/js/crisp.js', // Keep this for Crisp script
|
||||||
'/js/crisp.js',
|
|
||||||
async: false,
|
async: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
themeConfig: {
|
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: {
|
algolia: {
|
||||||
appId: 'ARAM4VJG2D',
|
appId: 'ARAM4VJG2D',
|
||||||
@ -70,12 +87,14 @@ const config: Config = {
|
|||||||
respectPrefersColorScheme: false,
|
respectPrefersColorScheme: false,
|
||||||
},
|
},
|
||||||
image: 'img/tf_graph.png',
|
image: 'img/tf_graph.png',
|
||||||
metadata: [
|
|
||||||
{ name: 'description', content: 'ThreeFold is laying the foundation for Web4, the next generation of the Internet.' },
|
metadata: [
|
||||||
{ property: 'og:image', content: 'https://docs.threefold.io/img/tf_graph.png' },
|
{ name: 'description', content: 'ThreeFold is laying the foundation for Web4, the next generation of the Internet.' },
|
||||||
{ property: 'og: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:title', content: 'Introduction | ThreeFold Docs' },
|
{ 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: {
|
navbar: {
|
||||||
title: '',
|
title: '',
|
||||||
logo: {
|
logo: {
|
||||||
@ -102,96 +121,50 @@ const config: Config = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
footer: {
|
footer: {
|
||||||
style: 'dark',
|
style: 'dark',
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
title: 'Docs',
|
title: 'Docs',
|
||||||
items: [
|
items: [
|
||||||
{
|
{ label: 'Introduction', to: '/docs/introduction' },
|
||||||
label: 'Introduction',
|
{ label: 'Litepaper', to: '/docs/litepaper' },
|
||||||
to: '/docs/introduction',
|
{ label: 'Roadmap', to: '/docs/roadmap' },
|
||||||
},
|
{ label: 'Manual', href: 'https://manual.grid.tf/' },
|
||||||
{
|
|
||||||
label: 'Litepaper',
|
|
||||||
to: '/docs/litepaper',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'Roadmap',
|
|
||||||
to: '/docs/roadmap',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'Manual',
|
|
||||||
href: 'https://manual.grid.tf/',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Features',
|
title: 'Features',
|
||||||
items: [
|
items: [
|
||||||
{
|
{ label: 'Become a Farmer', to: '/docs/category/become-a-farmer' },
|
||||||
label: 'Become a Farmer',
|
{ label: 'Components', to: '/docs/category/components' },
|
||||||
to: '/docs/category/become-a-farmer',
|
{ label: 'Technology', to: '/docs/tech' },
|
||||||
},
|
{ label: 'Tokenomics', to: '/docs/tokens/tokenomics' },
|
||||||
{
|
|
||||||
label: 'Components',
|
|
||||||
to: '/docs/category/components',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'Technology',
|
|
||||||
to: '/docs/tech',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'Tokenomics',
|
|
||||||
to: '/docs/tokens/tokenomics',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Community',
|
title: 'Community',
|
||||||
items: [
|
items: [
|
||||||
{
|
{ label: 'Telegram', href: 'https://t.me/threefold' },
|
||||||
label: 'Telegram',
|
{ label: 'X', href: 'https://x.com/threefold_io' },
|
||||||
href: 'https://t.me/threefold',
|
{ label: 'Forum', href: 'https://forum.threefold.io' },
|
||||||
},
|
{ label: 'Support', to: '/support' },
|
||||||
{
|
|
||||||
label: 'X',
|
|
||||||
href: 'https://x.com/threefold_io',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'Forum',
|
|
||||||
href: 'https://forum.threefold.io',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'Support',
|
|
||||||
to: '/support',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Links',
|
title: 'Links',
|
||||||
items: [
|
items: [
|
||||||
{
|
{ label: 'ThreeFold.io', href: 'https://threefold.io' },
|
||||||
label: 'ThreeFold.io',
|
{ label: 'Dashboard', href: 'https://dashboard.grid.tf' },
|
||||||
href: 'https://threefold.io',
|
{ label: 'GitHub', href: 'https://github.com/threefoldtech/home' },
|
||||||
},
|
{ label: 'Gitea', href: 'https://git.ourworld.tf' },
|
||||||
{
|
|
||||||
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`,
|
copyright: `Copyright © ${new Date().getFullYear()} ThreeFold`,
|
||||||
},
|
},
|
||||||
|
|
||||||
prism: {
|
prism: {
|
||||||
theme: prismThemes.github,
|
theme: prismThemes.github,
|
||||||
darkTheme: prismThemes.dracula,
|
darkTheme: prismThemes.dracula,
|
||||||
|
Loading…
Reference in New Issue
Block a user