Skip to content

Commit

Permalink
Merge pull request #111 from mbonell/mb/fix-footer
Browse files Browse the repository at this point in the history
Update year in footer dynamically
  • Loading branch information
mabuyo authored Jan 5, 2024
2 parents ab32b90 + aab74cf commit d0eecb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion client/src/components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ import React from 'react';
import styled from '@emotion/styled';
import { colors, ApolloIcon } from '../styles';


/**
* Footer is useless component to make our app look a little closer to a real website!
*/
const Footer = ({ children }) => {
return (
<FooterContainer>
2021 ©{' '}
{new Date().getFullYear()} ©{' '}
<LogoContainer>
<ApolloIcon width="100px" height="40px" />
</LogoContainer>
Expand Down
2 changes: 1 addition & 1 deletion final/client/src/components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { colors, ApolloIcon } from '../styles';
const Footer = ({ children }) => {
return (
<FooterContainer>
2021 ©{' '}
{new Date().getFullYear()} ©{' '}
<LogoContainer>
<ApolloIcon width="100px" height="40px" />
</LogoContainer>
Expand Down

0 comments on commit d0eecb9

Please sign in to comment.