Permalink
Browse files

Use Semantic-UI and clean up unused code

Set page title in HTML template
Removed unused index.css
Removed logo from header and removed unused logo file
Shrank header and removed unused CSS
Imported Semantic-UI CSS into index
Added a Semantic-UI Header into the page header
Removed SampleComponent from App and removed the file
  • Loading branch information...
markerikson committed Nov 20, 2016
1 parent 9be2994 commit 059c2a73be827ec90e870e9e55b8f5518b69a990
Showing with 10 additions and 70 deletions.
  1. +0 −1 .idea/inspectionProfiles/Project_Default.xml
  2. +1 −11 public/index.html
  3. +2 −19 src/App.css
  4. +6 −6 src/App.js
  5. +0 −20 src/SampleComponent.jsx
  6. +0 −5 src/index.css
  7. +1 −1 src/index.js
  8. +0 −7 src/logo.svg
@@ -67,7 +67,6 @@
<inspection_tool class="EmptyStatementBodyJS" enabled="false" level="WARNING" enabled_by_default="false">
<option name="m_reportEmptyBlocks" value="false" />
</inspection_tool>
<inspection_tool class="Eslint" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="ExceptionCaughtLocallyJS" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="FallThroughInSwitchStatementJS" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="GherkinBrokenTableInspection" enabled="false" level="ERROR" enabled_by_default="false" />
View
@@ -13,19 +13,9 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Project Mini-Mek</title>
</head>
<body>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start`.
To create a production bundle, use `npm run build`.
-->
</body>
</html>
View
@@ -1,24 +1,7 @@
.App {
text-align: center;
}
.App-logo {
animation: App-logo-spin infinite 20s linear;
height: 80px;
}
.App-header {
background-color: #222;
height: 150px;
height: 60px;
padding: 20px;
color: white;
}
.App-intro {
font-size: large;
}
@keyframes App-logo-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
text-align: center;
}
View
@@ -1,18 +1,18 @@
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import {
Header,
} from "semantic-ui-react";
import SampleComponent from "./SampleComponent";
import './App.css';
class App extends Component {
render() {
return (
<div className="App">
<div className="App-header">
<img src={logo} className="App-logo" alt="logo"/>
<h2>Project Mini-Mek</h2>
<Header inverted as="h1">Project Mini-Mek</Header>
</div>
<SampleComponent />
</div>
);
}
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
View
@@ -2,7 +2,7 @@ import React from 'react';
import ReactDOM from 'react-dom';
import {Provider} from "react-redux";
import './index.css';
import "semantic-ui-css/semantic.css";
import configureStore from "./store/configureStore";
const store = configureStore();
View

This file was deleted.

Oops, something went wrong.

0 comments on commit 059c2a7

Please sign in to comment.