Get off DatoCMS (#135)

* Changes made to facilitate using local JSON files as a content source rather than dato cms

Set follwoing variable in env to enable the changeover:
NEXT_PUBLIC_DATOCMS_BYPASS_TYPE="local_json"

Setting the above env variable to anything else will revert the site to pulling from datocms, assuming the account is still active with them.

Look for any comment tagged with NEXT_PUBLIC_DATOCMS_BYPASS to see where the intercepts occur

Signed-off-by: Traxus <shyidx@gmail.com>

* update example ENV to include new variable for refrence

Signed-off-by: Traxus <shyidx@gmail.com>

* Fix Type error: 'getAllBlogPostsSlugs' is declared but its value is never read.

Signed-off-by: Traxus <shyidx@gmail.com>

* typescript test

Signed-off-by: Traxus <shyidx@gmail.com>

* primitive typescript appeasement vol 2


Signed-off-by: Traxus <shyidx@gmail.com>

* ./src/lib/datocms-bypass.ts:72:6
Type error: Variable 'directories' implicitly has type 'any[]' in some locations where its type cannot be determined.


Signed-off-by: Traxus <shyidx@gmail.com>

* typescript appeasment vol 3


Signed-off-by: Traxus <shyidx@gmail.com>

* typescript


Signed-off-by: Traxus <shyidx@gmail.com>

* typescript


Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* lint

Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* simple-import-sort, sorry.

Signed-off-by: Traxus <shyidx@gmail.com>

* Signed-off-by: Traxus <shyidx@gmail.com>

* testing a blog post update

* Trying to restore the lint command file

Signed-off-by: Traxus <shyidx@gmail.com>

* Remove Press Page

Signed-off-by: Traxus <shyidx@gmail.com>

* Hide Test Blog post

Signed-off-by: Traxus <shyidx@gmail.com>

* moved the copy of /press to /src/_old_pages/_press so that there would be a refrence copy but to keep the url inacessible to the public


Signed-off-by: Traxus <shyidx@gmail.com>

---------

Signed-off-by: Traxus <shyidx@gmail.com>
Co-authored-by: Traxus <shyidx@gmail.com>
This commit is contained in:
Zach
2023-05-02 16:25:09 -04:00
committed by GitHub
co-authored by Traxus
parent c2cc6167a9
commit dea1839147
226 changed files with 63119 additions and 11987 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,186 @@
{
"data": {
"allTeams": [
{
"memberGithub": "https://github.com/telefontelaviv-industries",
"memberLinkedin": "https://www.linkedin.com/in/joshua-eustis-29aa02245/",
"memberName": "Joshua Eustis",
"memberPosition": "Product & Ecosystem Lead",
"memberTeam": [],
"memberTwitter": "https://twitter.com/telefontelaviv",
"id": "31581314",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1657650667-je-headshot.jpg"
}
},
{
"memberGithub": "",
"memberLinkedin": "",
"memberName": "7 Founding Members",
"memberPosition": "Announcing in Q3/2022",
"memberTeam": [
"Laconic"
],
"memberTwitter": "",
"id": "41347341",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1658133770-symbol_25.png"
}
},
{
"memberGithub": "https://github.com/bmann",
"memberLinkedin": "https://www.linkedin.com/in/boris/",
"memberName": "Boris Mann",
"memberPosition": "CEO, Fission",
"memberTeam": [],
"memberTwitter": "https://twitter.com/bmann",
"id": "14097753",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1652367416-boris-mann.jpg"
}
},
{
"memberGithub": "https://github.com/expede",
"memberLinkedin": "https://www.linkedin.com/in/brooklynzelenka/",
"memberName": "Brooke Zelenka",
"memberPosition": "CTO, Fission",
"memberTeam": [],
"memberTwitter": "https://twitter.com/expede",
"id": "14097761",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1652367483-brooklyn-zelenka.jpg"
}
},
{
"memberGithub": "https://github.com/",
"memberLinkedin": "",
"memberName": "Roderik van der Graaf",
"memberPosition": "Founder, Lemniscap",
"memberTeam": [],
"memberTwitter": "",
"id": "17704626",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1653390516-captura-de-pantalla-2022-05-24-130822.png"
}
},
{
"memberGithub": "",
"memberLinkedin": "https://google.com/",
"memberName": "Isabelle Kitze",
"memberPosition": "Co-founder, Atomic Form",
"memberTeam": [],
"memberTwitter": "",
"id": "17704633",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1653390421-captura-de-pantalla-2022-05-24-130542.png"
}
},
{
"memberGithub": "",
"memberLinkedin": "",
"memberName": "Garrett Furo",
"memberPosition": "Co-Founder, Atomic Form",
"memberTeam": [],
"memberTwitter": "https://google.com/",
"id": "17704632",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1653390368-captura-de-pantalla-2022-05-24-130503.png"
}
},
{
"memberGithub": "",
"memberLinkedin": "",
"memberName": "TBC",
"memberPosition": "Director, Incredulous / Advanced Blockchain",
"memberTeam": [],
"memberTwitter": "",
"id": "17704781",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1653391616-captura-de-pantalla-2022-05-24-132638.png"
}
},
{
"memberGithub": "https://github.com/AFDudley",
"memberLinkedin": "https://www.linkedin.com/in/afdudley/",
"memberName": "Rick Dudley",
"memberPosition": "President",
"memberTeam": [
"Cerc"
],
"memberTwitter": "https://twitter.com/AFDudley0",
"id": "14097746",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1652367302-rick-dudley.jpg"
}
},
{
"memberGithub": "",
"memberLinkedin": "https://google.com",
"memberName": "TBC",
"memberPosition": "Founder, Stake.Fish",
"memberTeam": [],
"memberTwitter": "",
"id": "17704779",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1653390762-captura-de-pantalla-2022-05-24-131232.png"
}
},
{
"memberGithub": "https://github.com/i-norden",
"memberLinkedin": "https://www.linkedin.com/in/ian-s-norden/",
"memberName": "Ian Norden",
"memberPosition": "VP of Engineering",
"memberTeam": [
"Cerc"
],
"memberTwitter": "",
"id": "14097768",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1652367589-ian-norden.jpg"
}
},
{
"memberGithub": "https://github.com/ashwinphatak",
"memberLinkedin": "https://www.linkedin.com/in/ashwinphatak/",
"memberName": "Ashwin Phatak",
"memberPosition": "Chief Architect",
"memberTeam": [
"Cerc"
],
"memberTwitter": "https://twitter.com/ashwinphatak",
"id": "14097767",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1652367533-ashwin-phatak.jpg"
}
},
{
"memberGithub": "",
"memberLinkedin": "https://www.linkedin.com/in/leah-light-a308535/",
"memberName": "Leah Light",
"memberPosition": "Operations Manager",
"memberTeam": [
"Cerc"
],
"memberTwitter": "",
"id": "14097770",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1652367625-leah-light.jpg"
}
},
{
"memberGithub": "https://github.com/erikdies",
"memberLinkedin": "",
"memberName": "Erik Dies",
"memberPosition": "Product Lead",
"memberTeam": [
"Cerc"
],
"memberTwitter": "https://twitter.com/thelesserdies",
"id": "14097771",
"memberImage": {
"url": "https://www.datocms-assets.com/66113/1652367650-erik-dies.jpg"
}
}
]
}
}
@@ -0,0 +1,42 @@
{
"data": {
"allAuthors": [
{
"id": "63992470",
"name": "Zach Ramsay"
},
{
"id": "63259964",
"name": "Maly Ly"
},
{
"id": "55641250",
"name": "Joshua Eustis"
},
{
"id": "55512259",
"name": "Stefan Adolf"
},
{
"id": "55457832",
"name": "Michael Gushansky"
},
{
"id": "44855867",
"name": "Robert Douglass"
},
{
"id": "24856058",
"name": "Maly Ly"
},
{
"id": "7023106",
"name": "Christoph Berger"
},
{
"id": "2965423",
"name": "Mr. Lorem Ipsum"
}
]
}
}
@@ -0,0 +1,31 @@
{
"data": {
"allCategories": [
{
"id": "6311820",
"slug": "developers",
"title": "Developers"
},
{
"id": "6311819",
"slug": "insights",
"title": "Insights"
},
{
"id": "2965426",
"slug": "news",
"title": "News"
},
{
"id": "3545001",
"slug": "partners",
"title": "Partners"
},
{
"id": "3545003",
"slug": "product",
"title": "Product"
}
]
}
}
@@ -0,0 +1,5 @@
{
"data": {
"allPositions": []
}
}
@@ -0,0 +1,54 @@
{
"data": {
"allEvents": [
{
"title": "Cosmoverse",
"eventDesc": "The legendary Cosmos Conference",
"eventStartdate": "2022-09-27",
"eventEnddate": "2022-09-28",
"eventLocation": "Medellin, Colombia",
"id": "14094472",
"image": {
"url": "/images/site_content/event/20220927-cosmoverse.png"
},
"link": "https://www.cosmoverse.org/"
},
{
"title": "Mainnet",
"eventDesc": "Mainnet is an immersive, agenda-setting summit held annually by Messari.",
"eventStartdate": "2022-09-21",
"eventEnddate": "2022-09-23",
"eventLocation": "New York, USA",
"id": "14069499",
"image": {
"url": "/images/site_content/event/20220921-mainnet.png"
},
"link": "https://mainnet.events/"
},
{
"title": "ETH SF",
"eventDesc": "ETHSanFrancisco 2022 will be the year’s premier Ethereum event on the west coast, so don’t miss your chance to see your SF friends' apartments one last time before they move to Miami.",
"eventStartdate": "2022-11-03",
"eventEnddate": "2022-11-05",
"eventLocation": "San Francisco, USA",
"id": "14094487",
"image": {
"url": "/images/site_content/event/20221103-eth-sf.png"
},
"link": "https://sf.ethglobal.com/"
},
{
"title": "Devcon",
"eventDesc": "Devcon is an intensive introduction for new Ethereum explorers, a global family reunion for those already a part of our ecosystem, and a source of energy and creativity for all.",
"eventStartdate": "2022-10-07",
"eventEnddate": "2022-10-14",
"eventLocation": " Bogota, Colombia",
"id": "14069491",
"image": {
"url": "/images/site_content/event/20221007-devcon.png"
},
"link": "https://devcon.org/en/"
}
]
}
}
@@ -0,0 +1,54 @@
{
"data": {
"allEvents": [
{
"eventDesc": "The legendary Cosmos Conference",
"eventEnddate": "2022-09-28",
"eventStartdate": "2022-09-27",
"eventLocation": "Medellin, Colombia",
"id": "14094472",
"image": {
"url": "https://www.datocms-assets.com/66113/1652360300-card03.png"
},
"link": "https://www.cosmoverse.org/",
"title": "Cosmoverse"
},
{
"eventDesc": "Mainnet is an immersive, agenda-setting summit held annually by Messari.",
"eventEnddate": "2022-09-23",
"eventStartdate": "2022-09-21",
"eventLocation": "New York, USA",
"id": "14069499",
"image": {
"url": "https://www.datocms-assets.com/66113/1652352588-card02.png"
},
"link": "https://mainnet.events/",
"title": "Mainnet"
},
{
"eventDesc": "ETHSanFrancisco 2022 will be the year’s premier Ethereum event on the west coast, so don’t miss your chance to see your SF friends' apartments one last time before they move to Miami.",
"eventEnddate": "2022-11-05",
"eventStartdate": "2022-11-03",
"eventLocation": "San Francisco, USA",
"id": "14094487",
"image": {
"url": "https://www.datocms-assets.com/66113/1652360353-card04.png"
},
"link": "https://sf.ethglobal.com/",
"title": "ETH SF"
},
{
"eventDesc": "Devcon is an intensive introduction for new Ethereum explorers, a global family reunion for those already a part of our ecosystem, and a source of energy and creativity for all.",
"eventEnddate": "2022-10-14",
"eventStartdate": "2022-10-07",
"eventLocation": " Bogota, Colombia",
"id": "14069491",
"image": {
"url": "https://www.datocms-assets.com/66113/1652352490-card01.png"
},
"link": "https://devcon.org/en/",
"title": "Devcon"
}
]
}
}
@@ -0,0 +1,78 @@
{
"data": {
"allTestimonials": [
{
"id": "53676939",
"testimonialImage": {
"url": "https://www.datocms-assets.com/66113/1660570305-t1qh-epl_400x400.jpeg"
},
"testimonialPosition": "",
"testimonialText": "Here’s a few of my favorite slept on protocols at the moment:\n\n@ComposableFin\n@laconicnetwork\n@archwayHQ\n@SeiNetwork\n@Shade_Protocol\n \nEach doing industry leading work in their respective niche and poised to gain significant market share during the bear market and beyond",
"testimonialUsername": "@DougieDeLuca"
},
{
"id": "53682921",
"testimonialImage": {
"url": "https://www.datocms-assets.com/66113/1652432456-eeb-whtv_400x400.jpg"
},
"testimonialPosition": "",
"testimonialText": "Running infura for free is actually extremely expensive, we pursued a light client before but it required a fresh implementation. hopefully @laconicnetwork solves this problem",
"testimonialUsername": "@kumavis"
},
{
"id": "53682920",
"testimonialImage": {
"url": "https://www.datocms-assets.com/66113/1652722398-yddlfryh_400x400.jpg"
},
"testimonialPosition": "",
"testimonialText": "If you love web3 infra layer tools/solutions, give @laconicnetwork a follow. I'm incredibly excited with what they have coming down the pipeline…\n",
"testimonialUsername": "@rickmanelius"
},
{
"id": "53682912",
"testimonialImage": {
"url": "https://www.datocms-assets.com/66113/1660570564-f6qitfr_400x400.jpeg"
},
"testimonialPosition": "",
"testimonialText": "if you're also wondering how we level up (from ground-level projects), @laconicnetwork looks like a compelling middleware layer to me 👀",
"testimonialUsername": "@Ether_Gavin"
},
{
"id": "53682908",
"testimonialImage": {
"url": "https://www.datocms-assets.com/66113/1660570523-sjtwlhch_400x400.jpeg"
},
"testimonialPosition": "",
"testimonialText": "shoutout to @cosmosibc and @nomadxyz_, and @agoric and @laconicnetwork",
"testimonialUsername": "@dystophiabreaker"
},
{
"id": "53682905",
"testimonialImage": {
"url": "https://www.datocms-assets.com/66113/1660570491-spncmxjy_400x400.jpeg"
},
"testimonialPosition": "",
"testimonialText": "I feel hopeful for and inspired by what @laconicnetwork is building 🌟",
"testimonialUsername": "@cjremus"
},
{
"id": "53682698",
"testimonialImage": {
"url": "https://www.datocms-assets.com/66113/1660570450-clc5-paa_400x400.jpeg"
},
"testimonialPosition": "",
"testimonialText": "excited about @laconicnetwork\n \nthis is what actual free market mutualism can create - incentive structures around maintaining tailored state data that can then be made valuable to others as a self-sustaining public good.",
"testimonialUsername": "@motherpredicate"
},
{
"id": "53681948",
"testimonialImage": {
"url": "https://www.datocms-assets.com/66113/1660570379-pjxpwqkw_400x400.jpeg"
},
"testimonialPosition": "MetaMask Founder",
"testimonialText": "Once we have good end-user caching of partial blockchain state (Like via \n@laconicnetwork), we could enable users to do lookups on a local phishing list, gaining stronger privacy benefits for much lower cost than a full node",
"testimonialUsername": "@Danfinlay"
}
]
}
}
@@ -0,0 +1,13 @@
{
"data": {
"testimonial": {
"id": "53676939",
"testimonialImage": {
"url": "https://www.datocms-assets.com/66113/1660570305-t1qh-epl_400x400.jpeg"
},
"testimonialPosition": "",
"testimonialText": "Here’s a few of my favorite slept on protocols at the moment:\n\n@ComposableFin\n@laconicnetwork\n@archwayHQ\n@SeiNetwork\n@Shade_Protocol\n \nEach doing industry leading work in their respective niche and poised to gain significant market share during the bear market and beyond",
"testimonialUsername": "@DougieDeLuca"
}
}
}
@@ -0,0 +1,5 @@
{
"data": {
"allPressReleases": []
}
}