Skip to content

Commit

Permalink
clean up footer
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericHeem committed Jul 22, 2017
1 parent f022045 commit 311deaa
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 26 deletions.
1 change: 0 additions & 1 deletion client/src/app/parts/auth/views/applicationView.js
Expand Up @@ -15,7 +15,6 @@ export default context => {
const Themer = themer(context);

const AppRoot = glamorous("div")({
height: "100vh",
display: "flex"
});

Expand Down
44 changes: 19 additions & 25 deletions client/src/app/parts/core/components/footer.js
Expand Up @@ -6,37 +6,31 @@ export default ({ tr, theme }) => {
const FooterView = glamorous('footer')(() => ({
position: 'absolute',
bottom: 0,
paddingTop: 20,
padding: 20,
width: '100%',
textAlign: 'center',
background: palette.primaryLight
}));
function Footer({ version }) {
return function Footer({ version }) {
return (
<FooterView className="hidden-print">
<div className="container">
<div className="row">
<div className="content text-center">
<div>
{tr.t('StarHackIt is the starting point to build a full stack web application')}
</div>
<div>
{tr.t('Get the source code at ')}
<a
href="https://github.com/FredericHeem/starhackit"
rel="noopener noreferrer"
target="_blank"
>
{tr.t('GitHub')}
</a>
</div>
<div>
{version}
</div>
</div>
<FooterView>
<div>
{tr.t('StarHackIt is the starting point to build a full stack web application')}
</div>
<div>
{tr.t('Get the source code at ')}
<a
href="https://github.com/FredericHeem/starhackit"
rel="noopener noreferrer"
target="_blank"
>
{tr.t('GitHub')}
</a>
</div>
<div>
{version}
</div>
</div>
</FooterView>
);
}
return Footer;
};

0 comments on commit 311deaa

Please sign in to comment.