From f4c9d337af3b5615e421dfe0120dd478a75634ec Mon Sep 17 00:00:00 2001 From: Catalin Rosu Date: Wed, 6 Nov 2024 14:43:49 +0200 Subject: [PATCH 01/12] Chore/ramps data (#90) * Move away from fetching data from Airtable * Remove AIRTABLE_TOKEN env var and related comments * Add missing countries, remove duplicates for certain entries * Enhance the logo imports logic --- .env.example | 2 - .../ramps}/logos/alchemy-pay.png | Bin .../assets => assets/ramps}/logos/banxa.png | Bin .../ramps}/logos/coinflow.png | Bin .../assets => assets/ramps}/logos/coinify.png | Bin .../assets => assets/ramps}/logos/kado.png | Bin .../assets => assets/ramps}/logos/luno.png | Bin .../ramps}/logos/mercuryo.png | Bin .../assets => assets/ramps}/logos/meso.png | Bin .../assets => assets/ramps}/logos/moonpay.png | Bin .../assets => assets/ramps}/logos/onmeta.png | Bin .../assets => assets/ramps}/logos/onramp.png | Bin .../assets => assets/ramps}/logos/paybis.png | Bin .../assets => assets/ramps}/logos/payfura.png | Bin .../assets => assets/ramps}/logos/saber.png | Bin .../assets => assets/ramps}/logos/scalex.png | Bin .../assets => assets/ramps}/logos/sphere.png | Bin .../assets => assets/ramps}/logos/stables.png | Bin .../assets => assets/ramps}/logos/stripe.png | Bin .../assets => assets/ramps}/logos/topper.png | Bin .../assets => assets/ramps}/logos/transak.png | Bin .../ramps}/logos/transfero.png | Bin .../assets => assets/ramps}/logos/transfi.png | Bin .../assets => assets/ramps}/logos/unlimit.png | Bin .../assets => assets/ramps}/logos/untorg.png | Bin src/components/ramps/RampsLayout.jsx | 162 +- .../ramps/assets/logos/moneygram.png | Bin 3060 -> 0 bytes src/data/ramps/ramps-data.js | 2253 +++++++++++++++++ src/pages/solanaramp.js | 200 +- 29 files changed, 2280 insertions(+), 337 deletions(-) rename {src/components/ramps/assets => assets/ramps}/logos/alchemy-pay.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/banxa.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/coinflow.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/coinify.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/kado.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/luno.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/mercuryo.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/meso.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/moonpay.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/onmeta.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/onramp.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/paybis.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/payfura.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/saber.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/scalex.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/sphere.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/stables.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/stripe.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/topper.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/transak.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/transfero.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/transfi.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/unlimit.png (100%) rename {src/components/ramps/assets => assets/ramps}/logos/untorg.png (100%) delete mode 100755 src/components/ramps/assets/logos/moneygram.png create mode 100644 src/data/ramps/ramps-data.js diff --git a/.env.example b/.env.example index 368e84341..4872580df 100644 --- a/.env.example +++ b/.env.example @@ -14,8 +14,6 @@ LUMA_PRIVATE_API_KEY= # Builder NEXT_PUBLIC_BUILDER_API_KEY= NEXT_PUBLIC_BUILDER_NEWS_SETTINGS_ID= -# Airtable -AIRTABLE_TOKEN= # River RIVER_KEY= # RPC Endpoint diff --git a/src/components/ramps/assets/logos/alchemy-pay.png b/assets/ramps/logos/alchemy-pay.png similarity index 100% rename from src/components/ramps/assets/logos/alchemy-pay.png rename to assets/ramps/logos/alchemy-pay.png diff --git a/src/components/ramps/assets/logos/banxa.png b/assets/ramps/logos/banxa.png similarity index 100% rename from src/components/ramps/assets/logos/banxa.png rename to assets/ramps/logos/banxa.png diff --git a/src/components/ramps/assets/logos/coinflow.png b/assets/ramps/logos/coinflow.png similarity index 100% rename from src/components/ramps/assets/logos/coinflow.png rename to assets/ramps/logos/coinflow.png diff --git a/src/components/ramps/assets/logos/coinify.png b/assets/ramps/logos/coinify.png similarity index 100% rename from src/components/ramps/assets/logos/coinify.png rename to assets/ramps/logos/coinify.png diff --git a/src/components/ramps/assets/logos/kado.png b/assets/ramps/logos/kado.png similarity index 100% rename from src/components/ramps/assets/logos/kado.png rename to assets/ramps/logos/kado.png diff --git a/src/components/ramps/assets/logos/luno.png b/assets/ramps/logos/luno.png similarity index 100% rename from src/components/ramps/assets/logos/luno.png rename to assets/ramps/logos/luno.png diff --git a/src/components/ramps/assets/logos/mercuryo.png b/assets/ramps/logos/mercuryo.png similarity index 100% rename from src/components/ramps/assets/logos/mercuryo.png rename to assets/ramps/logos/mercuryo.png diff --git a/src/components/ramps/assets/logos/meso.png b/assets/ramps/logos/meso.png similarity index 100% rename from src/components/ramps/assets/logos/meso.png rename to assets/ramps/logos/meso.png diff --git a/src/components/ramps/assets/logos/moonpay.png b/assets/ramps/logos/moonpay.png similarity index 100% rename from src/components/ramps/assets/logos/moonpay.png rename to assets/ramps/logos/moonpay.png diff --git a/src/components/ramps/assets/logos/onmeta.png b/assets/ramps/logos/onmeta.png similarity index 100% rename from src/components/ramps/assets/logos/onmeta.png rename to assets/ramps/logos/onmeta.png diff --git a/src/components/ramps/assets/logos/onramp.png b/assets/ramps/logos/onramp.png similarity index 100% rename from src/components/ramps/assets/logos/onramp.png rename to assets/ramps/logos/onramp.png diff --git a/src/components/ramps/assets/logos/paybis.png b/assets/ramps/logos/paybis.png similarity index 100% rename from src/components/ramps/assets/logos/paybis.png rename to assets/ramps/logos/paybis.png diff --git a/src/components/ramps/assets/logos/payfura.png b/assets/ramps/logos/payfura.png similarity index 100% rename from src/components/ramps/assets/logos/payfura.png rename to assets/ramps/logos/payfura.png diff --git a/src/components/ramps/assets/logos/saber.png b/assets/ramps/logos/saber.png similarity index 100% rename from src/components/ramps/assets/logos/saber.png rename to assets/ramps/logos/saber.png diff --git a/src/components/ramps/assets/logos/scalex.png b/assets/ramps/logos/scalex.png similarity index 100% rename from src/components/ramps/assets/logos/scalex.png rename to assets/ramps/logos/scalex.png diff --git a/src/components/ramps/assets/logos/sphere.png b/assets/ramps/logos/sphere.png similarity index 100% rename from src/components/ramps/assets/logos/sphere.png rename to assets/ramps/logos/sphere.png diff --git a/src/components/ramps/assets/logos/stables.png b/assets/ramps/logos/stables.png similarity index 100% rename from src/components/ramps/assets/logos/stables.png rename to assets/ramps/logos/stables.png diff --git a/src/components/ramps/assets/logos/stripe.png b/assets/ramps/logos/stripe.png similarity index 100% rename from src/components/ramps/assets/logos/stripe.png rename to assets/ramps/logos/stripe.png diff --git a/src/components/ramps/assets/logos/topper.png b/assets/ramps/logos/topper.png similarity index 100% rename from src/components/ramps/assets/logos/topper.png rename to assets/ramps/logos/topper.png diff --git a/src/components/ramps/assets/logos/transak.png b/assets/ramps/logos/transak.png similarity index 100% rename from src/components/ramps/assets/logos/transak.png rename to assets/ramps/logos/transak.png diff --git a/src/components/ramps/assets/logos/transfero.png b/assets/ramps/logos/transfero.png similarity index 100% rename from src/components/ramps/assets/logos/transfero.png rename to assets/ramps/logos/transfero.png diff --git a/src/components/ramps/assets/logos/transfi.png b/assets/ramps/logos/transfi.png similarity index 100% rename from src/components/ramps/assets/logos/transfi.png rename to assets/ramps/logos/transfi.png diff --git a/src/components/ramps/assets/logos/unlimit.png b/assets/ramps/logos/unlimit.png similarity index 100% rename from src/components/ramps/assets/logos/unlimit.png rename to assets/ramps/logos/unlimit.png diff --git a/src/components/ramps/assets/logos/untorg.png b/assets/ramps/logos/untorg.png similarity index 100% rename from src/components/ramps/assets/logos/untorg.png rename to assets/ramps/logos/untorg.png diff --git a/src/components/ramps/RampsLayout.jsx b/src/components/ramps/RampsLayout.jsx index 23dc71562..2ddc1269a 100644 --- a/src/components/ramps/RampsLayout.jsx +++ b/src/components/ramps/RampsLayout.jsx @@ -7,33 +7,6 @@ import { Hero } from "@solana-foundation/solana-lib"; import onOffRampHeroImage from "../../../assets/onofframp/on-off-ramp-hero-img.png"; import { useTranslation } from "next-i18next"; -// Logo imports -import alchemyPayLogo from "./assets/logos/alchemy-pay.png"; -import banxa from "./assets/logos/banxa.png"; -import coinflow from "./assets/logos/coinflow.png"; -import coinify from "./assets/logos/coinify.png"; -import kado from "./assets/logos/kado.png"; -import luno from "./assets/logos/luno.png"; -import mercuryo from "./assets/logos/mercuryo.png"; -import mesonetwork from "./assets/logos/meso.png"; -import moneygram from "./assets/logos/moneygram.png"; -import moonpay from "./assets/logos/moonpay.png"; -import onmeta from "./assets/logos/onmeta.png"; -import onramp from "./assets/logos/onramp.png"; -import payfura from "./assets/logos/payfura.png"; -import saber from "./assets/logos/saber.png"; -import scalex from "./assets/logos/scalex.png"; -import stripe from "./assets/logos/stripe.png"; -import transak from "./assets/logos/transak.png"; -import transfero from "./assets/logos/transfero.png"; -import transfi from "./assets/logos/transfi.png"; -import unlimit from "./assets/logos/unlimit.png"; -import utorg from "./assets/logos/untorg.png"; -import paybis from "./assets/logos/paybis.png"; -import topper from "./assets/logos/topper.png"; -import sphere from "./assets/logos/sphere.png"; -import stables from "./assets/logos/stables.png"; - const RampLayout = ({ data, fiatAssetsOptions, @@ -53,109 +26,6 @@ const RampLayout = ({ } }; - const RampLogoMap = [ - { - ramp: "AlchemyPay", - logo: alchemyPayLogo, - }, - { - ramp: "Banxa", - logo: banxa, - }, - { - ramp: "Coinflow", - logo: coinflow, - }, - { - ramp: "Coinify", - logo: coinify, - }, - { - ramp: "Kado", - logo: kado, - }, - { - ramp: "Luno", - logo: luno, - }, - { - ramp: "Mercuryo", - logo: mercuryo, - }, - { - ramp: "Meso Network", - logo: mesonetwork, - }, - { - ramp: "Moonpay", - logo: moonpay, - }, - { - ramp: "Moneygram", - logo: moneygram, - }, - { - ramp: "Onmeta", - logo: onmeta, - }, - { - ramp: "OnRamp", - logo: onramp, - }, - { - ramp: "Payfura", - logo: payfura, - }, - { - ramp: "Saber Money", - logo: saber, - }, - { - ramp: "Scalex", - logo: scalex, - }, - { - ramp: "Stripe", - logo: stripe, - }, - { - ramp: "Transak", - logo: transak, - }, - { - ramp: "Transfero", - logo: transfero, - }, - { - ramp: "TransFi", - logo: transfi, - }, - { - ramp: "Unlimit Crypto", - logo: unlimit, - }, - { - ramp: "Utorg", - logo: utorg, - }, - { - ramp: "Paybis", - logo: paybis, - }, - { - ramp: "Topper", - logo: topper, - }, - { - ramp: "Sphere", - logo: sphere, - }, - { - ramp: "Stables", - logo: stables, - }, - ]; - const rampsTitles = data.map((data) => data.fields.RampName).sort(); const placeholderRamps = []; @@ -171,26 +41,21 @@ const RampLayout = ({ RampStatusOff, RampStatusOn, WebsiteUrl, - Countries2, - FiatAssets2, - PaymentRails2, + RampLogo, + Countries, + FiatAssets, + PaymentRails, } = matchingRamp[0].fields; - const matchingRampLogoObject = RampLogoMap.filter( - (item) => item.ramp === RampName, - ); - placeholderRamps.push({ title: RampName, description: Description ?? "", websiteUrl: WebsiteUrl, - imageUrl: matchingRampLogoObject.length - ? matchingRampLogoObject[0].logo.src - : null, + imageUrl: RampLogo, meta: { - countries: Countries2 ?? [], - "payment-rails": PaymentRails2 ?? [], - "fiat-assets": FiatAssets2 ?? [], + countries: Countries ?? [], + "payment-rails": PaymentRails ?? [], + "fiat-assets": FiatAssets ?? [], "ramp-status-on": RampStatusOn ?? false, "ramp-status-off": RampStatusOff ?? false, }, @@ -227,11 +92,11 @@ const RampLayout = ({ ]; /** - * Runs through an array of records that comes from the Airtable API, sorts them by Name, then returns the correct format for the data for our checkboxes + * Sorts and formats the data for the filter checkboxes * - * @param {Array} dataArray the Data that gets returned from the Airtable API - * @param {String} checkboxName the name of the checkbox so when one is clicked the ramps will filter based on that data - * @returns array + * @param {Array} dataArray Array of items (fiatAssets, countries, or paymentRails) + * @param {String} checkboxName the name of the checkbox for filtering (fiat-assets, countries, or payment-rails) + * @returns array of formatted items for the filter checkboxes */ const sortAndFormatData = (dataArray, checkboxName) => { const sortedData = []; @@ -242,7 +107,8 @@ const RampLayout = ({ const data = dataArray.filter((item) => item.fields.Name === title); sortedData.push({ value: data[0].id, - title: data[0].fields?.Name, + title: + checkboxName === "fiat-assets" ? data[0].id : data[0].fields?.Name, name: checkboxName, }); }); diff --git a/src/components/ramps/assets/logos/moneygram.png b/src/components/ramps/assets/logos/moneygram.png deleted file mode 100755 index 847a9f7be9feaed7197e1aa1a3042385961c2e5b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3060 zcmX9=2{=^W8y;jyhLkKbmdKi@>}wkP79tX%Y$<~*p~$`@C1s~VrACo0vP3EVnHYN* zyTYA&XSsv;6*B+p_dCzM-+iC=yx;qs=X~cp&&_bKvq1A=cu^=6+RD<@5&7QQeR(*L zXp#PY425Ffbg(^VW^vt?g^Y_AS*$e{i_z!rzrMcCoSQ>93f>)p01yO!Z!mwY!OV(^ zl|T;$gSPBpzrp|@0~H8@7`jSpOxnr{1j!4ou2NtI70{Ds(4dtSIt+u5p$ecb&4eNF zxWo#R3e!M39fV;j<%9&2Nu!()hmk2Wb;$fA@GoY>IN%_fKUSKXQFc;^TKWE{E zX?T7Lo+HCkV=#FXCXc}5L-5!j{C$w|y&oR!het^8a34HGg!{k3ecg=SE|~Zk?)e1& zuLJJ-0Do>}d}?O2H!|897%jE*_iq`ERg8w$j5-3n<|V!AIlZ!!PIyXx^_X5!LNCjw zm*&x*JVJJlUXo2O%AyzEqZizx=Vs6!rPCgy(6W+fneo(&INF_9TIx+|awIh&oEjfW zjSHp5givqcsnLPd$N*}XFE!YU8t6d{aHIO4hy0wW-cHaZ2gt(?x?lyJH;0@}!LvBX z{uF3u2-@m{);gf27HF;knyG;%CqbMlXmk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Ci!ZywD z8}$+ihJN3R(Np|~gxYk3qOu1w+(Z>5-%V>eml`R?JDgpL2&ZIuA8Q=-KWnY)PFwh< zOYe%$(V4#-xFi>Gr2HY#3}30gQ70>W@MCiIB3VJfyBCqldQq&huz5yD?9OIOrpo-zRUxsvJDl$G1w)JJguVFI zxwzEr)t-I$dJ#$K`1^z_>bE~0`UAV~BWvvYc!urfj{*E6BSRe9Et*BJR^nEAkka*b z+lgQC8_&vO*Sj6;r&7Kuxq7jVa1W^e#R?_e!QtS|&$wzOjUbEd)MV!SD^rdXH-V=l zwqnC(&7$Y)+OOJ)ackQ<`qe$A5~WWW<4}klE7;;uVaw*bc(LgpSM8(lW@FJG#@9ZU z(EZs4=Hl05YnrNi+#VQe26Uxdt?AfF>!nAwuWY^<@r;dRI^hl P7?hQno#|WSOG*C+iq~V% diff --git a/src/data/ramps/ramps-data.js b/src/data/ramps/ramps-data.js new file mode 100644 index 000000000..6905a3ef6 --- /dev/null +++ b/src/data/ramps/ramps-data.js @@ -0,0 +1,2253 @@ +import alchemyPayLogo from "../../../assets/ramps/logos/alchemy-pay.png"; +import banxa from "../../../assets/ramps/logos/banxa.png"; +import coinflow from "../../../assets/ramps/logos/coinflow.png"; +import coinify from "../../../assets/ramps/logos/coinify.png"; +import kado from "../../../assets/ramps/logos/kado.png"; +import luno from "../../../assets/ramps/logos/luno.png"; +import mercuryo from "../../../assets/ramps/logos/mercuryo.png"; +import mesonetwork from "../../../assets/ramps/logos/meso.png"; +import moonpay from "../../../assets/ramps/logos/moonpay.png"; +import onmeta from "../../../assets/ramps/logos/onmeta.png"; +import onramp from "../../../assets/ramps/logos/onramp.png"; +import payfura from "../../../assets/ramps/logos/payfura.png"; +import saber from "../../../assets/ramps/logos/saber.png"; +import scalex from "../../../assets/ramps/logos/scalex.png"; +import stripe from "../../../assets/ramps/logos/stripe.png"; +import transak from "../../../assets/ramps/logos/transak.png"; +import transfero from "../../../assets/ramps/logos/transfero.png"; +import transfi from "../../../assets/ramps/logos/transfi.png"; +import unlimit from "../../../assets/ramps/logos/unlimit.png"; +import utorg from "../../../assets/ramps/logos/untorg.png"; +import paybis from "../../../assets/ramps/logos/paybis.png"; +import topper from "../../../assets/ramps/logos/topper.png"; +import sphere from "../../../assets/ramps/logos/sphere.png"; +import stables from "../../../assets/ramps/logos/stables.png"; + +export const rampData = [ + { + id: "mercuryo", + fields: { + RampName: "Mercuryo", + WebsiteUrl: "https://mercuryo.io", + RampLogo: mercuryo, + PaymentRails: [ + "apple-pay", + "google-pay", + "mastercard", + "pix", + "sepa", + "visa", + ], + FiatAssets: [ + "AUD", + "BGN", + "BRL", + "CAD", + "CHF", + "COP", + "CZK", + "DKK", + "DOP", + "EUR", + "GBP", + "GHS", + "HKD", + "HUF", + "ILS", + "ISK", + "JOD", + "JPY", + "KRW", + "KZT", + "LKR", + "MXN", + "NZD", + "PEN", + "PLN", + "QAR", + "RON", + "SEK", + "THB", + "TRY", + "TWD", + "USD", + "UYU", + "VND", + ], + Countries: [ + "aland-islands", + "albania", + "american-samoa", + "andorra", + "antigua-and-barbuda", + "argentina", + "armenia", + "aruba", + "australia", + "azerbaijan", + "bahamas", + "bahrain", + "belarus", + "belgium", + "belize", + "benin", + "bermuda", + "bhutan", + "bosnia-and-herzegovina", + "botswana", + "brazil", + "british-virgin-islands", + "brunei", + "bulgaria", + "burkina-faso", + "cabo-verde", + "cameroon", + "canada", + "cayman-islands", + "chad", + "chile", + "christmas-island", + "cocos-keeling-islands", + "comoros", + "cook-islands", + "croatia", + "curacao", + "cyprus", + "czech-republic", + "denmark", + "djibouti", + "dominica", + "dominican-republic", + "east-timor", + "egypt", + "el-salvador", + "equatorial-guinea", + "eritrea", + "estonia", + "eswatini", + "ethiopia", + "european-union", + "falkland-islands", + "faroe-islands", + "fiji", + "finland", + "france", + "gabon", + "gambia", + "georgia", + "germany", + "ghana", + "greece", + "greenland", + "grenada", + "guadeloupe", + "guam", + "guinea", + "guyana", + "hong-kong", + "hungary", + "india", + "indonesia", + "ireland", + "israel", + "italy", + "ivory-coast", + "jamaica", + "japan", + "jordan", + "kazakhstan", + "kenya", + "kiribati", + "kosovo", + "kuwait", + "laos", + "latvia", + "lesotho", + "liechtenstein", + "lithuania", + "luxembourg", + "macau", + "madagascar", + "malawi", + "malaysia", + "maldives", + "malta", + "marshall-islands", + "martinique", + "mauritania", + "mauritius", + "mayotte", + "mexico", + "micronesia", + "moldova", + "monaco", + "mongolia", + "montenegro", + "mozambique", + "nauru", + "netherlands", + "new-zealand", + "niger", + "nigeria", + "niue", + "norfolk-islands", + "north-macedonia", + "northern-mariana-islands", + "norway", + "palau", + "paraguay", + "philippines", + "pitcairn", + "poland", + "portugal", + "puerto-rico", + "saint-barthelemy", + "saint-kitts", + "saint-lucia", + "saint-martin", + "saint-pierre-and-miquelon", + "saint-vincent", + "samoa", + "san-marino", + "sao-tome-and-principe", + "senegal", + "serbia", + "seychelles", + "singapore", + "slovakia", + "slovenia", + "solomon-islands", + "south-africa", + "south-korea", + "spain", + "sri-lanka", + "suriname", + "svalbard-and-jan-mayen", + "sweden", + "switzerland", + "taiwan", + "tajikistan", + "tanzania", + "thailand", + "togo", + "tokelau", + "tonga", + "trinidad-and-tobago", + "turkey", + "turkmenistan", + "turks-and-caicos", + "tuvalu", + "us-virgin-islands", + "uganda", + "ukraine", + "united-arab-emirates", + "united-kingdom", + "united-states", + "uruguay", + "uzbekistan", + "vanuatu", + "vatican-city", + "vietnam", + ], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "paybis", + fields: { + RampName: "Paybis", + WebsiteUrl: "https://paybis.com/", + RampLogo: paybis, + PaymentRails: [ + "apple-pay", + "astropay", + "cards-international", + "fpx", + "google-pay", + "grab-pay", + "neteller", + "pix", + "sepa", + "skrill", + "spei", + ], + FiatAssets: [ + "AED", + "AUD", + "AZN", + "CRC", + "CZK", + "DKK", + "DOP", + "DZD", + "EUR", + "GBP", + "GEL", + "HUF", + "IDR", + "ILS", + "INR", + "KWD", + "MAD", + "MXN", + "MYR", + "NOK", + "PEN", + "PHP", + "PLN", + "RON", + "SAR", + "SEK", + "SGD", + "THB", + "TND", + "TRY", + "UAH", + "USD", + "VND", + "XAF", + "ZAR", + ], + Countries: [ + "aland-islands", + "albania", + "algeria", + "american-samoa", + "andorra", + "angola", + "antigua-and-barbuda", + "argentina", + "armenia", + "aruba", + "australia", + "austria", + "azerbaijan", + "bahamas", + "bahrain", + "belgium", + "belize", + "benin", + "bermuda", + "bhutan", + "bosnia-and-herzegovina", + "botswana", + "brazil", + "british-virgin-islands", + "brunei", + "bulgaria", + "burundi", + "cabo-verde", + "cambodia", + "cameroon", + "canada", + "cayman-islands", + "chad", + "chile", + "christmas-island", + "cocos-keeling-islands", + "colombia", + "comoros", + "cook-islands", + "costa-rica", + "croatia", + "curacao", + "cyprus", + "czech-republic", + "denmark", + "djibouti", + "dominica", + "dominican-republic", + "east-timor", + "ecuador", + "egypt", + "el-salvador", + "equatorial-guinea", + "eritrea", + "estonia", + "eswatini", + "ethiopia", + "european-union", + "falkland-islands", + "faroe-islands", + "fiji", + "finland", + "france", + "french-guyana", + "gabon", + "gambia", + "georgia", + "germany", + "ghana", + "greece", + "greenland", + "grenada", + "guadeloupe", + "guam", + "guatemala", + "guinea", + "guinea-bissau", + "guyana", + "honduras", + "hong-kong", + "hungary", + "india", + "indonesia", + "ireland", + "israel", + "italy", + "ivory-coast", + "jordan", + "kazakhstan", + "kenya", + "kiribati", + "kuwait", + "kyrgyzstan", + "laos", + "latvia", + "lesotho", + "liechtenstein", + "lithuania", + "luxembourg", + "madagascar", + "malawi", + "maldives", + "marshall-islands", + "martinique", + "mauritania", + "mauritius", + "mayotte", + "mexico", + "micronesia", + "moldova", + "monaco", + "montenegro", + "mozambique", + "nauru", + "nepal", + "netherlands", + "new-zealand", + "niger", + "nigeria", + "niue", + "norfolk-islands", + "north-macedonia", + "northern-mariana-islands", + "norway", + "oman", + "palau", + "papua-new-guinea", + "paraguay", + "peru", + "philippines", + "pitcairn", + "poland", + "portugal", + "puerto-rico", + "qatar", + "reunion", + "romania", + "rwanda", + "saint-barthelemy", + "saint-kitts", + "saint-lucia", + "saint-martin", + "saint-pierre-and-miquelon", + "saint-vincent", + "samoa", + "san-marino", + "sao-tome-and-principe", + "serbia", + "seychelles", + "sierra-leone", + "singapore", + "slovakia", + "slovenia", + "solomon-islands", + "somalia", + "south-africa", + "spain", + "sri-lanka", + "suriname", + "svalbard-and-jan-mayen", + "sweden", + "switzerland", + "taiwan", + "tanzania", + "thailand", + "trinidad-and-tobago", + "tunisia", + ], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "meso-network", + fields: { + RampName: "Meso Network", + WebsiteUrl: "https://developers.meso.network/", + RampLogo: mesonetwork, + PaymentRails: ["debit"], + FiatAssets: ["USD"], + Countries: ["united-states"], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "stables", + fields: { + RampName: "Stables", + WebsiteUrl: "https://stables.money/", + RampLogo: stables, + PaymentRails: ["ach", "mastercard", "rtp", "sepa", "visa", "wires"], + FiatAssets: [ + "AED", + "ARS", + "AUD", + "BGN", + "BRL", + "BWP", + "BYN", + "CAD", + "CHF", + "CLP", + "COP", + "CZK", + "DKK", + "EUR", + "HKD", + "HUF", + "IDR", + "ILS", + "JPY", + "KES", + "KRW", + "MXN", + "NGN", + "NOK", + "NZD", + "PEN", + "PHP", + "PLN", + "RON", + "RWF", + "SAR", + "SEK", + "SGD", + "THB", + "TRY", + "TZS", + "UAH", + "UGX", + "USD", + "UYU", + "UZS", + "XAF", + "XOF", + "ZAR", + "ZMW", + ], + Countries: [ + "algeria", + "anguilla", + "antigua-and-barbuda", + "argentina", + "armenia", + "australia", + "austria", + "azerbaijan", + "bahamas", + "bahrain", + "belarus", + "belgium", + "belize", + "benin", + "bermuda", + "bolivia", + "bosnia-and-herzegovina", + "botswana", + "brazil", + "british-virgin-islands", + "brunei", + "bulgaria", + "burkina-faso", + "cambodia", + "cameroon", + "canada", + "cape-verde", + "chad", + "chile", + "colombia", + "congo", + "costa-rica", + "croatia", + "cyprus", + "czech-republic", + "cote-divoire", + "denmark", + "dominica", + "dominican-republic", + "ecuador", + "egypt", + "el-salvador", + "estonia", + "fiji", + "finland", + "france", + "gabon", + "gambia", + "georgia", + "germany", + "ghana", + "greece", + "grenada", + "guatemala", + "guyana", + "honduras", + "hong-kong", + "hungary", + "iceland", + "india", + "indonesia", + "ireland", + "israel", + "italy", + "jamaica", + "japan", + "kenya", + "korea", + "kosovo", + "kuwait", + "laos", + "latvia", + "lithuania", + "luxembourg", + "macau", + "malaysia", + "maldives", + "malta", + "mauritius", + "mexico", + "micronesia", + "moldova", + "mongolia", + "montenegro", + "montserrat", + "namibia", + "nauru", + "nepal", + "netherlands", + "new-zealand", + "nigeria", + "north-macedonia", + "norway", + "pakistan", + "palau", + "papua-new-guinea", + "paraguay", + "peru", + "philippines", + "poland", + "portugal", + "qatar", + "romania", + "rwanda", + "senegal", + "serbia", + "seychelles", + "sierra-leone", + "singapore", + "slovakia", + "slovenia", + "solomon-islands", + "somalia", + "south-africa", + "spain", + "sri-lanka", + "saint-kitts", + "saint-lucia", + "saint-vincent", + "suriname", + "sweden", + "switzerland", + "sao-tome-and-principe", + "taiwan", + "tanzania", + "thailand", + "trinidad-and-tobago", + "tunisia", + ], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "alchemy-pay", + fields: { + RampName: "AlchemyPay", + WebsiteUrl: "https://alchemypay.org/", + RampLogo: alchemyPayLogo, + PaymentRails: ["bank-transfer", "sepa"], + FiatAssets: ["ARS", "EUR", "USD"], + Countries: ["france", "germany", "united-states"], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "utorg", + fields: { + RampName: "Utorg", + WebsiteUrl: "https://utorg.pro/", + RampLogo: utorg, + PaymentRails: ["mastercard", "visa"], + FiatAssets: ["TWD", "USD"], + Countries: ["taiwan"], + RampStatusOn: true, + RampStatusOff: false, + }, + }, + { + id: "onmeta", + fields: { + RampName: "Onmeta", + WebsiteUrl: "https://onmeta.in/", + RampLogo: onmeta, + PaymentRails: [], + FiatAssets: ["INR"], + Countries: ["india"], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "transfero", + fields: { + RampName: "Transfero", + WebsiteUrl: "https://transfero.com/", + RampLogo: transfero, + PaymentRails: ["pix"], + FiatAssets: ["BRL"], + Countries: ["brazil", "mexico"], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "topper", + fields: { + RampName: "Topper", + WebsiteUrl: "https://www.topperpay.com/", + RampLogo: topper, + PaymentRails: ["apple-pay", "credit", "debit", "google-pay", "pix"], + FiatAssets: [ + "AED", + "ARS", + "AUD", + "BRL", + "CAD", + "CHF", + "CNY", + "CZK", + "DKK", + "EUR", + "GBP", + "HKD", + "HUF", + "ILS", + "INR", + "JPY", + "KES", + "MXN", + "NOK", + "NZD", + "PHP", + "PLN", + "RON", + "SEK", + "SGD", + "USD", + ], + Countries: [ + "andorra", + "antigua-and-barbuda", + "argentina", + "australia", + "austria", + "bahamas", + "bahrain", + "belgium", + "belize", + "bermuda", + "bhutan", + "bolivia", + "bonaire", + "botswana", + "brazil", + "british-indian-ocean-territory", + "brunei", + "bulgaria", + "cabo-verde", + "cameroon", + "canada", + "cayman-islands", + "chile", + "christmas-island", + "cocos-keeling-islands", + "colombia", + "comoros", + "cook-islands", + "costa-rica", + "croatia", + "curacao", + "cyprus", + "czech-republic", + "democratic-republic", + "denmark", + "djibouti", + "dominican-republic", + "el-salvador", + "estonia", + "falkland-islands", + "faroe-islands", + "finland", + "france", + "french-guiana", + "french-polynesia", + "gabon", + "gambia", + "greece", + "greenland", + "grenada", + "guadeloupe", + "guam", + "guatemala", + "guernsey", + "guyana", + "honduras", + "hong-kong", + "hungary", + "iceland", + "india", + "indonesia", + "ireland", + "isle-of-man", + "israel", + "italy", + "japan", + "jersey", + "kenya", + "kiribati", + "kuwait", + "kyrgyzstan", + "laos", + "latvia", + "lesotho", + "liechtenstein", + "lithuania", + "luxembourg", + "macau", + "madagascar", + "malawi", + "malaysia", + "maldives", + "malta", + "marshall-islands", + "martinique", + "mauritius", + "mayotte", + "mexico", + "micronesia", + "monaco", + "montserrat", + "mozambique", + "namibia", + "nauru", + "new-caledonia", + "new-zealand", + "niger", + "niue", + "norfolk-island", + "north-macedonia", + "northern-mariana-islands", + "norway", + "oman", + "palestine", + "panama", + "papua-new-guinea", + "paraguay", + "peru", + "philippines", + "pitcairn", + "poland", + "portugal", + "puerto-rico", + "qatar", + "romania", + "rwanda", + "reunion", + "saint-barthelemy", + "saint-helena", + "saint-kitts", + "saint-lucia", + "saint-martin", + "saint-pierre-and-miquelon", + "saint-vincent", + "san-marino", + "sao-tome-and-principe", + "saudi-arabia", + "senegal", + "seychelles", + "sierra-leone", + "singapore", + "sint-eustatius-and-saba", + "sint-maarten", + "slovakia", + "slovenia", + "solomon-islands", + "somalia", + "south-africa", + "south-georgia", + "south-korea", + "spain", + "suriname", + "svalbard-and-jan-mayen", + "swaziland", + "sweden", + "switzerland", + "taiwan", + "tajikistan", + "thailand", + "timor-leste", + "tokelau", + "tonga", + "turkey", + "turks-and-caicos", + "tuvalu", + "united-arab-emirates", + "united-kingdom", + "uruguay", + "british-virgin-islands", + "wallis-and-futuna", + "western-sahara", + "zambia", + "aland-islands", + ], + RampStatusOn: true, + RampStatusOff: false, + }, + }, + { + id: "moonpay", + fields: { + RampName: "Moonpay", + WebsiteUrl: "https://www.moonpay.com/", + RampLogo: moonpay, + PaymentRails: [ + "apple-pay", + "credit", + "debit", + "google-pay", + "pix", + "sepa", + "sepa-instant", + "uk-faster-payments", + ], + FiatAssets: [ + "AUD", + "BGN", + "BRL", + "CAD", + "CHF", + "COP", + "CZK", + "DKK", + "DOP", + "EGP", + "EUR", + "GBP", + "HKD", + "IDR", + "ILS", + "JOD", + "KES", + "KWD", + "LKR", + "MXN", + "NGN", + "NOK", + "NZD", + "OMR", + "PEN", + "PLN", + "RON", + "SEK", + "THB", + "TRY", + "TWD", + "USD", + "VND", + "ZAR", + ], + Countries: [ + "aland-islands", + "albania", + "algeria", + "american-samoa", + "andorra", + "angola", + "antigua-and-barbuda", + "argentina", + "armenia", + "aruba", + "australia", + "austria", + "azerbaijan", + "bahamas", + "bahrain", + "belgium", + "belize", + "benin", + "bermuda", + "bhutan", + "bosnia-and-herzegovina", + "botswana", + "brazil", + "british-virgin-islands", + "brunei", + "bulgaria", + "burundi", + "cabo-verde", + "cambodia", + "cameroon", + "canada", + "cayman-islands", + "chad", + "chile", + "christmas-island", + "cocos-keeling-islands", + "colombia", + "comoros", + "cook-islands", + "costa-rica", + "croatia", + "curacao", + "cyprus", + "czech-republic", + "denmark", + "djibouti", + "dominica", + "dominican-republic", + "east-timor", + "ecuador", + "egypt", + "el-salvador", + "equatorial-guinea", + "eritrea", + "estonia", + "eswatini", + "ethiopia", + "european-union", + "falkland-islands", + "faroe-islands", + "fiji", + "finland", + "france", + "french-guyana", + "gabon", + "gambia", + "georgia", + "germany", + "ghana", + "greece", + "greenland", + "grenada", + "guadeloupe", + "guam", + "guatemala", + "guinea", + "guinea-bissau", + "guyana", + "honduras", + "hong-kong", + "hungary", + "india", + "indonesia", + "ireland", + "israel", + "italy", + "ivory-coast", + "jordan", + "kazakhstan", + "kenya", + "kiribati", + "kuwait", + "kyrgyzstan", + "laos", + "latvia", + "lesotho", + "liechtenstein", + "lithuania", + "luxembourg", + "madagascar", + "malawi", + "maldives", + "marshall-islands", + "martinique", + "mauritania", + "mauritius", + "mayotte", + "mexico", + "micronesia", + "moldova", + "monaco", + "montenegro", + "mozambique", + "nauru", + "nepal", + "netherlands", + "new-zealand", + "niger", + "nigeria", + "niue", + "norfolk-islands", + "north-macedonia", + "northern-mariana-islands", + "norway", + "oman", + "palau", + "papua-new-guinea", + "paraguay", + "peru", + "philippines", + "pitcairn", + "poland", + "portugal", + "puerto-rico", + "qatar", + "reunion", + "romania", + "rwanda", + "saint-barthelemy", + "saint-kitts", + "saint-lucia", + "saint-martin", + "saint-pierre-and-miquelon", + "saint-vincent", + "samoa", + "san-marino", + "sao-tome-and-principe", + "serbia", + "seychelles", + "sierra-leone", + "singapore", + "sint-eustatius-and-saba", + "sint-maarten", + "slovakia", + "slovenia", + "solomon-islands", + "somalia", + "south-africa", + "spain", + "sri-lanka", + "suriname", + "sweden", + "switzerland", + "taiwan", + "tanzania", + "thailand", + "trinidad-and-tobago", + "tunisia", + ], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "onramp", + fields: { + RampName: "OnRamp", + WebsiteUrl: "https://onramp.money/", + RampLogo: onramp, + PaymentRails: ["bank-transfer", "upi", "vietqr"], + FiatAssets: ["INR", "TRY", "VND"], + Countries: ["india", "turkey", "vietnam"], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "coinify", + fields: { + RampName: "Coinify", + WebsiteUrl: "https://help.coinify.com/", + RampLogo: coinify, + PaymentRails: ["mastercard", "visa"], + FiatAssets: ["USD"], + Countries: ["hong-kong", "lesotho", "qatar"], + RampStatusOn: true, + RampStatusOff: false, + }, + }, + { + id: "unlimit-crypto", + fields: { + RampName: "Unlimit Crypto", + WebsiteUrl: "https://www.crypto.unlimit.com/", + RampLogo: unlimit, + PaymentRails: ["bank-transfer", "boleto", "picpay", "pix"], + FiatAssets: ["BRL", "MXN"], + Countries: ["brazil", "mexico"], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "stripe", + fields: { + RampName: "Stripe", + WebsiteUrl: "https://docs.stripe.com/crypto/overview", + RampLogo: stripe, + PaymentRails: ["ach", "apple-pay", "credit", "debit"], + FiatAssets: ["USD"], + Countries: ["united-states"], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "saber-money", + fields: { + RampName: "Saber Money", + WebsiteUrl: "https://saber.money/", + RampLogo: saber, + PaymentRails: ["bank-transfer", "upi"], + FiatAssets: ["INR"], + Countries: ["india"], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "transak", + fields: { + RampName: "Transak", + WebsiteUrl: "https://transak.com/", + RampLogo: transak, + PaymentRails: [ + "apple-pay", + "astropay", + "faster-payments", + "gcash", + "google-pay", + "grab-pay", + "imps", + "kachi-shop", + "mastercard", + "ob", + "pagos-seguros", + "sepa", + "visa", + ], + FiatAssets: [ + "AED", + "AMD", + "ANG", + "AOA", + "ARS", + "AUD", + "AZN", + "BAM", + "BHD", + "BMD", + "BND", + "BRL", + "BSD", + "BZD", + "CAD", + "CDF", + "CLP", + "COP", + "CRC", + "CVE", + "DJF", + "DKK", + "DOP", + "DZD", + "EUR", + "FJD", + "FKP", + "GEL", + "GTQ", + "HKD", + "HNL", + "HUF", + "IDR", + "ILS", + "INR", + "ISK", + "JOD", + "JPY", + "KES", + "KGS", + "KHR", + "KRW", + "KWD", + "KYD", + "KZT", + "MGA", + "MKD", + "MRU", + "MWK", + "MXN", + "MYR", + "NGN", + "NOK", + "NZD", + "OMR", + "PAB", + "PEN", + "PGK", + "PHP", + "PLN", + "RON", + "RSD", + "RWF", + "SBD", + "SCR", + "SEK", + "SGD", + "SRD", + "STN", + "SZL", + "TJS", + "TMT", + "TOP", + "TRY", + "TTD", + "TWD", + "USD", + "UYU", + "VND", + "XCD", + "XOF", + "ZAR", + ], + Countries: [ + "aland-islands", + "algeria", + "american-samoa", + "andorra", + "angola", + "argentina", + "armenia", + "aruba", + "australia", + "azerbaijan", + "bahamas", + "bahrain", + "belgium", + "belize", + "benin", + "bermuda", + "bosnia-and-herzegovina", + "brazil", + "brunei", + "burkina-faso", + "cabo-verde", + "cambodia", + "canada", + "cayman-islands", + "chile", + "christmas-island", + "cocos-keeling-islands", + "colombia", + "comoros", + "cook-islands", + "costa-rica", + "croatia", + "curacao", + "cyprus", + "czech-republic", + "democratic-republic-of-congo", + "denmark", + "djibouti", + "dominica", + "dominican-republic", + "estonia", + "eswatini", + "falkland-islands", + "faroe-islands", + "fiji", + "finland", + "france", + "french-guyana", + "georgia", + "germany", + "greece", + "greenland", + "grenada", + "guadeloupe", + "guam", + "guatemala", + "honduras", + "hong-kong", + "hungary", + "iceland", + "india", + "indonesia", + "ireland", + "israel", + "italy", + "ivory-coast", + "japan", + "kazakhstan", + "kenya", + "kiribati", + "kuwait", + "kyrgyzstan", + "latvia", + "luxembourg", + "madagascar", + "malawi", + "malaysia", + "malta", + "martinique", + "mauritania", + "mayotte", + "mexico", + "moldova", + "montenegro", + "nauru", + "netherlands", + "new-zealand", + "niger", + "nigeria", + "niue", + "norfolk-islands", + "north-macedonia", + "northern-mariana-islands", + "norway", + "oman", + "palestine", + "panama", + "papua-new-guinea", + "paraguay", + "peru", + "philippines", + "pitcairn", + "poland", + "portugal", + "puerto-rico", + "reunion", + "romania", + "rwanda", + "saint-barthelemy", + "saint-kitts", + "saint-lucia", + "saint-martin", + "saint-pierre-and-miquelon", + "saint-vincent", + "samoa", + "sao-tome-and-principe", + "senegal", + "serbia", + "seychelles", + "singapore", + "slovakia", + "slovenia", + "solomon-islands", + "south-africa", + "south-korea", + "spain", + "suriname", + "svalbard-and-jan-mayen", + "swaziland", + "sweden", + "switzerland", + "taiwan", + "tajikistan", + "tanzania", + "tokelau", + "tonga", + "trinidad-and-tobago", + "turkey", + "turkmenistan", + "turks-and-caicos", + "tuvalu", + "us-virgin-islands", + "united-arab-emirates", + "united-kingdom", + "uruguay", + "vatican-city", + "vietnam", + ], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "banxa", + fields: { + RampName: "Banxa", + WebsiteUrl: "https://banxa.com/", + RampLogo: banxa, + PaymentRails: ["mastercard", "sar", "sepa", "visa"], + FiatAssets: ["EUR", "SOL", "USDC", "USDT"], + Countries: [ + "bangladesh", + "egypt", + "france", + "germany", + "morocco", + "mozambique", + "sri-lanka", + "taiwan", + ], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "kado", + fields: { + RampName: "Kado", + WebsiteUrl: "https://www.kado.money/", + RampLogo: kado, + PaymentRails: ["credit", "crypto", "debit", "fiat", "otc", "sepa"], + FiatAssets: ["VND"], + Countries: [ + "albania", + "andorra", + "angola", + "antigua-and-barbuda", + "argentina", + "armenia", + "australia", + "austria", + "azerbaijan", + "bahamas", + "bahrain", + "barbados", + "belgium", + "belize", + "benin", + "bermuda", + "bhutan", + "bosnia-and-herzegovina", + "botswana", + "brazil", + "british-virgin-islands", + "brunei", + "bulgaria", + "burundi", + "cambodia", + "canada", + "cayman-islands", + "chad", + "chile", + "costa-rica", + "croatia", + "curacao", + "cyprus", + "czech-republic", + "cote-divoire", + "denmark", + "dominica", + "dominican-republic", + "ecuador", + "egypt", + "el-salvador", + "estonia", + "fiji", + "finland", + "france", + "gabon", + "gambia", + "georgia", + "germany", + "ghana", + "greece", + "grenada", + "guatemala", + "guyana", + "honduras", + "hong-kong", + "hungary", + "iceland", + "india", + "indonesia", + "ireland", + "israel", + "italy", + "jamaica", + "japan", + "jordan", + "kazakhstan", + "kiribati", + "kosovo", + "kuwait", + "kyrgyzstan", + "laos", + "liechtenstein", + "lithuania", + "luxembourg", + "madagascar", + "malawi", + "maldives", + "marshall-islands", + "martinique", + "mauritania", + "mauritius", + "mexico", + "micronesia", + "moldova", + "mongolia", + "montenegro", + "montserrat", + "namibia", + "nauru", + "nepal", + "netherlands", + "new-zealand", + "nicaragua", + "north-macedonia", + "norway", + "oman", + "palau", + "panama", + "papua-new-guinea", + "paraguay", + "peru", + "philippines", + "pitcairn", + "poland", + "portugal", + "romania", + "rwanda", + "senegal", + "serbia", + "seychelles", + "sierra-leone", + "singapore", + "slovakia", + "slovenia", + "solomon-islands", + "somalia", + "south-africa", + "spain", + "sri-lanka", + "sudan", + "suriname", + "sweden", + "switzerland", + "sao-tome-and-principe", + "taiwan", + "tanzania", + "thailand", + "trinidad-and-tobago", + "tunisia", + ], + RampStatusOn: true, + RampStatusOff: false, + }, + }, + { + id: "payfura", + fields: { + RampName: "Payfura", + WebsiteUrl: "https://payfura.com/", + RampLogo: payfura, + PaymentRails: [ + "7-eleven", + "banco-do-brasil", + "oxxo", + "picpay", + "pix", + "spei", + ], + FiatAssets: ["BRL", "MXN"], + Countries: ["brazil", "mexico"], + RampStatusOn: false, + RampStatusOff: false, + }, + }, + { + id: "luno", + fields: { + RampName: "Luno", + WebsiteUrl: "https://www.luno.com/en", + RampLogo: luno, + PaymentRails: [], + FiatAssets: ["NGN"], + Countries: ["nigeria"], + RampStatusOn: false, + RampStatusOff: false, + }, + }, + { + id: "scalex", + fields: { + RampName: "Scalex", + WebsiteUrl: "https://www.scalex.africa/", + RampLogo: scalex, + PaymentRails: [], + FiatAssets: ["NGN"], + Countries: ["nigeria"], + RampStatusOn: false, + RampStatusOff: false, + }, + }, + { + id: "sphere", + fields: { + RampName: "Sphere", + WebsiteUrl: "https://spherepay.co/ramp", + RampLogo: sphere, + PaymentRails: ["ach", "sepa"], + FiatAssets: [ + "AUD", + "BGN", + "BRL", + "CAD", + "CHF", + "COP", + "CZK", + "DKK", + "DOP", + "EUR", + "GBP", + "GHS", + "HKD", + "HUF", + "ILS", + "ISK", + "JOD", + "JPY", + "KRW", + "KZT", + "LKR", + "MXN", + "NZD", + "PEN", + "PLN", + "QAR", + "RON", + "SEK", + "THB", + "TRY", + "TWD", + "USD", + "UYU", + "VND", + ], + Countries: [ + "aland-islands", + "algeria", + "american-samoa", + "andorra", + "angola", + "argentina", + "armenia", + "aruba", + "australia", + "azerbaijan", + "bahamas", + "bahrain", + "belarus", + "belgium", + "belize", + "benin", + "bermuda", + "bhutan", + "bosnia-and-herzegovina", + "botswana", + "brazil", + "british-virgin-islands", + "brunei", + "bulgaria", + "burkina-faso", + "cabo-verde", + "cambodia", + "canada", + "cayman-islands", + "chad", + "chile", + "christmas-island", + "cocos-keeling-islands", + "comoros", + "cook-islands", + "croatia", + "curacao", + "cyprus", + "czech-republic", + "denmark", + "djibouti", + "dominica", + "dominican-republic", + "east-timor", + "ecuador", + "egypt", + "el-salvador", + "equatorial-guinea", + "eritrea", + "estonia", + "eswatini", + "ethiopia", + "european-union", + "falkland-islands", + "faroe-islands", + "fiji", + "finland", + "france", + "french-guyana", + "gabon", + "gambia", + "georgia", + "germany", + "ghana", + "greece", + "greenland", + "grenada", + "guadeloupe", + "guam", + "guatemala", + "honduras", + "hong-kong", + "hungary", + "iceland", + "india", + "indonesia", + "ireland", + "israel", + "italy", + "ivory-coast", + "japan", + "kazakhstan", + "kenya", + "kiribati", + "kuwait", + "kyrgyzstan", + "laos", + "latvia", + "lesotho", + "liechtenstein", + "lithuania", + "luxembourg", + "madagascar", + "malawi", + "maldives", + "marshall-islands", + "martinique", + "mauritania", + "mauritius", + "mayotte", + "mexico", + "micronesia", + "moldova", + "monaco", + "montenegro", + "mozambique", + "nauru", + "nepal", + "new-caledonia", + "new-zealand", + "niger", + "niue", + "norfolk-island", + "north-macedonia", + "northern-mariana-islands", + "norway", + "oman", + "palestine", + "panama", + "papua-new-guinea", + "paraguay", + "peru", + "philippines", + "pitcairn", + "poland", + "portugal", + "puerto-rico", + "qatar", + "romania", + "rwanda", + "reunion", + "saint-barthelemy", + "saint-helena", + "saint-kitts", + "saint-lucia", + "saint-martin", + "saint-pierre-and-miquelon", + "saint-vincent", + "san-marino", + "sao-tome-and-principe", + "saudi-arabia", + "senegal", + "seychelles", + "sierra-leone", + "singapore", + "sint-eustatius-and-saba", + "sint-maarten", + "slovakia", + "slovenia", + "solomon-islands", + "somalia", + "south-africa", + "south-georgia", + "south-korea", + "spain", + "suriname", + "svalbard-and-jan-mayen", + "swaziland", + "sweden", + "switzerland", + "taiwan", + "tajikistan", + "thailand", + "timor-leste", + "tokelau", + "tonga", + "turkey", + "turks-and-caicos", + "tuvalu", + "united-arab-emirates", + "united-states", + "uruguay", + "british-virgin-islands", + "wallis-and-futuna", + "western-sahara", + "zambia", + "aland-islands", + ], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "coinflow", + fields: { + RampName: "Coinflow", + WebsiteUrl: "https://coinflow.cash/", + RampLogo: coinflow, + PaymentRails: [ + "ach", + "apple-pay", + "credit", + "debit", + "push-to-card", + "rtp", + "sepa", + "sepa-instant", + "wires", + ], + FiatAssets: ["CAD", "EUR", "GBP", "USD"], + Countries: [ + "canada", + "european-union", + "united-kingdom", + "united-states", + ], + RampStatusOn: true, + RampStatusOff: true, + }, + }, + { + id: "transfi", + fields: { + RampName: "TransFi", + WebsiteUrl: "https://www.transfi.com/", + RampLogo: transfi, + PaymentRails: ["bank-transfer", "fpx", "mastercard", "vietqr", "visa"], + FiatAssets: ["NGN", "USD", "VND"], + Countries: ["dominican-republic", "nigeria", "vietnam"], + RampStatusOn: true, + RampStatusOff: true, + }, + }, +]; + +export const fiatAssets = [ + { id: "AED", fields: { Name: "United Arab Emirates Dirham" } }, + { id: "AMD", fields: { Name: "Armenian Dram" } }, + { id: "ANG", fields: { Name: "Netherlands Antillean Guilder" } }, + { id: "AOA", fields: { Name: "Angolan Kwanza" } }, + { id: "ARS", fields: { Name: "Argentine Peso" } }, + { id: "AUD", fields: { Name: "Australian Dollar" } }, + { id: "AZN", fields: { Name: "Azerbaijani Manat" } }, + { id: "BAM", fields: { Name: "Bosnia-Herzegovina Convertible Mark" } }, + { id: "BGN", fields: { Name: "Bulgarian Lev" } }, + { id: "BHD", fields: { Name: "Bahraini Dinar" } }, + { id: "BMD", fields: { Name: "Bermudian Dollar" } }, + { id: "BND", fields: { Name: "Brunei Dollar" } }, + { id: "BRL", fields: { Name: "Brazilian Real" } }, + { id: "BSD", fields: { Name: "Bahamian Dollar" } }, + { id: "BWP", fields: { Name: "Botswanan Pula" } }, + { id: "BYN", fields: { Name: "Belarusian Ruble" } }, + { id: "BZD", fields: { Name: "Belize Dollar" } }, + { id: "CAD", fields: { Name: "Canadian Dollar" } }, + { id: "CDF", fields: { Name: "Congolese Franc" } }, + { id: "CHF", fields: { Name: "Swiss Franc" } }, + { id: "CLP", fields: { Name: "Chilean Peso" } }, + { id: "CNY", fields: { Name: "Chinese Yuan" } }, + { id: "COP", fields: { Name: "Colombian Peso" } }, + { id: "CRC", fields: { Name: "Costa Rican Colón" } }, + { id: "CVE", fields: { Name: "Cape Verdean Escudo" } }, + { id: "CZK", fields: { Name: "Czech Koruna" } }, + { id: "DJF", fields: { Name: "Djiboutian Franc" } }, + { id: "DKK", fields: { Name: "Danish Krone" } }, + { id: "DOP", fields: { Name: "Dominican Peso" } }, + { id: "DZD", fields: { Name: "Algerian Dinar" } }, + { id: "EGP", fields: { Name: "Egyptian Pound" } }, + { id: "EUR", fields: { Name: "Euro" } }, + { id: "FJD", fields: { Name: "Fijian Dollar" } }, + { id: "FKP", fields: { Name: "Falkland Islands Pound" } }, + { id: "GBP", fields: { Name: "British Pound Sterling" } }, + { id: "GEL", fields: { Name: "Georgian Lari" } }, + { id: "GHS", fields: { Name: "Ghanaian Cedi" } }, + { id: "GTQ", fields: { Name: "Guatemalan Quetzal" } }, + { id: "HKD", fields: { Name: "Hong Kong Dollar" } }, + { id: "HNL", fields: { Name: "Honduran Lempira" } }, + { id: "HUF", fields: { Name: "Hungarian Forint" } }, + { id: "IDR", fields: { Name: "Indonesian Rupiah" } }, + { id: "ILS", fields: { Name: "Israeli New Shekel" } }, + { id: "INR", fields: { Name: "Indian Rupee" } }, + { id: "ISK", fields: { Name: "Icelandic Króna" } }, + { id: "JOD", fields: { Name: "Jordanian Dinar" } }, + { id: "JPY", fields: { Name: "Japanese Yen" } }, + { id: "KES", fields: { Name: "Kenyan Shilling" } }, + { id: "KGS", fields: { Name: "Kyrgystani Som" } }, + { id: "KHR", fields: { Name: "Cambodian Riel" } }, + { id: "KRW", fields: { Name: "South Korean Won" } }, + { id: "KWD", fields: { Name: "Kuwaiti Dinar" } }, + { id: "KYD", fields: { Name: "Cayman Islands Dollar" } }, + { id: "KZT", fields: { Name: "Kazakhstani Tenge" } }, + { id: "LKR", fields: { Name: "Sri Lankan Rupee" } }, + { id: "MAD", fields: { Name: "Moroccan Dirham" } }, + { id: "MGA", fields: { Name: "Malagasy Ariary" } }, + { id: "MKD", fields: { Name: "Macedonian Denar" } }, + { id: "MRU", fields: { Name: "Mauritanian Ouguiya" } }, + { id: "MWK", fields: { Name: "Malawian Kwacha" } }, + { id: "MXN", fields: { Name: "Mexican Peso" } }, + { id: "MYR", fields: { Name: "Malaysian Ringgit" } }, + { id: "NGN", fields: { Name: "Nigerian Naira" } }, + { id: "NOK", fields: { Name: "Norwegian Krone" } }, + { id: "NZD", fields: { Name: "New Zealand Dollar" } }, + { id: "OMR", fields: { Name: "Omani Rial" } }, + { id: "PAB", fields: { Name: "Panamanian Balboa" } }, + { id: "PEN", fields: { Name: "Peruvian Sol" } }, + { id: "PGK", fields: { Name: "Papua New Guinean Kina" } }, + { id: "PHP", fields: { Name: "Philippine Peso" } }, + { id: "PLN", fields: { Name: "Polish Złoty" } }, + { id: "QAR", fields: { Name: "Qatari Riyal" } }, + { id: "RON", fields: { Name: "Romanian Leu" } }, + { id: "RSD", fields: { Name: "Serbian Dinar" } }, + { id: "RWF", fields: { Name: "Rwandan Franc" } }, + { id: "SAR", fields: { Name: "Saudi Riyal" } }, + { id: "SBD", fields: { Name: "Solomon Islands Dollar" } }, + { id: "SCR", fields: { Name: "Seychellois Rupee" } }, + { id: "SEK", fields: { Name: "Swedish Krona" } }, + { id: "SGD", fields: { Name: "Singapore Dollar" } }, + { id: "SOL", fields: { Name: "Solana" } }, + { id: "SRD", fields: { Name: "Surinamese Dollar" } }, + { id: "STN", fields: { Name: "São Tomé and Príncipe Dobra" } }, + { id: "SZL", fields: { Name: "Swazi Lilangeni" } }, + { id: "THB", fields: { Name: "Thai Baht" } }, + { id: "TJS", fields: { Name: "Tajikistani Somoni" } }, + { id: "TMT", fields: { Name: "Turkmenistani Manat" } }, + { id: "TND", fields: { Name: "Tunisian Dinar" } }, + { id: "TOP", fields: { Name: "Tongan Paʻanga" } }, + { id: "TRY", fields: { Name: "Turkish Lira" } }, + { id: "TTD", fields: { Name: "Trinidad and Tobago Dollar" } }, + { id: "TWD", fields: { Name: "New Taiwan Dollar" } }, + { id: "TZS", fields: { Name: "Tanzanian Shilling" } }, + { id: "UAH", fields: { Name: "Ukrainian Hryvnia" } }, + { id: "UGX", fields: { Name: "Ugandan Shilling" } }, + { id: "USD", fields: { Name: "US Dollar" } }, + { id: "USDC", fields: { Name: "USD Coin" } }, + { id: "USDT", fields: { Name: "Tether" } }, + { id: "UYU", fields: { Name: "Uruguayan Peso" } }, + { id: "UZS", fields: { Name: "Uzbekistani Som" } }, + { id: "VND", fields: { Name: "Vietnamese Dong" } }, + { id: "XAF", fields: { Name: "Central African CFA Franc" } }, + { id: "XCD", fields: { Name: "East Caribbean Dollar" } }, + { id: "XOF", fields: { Name: "West African CFA Franc" } }, + { id: "ZAR", fields: { Name: "South African Rand" } }, + { id: "ZMW", fields: { Name: "Zambian Kwacha" } }, +]; + +export const countries = [ + { id: "andorra", fields: { Name: "Andorra" } }, + { id: "argentina", fields: { Name: "Argentina" } }, + { id: "australia", fields: { Name: "Australia" } }, + { id: "austria", fields: { Name: "Austria" } }, + { id: "bangladesh", fields: { Name: "Bangladesh" } }, + { id: "belgium", fields: { Name: "Belgium" } }, + { id: "brazil", fields: { Name: "Brazil" } }, + { id: "brunei", fields: { Name: "Brunei" } }, + { id: "bulgaria", fields: { Name: "Bulgaria" } }, + { id: "cambodia", fields: { Name: "Cambodia" } }, + { id: "canada", fields: { Name: "Canada" } }, + { id: "chile", fields: { Name: "Chile" } }, + { id: "china", fields: { Name: "China" } }, + { id: "colombia", fields: { Name: "Colombia" } }, + { id: "croatia", fields: { Name: "Croatia" } }, + { id: "cyprus", fields: { Name: "Cyprus" } }, + { id: "czech-republic", fields: { Name: "Czech Republic" } }, + { id: "denmark", fields: { Name: "Denmark" } }, + { id: "egypt", fields: { Name: "Egypt" } }, + { id: "estonia", fields: { Name: "Estonia" } }, + { id: "european-union", fields: { Name: "European Union" } }, + { id: "fiji", fields: { Name: "Fiji" } }, + { id: "finland", fields: { Name: "Finland" } }, + { id: "france", fields: { Name: "France" } }, + { id: "germany", fields: { Name: "Germany" } }, + { id: "ghana", fields: { Name: "Ghana" } }, + { id: "greece", fields: { Name: "Greece" } }, + { id: "hong-kong", fields: { Name: "Hong Kong" } }, + { id: "hungary", fields: { Name: "Hungary" } }, + { id: "iceland", fields: { Name: "Iceland" } }, + { id: "india", fields: { Name: "India" } }, + { id: "indonesia", fields: { Name: "Indonesia" } }, + { id: "ireland", fields: { Name: "Ireland" } }, + { id: "italy", fields: { Name: "Italy" } }, + { id: "japan", fields: { Name: "Japan" } }, + { id: "kenya", fields: { Name: "Kenya" } }, + { id: "laos", fields: { Name: "Laos" } }, + { id: "latvia", fields: { Name: "Latvia" } }, + { id: "liechtenstein", fields: { Name: "Liechtenstein" } }, + { id: "lithuania", fields: { Name: "Lithuania" } }, + { id: "luxembourg", fields: { Name: "Luxembourg" } }, + { id: "malaysia", fields: { Name: "Malaysia" } }, + { id: "malta", fields: { Name: "Malta" } }, + { id: "mexico", fields: { Name: "Mexico" } }, + { id: "monaco", fields: { Name: "Monaco" } }, + { id: "morocco", fields: { Name: "Morocco" } }, + { id: "myanmar", fields: { Name: "Myanmar" } }, + { id: "nepal", fields: { Name: "Nepal" } }, + { id: "netherlands", fields: { Name: "Netherlands" } }, + { id: "new-zealand", fields: { Name: "New Zealand" } }, + { id: "nigeria", fields: { Name: "Nigeria" } }, + { id: "norway", fields: { Name: "Norway" } }, + { id: "pakistan", fields: { Name: "Pakistan" } }, + { id: "papua-new-guinea", fields: { Name: "Papua New Guinea" } }, + { id: "peru", fields: { Name: "Peru" } }, + { id: "philippines", fields: { Name: "Philippines" } }, + { id: "poland", fields: { Name: "Poland" } }, + { id: "portugal", fields: { Name: "Portugal" } }, + { id: "qatar", fields: { Name: "Qatar" } }, + { id: "romania", fields: { Name: "Romania" } }, + { id: "saint-kitts", fields: { Name: "Saint Kitts" } }, + { id: "saint-lucia", fields: { Name: "Saint Lucia" } }, + { id: "saint-vincent", fields: { Name: "Saint Vincent" } }, + { id: "samoa", fields: { Name: "Samoa" } }, + { id: "san-marino", fields: { Name: "San Marino" } }, + { id: "saudi-arabia", fields: { Name: "Saudi Arabia" } }, + { id: "senegal", fields: { Name: "Senegal" } }, + { id: "seychelles", fields: { Name: "Seychelles" } }, + { id: "sierra-leone", fields: { Name: "Sierra Leone" } }, + { id: "singapore", fields: { Name: "Singapore" } }, + { id: "slovakia", fields: { Name: "Slovakia" } }, + { id: "slovenia", fields: { Name: "Slovenia" } }, + { id: "solomon-islands", fields: { Name: "Solomon Islands" } }, + { id: "somalia", fields: { Name: "Somalia" } }, + { id: "south-africa", fields: { Name: "South Africa" } }, + { id: "south-korea", fields: { Name: "South Korea" } }, + { id: "spain", fields: { Name: "Spain" } }, + { id: "sri-lanka", fields: { Name: "Sri Lanka" } }, + { id: "sudan", fields: { Name: "Sudan" } }, + { id: "suriname", fields: { Name: "Suriname" } }, + { id: "sweden", fields: { Name: "Sweden" } }, + { id: "switzerland", fields: { Name: "Switzerland" } }, + { id: "sao-tome-and-principe", fields: { Name: "São Tomé and Príncipe" } }, + { id: "taiwan", fields: { Name: "Taiwan" } }, + { id: "tanzania", fields: { Name: "Tanzania" } }, + { id: "thailand", fields: { Name: "Thailand" } }, + { id: "timor-leste", fields: { Name: "Timor-Leste" } }, + { id: "togo", fields: { Name: "Togo" } }, + { id: "trinidad-and-tobago", fields: { Name: "Trinidad and Tobago" } }, + { id: "tunisia", fields: { Name: "Tunisia" } }, + { id: "turks-and-caicos", fields: { Name: "Turks and Caicos" } }, + { id: "ukraine", fields: { Name: "Ukraine" } }, + { id: "united-arab-emirates", fields: { Name: "United Arab Emirates" } }, + { id: "united-kingdom", fields: { Name: "United Kingdom" } }, + { id: "united-states", fields: { Name: "United States" } }, + { id: "uruguay", fields: { Name: "Uruguay" } }, + { id: "uzbekistan", fields: { Name: "Uzbekistan" } }, + { id: "vanuatu", fields: { Name: "Vanuatu" } }, + { id: "vatican-city", fields: { Name: "Vatican City" } }, + { id: "vietnam", fields: { Name: "Vietnam" } }, + { id: "virgin-islands", fields: { Name: "Virgin Islands" } }, + { id: "wallis-and-futuna", fields: { Name: "Wallis and Futuna" } }, + { id: "aland-islands", fields: { Name: "Åland Islands" } }, + { id: "american-samoa", fields: { Name: "American Samoa" } }, + { + id: "british-indian-ocean-territory", + fields: { Name: "British Indian Ocean Territory" }, + }, + { id: "cocos-keeling-islands", fields: { Name: "Cocos (Keeling) Islands" } }, + { id: "french-guyana", fields: { Name: "French Guiana" } }, + { + id: "sint-eustatius-and-saba", + fields: { Name: "Sint Eustatius and Saba" }, + }, + { id: "sint-maarten", fields: { Name: "Sint Maarten" } }, + { id: "western-sahara", fields: { Name: "Western Sahara" } }, + { + id: "democratic-republic-of-congo", + fields: { Name: "Democratic Republic of the Congo" }, + }, + { id: "cote-divoire", fields: { Name: "Côte d'Ivoire" } }, + { id: "bonaire", fields: { Name: "Bonaire" } }, + { id: "french-polynesia", fields: { Name: "French Polynesia" } }, + { id: "guernsey", fields: { Name: "Guernsey" } }, + { id: "isle-of-man", fields: { Name: "Isle of Man" } }, + { id: "jersey", fields: { Name: "Jersey" } }, + { id: "new-caledonia", fields: { Name: "New Caledonia" } }, + { id: "saint-helena", fields: { Name: "Saint Helena" } }, + { id: "south-georgia", fields: { Name: "South Georgia" } }, +]; + +export const paymentRails = [ + { id: "7-eleven", fields: { Name: "7 Eleven" } }, + { id: "ach", fields: { Name: "ACH" } }, + { id: "apple-pay", fields: { Name: "Apple Pay" } }, + { id: "astropay", fields: { Name: "AstroPay" } }, + { id: "banco-do-brasil", fields: { Name: "Banco Do Brasil" } }, + { id: "bank-transfer", fields: { Name: "Bank Transfer" } }, + { id: "boleto", fields: { Name: "Boleto" } }, + { id: "cards-international", fields: { Name: "Cards (International)" } }, + { id: "credit", fields: { Name: "Credit" } }, + { id: "crypto", fields: { Name: "Crypto" } }, + { id: "debit", fields: { Name: "Debit" } }, + { id: "fpx", fields: { Name: "FPX" } }, + { id: "faster-payments", fields: { Name: "Faster Payments" } }, + { id: "fiat", fields: { Name: "Fiat" } }, + { id: "gcash", fields: { Name: "Gcash" } }, + { id: "google-pay", fields: { Name: "Google Pay" } }, + { id: "grab-pay", fields: { Name: "Grab Pay" } }, + { id: "imps", fields: { Name: "IMPS" } }, + { id: "kachi-shop", fields: { Name: "Kachi Shop" } }, + { id: "mastercard", fields: { Name: "MasterCard" } }, + { id: "neteller", fields: { Name: "Neteller" } }, + { id: "ob", fields: { Name: "OB" } }, + { id: "otc", fields: { Name: "OTC" } }, + { id: "oxxo", fields: { Name: "OXXO" } }, + { id: "pagos-seguros", fields: { Name: "Pagos Seguros" } }, + { id: "picpay", fields: { Name: "PicPay" } }, + { id: "pix", fields: { Name: "Pix" } }, + { id: "push-to-card", fields: { Name: "Push-to-card (Visa & Mastercard)" } }, + { id: "rtp", fields: { Name: "RTP" } }, + { id: "sar", fields: { Name: "SAR" } }, + { id: "sepa", fields: { Name: "Sepa" } }, + { id: "sepa-instant", fields: { Name: "Sepa Instant" } }, + { id: "skrill", fields: { Name: "Skrill" } }, + { id: "spei", fields: { Name: "Spei" } }, + { id: "uk-faster-payments", fields: { Name: "UK Faster Payments" } }, + { id: "upi", fields: { Name: "UPI" } }, + { id: "vietqr", fields: { Name: "VietQR" } }, + { id: "visa", fields: { Name: "Visa" } }, + { id: "wires", fields: { Name: "Wires" } }, +]; diff --git a/src/pages/solanaramp.js b/src/pages/solanaramp.js index 3114940ab..f8d396df0 100644 --- a/src/pages/solanaramp.js +++ b/src/pages/solanaramp.js @@ -3,14 +3,16 @@ import Layout from "../components/layout"; import HTMLHead from "../components/HTMLHead"; import RampLayout from "../components/ramps/RampsLayout"; import { serverSideTranslations } from "next-i18next/serverSideTranslations"; - -const Solanaramp = ({ - airtableData, - fiatAssetsOptions, - countryOptions, - paymentRailsOptions, -}) => { +import { + rampData, + fiatAssets, + countries, + paymentRails, +} from "../data/ramps/ramps-data"; + +const Solanaramp = () => { const { t } = useTranslation(); + return ( ); }; export async function getStaticProps({ locale }) { - const apiKey = process.env.AIRTABLE_TOKEN; - - let propData = {}; - - if (!apiKey) { - console.warn("Airtable API Key is not set. Returning dummy data"); - propData = { - airtableData: { - value: [ - { - id: "dummy-test-ramp-1", - fields: { - RampName: "Test Ramp", - description: "Lorem Ipsum", - websiteUrl: "", - imageUrl: null, - PaymentRails2: [ - "payment-rails-option-1", - "payment-rails-option-2", - ], - Countries2: ["country-option-1"], - FiatAssets2: ["fiat-asset-option-1", "fiat-asset-option-2"], - RampStatusOn: true, - RampStatusOff: true, - }, - }, - ], - }, - fiatAssetsOptions: { - value: [ - { - id: "fiat-asset-option-1", - fields: { - Name: "EUR", - }, - }, - { - id: "fiat-asset-option-2", - fields: { - Name: "USD", - }, - }, - ], - }, - countryOptions: { - value: [ - { - id: "country-option-1", - fields: { - Name: "United States", - }, - }, - { - id: "country-option-2", - fields: { - Name: "European Union", - }, - }, - ], - }, - paymentRailsOptions: { - value: [ - { - id: "payment-rails-option-1", - fields: { - Name: "Visa", - }, - }, - { - id: "payment-rails-option-2", - fields: { - Name: "Mastercard", - }, - }, - ], - }, - }; - } else { - const headers = new Headers({ - Authorization: `Bearer ${apiKey}`, - }); - - const app = "appbflHYVylWsEorx"; - - // Order of tables: Master Ramps, Fiat Assets, Country Options, Payment Rails - const tableIdentifiers = [ - { - app, - tbl: "tblfphNf5WHd1tusv", - }, - { - app, - tbl: "tblXOuVEhS1DqjDHl", - }, - { - app, - tbl: "tblFkXValj82u3eKD", - }, - { - app, - tbl: "tblinJdgA5jE3Bywl", - }, - ]; - - const getAllAirtableRecords = async ( - appId, - tableId, - headers, - offset = "", - pageSize = 100, - allData = [], - ) => { - let queryParams = new URLSearchParams({ - pageSize, - }); - - if (offset) { - queryParams.set("offset", offset); - } - - try { - const response = await fetch( - `https://api.airtable.com/v0/${appId}/${tableId}?${queryParams}`, - { - headers, - }, - ) - .then((data) => { - return data.json(); - }) - .catch((error) => - console.error("Issue calling Airtable API:", error), - ); - - if (response && Array.isArray(response.records)) { - response.records.forEach((item) => allData.push(item)); - } - - if (response.offset) { - return await getAllAirtableRecords( - appId, - tableId, - headers, - response.offset, - 100, - allData, - ); - } - } catch (error) { - console.error("Error fetching Airtable Data:", error); - } - - return allData; - }; - - const allFetchRequests = tableIdentifiers.map((item) => { - return getAllAirtableRecords(app, item.tbl, headers); - }); - - const [ - airtableData, - fiatAssetsOptions, - countryOptions, - paymentRailsOptions, - ] = await Promise.allSettled(allFetchRequests); - - propData = { - airtableData, - fiatAssetsOptions, - countryOptions, - paymentRailsOptions, - }; - } - return { props: { - ...propData, ...(await serverSideTranslations(locale, ["common"])), }, - revalidate: 60, }; } From 4143bfe20bf89ffbf57ee91d753a32a10ec130d1 Mon Sep 17 00:00:00 2001 From: Mike MacCana Date: Wed, 6 Nov 2024 14:02:38 -0500 Subject: [PATCH 02/12] Fix courses link (#93) --- src/components/header/HeaderListBuild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/header/HeaderListBuild.js b/src/components/header/HeaderListBuild.js index db9448e7d..ebc113e16 100644 --- a/src/components/header/HeaderListBuild.js +++ b/src/components/header/HeaderListBuild.js @@ -46,7 +46,7 @@ const HeaderListBuild = () => { {t("nav.developers.items.resources.description")} From 2761ec1c1cdc6f8aec5c69754a4a5c9020cd325c Mon Sep 17 00:00:00 2001 From: Noisy <125606576+donatik27@users.noreply.github.com> Date: Thu, 7 Nov 2024 11:36:13 +0100 Subject: [PATCH 03/12] Update common.json (#92) --- public/locales/uk/common.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/locales/uk/common.json b/public/locales/uk/common.json index e42807faf..995270025 100644 --- a/public/locales/uk/common.json +++ b/public/locales/uk/common.json @@ -21,7 +21,7 @@ "point-1": "Фонд грантів ІІ у розмірі $10M", "point-2": "Плагін ChatGPT для Solana", "point-3": "Екосистема розробників на перетині ІІ + Web3", - "cta": "Зв'яжіться з нами" + "cta": "Зв’язатися з нами" }, "why-ai": { "caption": "Чому ІІ на блокчейні?", @@ -176,7 +176,7 @@ "hackathon": { "index": { "title": "Приєднуйтесь до онлайн-хакатону Solana, щоб розпочати свою крипто-подорож", - "description": "Хакатони Solana надають амбітним розробникам платформу для створення проектів, які просувають криптопростір вперед. Зареєструйтесь на Colosseum, щоб знайти співзасновників, поділитися ідеями та зареєструватися на наступний хакатон Solana.", + "description": "Хакатони Solana надають амбітним розробникам платформу для створення проектів, які просувають криптопростір вперед. Зареєструйтеся на Colosseum, щоб знайти співзасновників, поділитися ідеями та зареєструватися на наступний хакатон Solana.", "cta": "Приєднатися до Colosseum", "hero": { "developers": { From 974631a4707eb75aaec247aabafc52c87ef5a35d Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Tue, 12 Nov 2024 10:03:24 +0100 Subject: [PATCH 04/12] Fix typos (#95) * fix typo * fix typos --- public/locales/en/common.json | 4 ++-- public/locales/es/common.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/locales/en/common.json b/public/locales/en/common.json index afdf64e11..68c41fd1c 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -300,7 +300,7 @@ "logo": { "title": "Solana Brand", "sub-title": "Logotype", - "description": "Solana’s wordmark is constructed from custom-built, modular type. The angular and uniform lettering take cues from 1980s tech aesthetics, updated to feel fresh and futuristic. The logomark is created by stacking three identical parallelograms. It conveys speed and celebrates the concept of building." + "description": "Solana’s wordmark is constructed from custom-built, modular type. The angular and uniform lettering takes cues from 1980s tech aesthetics, updated to feel fresh and futuristic. The logomark is created by stacking three identical parallelograms. It conveys speed and celebrates the concept of building." }, "welcome": { "title": "Welcome to Solana Brand & Marketing page", @@ -744,7 +744,7 @@ "email-error": "Please enter a valid email address", "signup": "Sign up", "signup-success": "You are successfully signed up!", - "unexpected-error": "An unexpected error occured. Please try again!" + "unexpected-error": "An unexpected error occurred. Please try again!" } }, "resources": { diff --git a/public/locales/es/common.json b/public/locales/es/common.json index b89510f24..84c27fb9c 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -54,7 +54,7 @@ "card-1": { "title": "Solana Audits AI", "subtitle": "Ryan Trat @ryan_trat", - "content": "Utiliza LLLMs para identificar vulnerabilidades en contratos inteligentes de Solana" + "content": "Utiliza LLMs para identificar vulnerabilidades en contratos inteligentes de Solana" }, "card-2": { "title": "Búsqueda Ecosistema Solana", From bdd32027345f02e034137903abeec2f9a7584dce Mon Sep 17 00:00:00 2001 From: Ayush Date: Wed, 13 Nov 2024 04:36:43 +0530 Subject: [PATCH 05/12] removed file metadata tag from codeblock filename regex (#96) --- src/utils/markdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/markdown.ts b/src/utils/markdown.ts index d5402e47c..aa2d9d440 100644 --- a/src/utils/markdown.ts +++ b/src/utils/markdown.ts @@ -45,7 +45,7 @@ export async function serializeMarkdown( } } -const CODE_BLOCK_FILENAME_REGEX = /(name|file|filename)="?([^"\s]*)"?/; +const CODE_BLOCK_FILENAME_REGEX = /(name|filename)="?([^"\s]*)"?/; // const CODE_BLOCK_SHOW_LINE_NUMBERS_REGEX = /showLineNumbers=?(true|false)?/; function visit(node: any, tagNames: any, handler: any) { From a95a36528fbd4eb9683ed2f9c52b7ad5a8a22c54 Mon Sep 17 00:00:00 2001 From: Catalin Rosu Date: Sun, 17 Nov 2024 09:43:58 +0200 Subject: [PATCH 06/12] Better catch redirect errors (#112) --- next.config.js | 60 +++++++++++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 25 deletions(-) diff --git a/next.config.js b/next.config.js index 69aa57f88..7f9b2c82d 100644 --- a/next.config.js +++ b/next.config.js @@ -72,33 +72,43 @@ const moduleExports = () => { })), ]; - return builder - .getAll("url-redirects", { - apiKey: - process.env.NEXT_PUBLIC_BUILDER_API_KEY || - "ce0c7323a97a4d91bd0baa7490ec9139", - options: { noTargeting: true }, - cachebust: true, - }) - .then( - (results) => [ - ...existingRedirects, - ...results - .filter((content) => { - const data = (content || {}).data || {}; - return !!(data.sourceUrl && data.destinationUrl); - }) - .map(({ data }) => ({ - source: data.sourceUrl, - destination: data.destinationUrl, - permanent: !!data.permanentRedirect, - })), - ], - (error) => { + try { + return builder + .getAll("url-redirects", { + apiKey: + process.env.NEXT_PUBLIC_BUILDER_API_KEY || + "ce0c7323a97a4d91bd0baa7490ec9139", + options: { noTargeting: true }, + cachebust: true, + }) + .then((results) => { + try { + return [ + ...existingRedirects, + ...results + .filter((content) => { + const data = (content || {}).data || {}; + return !!(data.sourceUrl && data.destinationUrl); + }) + .map(({ data }) => ({ + source: data.sourceUrl, + destination: data.destinationUrl, + permanent: !!data.permanentRedirect, + })), + ]; + } catch (error) { + console.log("Error processing redirects", error); + return existingRedirects; + } + }) + .catch((error) => { console.log("Error setting up redirects", error); return existingRedirects; - }, - ); + }); + } catch (error) { + console.log("Error fetching redirects from Builder:", error); + return existingRedirects; + } }, webpack(config) { config.module.rules.push({ From 9208bba460d7db526c807a659d0604e7adfb6413 Mon Sep 17 00:00:00 2001 From: Catalin Rosu Date: Mon, 18 Nov 2024 19:43:47 +0200 Subject: [PATCH 07/12] Add redirect (#113) --- rewrites-redirects.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rewrites-redirects.json b/rewrites-redirects.json index a5055c9e0..4a74c087e 100644 --- a/rewrites-redirects.json +++ b/rewrites-redirects.json @@ -124,6 +124,10 @@ "source": "/environment", "destination": "https://climate.solana.com/" }, - { "source": "/breakpoint/side-events", "destination": "/breakpoint" } + { "source": "/breakpoint/side-events", "destination": "/breakpoint" }, + { + "source": "/verified-builds", + "destination": "/developers/guides/advanced/verified-builds#install-the-solana-verify-cli" + } ] } From a7e609db244247dae9d6980ab049e35b209949be Mon Sep 17 00:00:00 2001 From: Catalin Rosu Date: Tue, 19 Nov 2024 15:59:39 +0200 Subject: [PATCH 08/12] Update redirect. --- rewrites-redirects.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rewrites-redirects.json b/rewrites-redirects.json index 4a74c087e..b4a840a68 100644 --- a/rewrites-redirects.json +++ b/rewrites-redirects.json @@ -126,7 +126,7 @@ }, { "source": "/breakpoint/side-events", "destination": "/breakpoint" }, { - "source": "/verified-builds", + "source": "/verifiable-builds", "destination": "/developers/guides/advanced/verified-builds#install-the-solana-verify-cli" } ] From 3b861bac902b3aecbce7b1a31e0a2c0ab0c13eef Mon Sep 17 00:00:00 2001 From: Marcus E <36307949+Abyscuit@users.noreply.github.com> Date: Thu, 21 Nov 2024 04:23:33 -0800 Subject: [PATCH 09/12] Add enkrypt wallet (#82) * feat: add enkrypt * fix: move enkrypt to end of wallet-data --- assets/wallets/icons/enkrypt.png | Bin 0 -> 6222 bytes src/data/wallets/wallet-data.js | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 assets/wallets/icons/enkrypt.png diff --git a/assets/wallets/icons/enkrypt.png b/assets/wallets/icons/enkrypt.png new file mode 100644 index 0000000000000000000000000000000000000000..e8444d5a8ce7f1fc9c59dc34d59d0c27ecf4acc1 GIT binary patch literal 6222 zcmb7|bzc(>xW(xZ>244NrMqjRaVRYvGP+|(w}QYZi7`5*yHixU8%8s_k!Aw-ci+Li zf1L06oaYrh=X}$8uS)oW?gbhe8lk$HlFonb|G&b+`H${Ks@wk=zPp-{7aAG?`Tq(X z4W32w-x1wQM-_-xJJkY4Sz)80Q6trr0D8XYCuSqnj0+xS5PSTX zMD$1O_9u)H3l=H1Z$g%my2L#Gba>m!p;#(7MI=AtapK>Asn}Vru}jdRioS;_VPznu zsiU7TW@_0+DBRLf+6np{6J04^8s2K1VoaRKt)k{S9Os@4{9jzyOkd1 zuw|b+_AU@az6VMdTN1EKOllhbQoh_fIY!Y5T&Y_V`|%O&(s;(b01e3No(W}eP{`z? zi{e42!{?2o!9C+^?$*D*m;W*msagC^S9nI%o6`_~4B>ATklkUqh-39dQty?OQs5lk znT3BOg9NUzbM)9~MGyKKRb|=sz>8Z~xoE`RpP8ig?*zRY-eQ?;u8#ar6-aw|_b5XI z`j9e39xm_4B;NlG#i!nYz*38dhq1sZzDdW1;&HJlH$24*MHU$O*5>^Xh<)1M2p<5M zKV;DwCdTfxG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0y z^TkvzA3KdntUXrt&gmIy=iV*!X^Ccx%GmPXE@_T&C&NaCdwA zA}Cup-gD^y@tb_5qpj;h^OOp`OXL3;)J5{>M( Date: Sat, 23 Nov 2024 09:12:40 -0500 Subject: [PATCH 10/12] [chore] added GitHub PR template (#118) * feat: added pr template * fix: added spaced in the issue template --- .github/ISSUE_TEMPLATE.md | 5 +++++ .github/PULL_REQUEST_TEMPLATE.md | 9 +++++++++ .prettierignore | 1 + 3 files changed, 15 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index beff1d178..cd0127c39 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -7,6 +7,11 @@ labels: "Status: Unconfirmed" ## Steps To Reproduce + + ## The current behavior + + ## The expected behavior + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..250dc0288 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,9 @@ +### Problem + + + +### Summary of Changes + + + +Fixes # \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index 6a5c572b0..4aa5deb72 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,4 @@ +.github/*.md public packages .vercel From eb142b2be6a9dadb2327ba60b784c872505528fe Mon Sep 17 00:00:00 2001 From: Devansh Mahant <86195162+devansh-m12@users.noreply.github.com> Date: Sun, 24 Nov 2024 00:05:16 +0530 Subject: [PATCH 11/12] Improve the Hindi translation (#120) * Update localization strings for member counts in Hindi language * Update localization strings for member counts in Japanese, Turkish, and Vietnamese languages --- public/locales/hi/common.json | 20 ++++++++++---------- public/locales/ja/common.json | 14 +++++++------- public/locales/tr/common.json | 4 ++-- public/locales/vi/common.json | 10 +++++----- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/public/locales/hi/common.json b/public/locales/hi/common.json index 352b3daa1..d3e9d129f 100644 --- a/public/locales/hi/common.json +++ b/public/locales/hi/common.json @@ -337,28 +337,28 @@ "hero-old": "क्रिप्टो क्रांति में शामिल हों", "subheader": "निम्नलिखित हमारे सबसे अधिक बार उपयोग किए जाने वाले और अपडेट किए गए संचार चैनल हैं। आप नाम लें, हमारे पास है!", "telegram": "टेलीग्राम", - "approx-members": "~ {number} सदस्य", - "gt-members": "~ {number} सदस्य", + "approx-members": "सदस्य", + "gt-members": "सदस्य", "announcements": "घोषणाएँ", "discord": "डिस्कॉर्ड", "engineering": "इंजीनियरिंग", "twitter": "ट्विटर", - "approx-followers": "~ {number} अनुयायी", + "approx-followers": "अनुयायी", "medium": "समाचार", - "approx-write-ups": "~ {number} लेख", + "approx-write-ups": "लेख", "blogposts": "ब्लॉग पोस्ट", "github": "गिटहब", "vk": "वीके", - "vk-subscribers": "~ {number} अनुयायी", + "vk-subscribers": "अनुयायी", "weibo": "वीबो", - "weibo-subscribers": "> {number} ग्राहक", + "weibo-subscribers": "ग्राहक", "twitter-jp": "ट्विटर जापान", - "twitter-jp-subscribers": "> {number} सदस्य", + "twitter-jp-subscribers": "सदस्य", "forum": "सोलाना फोरम", - "forum-subscribers": "> {number} पोस्ट", - "gt-stars": "> {number} सितारे", + "forum-subscribers": "पोस्ट", + "gt-stars": "सितारे", "youtube": "यूट्यूब", - "gt-subscribers": "> {number} ग्राहक", + "gt-subscribers": "ग्राहक", "yt-subscribers": "K ग्राहक", "videos": "वीडियो", "email": "ईमेल", diff --git a/public/locales/ja/common.json b/public/locales/ja/common.json index 954748419..99c0ca8ae 100644 --- a/public/locales/ja/common.json +++ b/public/locales/ja/common.json @@ -337,28 +337,28 @@ "hero-old": "暗号革命に参加する", "subheader": "以下は、私たちの最も頻繁に利用され、更新されているコミュニケーションチャネルです。あなたが名前を挙げれば、私たちはそれを持っています!", "telegram": "テレグラム", - "approx-members": "〜{number} 人", + "approx-members": "人", "gt-members": " 人", "announcements": "アナウンス", "discord": "ディスコード", "engineering": "エンジニアリング", "twitter": "ツイッター", - "approx-followers": "〜{number} フォロワー", + "approx-followers": "フォロワー", "medium": "ニュース", - "approx-write-ups": "〜{number} 件の投稿", + "approx-write-ups": "件の投稿", "blogposts": "ブログ", "github": "GitHub", "vk": "VK", - "vk-subscribers": "〜{number} フォロワー", + "vk-subscribers": "フォロワー", "weibo": "Weibo", - "weibo-subscribers": "{number} 人以上の登録者", + "weibo-subscribers": "人以上の登録者", "twitter-jp": "Twitter Japan", "twitter-jp-subscribers": " 人", "forum": "Solanaフォーラム", "forum-subscribers": " 投稿", - "gt-stars": "{number} 個以上のスター", + "gt-stars": "個以上のスター", "youtube": "YouTube", - "gt-subscribers": "{number} 人以上の登録者", + "gt-subscribers": "人以上の登録者", "yt-subscribers": "K 登録者", "videos": "動画", "email": "メール", diff --git a/public/locales/tr/common.json b/public/locales/tr/common.json index 581a97702..b95d80885 100644 --- a/public/locales/tr/common.json +++ b/public/locales/tr/common.json @@ -337,8 +337,8 @@ "hero-old": "Kripto devrimine katılın", "subheader": "Aşağıdakiler en sık kullanılan ve güncellenen iletişim kanallarımızdır. Adını siz koyun, bizde var!", "telegram": "Telegram", - "approx-members": "~ {number} üyeler", - "gt-members": "> {number} üyeler", + "approx-members": "üyeler", + "gt-members": "üyeler", "announcements": "Duyurular", "discord": "Discord", "engineering": "Mühendislik", diff --git a/public/locales/vi/common.json b/public/locales/vi/common.json index 9626c0261..9fe839a2d 100644 --- a/public/locales/vi/common.json +++ b/public/locales/vi/common.json @@ -337,7 +337,7 @@ "hero-old": "Tham gia cuộc cách mạng tiền điện tử", "subheader": "Dưới đây là các kênh liên lạc được cập nhật và truy cập nhiều nhất của chúng tôi. Bạn gọi tên nó, chúng tôi có nó!", "telegram": "Telegram\n", - "approx-members": "~ {number} thành viên", + "approx-members": "thành viên", "gt-members": " thành viên", "announcements": "Thông báo", "discord": "Bất hòa\n", @@ -345,7 +345,7 @@ "twitter": "Twitter", "approx-followers": "người theo dõi", "medium": "Tin tức", - "approx-write-ups": "~ {number} bài viết", + "approx-write-ups": "bài viết", "blogposts": "Bài đăng trên blog", "github": "GitHub", "vk": "VK", @@ -355,10 +355,10 @@ "twitter-jp": "Twitter Nhật Bản", "twitter-jp-subscribers": " thành viên", "forum": "Diễn đàn Solana", - "forum-subscribers": "> {number} bài viết", - "gt-stars": "> {number} sao", + "forum-subscribers": "bài viết", + "gt-stars": "sao", "youtube": "YouTube", - "gt-subscribers": "> {number} người đăng ký", + "gt-subscribers": "người đăng ký", "yt-subscribers": "K người đăng ký", "videos": "Video", "email": "Email", From 86475ed2bc680204dec8cf2ad9d63ed18868974f Mon Sep 17 00:00:00 2001 From: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com> Date: Sat, 23 Nov 2024 14:22:12 -0500 Subject: [PATCH 12/12] developer header updates (#116) * fix: link and order * feat: add cookbook to dev header * Remove duplicate entry for `en` lang * Add appropriate translations. --------- Co-authored-by: Catalin Rosu --- public/locales/ar/common.json | 4 ++++ public/locales/de/common.json | 4 ++++ public/locales/el/common.json | 4 ++++ public/locales/en/common.json | 6 +++++- public/locales/es/common.json | 4 ++++ public/locales/fi/common.json | 4 ++++ public/locales/fr/common.json | 4 ++++ public/locales/hi/common.json | 4 ++++ public/locales/id/common.json | 4 ++++ public/locales/it/common.json | 4 ++++ public/locales/ja/common.json | 4 ++++ public/locales/ko/common.json | 4 ++++ public/locales/nl/common.json | 4 ++++ public/locales/pl/common.json | 4 ++++ public/locales/pt/common.json | 4 ++++ public/locales/ru/common.json | 4 ++++ public/locales/tr/common.json | 4 ++++ public/locales/uk/common.json | 4 ++++ public/locales/vi/common.json | 4 ++++ public/locales/zh/common.json | 4 ++++ src/components/header/HeaderListBuild.js | 24 +++++++++++++++++------- 21 files changed, 98 insertions(+), 8 deletions(-) diff --git a/public/locales/ar/common.json b/public/locales/ar/common.json index d21e65727..c2146c5eb 100644 --- a/public/locales/ar/common.json +++ b/public/locales/ar/common.json @@ -791,6 +791,10 @@ "title": "وثائق مكتبة برامج سولانا", "description": "الوثائق الرسمية لمكتبة برامج سولانا." }, + "cookbook": { + "title": "Cookbook", + "description": "قصاصات وأمثلة كود قابلة للنسخ لتطبيقات سولانا." + }, "resources": { "title": "المصادر", "description": "أدوات تطوير واسعة للبناء على سولانا." diff --git a/public/locales/de/common.json b/public/locales/de/common.json index adf8a5657..e3d0ebbaf 100644 --- a/public/locales/de/common.json +++ b/public/locales/de/common.json @@ -791,6 +791,10 @@ "title": "Solana Program Library Dokumentation", "description": "Offizielle Dokumentation für die Solana Program Library." }, + "cookbook": { + "title": "Cookbook", + "description": "Code-Snippets und kopierbarer Beispielcode für Solana-Anwendungen." + }, "resources": { "title": "Ressourcen", "description": "Umfassende Entwicklerwerkzeuge für die Entwicklung auf Solana." diff --git a/public/locales/el/common.json b/public/locales/el/common.json index b40be8de4..37c5a2d99 100644 --- a/public/locales/el/common.json +++ b/public/locales/el/common.json @@ -791,6 +791,10 @@ "title": "Τεκμηρίωση Βιβλιοθήκης Προγραμμάτων Solana", "description": "Επίσημη τεκμηρίωση της Βιβλιοθήκης Προγραμμάτων Solana." }, + "cookbook": { + "title": "Cookbook", + "description": "Αποσπάσματα και αντιγράψιμος κώδικας παραδείγματος για εφαρμογές Solana." + }, "resources": { "title": "Πόροι", "description": "Εκτεταμένα εργαλεία προγραμματιστών για τη δημιουργία στο Solana." diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 68c41fd1c..619bc9699 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -791,6 +791,10 @@ "title": "Solana Program Library Documentation", "description": "Official docs the Solana Program Library." }, + "cookbook": { + "title": "Cookbook", + "description": "Snippets and copyable example code for Solana applications." + }, "resources": { "title": "Resources", "description": "Extensive developer tooling for building on Solana." @@ -810,7 +814,7 @@ "hello-world": "Hello World", "bootcamp": "Bootcamp", "evm-to-svm": "EVM to SVM", - "local-setup": "Local Setup" + "local-setup": "Installation" } }, "solutions": { diff --git a/public/locales/es/common.json b/public/locales/es/common.json index 84c27fb9c..694c5724d 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -791,6 +791,10 @@ "title": "Documentación de la Biblioteca de Programas de Solana", "description": "Documentos oficiales de la Biblioteca de Programas de Solana." }, + "cookbook": { + "title": "Cookbook", + "description": "Fragmentos de código y ejemplos copiables para aplicaciones de Solana." + }, "resources": { "title": "Recursos", "description": "Amplio conjunto de herramientas para desarrolladores para construir en Solana." diff --git a/public/locales/fi/common.json b/public/locales/fi/common.json index 0fac0779c..132b44149 100644 --- a/public/locales/fi/common.json +++ b/public/locales/fi/common.json @@ -791,6 +791,10 @@ "title": "Solana-ohjelmakirjaston dokumentaatio", "description": "Viralliset dokumentit Solana-ohjelmakirjastolle." }, + "cookbook": { + "title": "Cookbook", + "description": "Koodinpätkiä ja kopioitavaa esimerkkikoodia Solana-sovelluksille." + }, "resources": { "title": "Resurssit", "description": "Laajat kehittäjätyökalut Solanalle rakentamiseen." diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index 2c5ffcd9c..fbd8105a0 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -791,6 +791,10 @@ "title": "Documentation de la bibliothèque de programmes Solana", "description": "Documentation officielle de la bibliothèque de programmes Solana." }, + "cookbook": { + "title": "Cookbook", + "description": "Extraits de code et exemples copiables pour les applications Solana." + }, "resources": { "title": "Ressources", "description": "Outils de développement étendus pour construire sur Solana." diff --git a/public/locales/hi/common.json b/public/locales/hi/common.json index d3e9d129f..2bbf7eb5d 100644 --- a/public/locales/hi/common.json +++ b/public/locales/hi/common.json @@ -791,6 +791,10 @@ "title": "सोलाना प्रोग्राम लाइब्रेरी दस्तावेज़ीकरण", "description": "सोलाना प्रोग्राम लाइब्रेरी के लिए आधिकारिक दस्तावेज़।" }, + "cookbook": { + "title": "Cookbook", + "description": "सोलाना एप्लिकेशन के लिए स्निपेट्स और कॉपी करने योग्य उदाहरण कोड।" + }, "resources": { "title": "संसाधन", "description": "सोलाना पर निर्माण के लिए व्यापक डेवलपर टूलिंग।" diff --git a/public/locales/id/common.json b/public/locales/id/common.json index 619d6af8c..fc7c6bdc2 100644 --- a/public/locales/id/common.json +++ b/public/locales/id/common.json @@ -791,6 +791,10 @@ "title": "Dokumentasi Perpustakaan Program Solana", "description": "Dokumentasi resmi Perpustakaan Program Solana." }, + "cookbook": { + "title": "Cookbook", + "description": "Potongan kode dan contoh kode yang dapat disalin untuk aplikasi Solana." + }, "resources": { "title": "Sumber Daya", "description": "Alat pengembang yang luas untuk membangun di Solana." diff --git a/public/locales/it/common.json b/public/locales/it/common.json index 93e0df913..760ad40e0 100644 --- a/public/locales/it/common.json +++ b/public/locales/it/common.json @@ -791,6 +791,10 @@ "title": "Documentazione della Solana Program Library", "description": "Documentazione ufficiale della Solana Program Library." }, + "cookbook": { + "title": "Cookbook", + "description": "Frammenti di codice ed esempi copiabili per applicazioni Solana." + }, "resources": { "title": "Risorse", "description": "Strumenti estesi per sviluppatori per costruire su Solana." diff --git a/public/locales/ja/common.json b/public/locales/ja/common.json index 99c0ca8ae..e567448a5 100644 --- a/public/locales/ja/common.json +++ b/public/locales/ja/common.json @@ -791,6 +791,10 @@ "title": "Solanaプログラムライブラリドキュメント", "description": "Solanaプログラムライブラリの公式ドキュメント。" }, + "cookbook": { + "title": "Cookbook", + "description": "Solanaアプリケーション用のスニペットとコピー可能なサンプルコード。" + }, "resources": { "title": "リソース", "description": "Solana上での開発のための広範な開発者ツール。" diff --git a/public/locales/ko/common.json b/public/locales/ko/common.json index 04d33c455..f8b96d424 100644 --- a/public/locales/ko/common.json +++ b/public/locales/ko/common.json @@ -791,6 +791,10 @@ "title": "솔라나 프로그램 라이브러리 문서", "description": "솔라나 프로그램 라이브러리의 공식 문서." }, + "cookbook": { + "title": "Cookbook", + "description": "Snippets and copyable example code for Solana applications." + }, "resources": { "title": "자원", "description": "솔라나에서 빌드하기 위한 광범위한 개발자 도구." diff --git a/public/locales/nl/common.json b/public/locales/nl/common.json index 56313a4f6..d3b1aac1f 100644 --- a/public/locales/nl/common.json +++ b/public/locales/nl/common.json @@ -791,6 +791,10 @@ "title": "Solana Programma Bibliotheek Documentatie", "description": "Officiële documentatie van de Solana Programma Bibliotheek." }, + "cookbook": { + "title": "Cookbook", + "description": "Codefragmenten en kopieerbare voorbeeldcode voor Solana-applicaties." + }, "resources": { "title": "Middelen", "description": "Uitgebreide ontwikkelaarstools voor het bouwen op Solana." diff --git a/public/locales/pl/common.json b/public/locales/pl/common.json index 94f548034..a34aba50a 100644 --- a/public/locales/pl/common.json +++ b/public/locales/pl/common.json @@ -791,6 +791,10 @@ "title": "Dokumentacja Biblioteki Programów Solany", "description": "Oficjalna dokumentacja Biblioteki Programów Solany." }, + "cookbook": { + "title": "Cookbook", + "description": "Fragmenty kodu i przykłady do skopiowania dla aplikacji Solana." + }, "resources": { "title": "Zasoby", "description": "Obszerne narzędzia dla deweloperów do budowania na Solanie." diff --git a/public/locales/pt/common.json b/public/locales/pt/common.json index bc294103d..5286d06e2 100644 --- a/public/locales/pt/common.json +++ b/public/locales/pt/common.json @@ -791,6 +791,10 @@ "title": "Documentação da Biblioteca de Programas Solana", "description": "Documentação oficial da Biblioteca de Programas Solana." }, + "cookbook": { + "title": "Cookbook", + "description": "Trechos de código e exemplos copiáveis para aplicações Solana." + }, "resources": { "title": "Recursos", "description": "Ferramentas extensivas para desenvolvedores construírem na Solana." diff --git a/public/locales/ru/common.json b/public/locales/ru/common.json index 6e75810ac..4d5f5af75 100644 --- a/public/locales/ru/common.json +++ b/public/locales/ru/common.json @@ -791,6 +791,10 @@ "title": "Документация библиотеки программ Solana", "description": "Официальная документация библиотеки программ Solana." }, + "cookbook": { + "title": "Cookbook", + "description": "Фрагменты кода и копируемые примеры для приложений Solana." + }, "resources": { "title": "Ресурсы", "description": "Обширные инструменты для разработчиков для создания на Solana." diff --git a/public/locales/tr/common.json b/public/locales/tr/common.json index b95d80885..ea9a08f4a 100644 --- a/public/locales/tr/common.json +++ b/public/locales/tr/common.json @@ -791,6 +791,10 @@ "title": "Solana Program Kütüphanesi Belgeleri", "description": "Solana Program Kütüphanesi için resmi belgeler." }, + "cookbook": { + "title": "Cookbook", + "description": "Solana uygulamaları için kod parçacıkları ve kopyalanabilir örnek kodlar." + }, "resources": { "title": "Kaynaklar", "description": "Solana üzerinde inşa etmek için kapsamlı geliştirici araçları." diff --git a/public/locales/uk/common.json b/public/locales/uk/common.json index 995270025..7fbb722f1 100644 --- a/public/locales/uk/common.json +++ b/public/locales/uk/common.json @@ -791,6 +791,10 @@ "title": "Документація бібліотеки програм Solana", "description": "Офіційна документація бібліотеки програм Solana." }, + "cookbook": { + "title": "Cookbook", + "description": "Фрагменти коду та приклади для копіювання для додатків Solana." + }, "resources": { "title": "Ресурси", "description": "Широкий набір інструментів для розробників для створення на Solana." diff --git a/public/locales/vi/common.json b/public/locales/vi/common.json index 9fe839a2d..602659168 100644 --- a/public/locales/vi/common.json +++ b/public/locales/vi/common.json @@ -791,6 +791,10 @@ "title": "Tài liệu Thư viện Chương trình Solana", "description": "Tài liệu chính thức của Thư viện Chương trình Solana." }, + "cookbook": { + "title": "Cookbook", + "description": "Các đoạn mã và mã ví dụ có thể sao chép cho các ứng dụng Solana." + }, "resources": { "title": "Tài nguyên", "description": "Công cụ phát triển phong phú để xây dựng trên Solana." diff --git a/public/locales/zh/common.json b/public/locales/zh/common.json index a7bd12c8b..54269ca3a 100644 --- a/public/locales/zh/common.json +++ b/public/locales/zh/common.json @@ -791,6 +791,10 @@ "title": "Solana 程序库文档", "description": "Solana 程序库的官方文档。" }, + "cookbook": { + "title": "Cookbook", + "description": "Solana 应用程序的代码片段和可复制的示例代码。" + }, "resources": { "title": "资源", "description": "用于在 Solana 上构建的广泛开发工具。" diff --git a/src/components/header/HeaderListBuild.js b/src/components/header/HeaderListBuild.js index ebc113e16..533b7694d 100644 --- a/src/components/header/HeaderListBuild.js +++ b/src/components/header/HeaderListBuild.js @@ -36,24 +36,34 @@ const HeaderListBuild = () => { {t("nav.developers.items.docs.description")} - {t("nav.developers.items.resources.title")} + {t("nav.developers.items.courses.title")} - {t("nav.developers.items.resources.description")} + {t("nav.developers.items.courses.description")} - {t("nav.developers.items.courses.title")} + {t("nav.developers.items.cookbook.title")} - {t("nav.developers.items.courses.description")} + {t("nav.developers.items.cookbook.description")} + + + + {t("nav.developers.items.resources.title")} + + {t("nav.developers.items.resources.description")} @@ -74,7 +84,7 @@ const HeaderListBuild = () => { {t("nav.developers.tutorials.hello-world")}