From 2492cb8437e9e9d47ea11b04d6b85df86333cc72 Mon Sep 17 00:00:00 2001 From: Mathieu Hermann Date: Sun, 29 Dec 2024 21:39:30 +0100 Subject: [PATCH] feat(profile): add premium upgrade button to profile --- package.json | 2 +- src/app/pages/profile/profile.component.html | 4 ++++ src/app/pages/profile/profile.component.scss | 1 + yarn.lock | 8 ++++---- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4b01570..2aef0af 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@angular/service-worker": "^19.0.5", "date-fns": "4.1.0", "dexie": "^4.0.9", - "excalibur": "0.30.1", + "excalibur": "0.30.2", "pocketbase": "0.22.1", "rxjs": "~7.8.0", "tslib": "^2.3.0", diff --git a/src/app/pages/profile/profile.component.html b/src/app/pages/profile/profile.component.html index 700c08e..b78c9c0 100644 --- a/src/app/pages/profile/profile.component.html +++ b/src/app/pages/profile/profile.component.html @@ -9,6 +9,10 @@
{{ user?.name }}
{{ user?.premium ? 'Premium rider' : 'Standard rider' }}
+ @if(!user?.premium) { + +
Profile upgrade will soon be available to all riders
+ }