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>
This commit is contained in:
Traxus
2023-04-21 17:55:35 -04:00
parent c2cc6167a9
commit cb5a31c159
225 changed files with 63183 additions and 11990 deletions
@@ -0,0 +1,14 @@
query MyQuery {
allTeams {
memberGithub
memberLinkedin
memberName
memberPosition
memberTeam
memberTwitter
id
memberImage {
url
}
}
}
@@ -0,0 +1,25 @@
query MyQuery {
aboutPage {
heroCtaLabel
heroCtaLink
heroDescB01
heroDescB02
heroHeading
heroTitle
teamHeading
teamDescB01
teamDescB02
whitepaperCtaLink
whitepaperCtaText
whitepaperHeading
whitepaperImage {
url
}
whitepaperLine
roadmapHeading
roadmapQuarter01
roadmapQuarter02
roadmapQuarter03
roadmapQuarter04
}
}
@@ -0,0 +1,6 @@
query MyQuery {
allAuthors {
id
name
}
}
@@ -0,0 +1,50 @@
query MyQuery {
allBlogPosts {
slug
title
date
category {
id
slug
title
}
author {
id
name
}
image {
url
}
content {
blocks {
... on Callout02Record {
id
text
}
... on Callout01Record {
id
text
}
... on CtaRecord {
id
label
url
}
... on ImageRecord {
id
title
}
}
links
value
}
featured
id
_status
_seoMetaTags(locale: en) {
attributes
content
tag
}
}
}
@@ -0,0 +1,7 @@
query MyQuery {
allCategories {
id
slug
title
}
}
@@ -0,0 +1,8 @@
query MyQuery {
allPositions {
id
positionLink
positionName
positionTeam
}
}
@@ -0,0 +1,71 @@
query MyQuery {
careersPage {
heroHeading
heroLine
valuesHeading
valuesPoint01Head
valuesPoint01Image {
url
}
valuesPoint01ImageLight {
url
}
valuesPoint01Line
valuesPoint02Head
valuesPoint02Image {
url
}
valuesPoint02ImageLight {
url
}
valuesPoint02Line
valuesPoint03Head
valuesPoint03Image {
url
}
valuesPoint03ImageLight {
url
}
valuesPoint03Line
valuesPoint04Head
valuesPoint04Image {
url
}
valuesPoint04ImageLight {
url
}
valuesPoint04Line
whyHeading
whyPoint01Img {
url
}
whyPoint01Line
whyPoint02Img {
url
}
whyPoint02Line
whyPoint03Img {
url
}
whyPoint03Line
whyPoint04Img {
url
}
whyPoint04Line
whyPoint05Img {
url
}
whyPoint05Line
whyPoint06Img {
url
}
whyPoint06Line
whyHeadNumber
positionsHeading
positionsHeadingNumber
positionsLinkLabel
positionsXylmHead
positionsDeepstackHead
positionsCercHead
}
}
@@ -0,0 +1,14 @@
query MyQuery {
allEvents {
title
eventDesc
eventStartdate
eventEnddate
eventLocation
id
image {
url
}
link
}
}
@@ -0,0 +1,29 @@
query MyQuery {
communityPage {
heroButton01
heroButton02
heroDescription
heroHeading
heroB01Link
heroB02Link
eventsHeading
eventsDescription
socialsHeading
socialsHeadingAlt
socialsLine
socialsImage {
url
}
socialsImageLight {
url
}
socialsTwitter
socialsDiscord
socialsYoutube
socialsReddit
socialsTelegram
socialsLinkedin
socialsFacebook
socialsInstagram
}
}
@@ -0,0 +1,18 @@
query MyQuery {
contactPage {
heroHeading
heroLine
heroLink
heroMobileLinkLabel
formHeading
formWarning
formLabelEmail
formPlaceholderEmail
formLabelMsg
formPlaceholderMsg
formLabelPartner
formPlaceholderPartner
formSelectOptions
formLabelButton
}
}
@@ -0,0 +1,9 @@
query MyQuery {
footer {
aboutLinks
communityLinks
connectLinks
developerLinks
productsLinks
}
}
@@ -0,0 +1,5 @@
query MyQuery {
header {
navMenu
}
}
@@ -0,0 +1,11 @@
query MyQuery {
allTestimonials {
id
testimonialImage {
url
}
testimonialPosition
testimonialText
testimonialUsername
}
}
@@ -0,0 +1,32 @@
query MyQuery {
homePage {
heroHeading
heroButton01
heroB01Link
heroButton02
heroB02Link
heroSlogan
benefitsDesc
benefitsHeading
benefitsS01Desc
benefitsS01Heading
benefitsS01Item01
benefitsS01Item02
benefitsS01Item03
benefitsS01Item04
benefitsS01Item05
benefitsS01Item06
benefitsS02Desc
benefitsS02Heading
benefitsS02Item01
benefitsS02Item02
benefitsS02Item03
benefitsS02Item04
benefitsS02Item05
benefitsS02Item06
benefitsButton
benefitsButtonLink
othersHeading
latestHeading
}
}
@@ -0,0 +1,11 @@
query MyQuery {
testimonial {
id
testimonialImage {
url
}
testimonialPosition
testimonialText
testimonialUsername
}
}
@@ -0,0 +1,9 @@
query MyQuery {
privacyPage {
privacyContent {
value
blocks
}
_updatedAt
}
}
@@ -0,0 +1,9 @@
query MyQuery {
termsPage {
termsContent {
value
blocks
}
_updatedAt
}
}
@@ -0,0 +1,72 @@
query MyQuery {
partnersPage {
heroHeading
heroParagraph01
heroParagraph02
oportunitiesDesc01
oportunitiesDesc02
oportunitiesDesc03
oportunitiesDesc04
oportunitiesDesc05
oportunitiesHeading01
oportunitiesHeading02
oportunitiesHeading03
oportunitiesHeading04
oportunitiesHeading05
oportunitiesImage01 {
url
}
oportunitiesImage01Light {
url
}
oportunitiesImage02 {
url
}
oportunitiesImage02Light {
url
}
oportunitiesImage03 {
url
}
oportunitiesImage03Light {
url
}
oportunitiesImage04 {
url
}
oportunitiesImage04Light {
url
}
oportunitiesImage05 {
url
}
oportunitiesImage05Light {
url
}
oportunitiesItem01Links
oportunitiesItem02Links
oportunitiesItem03Links
oportunitiesItem04Links
oportunitiesItem05Links
contactButtonLabel
contactCompanyLabel
contactCompanyPlaceholder
contactDescription
contactEmailLabel
contactEmailPlaceholder
contactFormHeading
contactFormWarning
contactHeading
contactInquiryLabel
contactInquiryOptions
contactInquiryPlaceholder
contactLegalLabel
contactLegalPlaceholder
contactMsgLabel
contactMsgPlaceholder
contactNameLabel
contactNamePlaceholder
contactRoleLabel
contactRolePlaceholder
}
}
@@ -0,0 +1,10 @@
query MyQuery {
allPressReleases {
image {
url
}
link
title
date
}
}
@@ -0,0 +1,33 @@
query MyQuery {
pressPage {
heroButtonLabel
heroButtonLink
heroHeading
heroLine
mediaHeading
mediaHeadingNumber
mediaVideo01Label
mediaVideo01Link
mediaVideo01Thumb {
url
}
mediaVideo02Label
mediaVideo02Link
mediaVideo02Thumb {
url
}
mediaVideo03Label
mediaVideo03Link
mediaVideo03Thumb {
url
}
mediaVideo04Label
mediaVideo04Link
mediaVideo04Thumb {
url
}
pressHeading
pressHeadingNumber
featuredHeading
}
}
@@ -0,0 +1,97 @@
query MyQuery {
productsPage {
appDescription
appHeading
appImg {
url
}
appImgLight {
url
}
appMobileImg {
url
}
appMobileImgLight {
url
}
heroDescription
heroHeading
heroItem01
heroItem02
heroItem03
heroItem04
heroItem05
heroS01Desc
heroS01Heading
heroS02Desc
heroS02Heading
networkDesc
networkHeading
networkImg {
url
}
networkImgLight {
url
}
networkListItem01
networkListItem02
networkListItem03
networkMobileImg {
url
}
networkMobileImgLight {
url
}
stackDescription
stackHeading
stackImage {
url
}
stackImageLight {
url
}
stackListData
stackSvgImg {
url
}
stackSvgImgLight {
url
}
tokenDesc
tokenHeading
tokenImg {
url
}
tokenImgLight {
url
}
tokenItem01
tokenItem02
tokenItem03
tokenMobileImg {
url
}
tokenMobileImgLight {
url
}
watchersHeading
watchersImage {
url
}
watchersImageLight {
url
}
watchersItem01
watchersItem02
watchersItem03
watchersListHead
watchersMobileImage {
url
}
watchersMobileImageLight {
url
}
watchersP01
watchersP02
}
}