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
:root { | |
--bg-color:#081426; | |
--main-color:#f17754; | |
--caret-color:#ef6d49; | |
--sub-color:#ffbc90; | |
--sub-alt-color:#040e1d; | |
--text-color:#ffe4bc; | |
--error-color:#ca4754; | |
--error-extra-color:#7e2a33; | |
--colorful-error-color:#ca4754; |
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
import { request, gql } from 'graphql-request' | |
import { PageHeading, Spacer } from '@components' | |
// gql query for getStaticPaths | |
const PageSlugsQuery = gql` | |
query PageBySlug { | |
pages { | |
slug | |
id | |
} | |
} |
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
import React from "react"; | |
import { Text, Plain, RichText, Image, Link, types } from "react-bricks"; | |
import BlockNames from "../BlockNames"; | |
import Colors from "../Colors"; | |
//============================= | |
// Component to be rendered | |
//============================= | |
const BodyText = ({ onChange, backgroundColor, title, text, textColor }) => { |
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
react-bricks.cjs.production.min.js?cb9c:1 GET https://api.reactbricks.com/v1/admin/pages?type=&tag= 403 (Forbidden) | |
ae @ react-bricks.cjs.pro…ction.min.js?cb9c:1 | |
eval @ react-bricks.cjs.pro…ction.min.js?cb9c:1 | |
eval @ react-query.mjs?42ff:736 | |
_catch @ react-query.mjs?42ff:316 | |
eval @ react-query.mjs?42ff:734 | |
eval @ react-query.mjs?42ff:335 | |
eval @ react-query.mjs?42ff:822 | |
_catch @ react-query.mjs?42ff:316 | |
eval @ react-query.mjs?42ff:816 |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
const sendingMessagesMachine = Machine({ | |
id: 'sendingMessagesMachine', | |
initial: 'idle', | |
context: { | |
retries: 0 | |
}, | |
states: { | |
idle: { | |
on: { | |
SEARCHUSER: 'selectUser' |
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
const toggleMachine = new Machine({ | |
id: 'toggle', | |
initial: 'inactive', | |
states: { | |
inactive: { on: { TOGGLE: 'active' } }, | |
active: { on: { TOGGLE: 'inactive' } } | |
} | |
}); |
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
{ | |
"paddingVertical": "31px", | |
"paddingHorizontal": "35px", | |
"backgroundImage": null, | |
"backgroundImageSelection": null, | |
"backgroundMode": "color", | |
"backgroundColor": "rgba(255,224,0,1)", | |
"dropShadow": true, | |
"dropShadowOffsetY": "20px", | |
"dropShadowBlurRadius": "68px", |
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
➜ yarn start | |
yarn run v1.22.0 | |
$ gatsby develop | |
success open and validate gatsby-configs - 0.067s | |
success load plugins - 1.294s | |
success onPreInit - 0.005s | |
success initialize cache - 0.030s | |
success copy gatsby files - 0.075s | |
success onPreBootstrap - 0.019s | |
success createSchemaCustomization - 0.010s |