ngx-admin/docs/app/@core/data/service/descriptions.service.ts
2019-01-24 17:55:51 +03:00

41 lines
1.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Injectable } from '@angular/core';
import { of as observableOf, Observable } from 'rxjs';
export class Descriptions {
icon: string;
title: string;
description: string;
}
@Injectable()
export class DescriptionsService {
/* tslint:disable:max-line-length */
private descriptions: Descriptions[] = [
{
icon: 'layout-outline',
title: 'Efficient',
description: 'Packed with a huge number of handcrafted UI components, charts, maps, editors, tables, and much more, so that developers can focus on business needs',
},
{
icon: 'smartphone-outline',
title: 'Mobile first',
description: 'Looks stunning on every screen size and is optimized to bring the large-screen experience from desktop to mobile',
},
{
icon: 'color-palette-outline',
title: 'Сustomizable',
description: 'With 3 themes, 2 dashboards, and outstanding UI architecture, its easy to change the themes and find the right fit for your company',
},
{
icon: 'heart-outline',
title: 'Updated and supported',
description: 'Continuous updates and fixes from the development team to keep your tech up to date. The friendly and active community support team are ready to guide you through your challenges',
},
];
/* tslint:enable:max-line-length */
getDescriptions(): Observable<Descriptions[]> {
return observableOf(this.descriptions);
}
}