Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 4 additions & 53 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,6 @@
}
},
"sidebar": {
"gettingStarted": {
"gettingStarted": "Getting Started",
"overview": "Overview",
"scrollSepoliaTestnet": "Scroll Sepolia Testnet",
"userGuide": "User Guide",
"setup": "Setup",
"faucet": "Faucet",
"bridge": "Bridge",
"transferTokens": "Transfer Tokens",
"commonErrors": "Common Errors",
"rollupExplorer": "Rollup Explorer",
"scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer",
"scrollMainnet": "Scroll Mainnet",
"scrollscan": "Scrollscan Block Explorer",
"sepoliaBlockExplorer": "Sepolia Explorer",
"community": "Community",
"discord": "Discord",
"communityForum": "Community Forum"
},
"developers": {
"developers": "Developers",
"buildingOnScroll": "Building on Scroll",
Expand Down Expand Up @@ -150,46 +131,16 @@
"security": "Security",
"auditsAndBugBounty": "Audits & Bug Bounty",
"l2BeatAssessment": "L2Beat Assessment",
"feynmanUpgrade": "Feynman Upgrade",
"euclidUpgrade": "Euclid Upgrade",
"darwinV2Upgrade": "Darwin v2 Upgrade",
"darwinUpgrade": "Darwin Upgrade",
"curieUpgrade": "Curie Upgrade",
"bernoulliUpgrade": "Bernoulli Upgrade"
},
"learn": {
"ethereumAndProtocols": "Ethereum & Protocols",
"theScalabilityProblem": "The Scalability Problem",
"introToRollups": "Intro to Rollups",
"zeroKnowledge": "Zero Knowledge",
"introToZeroKnowledge": "Intro to Zero Knowledge",
"polynomialCommitmentSchemes": "Polynomial Commitment Schemes",
"kzgCommitmentScheme": "KZG Commitment Scheme",
"additionalResources": "Additional Resources"
},
"sdk": {
"overview": "Overview",
"scrollSdk": "Scroll SDK Introduction",
"faq": "Scroll SDK FAQ",
"technicalStack": "Technical Stack",
"stackOverview": "Stack Overview",
"configuration": "Configuration",
"services": "Services",
"smartContracts": "Smart Contracts",
"proofGeneration": "Proof Generation",
"integrations": "Integrations",
"guides": "Guides",
"devnetDeployment": "Devnet Deployment",
"productionDeployment": "Production Deployment",
"digitalOcean": "Digital Ocean & ERC20 Gas Token Testnet",
"customizingSdkComponents": "Customizing SDK Components",
"awsDeployment": "AWS Deployment",
"operation": "Operating a Chain",
"contractsVerification": "Contracts Verification",
"gasAndFees": "Gas & Fee Management",
"monitoring": "Monitoring",
"security": "Security and Recovery",
"upgrades": "Upgrading",
"troubleshooting": "Troubleshooting"
"community": {
"community": "Community",
"faq": "Community FAQ"
}
},
"footer": {
Expand Down
Binary file not shown.
9 changes: 0 additions & 9 deletions src/assets/svgs/home/home-learn.svg

This file was deleted.

3 changes: 0 additions & 3 deletions src/assets/svgs/home/home-sdk.svg

This file was deleted.

26 changes: 1 addition & 25 deletions src/config/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,20 @@ type MenuItems = Record<LanguageKey, MenuItem[]>

export const MENU: MenuItems = {
en: [
{
text: "Getting Started",
link: "/en/getting-started/overview",
section: "gettingStarted",
},
{ text: "Developers", link: "/en/developers", section: "developers" },
{ text: "Technology", link: "/en/technology", section: "technology" },
{ text: "Learn", link: "/en/learn", section: "learn" },
{ text: "SDK", link: "/en/sdk", section: "sdk" },
{ text: "Community", link: "/en/community/faq", section: "community" },
],
zh: [
{
text: "入门",
link: "/zh/getting-started/overview",
section: "gettingStarted",
},
{ text: "开发者", link: "/zh/developers", section: "developers" },
{ text: "技术", link: "/zh/technology", section: "technology" },
{ text: "学习", link: "/zh/learn", section: "learn" },
],
es: [
{
text: "¿Cómo empezar?",
link: "/es/getting-started/overview",
section: "gettingStarted",
},
{ text: "Desarrolladores", link: "/es/developers", section: "developers" },
{ text: "Tecnología", link: "/es/technology", section: "technology" },
{ text: "Aprende", link: "/es/learn", section: "learn" },
],
tr: [
{
text: "Başla",
link: "/tr/getting-started/overview",
section: "gettingStarted",
},
{ text: "Geliştiriciler", link: "/tr/developers", section: "developers" },
{ text: "Teknoloji", link: "/tr/technology", section: "technology" },
{ text: "Öğren", link: "/tr/learn", section: "learn" },
],
}
210 changes: 10 additions & 200 deletions src/config/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,83 +4,12 @@ const formatUrl = (url) => `${i18next.language}/${url}`

export const getSidebar = () => {
return {
gettingStarted: [
{
section: t("sidebar.gettingStarted.gettingStarted"),
contents: [
{
title: t("sidebar.gettingStarted.overview"),
url: "getting-started/overview",
},
{
title: t("sidebar.gettingStarted.userGuide"),
url: formatUrl("user-guide/"),
children: [
{
title: t("sidebar.gettingStarted.setup"),
url: formatUrl("user-guide/setup"),
},
{
title: t("sidebar.gettingStarted.faucet"),
url: formatUrl("user-guide/faucet"),
},
{
title: t("sidebar.gettingStarted.bridge"),
url: formatUrl("user-guide/bridge"),
},
{
title: t("sidebar.gettingStarted.transferTokens"),
url: formatUrl("user-guide/transfer-tokens"),
},
{
title: t("sidebar.gettingStarted.commonErrors"),
url: formatUrl("user-guide/common-errors"),
},
],
},
],
},
{
section: t("sidebar.gettingStarted.scrollSepoliaTestnet"),
contents: [
{
title: t("sidebar.gettingStarted.scrollSepoliaBlockExplorer"),
url: "https://sepolia.scrollscan.com/",
},
{ title: t("sidebar.gettingStarted.sepoliaBlockExplorer"), url: "https://sepolia.etherscan.io/" },
{ title: t("sidebar.gettingStarted.rollupExplorer"), url: "https://sepolia.scroll.io/rollupscan" },
],
},
{
section: t("sidebar.gettingStarted.scrollMainnet"),
contents: [
{
title: t("sidebar.gettingStarted.scrollscan"),
url: "https://scrollscan.com/",
},
{ title: t("sidebar.gettingStarted.rollupExplorer"), url: "https://scroll.io/rollupscan" },
],
},
{
section: t("sidebar.gettingStarted.community"),
contents: [
{
title: t("sidebar.gettingStarted.discord"),
url: "https://discord.gg/scroll",
},
{
title: t("sidebar.gettingStarted.communityForum"),
url: "https://community.scroll.io/",
},
],
},
],
developers: [
{
section: t("sidebar.developers.developers"),
contents: [
{ title: t("sidebar.developers.buildingOnScroll"), url: formatUrl("developers") },
{ title: t("sidebar.developers.faq"), url: formatUrl("developers/faq") },
{ title: t("sidebar.developers.faq"), url: formatUrl("developers") },
{ title: t("sidebar.developers.buildingOnScroll"), url: formatUrl("developers/building-on-scroll") },
{
title: t("sidebar.developers.scrollContracts"),
url: formatUrl("developers/scroll-contracts"),
Expand Down Expand Up @@ -200,6 +129,10 @@ export const getSidebar = () => {
title: t("sidebar.technology.scrollUpgrades"),
url: formatUrl("technology/overview/scroll-upgrades"),
children: [
{
title: t("sidebar.technology.feynmanUpgrade"),
url: formatUrl("technology/overview/scroll-upgrades/feynman-upgrade"),
},
{
title: t("sidebar.technology.euclidUpgrade"),
url: formatUrl("technology/overview/scroll-upgrades/euclid-upgrade"),
Expand Down Expand Up @@ -327,136 +260,13 @@ export const getSidebar = () => {
],
},
],
learn: [
{
section: t("sidebar.learn.ethereumAndProtocols"),
contents: [
{
title: t("sidebar.learn.theScalabilityProblem"),
url: "learn/the-scalability-problem",
},
{
title: t("sidebar.learn.introToRollups"),
url: "learn/intro-to-rollups",
},
],
},
{
section: t("sidebar.learn.zeroKnowledge"),
contents: [
{
title: t("sidebar.learn.introToZeroKnowledge"),
url: formatUrl("learn/zero-knowledge/introduction-to-zero-knowledge"),
},
{
title: t("sidebar.learn.polynomialCommitmentSchemes"),
url: formatUrl("learn/zero-knowledge/polynomial-commitment-schemes"),
},
{
title: t("sidebar.learn.kzgCommitmentScheme"),
url: formatUrl("learn/zero-knowledge/kzg-commitment-scheme"),
},
{
title: t("sidebar.learn.additionalResources"),
url: formatUrl("learn/zero-knowledge/additional-zk-learning-resources"),
},
],
},
],
sdk: [
{
section: t("sidebar.sdk.overview"),
contents: [
{
title: t("sidebar.sdk.scrollSdk"),
url: "sdk/",
},
{
title: t("sidebar.sdk.faq"),
url: "sdk/sdk-faq",
},
],
},
{
section: t("sidebar.sdk.technicalStack"),
contents: [
{
title: t("sidebar.sdk.stackOverview"),
url: formatUrl("sdk/technical-stack/"),
},
{
title: t("sidebar.sdk.configuration"),
url: formatUrl("sdk/technical-stack/configuration"),
},
{
title: t("sidebar.sdk.services"),
url: formatUrl("sdk/technical-stack/services"),
},
{
title: t("sidebar.sdk.smartContracts"),
url: formatUrl("sdk/technical-stack/contracts"),
},
{
title: t("sidebar.sdk.proofGeneration"),
url: formatUrl("sdk/technical-stack/proof-generation"),
},
// {
// title: t("sidebar.sdk.integrations"),
// url: formatUrl("sdk/technical-stack/integrations"),
// },
],
},
{
section: t("sidebar.sdk.guides"),
contents: [
{
title: t("sidebar.sdk.devnetDeployment"),
url: formatUrl("sdk/guides/devnet-deployment"),
},
// {
// title: t("sidebar.sdk.productionDeployment"),
// url: formatUrl("sdk/guides/production-deployment"),
// },
{
title: t("sidebar.sdk.digitalOcean"),
url: formatUrl("sdk/guides/digital-ocean-alt-gas-token"),
},
{
title: t("sidebar.sdk.awsDeployment"),
url: formatUrl("sdk/guides/aws-deployment"),
},
{
title: t("sidebar.sdk.customizingSdkComponents"),
url: formatUrl("sdk/guides/customizing-sdk-components"),
},
],
},
community: [
{
section: t("sidebar.sdk.operation"),
section: t("sidebar.community.community"),
contents: [
{
title: t("sidebar.sdk.contractsVerification"),
url: formatUrl("sdk/operation/contracts-verification"),
},
{
title: t("sidebar.sdk.gasAndFees"),
url: formatUrl("sdk/operation/gas-and-fees"),
},
{
title: t("sidebar.sdk.monitoring"),
url: formatUrl("sdk/operation/monitoring"),
},
{
title: t("sidebar.sdk.upgrades"),
url: formatUrl("sdk/operation/upgrades"),
},
{
title: t("sidebar.sdk.troubleshooting"),
url: formatUrl("sdk/operation/troubleshooting"),
},
{
title: t("sidebar.sdk.security"),
url: formatUrl("sdk/operation/security-and-recovery"),
title: t("sidebar.community.faq"),
url: "community/faq",
},
],
},
Expand Down
Loading