From 71d204ce24b88757e97453cea1ec55987aec7d1b Mon Sep 17 00:00:00 2001 From: YOUR NAME Date: Mon, 23 Jul 2018 01:23:00 +1000 Subject: [PATCH] added logo, reacstrap not working --- .../.awsmobile/info/project-config.json | 2 +- package.json | 2 +- src/App.css | 27 +++---------------- src/App.js | 1 - 4 files changed, 6 insertions(+), 26 deletions(-) diff --git a/awsmobilejs/.awsmobile/info/project-config.json b/awsmobilejs/.awsmobile/info/project-config.json index 7f1983d..99f54cf 100644 --- a/awsmobilejs/.awsmobile/info/project-config.json +++ b/awsmobilejs/.awsmobile/info/project-config.json @@ -2,5 +2,5 @@ "SourceDir": "src", "DistributionDir": "build", "BuildCommand": "yarn react-scripts build", - "StartCommand": "react-scripts start" + "StartCommand": "yarnpkg react-scripts start" } \ No newline at end of file diff --git a/package.json b/package.json index 2828433..c38fc01 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/src/App.css b/src/App.css index c5c6e8a..2e991e5 100644 --- a/src/App.css +++ b/src/App.css @@ -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); } -} +} \ No newline at end of file diff --git a/src/App.js b/src/App.js index 686129f..7a677e8 100644 --- a/src/App.js +++ b/src/App.js @@ -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";