- Basics of web design (mainly rules)
- Project structure, BEM naming, LESS preprocessor, variables and functions
- How to visualise a component and writing styles, Flex Box basic usage (comparison)
- Quick overview of JS side also (folder structure, modules)
- Overview of Backoffice components (also on codepen)
- Toggle switch
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
// ------------------- | |
// VARS | |
// | |
// Variables File | |
// ------------------- | |
// BORDERS | |
@base-border-radius: 3px; | |
@base-border-radius-big: @base-border-radius * 1.5; |
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
import 'babel-polyfill'; | |
import React from 'react' | |
import { graphql } from 'react-apollo-redux' | |
import gql from 'graphql-tag' | |
import { createStore, applyMiddleware } from 'redux'; | |
import { ApolloProvider } from 'react-apollo'; | |
import { Provider } from 'react-redux'; | |
import setupClient from '../utils/api'; |