This commit is contained in:
Snider 2026-02-08 15:17:18 +00:00
parent 309dcaf0b4
commit cdd97441e9
2 changed files with 11 additions and 0 deletions

View file

@ -21,5 +21,9 @@ export const routes: Routes = [
{ {
path: 'onboarding', path: 'onboarding',
loadComponent: () => import('./onboarding/onboarding.component').then(m => m.OnboardingComponent) loadComponent: () => import('./onboarding/onboarding.component').then(m => m.OnboardingComponent)
},
{
path: 'jellyfin',
loadComponent: () => import('./jellyfin/jellyfin.component').then(m => m.JellyfinComponent)
} }
]; ];

View file

@ -66,6 +66,9 @@ interface TrayStatus {
</section> </section>
<footer class="tray-footer"> <footer class="tray-footer">
<button class="btn btn--secondary btn--sm" (click)="openJellyfin()">
Jellyfin
</button>
<button class="btn btn--secondary btn--sm" (click)="toggleRunning()"> <button class="btn btn--secondary btn--sm" (click)="toggleRunning()">
{{ status.running ? 'Pause' : 'Start' }} {{ status.running ? 'Pause' : 'Start' }}
</button> </button>
@ -293,4 +296,8 @@ export class TrayComponent implements OnInit, OnDestroy {
}); });
} }
} }
openJellyfin() {
window.location.assign('/jellyfin');
}
} }