Skip to content

Commit

Permalink
[fix] Fix copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
tormozz48 committed May 9, 2024
1 parent 19dc005 commit 5de3fd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/copyright.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ import React from 'react';
import Glyphicon from 'react-bootstrap/es/Glyphicon.js';

export default () => {
const year = new Date().getFullYear();
return (
<div className="copyright">
<a className="copyright__author" href="mailto:[email protected]">
Andrey Kuznetsov
</a>
<Glyphicon glyph="copyright-mark"/>
<span className="copyright__year">2021</span>
<span className="copyright__year">{year}</span>
</div>
);
};

0 comments on commit 5de3fd1

Please sign in to comment.