Skip to content

Commit

Permalink
Mainnet Launch (#105)
Browse files Browse the repository at this point in the history
* Removed trailing slashes in the urls (#63)

Fix: faucet link broken because of the double slash

* Fix: What's next link on ERC721 bridge page

when you're on ERC721 NFT Bridge page and scrolling down to whats next you see ERC1155 Token Bridge tap, when you click on it. it doesn't take you to ERC1155 Token Bridge page. it will reload the same page. so i fixed by editing the whats next line.

* Update: Add Bware Faucet (#64)

* add bware faucet

* fix dangling html close comment

* fix: apply new logo (#66)

* Rebranding (#69)

* Update: 8/23/23 (#65)

* Removed trailing slashes in the urls (#63)

Fix: faucet link broken because of the double slash

* Fix: What's next link on ERC721 bridge page

when you're on ERC721 NFT Bridge page and scrolling down to whats next you see ERC1155 Token Bridge tap, when you click on it. it doesn't take you to ERC1155 Token Bridge page. it will reload the same page. so i fixed by editing the whats next line.

* Update: Add Bware Faucet (#64)

* add bware faucet

* fix dangling html close comment

---------

Co-authored-by: Kirill Nikolaev <[email protected]>
Co-authored-by: monem <[email protected]>

* fix: apply new logo (#67)

* update press link and change zero-knowledge to zero knowledge

---------

Co-authored-by: Daniel Helm <[email protected]>
Co-authored-by: Kirill Nikolaev <[email protected]>
Co-authored-by: monem <[email protected]>
Co-authored-by: Holybasil <[email protected]>

* Prod to develop fixing icons to resolve PRs to different branches (#72)

* Update: 8/23/23 (#65)

* Removed trailing slashes in the urls (#63)

Fix: faucet link broken because of the double slash

* Fix: What's next link on ERC721 bridge page

when you're on ERC721 NFT Bridge page and scrolling down to whats next you see ERC1155 Token Bridge tap, when you click on it. it doesn't take you to ERC1155 Token Bridge page. it will reload the same page. so i fixed by editing the whats next line.

* Update: Add Bware Faucet (#64)

* add bware faucet

* fix dangling html close comment

---------

Co-authored-by: Kirill Nikolaev <[email protected]>
Co-authored-by: monem <[email protected]>

* fix: apply new logo (#67)

* fix: Apple touch icon 256x256 (#68)

* Update prod for rebrand. (#71)

* Removed trailing slashes in the urls (#63)

Fix: faucet link broken because of the double slash

* Fix: What's next link on ERC721 bridge page

when you're on ERC721 NFT Bridge page and scrolling down to whats next you see ERC1155 Token Bridge tap, when you click on it. it doesn't take you to ERC1155 Token Bridge page. it will reload the same page. so i fixed by editing the whats next line.

* Update: Add Bware Faucet (#64)

* add bware faucet

* fix dangling html close comment

* fix: apply new logo (#66)

* Rebranding (#69)

* Update: 8/23/23 (#65)

* Removed trailing slashes in the urls (#63)

Fix: faucet link broken because of the double slash

* Fix: What's next link on ERC721 bridge page

when you're on ERC721 NFT Bridge page and scrolling down to whats next you see ERC1155 Token Bridge tap, when you click on it. it doesn't take you to ERC1155 Token Bridge page. it will reload the same page. so i fixed by editing the whats next line.

* Update: Add Bware Faucet (#64)

* add bware faucet

* fix dangling html close comment

---------

Co-authored-by: Kirill Nikolaev <[email protected]>
Co-authored-by: monem <[email protected]>

* fix: apply new logo (#67)

* update press link and change zero-knowledge to zero knowledge

---------

Co-authored-by: Daniel Helm <[email protected]>
Co-authored-by: Kirill Nikolaev <[email protected]>
Co-authored-by: monem <[email protected]>
Co-authored-by: Holybasil <[email protected]>

---------

Co-authored-by: Kirill Nikolaev <[email protected]>
Co-authored-by: monem <[email protected]>
Co-authored-by: Holybasil <[email protected]>
Co-authored-by: zzq0826 <[email protected]>

---------

Co-authored-by: Kirill Nikolaev <[email protected]>
Co-authored-by: monem <[email protected]>
Co-authored-by: Holybasil <[email protected]>
Co-authored-by: zzq0826 <[email protected]>

* Update blocks.mdx (#76)

* Update erc721-nft-bridge.mdx (#78)

* Update helper.tsx (#75)

* Update/repo banner (#83)

* update: new banner

* add badges

* fix not translate in React Components inside Astro (#85)

* fixed broken links and fixed some whats-nexts (#87)

* fix spelling of "Merkle" (#91)

* Fixed wrong address (#90)

* Update bridge-erc20-through-the-custom-gateway.mdx

Fixed wrong address

* Update bridge-erc20-through-the-custom-gateway.mdx

* Update PureFooter.tsx (#84)

Open a new target URL in new tab, current its  overriding this page(main domain)

* Spanish Translation and English Scroll Docs Fixes (Remake) (#95)

* spanish bug fix

* redo previous fixes

* spanish grammar fix

* localization improvements on developers index page

* improvement proposals for some developers pages

* finished my Developer review

* improvements to user guide in spanish

* learn spanish translation review

* technology spanish translation review

* Glosary update

---------

Co-authored-by: ManuGodzilla <[email protected]>
Co-authored-by: axlvaz <[email protected]>

* Update verifying-smart-contracts.mdx (#101)

I just found this word spelling error

* feat: add technology/security section (#100)

* feat: add technology/security section

* update scope and firm ordering

* update Zellic reports

* fix critical price - missing 0

* add report

* clarify out-of-scope submissions

---------

Co-authored-by: Haichen Shen <[email protected]>

* Developer guides: Mainnet related updates (#102)

* initial network changes

* update for mainnet content

---------

Co-authored-by: Daniel Helm <[email protected]>

* update for mainnet content (#104)

* fixed foundry verification (#103)

---------

Co-authored-by: Kirill Nikolaev <[email protected]>
Co-authored-by: monem <[email protected]>
Co-authored-by: Holybasil <[email protected]>
Co-authored-by: zzq0826 <[email protected]>
Co-authored-by: Péter Garamvölgyi <[email protected]>
Co-authored-by: diposs <[email protected]>
Co-authored-by: ManuGodzilla <[email protected]>
Co-authored-by: Anton Livaja <[email protected]>
Co-authored-by: Ahmed Castro <[email protected]>
Co-authored-by: jrsurya <[email protected]>
Co-authored-by: axlvaz <[email protected]>
Co-authored-by: JohnsonSmile <[email protected]>
Co-authored-by: Haichen Shen <[email protected]>
  • Loading branch information
14 people authored Oct 17, 2023
1 parent f5cdd43 commit 734f229
Show file tree
Hide file tree
Showing 96 changed files with 5,127 additions and 94 deletions.
2 changes: 1 addition & 1 deletion astro-i18next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
export default {
defaultLocale: "en",
showDefaultLocale: true,
locales: ["en", "zh"],
locales: ["en", "zh", "es"],
load: ["server", "client"],
}
25 changes: 23 additions & 2 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"rightSidebar": {
"onThisPage": "On This Page",
"more": "More",
"editThisPage": "Edit this page",
"joinOurCommunity": "Join our community",
"feedback": "Feedback"
},
"ui": {
"whatsNext": "What's Next",
"readMore": "Read More"
},
"landing": {
"test": "test",
"search": {
Expand Down Expand Up @@ -55,6 +66,8 @@
"commonErrors": "Common Errors",
"rollupExplorer": "Rollup Explorer",
"scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer",
"scrollMainnet": "Scroll Mainnet",
"scrollscan": "Scrollscan Block Explorer",
"sepoliaBlockExplorer": "Sepolia Explorer",
"community": "Community",
"discord": "Discord",
Expand Down Expand Up @@ -85,9 +98,13 @@
"bridgingERC1155ThroughCustomGateway": "Bridging ERC1155 through Custom Gateway",
"estimatingGasAndTxFees": "Estimating Gas & Tx Fees",
"resources": "Resources",
"mainnetResources": "Mainnet Resources",
"sepoliaResources": "Sepolia Resources",
"scrollBlockExplorer": "Scrollscan Explorer",
"rollupExplorer": "Rollup Explorer",
"scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer",
"sepoliaBlockExplorer": "Sepolia Explorer"
"sepoliaRollupExplorer": "Rollup Explorer",
"sepoliaBlockExplorer": "Scrollscan Explorer"
},
"technology": {
"introduction": "Introduction",
Expand Down Expand Up @@ -118,7 +135,11 @@
"bridgeOverview": "Bridge Overview",
"prover": "Prover",
"proofGeneration": "Proof Generation",
"cpuProverRepo": "CPU Prover Repo"
"cpuProverRepo": "CPU Prover Repo",

"security": "Security",
"auditsAndBugBounty": "Audits & Bug Bounty",
"l2BeatAssessment": "L2Beat Assessment"
},
"learn": {
"ethereumAndProtocols": "Ethereum & Protocols",
Expand Down
145 changes: 144 additions & 1 deletion public/locales/es/translation.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,148 @@
{
"rightSidebar": {
"onThisPage": "En esta página",
"more": "Más",
"editThisPage": "Editar esta página",
"joinOurCommunity": "Únete a nuestro Discord",
"feedback": "Feedback"
},
"ui": {
"whatsNext": "¿Qué sigue?",
"readMore": "Leer Más"
},
"landing": {
"test": "test",
"search": {
"title": "Bienvenido a la Documentación de Scroll",
"placeholder": "Buscar Documentación de Scroll..."
},
"newUserCTA": {
"title": "Nuevo en Scroll y los ZK Rollups?",
"description": "Aprende lo básico en la Guía de Inicio"
},
"resourcesCTA": {
"title": "Recursos Útiles"
},
"nodesCTA": {
"title": "Necesitas correr tu propio Nodo de Scroll?",
"description": "Consulte la Guía del Operador de Nodos para obtener más información sobre la puesta en marcha y el mantenimiento de los Nodos de Scroll.",
"buttonText": "Guía del Operador de Nodos"
},
"TutorialsCTA": {
"title": "Ver tutoriales",
"description": "Obtenga más información sobre la tecnología que estamos construyendo. Subimos constantemente nuevos vídeos a nuestro canal de YouTube.",
"buttonText": "Ver tutoriales"
},
"LinksCTA": {
"card1": {
"title": "¿Necesita ayuda para integrarse?",
"description": "Talk to an expert once we TODO: a url"
},
"card2": {
"title": "Discord",
"description": "Únete a nuestra Comunidad"
},
"card3": {
"title": "TODO: Discourse",
"description": "Really, join the community"
}
},
"NewsletterCTA": {
"title": "Stay updated on the latest Scroll news",
"placeholder": "Enter your email address",
"buttonText": "Sign up"
}
},
"sidebar": {
"gettingStarted": {
"gettingStarted": "Primeros Pasos",
"overview": "Vista General",
"scrollSepoliaTestnet": "Scroll Sepolia Testnet",
"userGuide": "Guía de Usuario",
"setup": "Configuración",
"faucet": "Faucet",
"bridge": "Bridge",
"transferTokens": "Transferencia de Tokens",
"commonErrors": "Errores Comunes",
"rollupExplorer": "Rollup Explorer",
"scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer",
"sepoliaBlockExplorer": "Sepolia Explorer",
"community": "Comunidad",
"discord": "Discord",
"communityForum": "Forum de la Comunidad"
},
"developers": {
"developers": "Desarrolladores",
"buildingOnScroll": "Construyendo en Scroll",
"developerQuickstart": "Inicio rápido para Desarrolladores",
"verifyingSmartContracts": "Verificando Smart Contracts",
"scrollContracts": "Contratos de Scroll",
"ethereumAndScrollDifferences": "Diferencias entre Scroll y Ethereum",
"l1AndL2Bridging": "L1 y L2 Bridging",
"ethAndErc20TokenBridge": "ETH y ERC20 Token Bridge",
"erc721NftBridge": "ERC721 NFT Bridge",
"erc1155TokenBridge": "ERC1155 Token Bridge",
"theScrollMessenger": "El Scroll Messenger",
"transactionFeesOnScroll": "Comisiones de Transacciones en Scroll",
"l2Fee": "Comisión L2",
"l1Fee": "Comisión L1",
"gasOracle": "Gas Oracle",
"future": "Futuro",
"guides": "Guías",
"contractDeploymentTutorial": "Tutorial de Despliegue de Contratos",
"crossChainInteraction": "Interacción Cross-chain del Scroll Messenger",
"bridgingERC20TokenThroughCustomGateway": "Bridging de un ERC20 a través de una Gateway Personalizada",
"bridgingERC721NftThroughCustomGateway": "Bridging de un ERC721 NFT a través de una Gateway Personalizada",
"bridgingERC1155ThroughCustomGateway": "Bridging de un ERC1155 a través de una Gateway Personalizada",
"estimatingGasAndTxFees": "Estimación de las Tarifas de Gas y Tx",
"resources": "Recursos",
"rollupExplorer": "Rollup Explorer",
"scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer",
"sepoliaBlockExplorer": "Sepolia Explorer"
},
"technology": {
"introduction": "Introducción",
"principles": "Principios",
"scrollArchitecture": "Arquitectura de Scroll",
"overview": "Vista General",

"scrollChain": "Scroll Chain",
"accountsAndState": "Cuentas y Estado",
"blocks": "Bloques",
"transactions": "Transacciones",
"rollupProcess": "Proceso del Rollup",
"evmDifferencesFromEthereum": "Diferencias de EVM respecto a Ethereum",

"bridge": "Bridge",
"crossDomainMessaging": "Cross-Domain Messaging",
"depositGateways": "Gateways de Depósito",
"withdrawGateways": "Gateways de Retiro",

"sequencer": "Secuenciador",
"executionNode": "Nodo de Ejecución",
"rollupNode": "Nodo Rollup",
"zkTrie": "zkTrie",

"zkevm": "zkEVM",
"introToZkevm": "Intro a la zkEVM",
"zkevmOverview": "Vista General de la zkEVM",
"bridgeOverview": "Vista General del Bridge",
"prover": "Prover",
"proofGeneration": "Proof Generation",
"cpuProverRepo": "CPU Prover Repo"
},
"learn": {
"ethereumAndProtocols": "Ethereum y Protocolos",
"theScalabilityProblem": "El Problema de la Escalabilidad",
"introToRollups": "Intro a los Rollups",
"zeroKnowledge": "Zero Knowledge",
"introToZeroKnowledge": "Intro a la Zero Knowledge",
"polynomialCommitmentSchemes": "Esquemas de Compromiso Polinómicos",
"kzgCommitmentScheme": "Esquema de Compromiso KZG",
"additionalResources": "Recursos Adicionales"
}
},
"notTranslated": {
"notTranslated": "Esta página aún no ha sido traducida."
"notTranslated": "Esta página no ha sido traducida aún."
}
}
3 changes: 2 additions & 1 deletion src/components/NavCard.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import i18next, { t } from "i18next"
export type Props = {
icon: string
name: string
Expand All @@ -17,7 +18,7 @@ const { icon, name, content, link } = Astro.props as Props
<span class="navs-item-title">{name}</span>
<span class="navs-item-content">{content}</span>
<a class="navs-item-link" href={link}>
Read more
{t("ui.readMore")}
<span class="link-icon"></span>
</a>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/components/PageContent/WhatsNext.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
import i18next, { t } from "i18next"
export type Props = { content: Record<string, string> }
const { content = {} } = Astro.props as Props
---

<section>
<h4>Whats Next</h4>
<h4>{t("ui.whatsNext")}</h4>
<ul class="whats-next">
{
Object.keys(content).map((key) => (
Expand Down
7 changes: 4 additions & 3 deletions src/components/RightSidebar/MoreMenu.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
import i18next, { t } from "i18next"
import * as CONFIG from "../../config"
const { editHref } = Astro.props
const showMoreSection = CONFIG.COMMUNITY_INVITE_URL || editHref
---

{showMoreSection && <h2 class="heading">More</h2>}
{showMoreSection && <h2 class="heading">{t("rightSidebar.more")}</h2>}
<ul>
{
editHref && (
Expand All @@ -27,7 +28,7 @@ const showMoreSection = CONFIG.COMMUNITY_INVITE_URL || editHref
</clipPath>
</defs>
</svg>
<span>Edit this page</span>
<span>{t("rightSidebar.editThisPage")}</span>
</a>
</li>
)
Expand Down Expand Up @@ -56,7 +57,7 @@ const showMoreSection = CONFIG.COMMUNITY_INVITE_URL || editHref
fill="currentColor"
/>
</svg>
<span>Join our community</span>
<span>{t("rightSidebar.joinOurCommunity")}</span>
</a>
</li>
)
Expand Down
3 changes: 2 additions & 1 deletion src/components/RightSidebar/RightSidebar.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import i18next, { t } from "i18next"
import TableOfContents from "./TableOfContents"
import MoreMenu from "./MoreMenu.astro"
import { Feedback } from "../PageContent/Feedback"
Expand All @@ -15,7 +16,7 @@ const { content, githubEditUrl, headings, clientSideToc } = Astro.props
</div>

<div>
<h2 class="heading feedback-title">Feedback</h2>
<h2 class="heading feedback-title">{t("rightSidebar.feedback")}</h2>
<div class="feedback-wrapper">
<Feedback client:idle />
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/components/RightSidebar/TableOfContents/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { useStore } from "@nanostores/preact"
import type { FunctionalComponent } from "preact"
import { useState, useEffect, useRef } from "preact/hooks"
import { shouldUpdateToc } from "./tocStore"
import i18next, { t } from "i18next"

export interface Heading {
depth: number
text: string
Expand Down Expand Up @@ -79,7 +81,7 @@ const TableOfContents: FunctionalComponent<{

return (
<>
<h2 className="heading">On this page</h2>
<h2 className="heading">{t("rightSidebar.onThisPage")}</h2>
<ul ref={tableOfContents}>
{headings
.filter(({ depth }) => depth > 1 && depth < 4)
Expand Down
10 changes: 10 additions & 0 deletions src/config/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,14 @@ export const MENU: MenuItems = {
{ 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" },
],
}
Loading

0 comments on commit 734f229

Please sign in to comment.