Skip to content

Commit

Permalink
+Footer, with footerStyles.js; to HomePage; #19
Browse files Browse the repository at this point in the history
  • Loading branch information
veeepi committed Apr 13, 2021
1 parent a4bbf06 commit d6a65c4
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/containers/Footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react'
import footerStyles from '../styles/footerStyles';

export default function Footer() {
const classes = footerStyles();
return (
<div className={classes.container}>

</div>
)
}
2 changes: 2 additions & 0 deletions src/pages/HomePage.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import HomeHeader from '../containers/HomeHeader';
import Auth from '../containers/Auth';
import Footer from '../containers/Footer';
import homeStyles from '../styles/homeStyles';

export default function HomePage() {
Expand All @@ -13,6 +14,7 @@ export default function HomePage() {

<Auth />

<Footer />

</div>
)
Expand Down
1 change: 1 addition & 0 deletions src/styles/colorThemes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export const holisticTheme = {
// Root
bgRoot: "#5C4E75",
textRoot: '#EFEFEF',
bgDark: "#2d2639",
// Container
bgContainer: '#A395B8',
// Font
Expand Down
11 changes: 11 additions & 0 deletions src/styles/footerStyles.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { makeStyles } from '@material-ui/core/styles';
import { holisticTheme } from './colorThemes';

const footerStyles = makeStyles(() => ({
container: {
height: '25vh',
backgroundColor: holisticTheme.bgDark,
}
}));

export default footerStyles;

0 comments on commit d6a65c4

Please sign in to comment.