This commit is contained in:
Lurkars 2021-03-20 13:18:27 +01:00
parent 2ff430f58f
commit e0b4da182a
2 changed files with 5 additions and 1 deletions

View File

@ -22,7 +22,7 @@ import {NotfoundComponent} from './pages/notfound/notfound.component';
import {UserComponent} from './pages/user/user.component' import {UserComponent} from './pages/user/user.component'
const routes: Routes = [ const routes: Routes = [
{path: '', redirectTo: "/account/info", pathMatch: 'full'}, {path: '', redirectTo: "/services", pathMatch: 'full'},
{path: 'imprint', component: ImprintComponent, canActivate: [AuthUpdateGuard]}, {path: 'imprint', component: ImprintComponent, canActivate: [AuthUpdateGuard]},
{path: 'privacy-policy', component: PrivacyPolicyComponent, canActivate: [AuthUpdateGuard]}, {path: 'privacy-policy', component: PrivacyPolicyComponent, canActivate: [AuthUpdateGuard]},
{path: 'terms-of-service', component: TermsOfServiceComponent, canActivate: [AuthUpdateGuard]}, {path: 'terms-of-service', component: TermsOfServiceComponent, canActivate: [AuthUpdateGuard]},

View File

@ -36,6 +36,10 @@
<a routerLink="/tokens" mat-list-item> <a routerLink="/tokens" mat-list-item>
<mat-icon>card_giftcard</mat-icon> {{'tokens.redeem' | i18n}} <mat-icon>card_giftcard</mat-icon> {{'tokens.redeem' | i18n}}
</a> </a>
<a (click)="openExternal('https://wiki.bstly.de/services/webstly')" mat-list-item>
<mat-icon>help</mat-icon> {{'help' | i18n}}<mat-icon style="font-size: 1em;">open_in_new
</mat-icon>
</a>
<a (click)="openExternal('https://membership.bstly.de')" mat-list-item> <a (click)="openExternal('https://membership.bstly.de')" mat-list-item>
<mat-icon>shopping_cart</mat-icon> {{'tokens.get' | i18n}}<mat-icon style="font-size: 1em;">open_in_new <mat-icon>shopping_cart</mat-icon> {{'tokens.get' | i18n}}<mat-icon style="font-size: 1em;">open_in_new
</mat-icon> </mat-icon>