diff --git a/pages/_meta.json b/pages/_meta.json index 647eda8a5..76d49465e 100644 --- a/pages/_meta.json +++ b/pages/_meta.json @@ -43,16 +43,16 @@ "href": "https://app.optimism.io/faucet?utm_source=docs", "newWindow": true }, - "gas": { - "title": "Gas Tracker", + "bridge": { + "title": "Bridge", "type": "page", - "href": "https://optimistic.grafana.net/public-dashboards/c84a5a9924fe4e14b270a42a8651ceb8?orgId=1&refresh=5m", + "href": "https://bridge.metall2.com/", "newWindow": true }, - "status": { - "title": "Status", + "explorer": { + "title": "Explorer", "type": "page", - "href": "https://status.optimism.io/", + "href": "https://explorer.metall2.com/", "newWindow": true }, @@ -65,16 +65,16 @@ "display": "children" }, - "+++ OP MAINNET": { + "+++ METAL L2 MAINNET": { "title": "", "type": "separator" }, - "--- OP MAINNET": { - "title": "OP MAINNET", + "--- METAL L2 MAINNET": { + "title": "METAL L2 MAINNET", "type": "separator" }, "chain": { - "title": "OP Mainnet", + "title": "METAL L2 Mainnet", "display": "children" }, diff --git a/pages/builders/app-developers/overview.mdx b/pages/builders/app-developers/overview.mdx index b42ed8018..afa96dcaf 100644 --- a/pages/builders/app-developers/overview.mdx +++ b/pages/builders/app-developers/overview.mdx @@ -1,45 +1,45 @@ --- title: App Developer Overview lang: en-US -description: Learn about deploying contracts, cross-chain messaging, and tutorials to help you build applications on OP Mainnet. +description: Learn about deploying contracts, cross-chain messaging, and tutorials to help you build applications on Metal L2. --- import { Cards, Card } from 'nextra/components' # App Developer Overview -If you're a developer looking to build on OP Mainnet, you've come to the right place. -In this area of the Optimism Docs you'll find everything you need to know about building OP Mainnet applications. +If you're a developer looking to build on Metal L2, you've come to the right place. +In this area of the Metal L2 Docs you'll find everything you need to know about building Metal L2 applications for deployment on the Superchains Banking Layer, Metal L2. ## Getting Started -If you're brand new to OP Mainnet, try starting with the guide on [deploying a basic contract](/chain/getting-started). +If you're brand new to Metal L2, try starting with the guide on [deploying a basic contract](/chain/getting-started). It'll get you familiar with the basic steps required to get a contract deployed to the network. -OP Mainnet is [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) so you can feel confident that your existing Ethereum smart contract skills will carry over to OP Mainnet. -Just make sure to be aware of the few small [differences between Ethereum and OP Mainnet](/chain/differences). +Metal L2 is [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) so you can feel confident that your existing Ethereum smart contract skills will carry over to Metal L2. +Just make sure to be aware of the few small [differences between Ethereum and Metal L2](/chain/differences). -You might also want to check out the [testing on OP Networks guide](/chain/testing/testing-apps) and the tutorial on [running a local development environment](/chain/testing/dev-node) to help you feel totally confident in your OP Mainnet deployment. +You might also want to check out the [testing on Metal L2 guide](/chain/testing/testing-apps) and the tutorial on [running a local development environment](/chain/testing/dev-node) to help you feel totally confident in your Metal L2 deployment. - } /> + } /> - } /> + } /> - } /> + } /> ## Bridging and Messaging -Looking to build an application that sends ETH, tokens, or data between OP Mainnet and Ethereum? +Looking to build an application that sends ETH, tokens, or data between Metal L2 and Ethereum? You'll find some useful guides and tutorials in this area of the docs. -For instance, if you want to learn how to bridge a token from Ethereum to OP Mainnet (or vice versa!), you should check out the [Standard Token Bridge](bridging/standard-bridge). +For instance, if you want to learn how to bridge a token from Ethereum to Metal L2 (or vice versa!), you should check out the [Standard Token Bridge](bridging/standard-bridge). If you're looking for something more advanced, take a look at the guide on [sending data between L1 and L2](bridging/messaging). Contracts on one chain can trigger contract functions on the other chain, it's pretty cool! -The Standard Token Bridge for OP Mainnet even uses this same message-passing infrastructure under the hood. +The Standard Token Bridge for Metal L2 even uses this same message-passing infrastructure under the hood. - } /> + } /> } /> @@ -48,21 +48,21 @@ The Standard Token Bridge for OP Mainnet even uses this same message-passing inf ## Tutorials -If you're a bit more familiar with OP Mainnet and Ethereum, you can try walking through one of the tutorials put together by the Optimism community. +If you're a bit more familiar with Metal L2 and Ethereum, you can try walking through one of the tutorials put together by the Optimism community. They'll help you get a head start when building your first Optimistic project. | Tutorial Name | Description | Difficulty Level | | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| [Deploying Your First Contract on OP Mainnet](tutorials/first-contract) | Learn how to deploy your first contract to OP Mainnet with Remix and MetaMask. | 🟢 Easy | +| [Deploying Your First Contract on Metal L2](tutorials/first-contract) | Learn how to deploy your first contract to Metal L2 with Remix and MetaMask. | 🟢 Easy | | [Deploying Your Contracts for Free on the Superchain](tutorials/deploy-for-free) | Learn how to deploy your contracts for free on the Superchain using the Superchain Developer Console | 🟢 Easy | -| [Bridging ETH With the Optimism SDK](tutorials/cross-dom-bridge-eth) | Learn how to use the Optimism SDK to transfer ETH between Layer 1 (Ethereum or Sepolia) and Layer 2 (OP Mainnet or OP Sepolia). | 🟢 Easy | -| [Bridging ERC-20 Tokens With the Optimism SDK](tutorials/cross-dom-bridge-erc20) | Learn how to use the Optimism SDK to transfer ERC-20 tokens between Layer 1 (Ethereum or Sepolia) and Layer 2 (OP Mainnet or OP Sepolia). | 🟢 Easy | +| [Bridging ETH With the Optimism SDK](tutorials/cross-dom-bridge-eth) | Learn how to use the Optimism SDK to transfer ETH between Layer 1 (Ethereum or Sepolia) and Layer 2 (Metal L2 or Metal L2 Testnet). | 🟢 Easy | +| [Bridging ERC-20 Tokens With the Optimism SDK](tutorials/cross-dom-bridge-erc20) | Learn how to use the Optimism SDK to transfer ERC-20 tokens between Layer 1 (Ethereum or Sepolia) and Layer 2 (Metal L2 or Metal L2 Testnet). | 🟢 Easy | | [Bridging your Standard ERC-20 token using the Standard Bridge](tutorials/standard-bridge-standard-token) | Learn how to bridge your standard ERC-20 token to layer 2 using the standard bridge. | 🟡 Medium | | [Bridging your Custom ERC-20 token using the Standard Bridge](tutorials/standard-bridge-custom-token) | Learn how to bridge your custom ERC-20 token to layer 2 using the standard bridge. | 🟡 Medium | | [Tracing Deposits and Withdrawals With the Optimism SDK](tutorials/sdk-trace-txns) | Learn how to use the Optimism SDK to trace deposits and withdrawals. | 🟢 Easy | | [Viewing Deposits and Withdrawals by Address With the Optimism SDK](tutorials/sdk-view-txns) | Learn how to use the Optimism SDK to view deposits and withdrawals by address. | 🟢 Easy | -| [Estimating Transaction Costs With the Optimism SDK](tutorials/sdk-view-txns) | Learn how to use the Optimism SDK to estimate the cost of a transaction on OP Mainnet. | 🟢 Easy | -| [Sending OP Mainnet Transactions from Ethereum](tutorials/send-tx-from-eth) | Learn how to send transactions to OP Mainnet from Ethereum. | 🟢 Easy | +| [Estimating Transaction Costs With the Optimism SDK](tutorials/sdk-view-txns) | Learn how to use the Optimism SDK to estimate the cost of a transaction on Metal L2. | 🟢 Easy | +| [Sending Metal L2 Transactions from Ethereum](tutorials/send-tx-from-eth) | Learn how to send transactions to Metal L2 from Ethereum. | 🟢 Easy | You can also [suggest a new tutorial](https://github.com/ethereum-optimism/docs/issues/new?assignees=\&labels=tutorial%2Cdocumentation%2Ccommunity-request\&projects=\&template=suggest_tutorial.yaml\&title=%5BTUTORIAL%5D+Add+PR+title) if you have something specific in mind. We'd love to grow this list! diff --git a/pages/chain/_meta.json b/pages/chain/_meta.json index 120d2dc16..443084db6 100644 --- a/pages/chain/_meta.json +++ b/pages/chain/_meta.json @@ -1,6 +1,6 @@ { - "getting-started": "Getting Started: OP Mainnet", - "differences": "Differences Between Ethereum and OP Mainnet", + "getting-started": "Getting Started: Metal L2", + "differences": "Differences Between Ethereum and Metal L2", "networks": "Networks and RPC Endpoints", "addresses": "Contract Addresses", "tokenlist": "Bridged Token Addresses", diff --git a/pages/chain/getting-started.mdx b/pages/chain/getting-started.mdx index 1c3958856..6b88ea67f 100644 --- a/pages/chain/getting-started.mdx +++ b/pages/chain/getting-started.mdx @@ -1,36 +1,36 @@ --- -title: Getting Started Developing for OP Mainnet +title: Getting Started Developing for Metal L2 lang: en-US -description: Learn the basics of OP Mainnet development. +description: Learn the basics of Metal L2 development. --- import { Steps } from 'nextra/components' -# Getting Started Developing for OP Mainnet +# Getting Started Developing for Metal L2 -This guide explains the basics of OP Mainnet development. -OP Mainnet is [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306), meaning we run a slightly modified version of the same `geth` you run on mainnet. -Therefore, the differences between OP Mainnet development and Ethereum development are minor. +This guide explains the basics of Metal L2 development. +Metal L2 is [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306), meaning we run a slightly modified version of the same `geth` you run on mainnet. +Therefore, the differences between Metal L2 development and Ethereum development are minor. But a few differences [do exist](/chain/differences). -## OP Mainnet and OP Sepolia Endpoint URLs +## Metal L2 and Metal L2 Testnet Endpoint URLs To access any Ethereum type network you need an endpoint. [These providers](/builders/tools/connect/rpc-providers) support our networks. ### Network Choice -For development purposes we recommend you use either a local development node or [OP Sepolia](https://sepolia-optimism.etherscan.io). +For development purposes we recommend you use either a local development node or [Metal L2 Testnet](https://testnet.explorer.metall2.com/). That way you don't need to spend real money. -If you need ETH on OP Sepolia for testing purposes, [you can use this faucet](https://app.optimism.io/faucet?utm_source=docs). +If you need ETH on Metal L2 Testnet for testing purposes, [you can use this faucet](https://app.optimism.io/faucet?utm_source=docs). -## Interacting with Contracts on OP Mainnet or OP Sepolia +## Interacting with Contracts on Metal L2 or Metal L2 Testnet -We have Hardhat's Greeter contract on OP Sepolia at address [0x9d334aFBa83865E67a9219830ADA57aaA9406681](https://sepolia-optimism.etherscan.io/address/0x9d334aFBa83865E67a9219830ADA57aaA9406681#code). +We have Hardhat's Greeter contract on Metal L2 Testnet at address [0xacc0cAB1F524F34012fb766f582e3AB2049f2bC5](https://testnet.explorer.metall2.com/address/0xacc0cAB1F524F34012fb766f582e3AB2049f2bC5#code). You can verify your development stack configuration by interacting with it. ## Development Stacks -As you can see in the different development stacks below, the way you deploy contracts and interact with them on OP Mainnet or OP Sepolia is almost identical to the way you do it with L1 Ethereum. +As you can see in the different development stacks below, the way you deploy contracts and interact with them on Metal L2 or Metal L2 Testnet is almost identical to the way you do it with L1 Ethereum. The most visible difference is that you have to specify a different endpoint (of course). The list of other differences is [here](differences). @@ -52,7 +52,7 @@ Not only is it faster, but such EVMs often have extra features, such as the [abi ### Debug Before Deploying After you are done with that development, debug your decentralized application using either a [development node](/chain/testing/dev-node) or the [Sepolia test network](/chain/networks). -This lets you debug parts that are OP Mainnet specific such as calls to bridges to transfer ETH or tokens between layers. +This lets you debug parts that are Metal L2 specific such as calls to bridges to transfer ETH or tokens between layers. Only when you have a version that works well on a test network should you deploy to the production network, where every transaction has a cost. @@ -62,4 +62,4 @@ You don't have to upload your source code to [block explorers](/builders/tools/b On the test network, it lets you issue queries and transactions from the explorer's user interface. On the production network, it lets users know exactly what your contract does, which is conducive to trust. -Just remember, if you use [the Etherscan API](https://explorer.optimism.io/apis), you need one API key for OP Mainnet and a separate one for OP Sepolia. +You can find the explorer API for testnet here: https://testnet.explorer.metall2.com/api-docs diff --git a/pages/connect/contribute/style-guide.mdx b/pages/connect/contribute/style-guide.mdx index c9c38067b..f86efd8c1 100644 --- a/pages/connect/contribute/style-guide.mdx +++ b/pages/connect/contribute/style-guide.mdx @@ -256,7 +256,7 @@ import Image from 'next/image' /> ``` -* Icons come from [Remix](https://remixicon.com/) to maintain consistency across the docs. Use Optimism Red `FF0420` to color icons before downloading and store icons in `public/img/icons` directory. +* Icons come from [Remix](https://remixicon.com/) to maintain consistency across the docs. Use Metal L2 Yellow `FF0420` to color icons before downloading and store icons in `public/img/icons` directory. ### Videos diff --git a/pages/index.mdx b/pages/index.mdx index 3d15e72b9..3334103e7 100644 --- a/pages/index.mdx +++ b/pages/index.mdx @@ -1,25 +1,24 @@ --- -title: Welcome to the Optimism Docs +title: Welcome to the Metal L2 Docs lang: en-US -description: Learn about the Optimism Collective, the Optimism Docs, and how to get started building with Optimism. +description: Learn about the Metal DAO, the Metal L2 Docs, and how to get started building with Metal L2. --- import { Cards, Card } from 'nextra/components' -# Welcome to the Optimism Docs +# Welcome to the Metal L2 Docs -Welcome to the Optimism Docs, the unified home of the [Optimism Collective's](/connect/resources/glossary#optimism-collective) technical documentation and information about the [OP Stack](/stack/getting-started). -Information about the Optimism Collective's governance, community, and mission can be found on the [Optimism Community Hub](https://community.optimism.io/docs/governance/). +Welcome to Metal L2 Docs, the unified home of [Metal L2's](/connect/resources/glossary#metal-l2) technical documentation and information about the [OP Stack](/stack/getting-started) that Metal L2 is built on. + +Information about Metal DAO's governance, community, and mission can be found on the [Metal L2 Website](https://metall2.com). ## Guides for Builders -Whether you're a developer building a app on OP Mainnet, a node operator running an OP Mainnet node, or a chain operator launching your own OP Stack chain, you'll find everything you need to get started right here. +Whether you're a developer building a app on Metal L2 or a node operator running a Metal L2 node you'll find everything you need to get started right here. } /> - } /> - } /> } /> @@ -29,7 +28,7 @@ Whether you're a developer building a app on OP Mainnet, a node operator running ## Featured Tools -Check out these amazing tools, so you can get building with Optimism. +Check out these amazing tools, so you can get building with Metal L2. } /> @@ -41,15 +40,18 @@ Check out these amazing tools, so you can get building with Optimism. } /> -## Learn About Optimism +## Learn About Metal L2 + +Metal L2 is an [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) Layer 2 blockchain connected to Ethereum built on the Superchain using the OP Stack. + +The OP Stack is the standardized, shared, and open-source development stack for the Superchain that makes it easy for production-ready Layer 2 blockchains just like Metal L2 to benefit from shared security, scalability, interoperability, ecosystem support and economic efficiency. -OP Mainnet is an [EVM equivalent](https://web.archive.org/web/20231127160757/https://medium.com/ethereum-optimism/introducing-evm-equivalence-5c2021deb306) Layer 2 blockchain connected to Ethereum. -The OP Stack is the standardized, shared, and open-source development stack that makes it easy to spin up your own production-ready Layer 2 blockchain just like OP Mainnet. The Superchain is a network of OP Stack chains that share a bridging protocol, governance system, and more. -We've got you covered with these detailed guides to help you learn all about Optimism's tech stack. + +These documents should have you covered with detailed guides to help you learn all about Metal L2's tech stack. - } /> + } /> } /> diff --git a/pages/stack/_meta.json b/pages/stack/_meta.json index 98eefb94c..b4de87ce1 100644 --- a/pages/stack/_meta.json +++ b/pages/stack/_meta.json @@ -1,5 +1,5 @@ { - "getting-started": "Getting Started: OP Stack", + "getting-started": "About: OP Stack", "differences": "Differences Between Ethereum and OP Stack Chains", "components": "OP Stack Components", "explainer": "Superchain Explainer", diff --git a/pages/stack/protocol/fault-proofs/challenger.mdx b/pages/stack/protocol/fault-proofs/challenger.mdx index 3f23d83f3..540d7b579 100644 --- a/pages/stack/protocol/fault-proofs/challenger.mdx +++ b/pages/stack/protocol/fault-proofs/challenger.mdx @@ -31,7 +31,7 @@ graph TD; OPP -->|Resolves Claims| DG DG -->|Claims Paid| Bonds[Bonds for Challenger and Proposer] - classDef default fill:#00,stroke:#FF0420,stroke-width:2px; + classDef default fill:#00,stroke:#FC9237,stroke-width:2px; ``` diff --git a/public/img/icons/500-page.svg b/public/img/icons/500-page.svg index c4d5a70ae..db313120f 100644 --- a/public/img/icons/500-page.svg +++ b/public/img/icons/500-page.svg @@ -1,4 +1,4 @@ - + diff --git a/public/img/icons/arrow-left-right.svg b/public/img/icons/arrow-left-right.svg index 855c0cfde..5b28e5604 100644 --- a/public/img/icons/arrow-left-right.svg +++ b/public/img/icons/arrow-left-right.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/asterisk.svg b/public/img/icons/asterisk.svg index 23ddf52f3..265ba2966 100644 --- a/public/img/icons/asterisk.svg +++ b/public/img/icons/asterisk.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/book.svg b/public/img/icons/book.svg index 0f528f646..319af9d04 100644 --- a/public/img/icons/book.svg +++ b/public/img/icons/book.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/build.svg b/public/img/icons/build.svg index ecee209ec..8eb42f3be 100644 --- a/public/img/icons/build.svg +++ b/public/img/icons/build.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/favicon.ico b/public/img/icons/favicon.ico index 7abd812e5..cfce4d51d 100644 Binary files a/public/img/icons/favicon.ico and b/public/img/icons/favicon.ico differ diff --git a/public/img/icons/gear.svg b/public/img/icons/gear.svg index 785011111..11017ea1b 100644 --- a/public/img/icons/gear.svg +++ b/public/img/icons/gear.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/link.svg b/public/img/icons/link.svg index aee73d0ae..d7a335f66 100644 --- a/public/img/icons/link.svg +++ b/public/img/icons/link.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/person.svg b/public/img/icons/person.svg index 43b61f3b2..a8f8735cb 100644 --- a/public/img/icons/person.svg +++ b/public/img/icons/person.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/shapes.svg b/public/img/icons/shapes.svg index 0c877815c..c0167e2ea 100644 --- a/public/img/icons/shapes.svg +++ b/public/img/icons/shapes.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/stack.svg b/public/img/icons/stack.svg index 7d8464feb..2e7eb49e6 100644 --- a/public/img/icons/stack.svg +++ b/public/img/icons/stack.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/icons/tools.svg b/public/img/icons/tools.svg index 4bd4bcd87..bec111a13 100644 --- a/public/img/icons/tools.svg +++ b/public/img/icons/tools.svg @@ -1,3 +1,3 @@ - + diff --git a/public/img/op-stack/protocol/transaction-flow.svg b/public/img/op-stack/protocol/transaction-flow.svg index df18cac0a..8a2d4410b 100644 --- a/public/img/op-stack/protocol/transaction-flow.svg +++ b/public/img/op-stack/protocol/transaction-flow.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/public/img/op-stack/protocol/tx-overall-process.svg b/public/img/op-stack/protocol/tx-overall-process.svg index df18cac0a..8a2d4410b 100644 --- a/public/img/op-stack/protocol/tx-overall-process.svg +++ b/public/img/op-stack/protocol/tx-overall-process.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/public/logos/logo-docs-dark.svg b/public/logos/logo-docs-dark.svg index 6f96aae8e..521726786 100644 --- a/public/logos/logo-docs-dark.svg +++ b/public/logos/logo-docs-dark.svg @@ -1,4 +1,4 @@ - + diff --git a/public/logos/logo-docs-light.svg b/public/logos/logo-docs-light.svg index 63ab1156f..4d2432713 100644 --- a/public/logos/logo-docs-light.svg +++ b/public/logos/logo-docs-light.svg @@ -1,4 +1,4 @@ - + diff --git a/public/logos/metal-logo-docs-dark.svg b/public/logos/metal-logo-docs-dark.svg new file mode 100644 index 000000000..c3de09398 --- /dev/null +++ b/public/logos/metal-logo-docs-dark.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/logos/metal-logo-docs-light.svg b/public/logos/metal-logo-docs-light.svg new file mode 100644 index 000000000..d8739e003 --- /dev/null +++ b/public/logos/metal-logo-docs-light.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/styles/colors.css b/styles/colors.css index d3edc18d2..0f171c9f5 100644 --- a/styles/colors.css +++ b/styles/colors.css @@ -106,7 +106,7 @@ --op-red-200: #FFD1D5; --op-red-300: #FF99A1; --op-red-400: #FF5C6C; - --op-red-500: #FF0420; + --op-red-500: #FC9237; --op-red-600: #B80018; --op-red-700: #700013; --op-red-800: #330009; diff --git a/styles/global.css b/styles/global.css index 498779c39..00206fcc6 100644 --- a/styles/global.css +++ b/styles/global.css @@ -64,7 +64,7 @@ div.custom-callouts { border-radius: 4px; } a.callout-link { - color: #006be6; + color: #FC9237; text-decoration: underline; } diff --git a/styles/theme.css b/styles/theme.css index c82741b6f..7e8861d1c 100644 --- a/styles/theme.css +++ b/styles/theme.css @@ -127,6 +127,11 @@ nav a span { /* Links */ a.nx-underline { text-decoration: none; + color:#FC9237; +} + +a.nx-underline:hover { + text-decoration: underline; } @@ -243,7 +248,7 @@ pre { /* in-content external links */ .nextra-content a[target="_blank"]:after { - content: url('data:image/svg+xml,'); + content: url('data:image/svg+xml,'); padding-left: 5px; margin-right: 2px; } @@ -313,3 +318,4 @@ table tr { :is(html[class~=dark]) .nextra-toc .divider { border-top: 1px solid var(--op-neutral-700); } + diff --git a/theme.config.tsx b/theme.config.tsx index 4f6b263e7..323a0f5f7 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -8,19 +8,51 @@ import "@feelback/react/styles/feelback.css" const config: DocsThemeConfig = { logo: ( <> - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ), darkMode: true, project: { - link: 'https://github.com/ethereum-optimism/docs', + link: 'https://github.com/MetalPay/metal-l2-docs', }, - docsRepositoryBase: 'https://github.com/ethereum-optimism/docs/blob/main/', + docsRepositoryBase: 'https://github.com/MetalPay/metal-l2-docs/docs/blob/main/', footer: { - text: 'OP Documentation', + text: 'Metal L2 Documentation', }, sidebar: { defaultMenuCollapseLevel: 1, @@ -66,16 +98,16 @@ const config: DocsThemeConfig = { const { asPath, defaultLocale, locale } = useRouter() const { frontMatter } = useConfig() const url = - 'https://docs.optimism.io' + + 'https://docs.metall2.com' + (defaultLocale === locale ? asPath : `/${locale}${asPath}`) return ( <> - +