I hereby claim:
- I am artemartemov on github.
- I am artemartemov (https://keybase.io/artemartemov) on keybase.
- I have a public key ASAzhbTicwHDhB54Tda-cMT1Y6tfVthfUM2boZsKmWq4eAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
echo .DS_Store >> ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
| const IndexPage = ({ data, errors }) => { | |
| // showSlides({ imageBgNodes }); | |
| if (errors) { | |
| return ( | |
| <Layout> | |
| <GraphQLErrorList errors={errors} /> | |
| </Layout> | |
| ); | |
| } |
| import React, { PureComponent } from 'react'; | |
| import PropTypes from 'prop-types'; | |
| import Img from 'gatsby-image'; | |
| import styled from 'styled-components'; | |
| const SlideContainer = styled.div` | |
| transition: opacity 2s ease-in-out; | |
| /* Sets the gatby image wrapper to be viewport height */ | |
| & .gatsby-image-wrapper { | |
| height: 100vh; |
| // My indexPage.js schema is where I am including the slider -- | |
| export default { | |
| name: 'indexPage', | |
| type: 'document', | |
| title: 'Homepage', | |
| __experimental_actions: [/* 'create', */ 'update' /* 'delete', */, 'publish'], | |
| fields: [ | |
| { | |
| type: 'array', | |
| name: 'bgImages', |
| // loader component | |
| import React, { PureComponent } from 'react'; | |
| import PropTypes from 'prop-types'; | |
| import styled, { keyframes } from 'styled-components'; | |
| import LoadingIcon from 'react-feather/dist/icons/loader'; | |
| const spin = keyframes` | |
| to { | |
| transform: rotate(360deg); | |
| } |
| :root { | |
| --srf-color-primary: rgba(20, 20, 20, 0.6); | |
| --srf-color-selection: #9DACDE60; | |
| --srf-color-urlbar: rgba(20, 20, 20, 0.8); | |
| } | |
| /* | |
| G E N E R A L | |
| */ |