Explorar o código

Merge pull request #371 from metaplex-foundation/bubblegum/navigation-fix

updated url and fixed a key issue
Tony Boyle hai 5 meses
pai
achega
80ace8d9f8

+ 1 - 1
src/components/Hero.jsx

@@ -21,7 +21,7 @@ export function Hero({
   description = description ?? page.product.description;
   primaryCta = primaryCta ?? {
     title: 'Get started',
-    href: `/${page.product.path}/getting-started`,
+    href: `/${page.product.path}/sdk`,
   };
   secondaryCta = secondaryCta ?? (page.product.github ? {
     title: 'View on GitHub',

+ 3 - 2
src/components/products/GridAllProducts.jsx

@@ -1,3 +1,4 @@
+import React from 'react';
 import { Grid } from './Grid';
 import { productCategories } from './index';
 
@@ -7,7 +8,7 @@ export function MarkdocGrid() {
       {productCategories.map((item, index) => {
 
         return (
-          <>
+          <React.Fragment key={index}>
             <h2 key={index} className="mb-4 mt-8 text-2xl font-bold">
               {productCategories[index]}
             </h2>
@@ -17,7 +18,7 @@ export function MarkdocGrid() {
               menuItem={productCategories[index]}
               
             />
-          </>
+          </React.Fragment>
         )
       })}
     </div>

+ 2 - 2
src/pages/bubblegum-v2/index.md

@@ -8,7 +8,7 @@ Bubblegum V2 is the latest iteration of the Metaplex Protocol program for creati
 
 {% quick-links %}
 
-{% quick-link title="Getting Started" icon="InboxArrowDown" href="/bubblegum-v2/getting-started" description="Find the language or library of your choice and get started with compressed NFTs." /%}
+{% quick-link title="Getting Started" icon="InboxArrowDown" href="/bubblegum-v2/sdk" description="Find the language or library of your choice and get started with compressed NFTs." /%}
 
 {% quick-link title="API reference" icon="CodeBracketSquare" href="https://mpl-bubblegum.typedoc.metaplex.com/" target="_blank" description="Looking for something specific? Have a peak at our API References and find your answer." /%}
 
@@ -144,4 +144,4 @@ Even though NFT data does not live inside accounts, it is still possible to exec
 
 ## Next steps
 
-Now that we know how compressed NFTs work at a high level and what's new in Bubblegum V2, we recommend checking out our [Getting Started](/bubblegum-v2/getting-started) page which enumerates the various languages/frameworks that one can use to interact with compressed NFTs. Afterwards, the various [feature pages](/bubblegum-v2/create-trees) can be used to learn more about the specific operations that can be performed on cNFTs. Finally, [advanced guides](/bubblegum-v2/concurrent-merkle-trees) are also available to deepen your knowledge of cNFTs and Merkle Trees.
+Now that we know how compressed NFTs work at a high level and what's new in Bubblegum V2, we recommend checking out our [Getting Started](/bubblegum-v2/sdk) page which enumerates the various languages/frameworks that one can use to interact with compressed NFTs. Afterwards, the various [feature pages](/bubblegum-v2/create-trees) can be used to learn more about the specific operations that can be performed on cNFTs. Finally, [advanced guides](/bubblegum-v2/concurrent-merkle-trees) are also available to deepen your knowledge of cNFTs and Merkle Trees.