mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
949 B
30 lines
949 B
import { Component, OnDestroy } from '@angular/core';
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
import { MatCardModule } from '@angular/material/card';
|
|
import { IonIcon } from '@ionic/angular/standalone';
|
|
import { addIcons } from 'ionicons';
|
|
import { arrowForwardOutline } from 'ionicons/icons';
|
|
import { Subject } from 'rxjs';
|
|
|
|
const ossFriends = require('../../../../assets/oss-friends.json');
|
|
|
|
@Component({
|
|
imports: [IonIcon, MatButtonModule, MatCardModule],
|
|
selector: 'gf-oss-friends-page',
|
|
styleUrls: ['./oss-friends-page.scss'],
|
|
templateUrl: './oss-friends-page.html'
|
|
})
|
|
export class GfOpenSourceSoftwareFriendsPageComponent implements OnDestroy {
|
|
public ossFriends = ossFriends.data;
|
|
|
|
private unsubscribeSubject = new Subject<void>();
|
|
|
|
public constructor() {
|
|
addIcons({ arrowForwardOutline });
|
|
}
|
|
|
|
public ngOnDestroy() {
|
|
this.unsubscribeSubject.next();
|
|
this.unsubscribeSubject.complete();
|
|
}
|
|
}
|
|
|