Refactor footer.

This commit is contained in:
Spencer Ofwiti 2021-05-26 12:51:54 +03:00
parent 9fed6fcaf3
commit 228bca564e
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
<!-- Footer Start -->
<footer class="footer">
2020 © Grassroots Economics
<a target="blank" title="GPL-3" href="https://www.gnu.org/licenses/gpl-3.0.en.html"> Copyleft </a> 🄯.
{{ currentYear }}
<a target="blank" title="Gitlab@GrassrootsEconomics" href="https://gitlab.com/grassrootseconomics"><u> Grassroots Economics </u></a>
</footer>
<!-- end Footer -->

View File

@ -7,6 +7,7 @@ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class FooterComponent implements OnInit {
currentYear = new Date().getFullYear();
constructor() {}
ngOnInit(): void {}