Skip to content

Commit

Permalink
Added main and footer components
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason-Herman committed Apr 18, 2019
1 parent 8320603 commit 1d0d689
Show file tree
Hide file tree
Showing 8 changed files with 639 additions and 16 deletions.
Binary file added designAssets/ExitPlanMockUp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
591 changes: 575 additions & 16 deletions frontend/package-lock.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions frontend/src/App/App.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import React from 'react';
import './App.scss';
import Header from '../Header/Header.js';
import Main from '../Main/Main.js';
import Footer from '../Footer/Footer.js';


const App = () => {
return (
<main className="app-wrapper">
<Header />
<Main />
<Footer />
</main>
)
};
Expand Down
15 changes: 15 additions & 0 deletions frontend/src/App/App.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
.App {
text-align: center;
}
.app-wrapper {
display: flex;
flex-direction: column;
}

.App-logo {
animation: App-logo-spin infinite 20s linear;
Expand All @@ -19,6 +23,17 @@
color: white;
}

.App-footer {
background-color: #282c34;
min-height: 170vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}

.App-link {
color: #61dafb;
}
Expand Down
12 changes: 12 additions & 0 deletions frontend/src/Footer/Footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import './Footer.scss';

const Footer = () => {
return (
<footer>

</footer>
)
};

export default Footer;
11 changes: 11 additions & 0 deletions frontend/src/Footer/Footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@import '../index.scss';

footer {
background-color: $dark-blue;
height: 200px;
display: flex;
justify-content: space-between;
}



12 changes: 12 additions & 0 deletions frontend/src/Main/Main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import './Main.scss';

const Main = () => {
return (
<main>

</main>
)
};

export default Main;
9 changes: 9 additions & 0 deletions frontend/src/Main/Main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@import '../index.scss';

main {
background-color: $off-white;
height: 900px;
display: flex;
flex: 1;
justify-content: space-between;
}

0 comments on commit 1d0d689

Please sign in to comment.