feat: docs app

This commit is contained in:
Sergey Andrievskiy 2019-07-16 08:38:11 +03:00
parent 62e6828680
commit 165e64eaca
203 changed files with 15928 additions and 6 deletions

View file

@ -0,0 +1,11 @@
<div class="descriptions" *ngFor="let item of descriptions">
<div class="icons-block">
<i [innerHTML]="item.icon | eva: { width: 48, height: 48, fill: '#00db92' }"></i>
</div>
<div class="title">
{{ item.title }}
</div>
<p class="description">
{{ item.description }}
</p>
</div>

View file

@ -0,0 +1,108 @@
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
@import '../../../@theme/styles/themes';
@import '~@nebular/theme/styles/global/breakpoints';
@include nb-install-component() {
$content-width: nb-theme(content-width);
$left-right-offset: 8.125rem;
width: calc(#{$content-width} - #{$left-right-offset} * 2);
display: flex;
margin: 0 auto;
position: relative;
margin-bottom: 5rem;
.descriptions {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
margin-left: 1.375rem;
&:first-child {
margin-left: 0;
}
}
.icons-block {
display: flex;
justify-content: center;
align-items: center;
width: 6.25rem;
height: 6.25rem;
border-radius: 50%;
background-color: #ffffff;
box-shadow: nb-theme(shadow-default);
}
.title {
color: #000000;
font-size: 1.5rem;
margin-top: 2.75rem;
}
.description {
width: 100%;
color: nb-theme(color-fg);
font-family: nb-theme(font-secondary), sans-serif;
margin-top: 1.25rem;
text-align: center;
line-height: 1.8;
}
@include media-breakpoint-down(lg) {
flex-wrap: wrap;
width: 100%;
.descriptions {
margin-left: 0;
padding: 0 1rem;
flex: auto;
width: 50%;
margin-bottom: 1rem;
}
}
@include media-breakpoint-down(is) {
flex-direction: column;
top: 0;
padding-top: 4.125rem;
padding-left: 1.5rem;
padding-right: 1.5rem;
.descriptions {
width: 100%;
flex: 1;
padding: 0;
margin: 1.5rem 0 0;
&:first-child {
margin: 0;
}
}
.title {
margin-top: 1.5rem;
}
.description {
margin-bottom: 0;
}
.icons-block {
width: 4rem;
height: 4rem;
}
::ng-deep svg {
width: 1.875rem;
height: 1.875rem;
}
}
}

View file

@ -0,0 +1,17 @@
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import { Component, Input } from '@angular/core';
import { Descriptions } from '../../../@core/data/service/descriptions.service';
@Component({
selector: 'ngx-landing-description-section',
templateUrl: './description-section.component.html',
styleUrls: ['./description-section.component.scss'],
})
export class DescriptionSectionComponent {
@Input() descriptions: Descriptions[];
}