From 5b1ce304ed80890646a32ab52e7f8866d9ce14b4 Mon Sep 17 00:00:00 2001 From: Jibz Date: Tue, 15 Mar 2022 11:06:56 -0400 Subject: [PATCH] siteconfig and navconfig files added --- doc/src/navconfig.json | 130 ++++++++++++++++++++++++++ doc/src/siteconfig.json | 198 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 328 insertions(+) create mode 100644 doc/src/navconfig.json create mode 100644 doc/src/siteconfig.json diff --git a/doc/src/navconfig.json b/doc/src/navconfig.json new file mode 100644 index 0000000000000..8f9b29f512ed6 --- /dev/null +++ b/doc/src/navconfig.json @@ -0,0 +1,130 @@ +{ + "sideMenu": { + "title": "MAIN CONCEPTS", + "items": [ + { + "label": "Selections", + "link": "build/transactions" + }, + { + "label": "Dynamic properties", + "link": "learn/sui-compared" + }, + { + "label": "Events", + "link": "https://www.google.com/", + "external": true + } + ] + }, + "docs": { + "learn": [ + { + "label": "About Sui", + "fileName": "learn/how-sui-works" + }, + { + "label": "Terminology", + "fileName": "learn/how-sui-works" + }, + { + "label": "Why Move?", + "fileName": "learn/sui-move-diffs" + }, + { + "label": "What Makes Sui Different?", + "fileName": "learn/sui-compared" + }, + { + "title": "How Sui works", + "items": [ + { + "label": "Security", + "fileName": "learn/sui-compared" + }, + { + "label": "Storage", + "fileName": "learn/sui-compared" + }, + { + "label": "Limitations", + "fileName": "learn/sui-compared" + } + ] + }, + { + "label": "Sui White Paper", + "fileName": "learn/how-sui-works" + } + ], + "build": [ + { + "label": "Install", + "fileName": "build/authorities" + }, + { + "label": "Smart Contracts with Move", + "fileName": "build/move" + }, + { + "label": "Wallet", + "fileName": "build/wallet" + }, + { + "label": "Objects", + "fileName": "build/objects" + }, + { + "label": "Transactions", + "fileName": "build/transactions" + } + ], + "explore": [ + { + "title": "Examples", + "items": [ + { + "label": "Mint NFT with Additional Mutable Fields", + "fileName": "build/move" + }, + { + "label": "Transfer, Bundle, and Wrap NFTs", + "fileName": "explore/observability" + }, + { + "label": "Use Ethereum NFTs in Sui?", + "fileName": "sui-json" + } + ] + } + ], + + "contribute": [ + + { + "label": "Community", + "link": "https://www.google.com/", + "external": true + }, + { + "label": "Logging", + "link": "https://www.google.com/", + "external": true + }, + { + "label": "About Mysten Labs", + "link": "https://www.google.com/", + "external": true + }, + { + "label": "Contributing to Sui", + "link": "https://www.google.com/", + "external": true + }, + { + "label": "Code of Conduct", + "fileName": "contribute/code-of-conduct" + } + ] + } +} diff --git a/doc/src/siteconfig.json b/doc/src/siteconfig.json new file mode 100644 index 0000000000000..891a9be6930ff --- /dev/null +++ b/doc/src/siteconfig.json @@ -0,0 +1,198 @@ +{ + "title": "Sui Developer Portal", + "tagline": "Welcome to Sui, a next generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by Move", + "URL": "https://devportal-30dd0.web.app/", + "baseUrl": "/", + "favIcon": "/favicon2.png", + "organizationName": "Mysten Labs", + "projectName": "Dev Portal", + + "footerData": { + "copyRight": "©2022 Copyright Sui. All rights reserved.", + "privacyPolicy": { + "label": "Privacy Policy", + "link": "#" + }, + "terms": { + "label": "Terms of Service", + "link": "#" + }, + "menu": [{ + "title": "Docs", + "listItems": [{ + "title": "Getting Started", + "link": "/learn/sui-move-diffs/" + }, + { + "title": "SDK Reference", + "link": "/learn/sui-move-diffs/" + }, + { + "title": "Prototypes", + "link": "/learn/sui-move-diffs/" + } + ] + }, + { + "title": "Community", + "listItems": [{ + "title": "Discord", + "link": "https://discord.com/invite/Tcfn7UdmAc", + "external": true + }, + { + "title": "Twiter", + "link": "https://twitter.com/mysten_labs/", + "external": true + }, + { + "title": "Forum", + "link": "https://medium.com/mysten-labs/", + "external": true + } + ] + }, + { + "title": "More", + "listItems": [{ + "title": "GitHub", + "link": "https://github.com/MystenLabs", + "external": true + }, + { + "title": "Sui.io", + "link": "https://sui.io/", + "external": true + }, + { + "title": "White Paper", + "link": "#", + "external": true + } + ] + } + ] + }, + "headerData": { + "menu": [{ + "title": "Learn", + "link": "/learn/how-sui-works" + }, + { + "title": "Build", + "link": "/build/" + }, + { + "title": "Explore", + "link": "/explore/observability" + }, + { + "title": "Contribute", + "link": "/contribute/code-of-conduct" + }, + { + "title": "Discord", + "link": "https://discord.com/invite/Tcfn7UdmAc/", + "external": true + }, + { + "title": "Github", + "link": "https://github.com/MystenLabs", + "external": true + } + ] + }, + "HomePage": { + "title": "Sui Developer Hub", + "subTitle": "Welcome to Sui, a next generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by Move", + "partner": { + "title": "Partner Highlight", + "copy" : "See how Celo uses this copy to change this copy because this copy needs to be changed but that should be an easy fix.", + "cta" : { + "label": "Get Started", + "link": "/learn/how-sui-works", + "external": false + } + }, + "cta": [{ + "name": "Getting Started", + "sublist": [{ + "name": "What makes Sui different? ->", + "url": "/learn/sui-move-diffs/" + }, + { + "name": "Wallet Quick Start ->", + "url": "/build/wallet/" + } + ] + }, + { + "name": "Learn About Sui", + "sublist": [{ + "name": "What makes Sui different? ->", + "url": "/learn/sui-move-diffs/" + }, + { + "name": "Wallet Quick Start ->", + "url": "/build/wallet/" + } + ] + }, + { + "name": "Demos", + "sublist": [{ + "name": "What makes Sui different? ->", + "url": "/learn/sui-move-diffs/" + }, + { + "name": "Create a Wallet ->", + "url": "/build/wallet/" + } + ] + }, + { + "name": "Explore Prototypes", + "sublist": [{ + "name": "Explore ->", + "url": "/" + } ] + }, + { + "name": "Build with Examples", + "sublist": [{ + "name": "Mint a Mutable NFT ->", + "url": "/learn/sui-move-diffs/" + }, + { + "name": "Gaming-related Example ->", + "url": "/build/wallet/" + } + ] + }, + { + "name": "Join the Community", + "sublist": [{ + "name": "Github", + "url": "/learn/sui-move-diffs/", + "external": true + }, + { + "name": "Discord", + "url": "/build/wallet/", + "external": true + }, + { + "name": "Twitter", + "url": "/build/wallet/", + "external": true + }, + { + "name": "Medium", + "url": "/build/wallet/", + "external": true + } + ] + } + ] + } +}