diff --git a/src/components/Quickstart/QuickstartPanel.astro b/src/components/Quickstart/QuickstartPanel.astro index 99b5f0ef888..a6e1b5315fe 100644 --- a/src/components/Quickstart/QuickstartPanel.astro +++ b/src/components/Quickstart/QuickstartPanel.astro @@ -13,6 +13,7 @@ const currentPage = new URL(Astro.request.url).pathname const currentFile = `src/content${currentPage.replace(/\/$/, "")}.mdx` const githubEditUrl = CONFIG.GITHUB_EDIT_URL + currentFile const products = frontmatter.products.map((p) => productsInfo[p]) +const githubSourceCodeUrl = frontmatter.githubSourceCodeUrl --- diff --git a/src/content/config.ts b/src/content/config.ts index 9a62cf35c75..cd5803e4987 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -65,6 +65,7 @@ const quickstartsFrontmatter = z .object({ title: z.string(), description: z.string(), + githubSourceCodeUrl: z.string().optional(), image: z.string(), products: z.array(productEnum), time: z.string(), diff --git a/src/content/quickstarts/automated-portfolio-manager.mdx b/src/content/quickstarts/automated-portfolio-manager.mdx index ea07e80e1cd..9183a98ebad 100644 --- a/src/content/quickstarts/automated-portfolio-manager.mdx +++ b/src/content/quickstarts/automated-portfolio-manager.mdx @@ -1,6 +1,7 @@ --- title: "Automated Portfolio Manager" description: "Build a portfolio that automatically rebalances itself based on real-time data from on-chain and off-chain sources." +githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-automated-portfolio-manager" image: "QuickStarts-AutomatedPortfolioManager.webp" products: ["Feeds", "Automation", "Functions"] time: "45 minutes" diff --git a/src/content/quickstarts/automation-station.mdx b/src/content/quickstarts/automation-station.mdx index cc1e0c98ef2..ae590bbb96b 100644 --- a/src/content/quickstarts/automation-station.mdx +++ b/src/content/quickstarts/automation-station.mdx @@ -1,6 +1,7 @@ --- title: "Automation Station" description: "Use FlashLiquidity's Automation Station to manage your upkeeps." +githubSourceCodeUrl: "https://github.com/flashliquidity/flashliquidity-automation" image: "QuickStarts-FlashLiquidity-Automation-Station.png" products: ["automation"] time: "180 minutes" diff --git a/src/content/quickstarts/batch-reveal.mdx b/src/content/quickstarts/batch-reveal.mdx index 72fecbea4de..84a4c60eea0 100644 --- a/src/content/quickstarts/batch-reveal.mdx +++ b/src/content/quickstarts/batch-reveal.mdx @@ -1,6 +1,7 @@ --- title: "Batch Collection Reveal" description: "Use Chainlink VRF and Automation in generative art collections." +githubSourceCodeUrl: "https://github.com/smartcontractkit/chainlink-automation-templates/tree/main/batch-nft-reveal" image: "QuickStarts-Batch-Collection-Reveal.webp" products: ["automation", "vrf"] time: "180 minutes" diff --git a/src/content/quickstarts/chainlink-demo-app.mdx b/src/content/quickstarts/chainlink-demo-app.mdx index 4def4a1c4f9..eebf1e5d793 100644 --- a/src/content/quickstarts/chainlink-demo-app.mdx +++ b/src/content/quickstarts/chainlink-demo-app.mdx @@ -1,6 +1,7 @@ --- title: "Chainlink Demo App" description: "Run the Chainlink Demo App locally to learn how to develop your own applications." +githubSourceCodeUrl: "https://github.com/smartcontractkit/chainlink-fullstack" image: "QuickStarts-Chainlink-Demo-App.webp" products: ["automation", "vrf", "feeds"] time: "60 minutes" diff --git a/src/content/quickstarts/chainlink-hardhat-starter-kit.mdx b/src/content/quickstarts/chainlink-hardhat-starter-kit.mdx index 4e6845e66db..a813f468fab 100644 --- a/src/content/quickstarts/chainlink-hardhat-starter-kit.mdx +++ b/src/content/quickstarts/chainlink-hardhat-starter-kit.mdx @@ -1,6 +1,7 @@ --- title: "Chainlink Hardhat Starter Kit" description: "Get started with Chainlink services inside your Hardhat projects." +githubSourceCodeUrl: "https://github.com/smartcontractkit/hardhat-starter-kit" image: "QuickStarts-Chainlink-Hardhat-Starter-Kit.webp" products: ["general"] time: "10 minutes" diff --git a/src/content/quickstarts/circuit-breaker.mdx b/src/content/quickstarts/circuit-breaker.mdx index 724df49ba07..e1bee43bbc0 100644 --- a/src/content/quickstarts/circuit-breaker.mdx +++ b/src/content/quickstarts/circuit-breaker.mdx @@ -1,6 +1,7 @@ --- title: "Data Feed Circuit Breaker Using Chainlink Automation" description: "Build your own Data Feed Circuit Breaker Using Chainlink Automation." +githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-circuitbreaker" image: "QuickStarts-Circuit-Breaker.webp" products: ["automation", "feeds"] time: "90 minutes" diff --git a/src/content/quickstarts/dev3-chainlink-sdk.mdx b/src/content/quickstarts/dev3-chainlink-sdk.mdx index cd698eef86a..89249aa548a 100644 --- a/src/content/quickstarts/dev3-chainlink-sdk.mdx +++ b/src/content/quickstarts/dev3-chainlink-sdk.mdx @@ -1,6 +1,7 @@ --- title: "Dev3 Chainlink SDK" description: "Learn how to install and use the Dev3 Chainlink SDK in your applications." +githubSourceCodeUrl: "https://github.com/0xDev3/dev3-sdk" image: "QuickStarts-Dev3-Chainlink-SDK.webp" products: ["general"] time: "30 minutes" diff --git a/src/content/quickstarts/eth-balance-monitor.mdx b/src/content/quickstarts/eth-balance-monitor.mdx index 3fe38228b65..7a3ab2bd6ce 100644 --- a/src/content/quickstarts/eth-balance-monitor.mdx +++ b/src/content/quickstarts/eth-balance-monitor.mdx @@ -1,6 +1,7 @@ --- title: "Automate Contract Balance Top-up" description: "Automate the process of maintaining an Ethereum balance in your smart contract using Chainlink Automation." +githubSourceCodeUrl: "https://github.com/smartcontractkit/documentation/blob/main/public/samples/Automation/tutorials/EthBalanceMonitor.sol" image: "QuickStarts-ETH-Balance-Monitor.webp" products: ["automation"] time: "30 minutes" diff --git a/src/content/quickstarts/foundry-chainlink-toolkit.mdx b/src/content/quickstarts/foundry-chainlink-toolkit.mdx index 19c80316181..8eca7bee619 100644 --- a/src/content/quickstarts/foundry-chainlink-toolkit.mdx +++ b/src/content/quickstarts/foundry-chainlink-toolkit.mdx @@ -1,6 +1,7 @@ --- title: "Foundry Chainlink Toolkit" description: "Test smart contracts and local Chainlink nodes using Foundry." +githubSourceCodeUrl: "https://github.com/smartcontractkit/foundry-chainlink-toolkit" image: "QuickStarts-Foundry-Chainlink-Toolkit.webp" products: ["general"] time: "10 minutes" diff --git a/src/content/quickstarts/functions-demo-app.mdx b/src/content/quickstarts/functions-demo-app.mdx index 1bc0ed77e55..af68db14539 100644 --- a/src/content/quickstarts/functions-demo-app.mdx +++ b/src/content/quickstarts/functions-demo-app.mdx @@ -1,6 +1,7 @@ --- title: "Chainlink Functions Demo App" description: "Learn how to build applications that use Chainlink Functions by running your own version of the Chainlink Functions Demo App." +githubSourceCodeUrl: "https://github.com/smartcontractkit/chainlink-functions-demo-app" image: "QuickStarts-Chainlink-Functions-Showcase.webp" products: ["general"] time: "90 minutes" diff --git a/src/content/quickstarts/giveaway.mdx b/src/content/quickstarts/giveaway.mdx index 67ae6cd362c..767a9a87f83 100644 --- a/src/content/quickstarts/giveaway.mdx +++ b/src/content/quickstarts/giveaway.mdx @@ -1,6 +1,7 @@ --- title: "Giveaway Manager" description: "Build an app to manage distribution." +githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-giveaway" image: "QuickStarts-Giveaway-Manager.webp" products: ["general"] time: "180 minutes" diff --git a/src/content/quickstarts/hardhat-plugin.mdx b/src/content/quickstarts/hardhat-plugin.mdx index eafa1eaf055..107eef7900b 100644 --- a/src/content/quickstarts/hardhat-plugin.mdx +++ b/src/content/quickstarts/hardhat-plugin.mdx @@ -1,6 +1,7 @@ --- title: "Using the Hardhat Chainlink Plugin" description: "Learn how to use the Hardhat Chainlink Plugin in your applications." +githubSourceCodeUrl: "https://github.com/smartcontractkit/hardhat-chainlink" image: "QuickStarts-Hardhat-Chainlink-Plugin.webp" products: ["general"] time: "30 minutes" diff --git a/src/content/quickstarts/historical-price-feeds-api.mdx b/src/content/quickstarts/historical-price-feeds-api.mdx index 6fe6fb88bc0..f823b946ecd 100644 --- a/src/content/quickstarts/historical-price-feeds-api.mdx +++ b/src/content/quickstarts/historical-price-feeds-api.mdx @@ -1,6 +1,7 @@ --- title: "Historical Price Feeds API" description: "Deploy your own Historical Price Feeds API for retrieving data." +githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-historical-prices-api" image: "QuickStarts-Historical-Price-Feed.webp" products: ["feeds"] time: "10 minutes" diff --git a/src/content/quickstarts/pass-cost-to-end-user.mdx b/src/content/quickstarts/pass-cost-to-end-user.mdx index eb4ea5b80c9..f10861f4376 100644 --- a/src/content/quickstarts/pass-cost-to-end-user.mdx +++ b/src/content/quickstarts/pass-cost-to-end-user.mdx @@ -1,6 +1,7 @@ --- title: "Pass VRF Costs to the End Users" description: "Identify the cost of specific VRF requests in order to pass this cost to the end users of your application." +githubSourceCodeUrl: "https://github.com/smartcontractkit/vrf-direct-funding-example" image: "QuickStarts-Pass-VRF-Costs-to-the-End-Users.webp" products: ["vrf"] time: "30 minutes" diff --git a/src/content/quickstarts/price-feeds-showcase.mdx b/src/content/quickstarts/price-feeds-showcase.mdx index d30179267ed..1779f155391 100644 --- a/src/content/quickstarts/price-feeds-showcase.mdx +++ b/src/content/quickstarts/price-feeds-showcase.mdx @@ -1,6 +1,7 @@ --- title: "Solana Pricefeeds Showcase" description: "Learn how to deploy a Price Feeds app for Solana." +githubSourceCodeUrl: "https://github.com/smartcontractkit/solana-prediction-game" image: "QuickStarts-Solana-Pricefeeds-Showcase.webp" products: ["feeds"] time: "10 minutes" diff --git a/src/content/quickstarts/vrf-enabled-lootbox-pack.mdx b/src/content/quickstarts/vrf-enabled-lootbox-pack.mdx index a726536c38a..aa6c7d71bf1 100644 --- a/src/content/quickstarts/vrf-enabled-lootbox-pack.mdx +++ b/src/content/quickstarts/vrf-enabled-lootbox-pack.mdx @@ -1,6 +1,7 @@ --- title: "VRF-Enabled LootBox/Pack Contract" description: "Build a pack contract using VRF." +githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-lootbox" image: "QuickStarts-VRF-Enabled-LootBox-Pack-Contract.webp" products: ["vrf"] time: "90 minutes" diff --git a/src/content/quickstarts/vrf-mystery-box.mdx b/src/content/quickstarts/vrf-mystery-box.mdx index 4d8183deacf..0f753d48a43 100644 --- a/src/content/quickstarts/vrf-mystery-box.mdx +++ b/src/content/quickstarts/vrf-mystery-box.mdx @@ -1,6 +1,7 @@ --- title: "VRF-Enabled Mystery Box" description: "Build a mystery box smart contract using VRF." +githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-mysterybox" image: "QuickStarts-VRF-Enabled-LootBox-Pack-Contract.webp" products: ["vrf"] time: "90 minutes" diff --git a/src/content/quickstarts/vrf-subscription-monitor.mdx b/src/content/quickstarts/vrf-subscription-monitor.mdx index 98154d22d43..13bc05791c5 100644 --- a/src/content/quickstarts/vrf-subscription-monitor.mdx +++ b/src/content/quickstarts/vrf-subscription-monitor.mdx @@ -1,6 +1,7 @@ --- title: "VRF Subscription Balance Monitor" description: "Automatically top-up your VRF subscription balances using Chainlink Automation to ensure there is sufficient funding for requests." +githubSourceCodeUrl: "https://github.com/smartcontractkit/documentation/blob/main/public/samples/Automation/tutorials/VRFSubscriptionBalanceMonitor.sol" image: "QuickStarts-VRF-Balance-Subscription-Manager.webp" products: ["automation", "vrf"] time: "30 minutes" diff --git a/src/content/quickstarts/web3js.mdx b/src/content/quickstarts/web3js.mdx index c01d4f3fdef..bd0b5a83423 100644 --- a/src/content/quickstarts/web3js.mdx +++ b/src/content/quickstarts/web3js.mdx @@ -1,6 +1,7 @@ --- title: "Using the Web3.js Plugin" description: "Incorporate the web3.js plugin to your NodeJS project with a single line of code to natively interact with Chainlink Data Feeds." +githubSourceCodeUrl: "https://github.com/web3/web3.js" image: "QuickStarts-web3.js-plugin.webp" products: ["general"] time: "30 minutes"