diff --git a/src/app/Footer.css b/src/app/Footer.css new file mode 100644 index 0000000..0efe2b4 --- /dev/null +++ b/src/app/Footer.css @@ -0,0 +1,16 @@ +footer,header { + background:lightgray; + } + + +footer .things{ + display: inline-flex; + padding-right: 10px; +} + +.things .child{ + background: #a2a1a1; + padding-left: 5px; + padding-right: 5px; + font-weight: bold +} \ No newline at end of file diff --git a/src/app/Footer.js b/src/app/Footer.js new file mode 100644 index 0000000..79a3329 --- /dev/null +++ b/src/app/Footer.js @@ -0,0 +1,34 @@ +import React, { Component } from 'react'; +import './Footer.css'; + +export default class Footer extends Component { + constructor(props) { + super(props); + } + + render() { + return ( + + ); + } +} \ No newline at end of file diff --git a/src/app/SearchField.js b/src/app/SearchField.js index c9e255c..3077330 100644 --- a/src/app/SearchField.js +++ b/src/app/SearchField.js @@ -2,6 +2,7 @@ import React, { Component } from 'react'; import axios from 'axios'; import PawnedListItem from './PawnedListItem'; import './SearchField.css'; +import Footer from './Footer'; export default class SearchField extends Component { @@ -34,24 +35,29 @@ export default class SearchField extends Component { } return ( -
-
-
-
); } diff --git a/src/app/main.js b/src/app/main.js index e8052d9..74a9526 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -3,4 +3,4 @@ import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; -ReactDOM.render(, document.getElementById('wrapper')); \ No newline at end of file +ReactDOM.render(, document.getElementById('renderArea')); \ No newline at end of file diff --git a/src/css/style.css b/src/css/style.css index 93c0009..f782ed9 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -24,9 +24,6 @@ body width: fit-content; } -footer,header { - background:lightgray; -} /* Other Styles */ .vex.vex-theme-wireframe .vex-content { @@ -50,14 +47,3 @@ footer,header { cursor: pointer; } -footer .things{ - display: inline-flex; - padding-right: 10px; -} - -.things .child{ - background: #a2a1a1; - padding-left: 5px; - padding-right: 5px; - font-weight: bold -} \ No newline at end of file diff --git a/src/index.html b/src/index.html index 16962d0..6f9985f 100644 --- a/src/index.html +++ b/src/index.html @@ -13,28 +13,8 @@ -
- +
+