瀏覽代碼

Update Candy Machine overview

Loris Leiva 2 年之前
父節點
當前提交
2a4fee5be0

+ 3 - 2
markdoc/tags.js

@@ -32,11 +32,12 @@ const tags = {
       src: { type: String },
       src: { type: String },
       alt: { type: String },
       alt: { type: String },
       caption: { type: String },
       caption: { type: String },
+      notRounded: { type: Boolean },
     },
     },
-    render: ({ src, alt = '', caption }) => (
+    render: ({ src, alt = '', caption, notRounded = false }) => (
       <figure>
       <figure>
         {/* eslint-disable-next-line @next/next/no-img-element */}
         {/* eslint-disable-next-line @next/next/no-img-element */}
-        <img src={src} alt={alt} />
+        <img src={src} alt={alt} className={notRounded ? '' : 'rounded-lg'} />
         <figcaption>{caption}</figcaption>
         <figcaption>{caption}</figcaption>
       </figure>
       </figure>
     ),
     ),

二進制
public/assets/candy-machine/candy-machine-photo.png


+ 1 - 1
src/components/products/candyMachine/index.js

@@ -23,7 +23,7 @@ export const candyMachine = {
         {
         {
           title: 'Introduction',
           title: 'Introduction',
           links: [
           links: [
-            { title: 'Getting started', href: '/candy-machine' },
+            { title: 'Overview', href: '/candy-machine' },
             { title: 'Installation', href: '/candy-machine/installation' },
             { title: 'Installation', href: '/candy-machine/installation' },
           ],
           ],
         },
         },

+ 1 - 1
src/pages/bubblegum/index.md

@@ -1,6 +1,6 @@
 ---
 ---
 title: Getting started
 title: Getting started
-pageTitle: CacheAdvance - Never miss the cache again.
+metaTitle: CacheAdvance - Never miss the cache again.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 ---
 ---
 
 

+ 10 - 6
src/pages/candy-machine/index.md

@@ -1,10 +1,14 @@
 ---
 ---
 title: Overview
 title: Overview
-pageTitle: Candy Machine - Overview
-description: "Provides a high-level overview of Candy Machines."
+metaTitle: Candy Machine - Overview
+description: Provides a high-level overview of Candy Machines.
 ---
 ---
 
 
-The Metaplex Protocol **Candy Machine** is the leading minting and distribution program for fair NFT collection launches on Solana. It allows creators to bring their digital assets on-chain in a secure and customisable way. {% .lead %}
+The Metaplex Protocol **Candy Machine** is the leading minting and distribution program for fair NFT collection launches on Solana. Much like its name suggests, you can think of a Candy Machine as a temporary structure which is first loaded by creators and then unloaded by buyers. It allows creators to bring their digital assets on-chain in a secure and customisable way. {% .lead %}
+
+The name refers to the vending machines that dispense candy for coins via a mechanical crank. In this case the candy are NFTs and the payment is SOL or a SPL token.
+
+{% figure src="/assets/candy-machine/candy-machine-photo.png" alt="An AI-generated photo of a typical candy machine" caption="A typical candy machine" /%}
 
 
 {% quick-links %}
 {% quick-links %}
 {% quick-link title="Creator Studio" icon="Star" href="/" description="Don't want to code? Launch your next drop by pressing buttons!" /%}
 {% quick-link title="Creator Studio" icon="Star" href="/" description="Don't want to code? Launch your next drop by pressing buttons!" /%}
@@ -35,9 +39,7 @@ Interested? Let’s give you a little tour of how Candy Machines work!
 
 
 ## The Lifecycle of a Candy Machine
 ## The Lifecycle of a Candy Machine
 
 
-Much like its name suggests, you can think of a Candy Machine as a temporary structure which is first loaded by creators and then unloaded by buyers.
-
-Thus, the very first step is for the creator to create a new Candy Machine and configure it however they want.
+The very first step is for the creator to create a new Candy Machine and configure it however they want.
 
 
 {% diagram %}
 {% diagram %}
 {% node #action label="1. Create & Configure" theme="pink" /%}
 {% node #action label="1. Create & Configure" theme="pink" /%}
@@ -160,10 +162,12 @@ What we end up with is a bot-protected Candy Machine that charges SOL, launches
 {% node #items label="Items" /%}
 {% node #items label="Items" /%}
 {% node #guards %}
 {% node #guards %}
 Guards:
 Guards:
+
 - Sol Payment (0.1 SOL)
 - Sol Payment (0.1 SOL)
 - Start Date (Jan 6th)
 - Start Date (Jan 6th)
 - Mint Limit (1)
 - Mint Limit (1)
 - Bot Tax (0.01 SOL)
 - Bot Tax (0.01 SOL)
+
 {% /node %}
 {% /node %}
 {% /node %}
 {% /node %}
 
 

+ 1 - 1
src/pages/fusion/index.md

@@ -1,6 +1,6 @@
 ---
 ---
 title: Getting started
 title: Getting started
-pageTitle: CacheAdvance - Never miss the cache again.
+metaTitle: CacheAdvance - Never miss the cache again.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 ---
 ---
 
 

+ 1 - 1
src/pages/hydra/index.md

@@ -1,6 +1,6 @@
 ---
 ---
 title: Getting started
 title: Getting started
-pageTitle: CacheAdvance - Never miss the cache again.
+metaTitle: CacheAdvance - Never miss the cache again.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 ---
 ---
 
 

+ 3 - 1
src/pages/products.md

@@ -1,5 +1,7 @@
 ---
 ---
-title: Our products
+title: Metaplex products
+metaTitle: Metaplex products
+description: An overview of all Metaplex products.
 ---
 ---
 
 
 _Detailed overview coming soon..._
 _Detailed overview coming soon..._

+ 1 - 1
src/pages/token-auth-rules/index.md

@@ -1,6 +1,6 @@
 ---
 ---
 title: Getting started
 title: Getting started
-pageTitle: CacheAdvance - Never miss the cache again.
+metaTitle: CacheAdvance - Never miss the cache again.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 ---
 ---
 
 

+ 1 - 1
src/pages/token-metadata/index.md

@@ -1,6 +1,6 @@
 ---
 ---
 title: Getting started
 title: Getting started
-pageTitle: CacheAdvance - Never miss the cache again.
+metaTitle: CacheAdvance - Never miss the cache again.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 ---
 ---
 
 

+ 1 - 1
src/pages/toolbox/index.md

@@ -1,6 +1,6 @@
 ---
 ---
 title: Getting started
 title: Getting started
-pageTitle: CacheAdvance - Never miss the cache again.
+metaTitle: CacheAdvance - Never miss the cache again.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 description: Cache every single thing your app could ever do ahead of time, so your code never even has to run at all.
 ---
 ---