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
/* CREATE PIXI SPRITE CLASS | |
* In order to clean the code create a class that returns the sprite | |
* for the background image. | |
* Most common cases for sprites are position, scale, width, height, | |
* anchor and alpha; | |
* @param {string} the image url | |
* @param {object} configurations of the sprite | |
*/ | |
var createPixiSprite = function(imgURL, config){ |
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
[ | |
{ | |
"region": "Arica y Parinacota", | |
"region_number": "XV", | |
"region_iso_3166_2": "CL-AP", | |
"provincias": [ | |
{ | |
"name": "Arica", | |
"comunas": [ | |
{ |
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
[ | |
{ | |
"region": "Arica y Parinacota", | |
"region_number": "XV", | |
"region_iso_3166_2": "CL-AP", | |
"provincias": [ | |
"Arica", | |
"Parinacota" | |
], | |
"comunas": [ |
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
// styles for this are based on Bootstrap 3.3.7 | |
import React, { Component } from "react"; | |
import ReactDOM from "react-dom"; | |
import { withProps } from "recompose"; | |
const users = [ | |
{ "name": "Homer Jay", "status": "pending" }, |
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 colors = [ | |
{name: "AliceBlue", code:"#F0F8FF"}, | |
{name: "AntiqueWhite", code:"#FAEBD7"}, | |
{name: "Aqua", code:"#00FFFF"}, | |
{name: "Aquamarine", code:"#7FFFD4"}, | |
{name: "Azure", code:"#F0FFFF"}, | |
{name: "Beige", code:"#F5F5DC"}, | |
{name: "Bisque", code:"#FFE4C4"}, | |
{name: "Black", code:"#000000"}, | |
{name: "BlanchedAlmond", code:"#FFEBCD"}, |
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
{ | |
"colorNames": [ | |
{"name": "AliceBlue", "code":"#F0F8FF"}, | |
{"name": "AntiqueWhite", "code":"#FAEBD7"}, | |
{"name": "Aqua", "code":"#00FFFF"}, | |
{"name": "Aquamarine", "code":"#7FFFD4"}, | |
{"name": "Azure", "code":"#F0FFFF"}, | |
{"name": "Beige", "code":"#F5F5DC"}, | |
{"name": "Bisque", "code":"#FFE4C4"}, | |
{"name": "Black", "code":"#000000"}, |
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
export const colorGroups = [ | |
{name: "Pink", color: "#FFC0CB"}, | |
{name: "LightPink", color: "#FFB6C1"}, | |
{name: "HotPink", color: "#FF69B4"}, | |
{name: "DeepPink", color: "#FF1493"}, | |
{name: "PaleVioletRed", color: "#DB7093"}, | |
{name: "MediumVioletRed", color: "#C71585"}, | |
{name: "Lavender", color: "#E6E6FA"}, | |
{name: "Thistle", color: "#D8BFD8"}, |
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
{ | |
"colorGroups" : [ | |
{ | |
"groupName": "Pink", | |
"colors": [ | |
{"name": "Pink", "color": "#FFC0CB"}, | |
{"name": "LightPink", "color": "#FFB6C1"}, | |
{"name": "HotPink", "color": "#FF69B4"}, | |
{"name": "DeepPink", "color": "#FF1493"}, | |
{"name": "PaleVioletRed", "color": "#DB7093"}, |
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 colors = [ | |
"#F0F8FF", | |
"#FAEBD7", | |
"#00FFFF", | |
"#7FFFD4", | |
"#F0FFFF", | |
"#F5F5DC", | |
"#FFE4C4", | |
"#000000", | |
"#FFEBCD", |
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 colorGroups = [ | |
// PINK | |
"#FFC0CB", | |
"#FFB6C1", | |
"#FF69B4", | |
"#FF1493", | |
"#DB7093", | |
"#C71585", | |
// PURPLE | |
"#E6E6FA", |
OlderNewer