dynamic year change added
This commit is contained in:
parent
dc8fa9226a
commit
d2bf6cde45
|
|
@ -17,6 +17,7 @@ const Footer = ({
|
|||
setDropdownBurger,
|
||||
setBurgerOpen,
|
||||
}: footerProps) => {
|
||||
const date = new Date();
|
||||
const breakpoint: Record<number, boolean> = {
|
||||
1300: useMediaQuery("(max-width: 1300px)"),
|
||||
};
|
||||
|
|
@ -62,8 +63,8 @@ const Footer = ({
|
|||
<div className="footer-bottom-inner">
|
||||
<div className="footer-bottom-left">
|
||||
<p>
|
||||
Copyright 2012-2022 Шахматная федерация Туркменистана |{" "}
|
||||
<a href="/">Пользовательское соглашение</a>
|
||||
Copyright 2012-{date.getFullYear()} Шахматная федерация
|
||||
Туркменистана | <a href="/">Пользовательское соглашение</a>
|
||||
</p>
|
||||
</div>
|
||||
<div className="footer-bottom-right">
|
||||
|
|
|
|||
Loading…
Reference in New Issue