fix(landing): change landing content

This commit is contained in:
Alex 2020-03-23 15:29:27 +03:00 committed by Sergey Andrievskiy
parent 2b768b0191
commit 64b38da5ae
15 changed files with 264 additions and 20 deletions

View file

@ -3,8 +3,9 @@
<ngx-landing-header></ngx-landing-header>
</nb-layout-header>
<nb-layout-column>
<nb-layout-column class="main-section">
<ngx-landing-main-info material></ngx-landing-main-info>
<ngx-material-features></ngx-material-features>
<ngx-landing-theme-section material></ngx-landing-theme-section>
</nb-layout-column>

View file

@ -1,6 +1,9 @@
@import '../../../@theme/styles/themes';
@include nb-install-component() {
$content-width: nb-theme(content-width);
::ng-deep {
.version {
color: nb-theme(color-basic-500) !important;
@ -12,4 +15,20 @@
}
}
}
}
.main-section {
background-color: nb-theme(gray-section-bg);
}
ngx-material-features {
max-width: $content-width;
margin: 0 auto;
}
@include media-breakpoint-down(is) {
ngx-material-features {
max-width: 100%;
}
}
}

View file

@ -6,11 +6,11 @@ import { NbThemeService } from '@nebular/theme';
templateUrl: './material-landing.component.html',
styleUrls: [
'./material-landing.component.scss',
'../landing-home.component.scss'
]
'../landing-home.component.scss',
],
})
export class MaterialLandingComponent {
constructor(private themeService: NbThemeService) {
this.themeService.changeTheme('ngx-landing-material');
}
}
}