added logo, reacstrap not working

This commit is contained in:
YOUR NAME 2018-07-23 01:23:00 +10:00
parent 118fe35c37
commit 71d204ce24
4 changed files with 6 additions and 26 deletions

View file

@ -2,5 +2,5 @@
"SourceDir": "src",
"DistributionDir": "build",
"BuildCommand": "yarn react-scripts build",
"StartCommand": "react-scripts start"
"StartCommand": "yarnpkg react-scripts start"
}

View file

@ -12,7 +12,7 @@
"reactstrap": "^6.3.0"
},
"scripts": {
"start": "react-scripts start",
"start": "yarnpkg react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"

View file

@ -1,28 +1,9 @@
.App {
text-align: center;
background-color: #F3EFEA;
}
.App-logo {
animation: App-logo-spin infinite 20s linear;
height: 80px;
}
/* animation: App-logo-spin infinite 20s linear; */
height: 9.5vh;
.App-header {
background-color: #222;
height: 150px;
padding: 20px;
color: white;
}
.App-title {
font-size: 1.5em;
}
.App-intro {
font-size: large;
}
@keyframes App-logo-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
}

View file

@ -1,5 +1,4 @@
import React, { Component } from "react";
import logo from "./logo.svg";
import "./App.css";
import Amplify from "aws-amplify";
import awsmobile from "./aws-exports";