Gameyfin version is now displayed in footer

This commit is contained in:
grimsi
2022-08-24 13:35:43 +02:00
parent e53435092c
commit c2398aeee2
5 changed files with 17 additions and 4 deletions
@@ -1 +1 @@
<p>&copy; {{date| date:'yyyy'}} grimsi | <a href="{{githubUrl}}" target="_blank">GitHub</a></p>
<p>&copy; {{date| date:'yyyy'}} grimsi | Gameyfin v{{gameyfinVersion}} | <a href="{{githubUrl}}" target="_blank">GitHub</a></p>
@@ -1,4 +1,5 @@
import { Component, OnInit } from '@angular/core';
import packageJson from 'package.json';
@Component({
selector: 'app-footer',
@@ -8,6 +9,7 @@ import { Component, OnInit } from '@angular/core';
export class FooterComponent implements OnInit {
githubUrl: string = "https://github.com/grimsi/gameyfin";
gameyfinVersion: string = packageJson.version;
date: Date = new Date();
constructor() { }