This file contains 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": { | |
"$oid": "65d8e86443f1bf645d32acd8" | |
}, | |
"appSettingId": { | |
"$oid": "65d8e5dc3c37b231fd032f22" | |
}, | |
"formData": { | |
"ai_prompts": { | |
"quiz_familiarity": "advanced", |
This file contains 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
/** | |
* Get the coinbase price. | |
* | |
* @param {string} currency_pair The currency pair (BTC-EUR, ETH-EUR or LTC-EUR) | |
* @param {string} price_type The price type (buy, sell or spot | |
* @return The current price on coinbase | |
* @customfunction | |
*/ | |
function getPrice(currency_pair = 'BTC-USD', price_type = 'sell') { | |
const valid_price_types = [ "buy", "sell", "spot" ] |
This file contains 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
// Colors | |
$DARK_BLUE: hsla(207, 87%, 31%, 0.9); | |
$DARK_BLUE_100: hsla(207, 87%, 31%, 100); | |
$BRIGHT_BLUE: #00a3e0; | |
$SOFT_BRIGHT_BLUE: rgba(0, 163, 224, 0.9); | |
$ORANGE: #ff7327; | |
$PURPLE: #4a245e; | |
$BLACK: hsla(291, 0%, 18%, 1); | |
$GRAY: hsla(291, 0%, 18%, 0.7); | |
$TEXT: hsla(291, 0%, 18%, 0.95); |