This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Firestore = require("@google-cloud/firestore"); | |
const functions = require("firebase-functions"); | |
const axios = require("axios"); | |
const API_ENDPOINT = "https://services.languageperfect.com/json.rpc"; | |
const API_METHOD = "nz.co.LanguagePerfect.Services.PortalsAsync.ControlPanel.NewsPortal.GetCommunityArticlesPublic"; // prettier-ignore | |
const FIRESTORE_COLLECTION = "testimonialsFiltered"; | |
const FIRESTORE_PROJECT_ID = "testimonials-4d1e6"; | |
const COUNTRIES = [ | |
1, // International, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"environment": "staging" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Reveals ALL of the Story links in the Storybook Manager Sidebar. From there we | |
// return a list of all of the paths associated to getting each Story to open in | |
// an iFrame. | |
// | |
// The problem here is that Storybook will only inject the Story links associated | |
// under a Story group when it's been triggered by the user. In that regard we | |
// cannot scrape the DOM initially and instead need to programatically open all | |
// Story groups and then take an inventory of their revealed Story links. | |
// The "option" links (not links that trigger a story but links that open up the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.formatOnPaste": false, | |
"workbench.colorTheme": "Material Theme", | |
"editor.fontFamily": "Operator Mono, Menlo, Monaco, 'Courier New', monospace", | |
"editor.lineHeight": 0, | |
"editor.fontLigatures": true, | |
"editor.fontSize": 16, | |
"editor.tabSize": 2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[id^=liveagent_invite_button]{z-index:83}[id^=liveagent_invite_button] img[src$="/x.png"]{right:10px!important;top:10px!important}@media only screen and (max-width:30em){[id^=liveagent_invite_button]{left:5%!important;margin:0!important;-webkit-transform:translateY(-50%)!important;transform:translateY(-50%)!important;width:90%!important}[id^=liveagent_invite_button] img:not([src$="/x.png"]){height:auto!important;width:100%!important}} |