diff --git a/docusaurus.config.ts b/docusaurus.config.ts index c494f5e..d14e610 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -1,5 +1,5 @@ -import {themes as prismThemes} from 'prism-react-renderer'; -import type {Config} from '@docusaurus/types'; +import { themes as prismThemes } from 'prism-react-renderer'; +import type { Config } from '@docusaurus/types'; import type * as Preset from '@docusaurus/preset-classic'; // This runs in Node.js - Don't use client-side code here (browser APIs, JSX...) @@ -128,6 +128,11 @@ const config: Config = { label: 'Guides', position: 'left', }, + { + to: '/whitepaper', + label: 'Whitepaper', + position: 'left', + }, { href: 'https://github.com/layer-3', position: 'right', @@ -170,8 +175,8 @@ const config: Config = { to: '/docs/guides', }, { - label: 'API Reference', - to: '/docs/api-reference', + label: 'Whitepaper', + to: '/whitepaper', }, ], }, @@ -207,19 +212,19 @@ const config: Config = { defaultLanguage: 'javascript', magicComments: [ { - className: 'git-diff-remove', - line: 'remove-next-line', - block: { start: 'remove-start', end: 'remove-end' }, + className: 'git-diff-remove', + line: 'remove-next-line', + block: { start: 'remove-start', end: 'remove-end' }, }, { - className: 'git-diff-add', - line: 'add-next-line', - block: { start: 'add-start', end: 'add-end' }, + className: 'git-diff-add', + line: 'add-next-line', + block: { start: 'add-start', end: 'add-end' }, }, { - className: 'theme-code-block-highlighted-line', - line: 'highlight-next-line', - block: { start: 'highlight-start', end: 'highlight-end' }, + className: 'theme-code-block-highlighted-line', + line: 'highlight-next-line', + block: { start: 'highlight-start', end: 'highlight-end' }, }, ], }, diff --git a/src/pages/whitepaper.tsx b/src/pages/whitepaper.tsx new file mode 100644 index 0000000..e8bb581 --- /dev/null +++ b/src/pages/whitepaper.tsx @@ -0,0 +1,43 @@ +import React from 'react'; +import Layout from '@theme/Layout'; +import Link from '@docusaurus/Link'; + +export default function Whitepaper(): JSX.Element { + return ( + +
+
+
+

Yellow Network Whitepaper

+

+ Understand the risks, utilities, and compliance framework of the Yellow token. +

+ +
+
+

Yellow MiCA Whitepaper

+
+
+

+ Our whitepaper provides a comprehensive overview of the Yellow Network protocol, + tokenomics, and regulatory compliance under MiCA. +

+
+
+ + Download PDF + +
+
+
+
+
+
+ ); +}