diff --git a/README.md b/README.md index d4c7606a..e4d53aeb 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,21 @@ ## CryptoCompare -This is a project built for Learn Code Utrecht. +This is a project built for [Learn Code Utrecht](https://github.com/learncodeutrecht/LearnCodeUtrecht). For questions on Front End, ask [Susan](https://github.com/sepuckett86/). To run on your local computer: + Install [Node](https://nodejs.org/en/). + Clone this repository. -Navigate to main directory in your CLI. -First install necessary dependencies: + +Navigate to main directory `CryptoCurrencyFrontend` in your CLI. + +Install necessary dependencies: `npm install` -Then run a development build: + +Run a development build: `npm start` ## All content below is auto-generated upon building a new React App. diff --git a/src/App.css b/src/App.css new file mode 100644 index 00000000..5a29c04c --- /dev/null +++ b/src/App.css @@ -0,0 +1,37 @@ +.App { + text-align: center; + font-family: 'Montserrat', sans-serif; + +} + +.App-logo { + animation: App-logo-spin infinite 20s linear; + height: 80px; +} + +.App-header { + /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7d7e7d+0,0e0e0e+100;Black+3D */ + background: rgb(125,126,125); /* Old browsers */ + background: -moz-linear-gradient(-45deg, rgba(125,126,125,1) 0%, rgba(14,14,14,1) 100%); /* FF3.6-15 */ + background: -webkit-linear-gradient(-45deg, rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); /* Chrome10-25,Safari5.1-6 */ + background: linear-gradient(135deg, rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ + height: 100px; + padding: 20px; + color: white; + font-family: 'Gugi', cursive; +} + +.App-title { + font-size: 2.5em; +} + +.App-intro { + font-size: large; + font-family: 'Montserrat', sans-serif; +} + +@keyframes App-logo-spin { + from { transform: rotate(0deg); } + to { transform: rotate(360deg); } +} diff --git a/src/Components/App/App.js b/src/App.js similarity index 91% rename from src/Components/App/App.js rename to src/App.js index aa073b0f..c0021b3f 100644 --- a/src/Components/App/App.js +++ b/src/App.js @@ -1,7 +1,7 @@ import React, { Component } from 'react'; import './App.css'; -import Compare from '../Compare/Compare'; +import Compare from './Scenes/Compare/Compare'; export class App extends Component { displayName: 'App'; @@ -19,8 +19,9 @@ export class App extends Component {
+
- Pick two options
+ Pick two cryptocurrencies:
Pick two different options
- - // Return table and graph in two columns - } else { - return ( -Comparing {menu1} + {menu2}:
-| Site | -Result | -
|---|---|
| {site} | -{this.checkActive(site)} - |
-
Pick two different options
) + } else { + result = (Comparing {term1} + {term2}:
+| Site | +Bid | +Ask | +
|---|---|---|
| {site} | +{this.props.dataArray[i]} + |
+ {this.props.dataArray[i]} + |
+