diff --git a/docusaurus.config.js b/docusaurus.config.js index 9aee2ae..d5a31a0 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -17,6 +17,9 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula'); plugins: [ './src/plugins/custom-tags-list-plugin.js', ], + scripts: [ + '/js/clarity.js', + ], presets: [ [ '@docusaurus/preset-classic', @@ -30,6 +33,8 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula'); docs: { sidebarPath: require.resolve('./sidebars.js'), editUrl: 'https://github.com/neo-project/neo-dev-portal//blob/master', + showLastUpdateAuthor: false, + showLastUpdateTime: false, }, blog: { routeBasePath: "tutorials", @@ -58,13 +63,17 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula'); themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ - ({ + ( + { algolia: { appId: '9XZWQJ9630', apiKey: '977b10ae6a7dbd92c6f26e6ba138e20a', indexName: 'developers-neo', debug: false }, + prism: { + additionalLanguages: ['csharp','go',], + }, colorMode: { defaultMode: 'light', disableSwitch: true diff --git a/src/pages/n3.js b/src/pages/n3.js index 238bcd5..3e5c7e4 100644 --- a/src/pages/n3.js +++ b/src/pages/n3.js @@ -13,8 +13,8 @@ export default function N3() { Compare N3 with Neo Legacy -
-
+
+ {/*
@@ -30,6 +30,14 @@ export default function N3() { +
*/} +
+ +
+
+
diff --git a/static/js/clarity.js b/static/js/clarity.js new file mode 100644 index 0000000..e26197f --- /dev/null +++ b/static/js/clarity.js @@ -0,0 +1,5 @@ +(function(c,l,a,r,i,t,y){ + c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; + t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; + y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); +})(window, document, "clarity", "script", "b0yvyq4o9y"); \ No newline at end of file diff --git a/static/n3/n3_desktop.mp4 b/static/n3/n3_desktop.mp4 new file mode 100644 index 0000000..ac7a079 Binary files /dev/null and b/static/n3/n3_desktop.mp4 differ diff --git a/static/n3/n3_mobile.gif b/static/n3/n3_mobile.gif new file mode 100644 index 0000000..fe58f04 Binary files /dev/null and b/static/n3/n3_mobile.gif differ diff --git a/static/n3/n3overview.mp4 b/static/n3/n3overview.mp4 deleted file mode 100644 index baa4e6b..0000000 Binary files a/static/n3/n3overview.mp4 and /dev/null differ