mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-09-21 21:40:49 +02:00
feat(demo): add free banner section
This commit is contained in:
parent
a7d1716fc6
commit
a3e2cbf2af
10 changed files with 78 additions and 2 deletions
|
@ -41,6 +41,7 @@ $nb-themes: nb-register-theme((
|
||||||
|
|
||||||
separator: transparent,
|
separator: transparent,
|
||||||
color-success: #18cb90,
|
color-success: #18cb90,
|
||||||
|
color-link: #18cb90,
|
||||||
color-bg: transparent,
|
color-bg: transparent,
|
||||||
color-fg: #405571,
|
color-fg: #405571,
|
||||||
color-fg-heading: #546d8d,
|
color-fg-heading: #546d8d,
|
||||||
|
@ -146,6 +147,7 @@ $nb-themes: nb-register-theme((
|
||||||
shadow-hover-green-btn: shadow,
|
shadow-hover-green-btn: shadow,
|
||||||
shadow-active-green-btn: shadow,
|
shadow-active-green-btn: shadow,
|
||||||
|
|
||||||
|
color-link: #6200ee,
|
||||||
color-primary-default: #6200ee,
|
color-primary-default: #6200ee,
|
||||||
color-active-fg: color-primary-default,
|
color-active-fg: color-primary-default,
|
||||||
color-active-bg: color-primary-default,
|
color-active-bg: color-primary-default,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<ngx-landing-section-title>
|
<ngx-landing-section-title>
|
||||||
Backend Bundles
|
ngx-admin Dashboard with Backends
|
||||||
</ngx-landing-section-title>
|
</ngx-landing-section-title>
|
||||||
|
|
||||||
<div class="section-container">
|
<div class="section-container">
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
<div class="free-banner-container">
|
||||||
|
<a href="https://hubs.ly/H0rvhWC0"
|
||||||
|
target="_blank">
|
||||||
|
<img class="free-banner-img"
|
||||||
|
defaultImage="{{bannerImg}}"
|
||||||
|
lazyLoad="{{bannerImg}}"/>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="link-to-free-bundle"
|
||||||
|
href="{{bundleUrl}}"
|
||||||
|
target="_blank">
|
||||||
|
Download free admin dashboard with .NET backend
|
||||||
|
</a>
|
||||||
|
</div>
|
|
@ -0,0 +1,29 @@
|
||||||
|
/**
|
||||||
|
* @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';
|
||||||
|
|
||||||
|
@include nb-install-component() {
|
||||||
|
display: block;
|
||||||
|
padding-top: 5.125rem;
|
||||||
|
|
||||||
|
|
||||||
|
.free-banner-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link-to-free-bundle {
|
||||||
|
margin-top: 2rem;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
color: nb-theme(color-link);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
/**
|
||||||
|
* @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';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'ngx-free-banner-section',
|
||||||
|
templateUrl: './free-banner-section.component.html',
|
||||||
|
styleUrls: ['./free-banner-section.component.scss'],
|
||||||
|
})
|
||||||
|
export class FreeBannerSectionComponent {
|
||||||
|
|
||||||
|
@Input() bannerImg: string;
|
||||||
|
@Input() bundleUrl: string;
|
||||||
|
|
||||||
|
}
|
|
@ -33,6 +33,7 @@ import {DefaultAdminInfoComponent} from './main-info-section/default-admin-main-
|
||||||
import {MaterialAdminInfoComponent} from './main-info-section/material-admin-main-info/material-info.component';
|
import {MaterialAdminInfoComponent} from './main-info-section/material-admin-main-info/material-info.component';
|
||||||
import {ContactFormComponent} from './contact-form/contact.component';
|
import {ContactFormComponent} from './contact-form/contact.component';
|
||||||
import {NbButtonModule} from '@nebular/theme';
|
import {NbButtonModule} from '@nebular/theme';
|
||||||
|
import { FreeBannerSectionComponent } from './free-banner-section/free-banner-section.component';
|
||||||
// components
|
// components
|
||||||
|
|
||||||
const PIPES = [LicensePipe, BackgroundImagePipe];
|
const PIPES = [LicensePipe, BackgroundImagePipe];
|
||||||
|
@ -54,6 +55,7 @@ const COMPONENTS = [
|
||||||
BackendBundlesSectionComponent,
|
BackendBundlesSectionComponent,
|
||||||
MaterialFeaturesSectionComponent,
|
MaterialFeaturesSectionComponent,
|
||||||
ContactFormComponent,
|
ContactFormComponent,
|
||||||
|
FreeBannerSectionComponent,
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|
|
@ -9,6 +9,11 @@
|
||||||
<ngx-landing-main-info material></ngx-landing-main-info>
|
<ngx-landing-main-info material></ngx-landing-main-info>
|
||||||
<ngx-material-features></ngx-material-features>
|
<ngx-material-features></ngx-material-features>
|
||||||
<ngx-landing-theme-section material></ngx-landing-theme-section>
|
<ngx-landing-theme-section material></ngx-landing-theme-section>
|
||||||
|
|
||||||
|
<ngx-free-banner-section bannerImg="assets/img/free-bundle-banner.png"
|
||||||
|
bundleUrl="https://hubs.ly/H0rvhWC0">
|
||||||
|
</ngx-free-banner-section>
|
||||||
|
|
||||||
<ngx-backend-bundles-section [material]="true"></ngx-backend-bundles-section>
|
<ngx-backend-bundles-section [material]="true"></ngx-backend-bundles-section>
|
||||||
<ngx-contact-form></ngx-contact-form>
|
<ngx-contact-form></ngx-contact-form>
|
||||||
</nb-layout-column>
|
</nb-layout-column>
|
||||||
|
|
|
@ -12,6 +12,10 @@
|
||||||
<ngx-landing-reviews-section></ngx-landing-reviews-section>
|
<ngx-landing-reviews-section></ngx-landing-reviews-section>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<ngx-free-banner-section bannerImg="assets/img/free-bundle-banner.png"
|
||||||
|
bundleUrl="https://hubs.ly/H0rvhWC0">
|
||||||
|
</ngx-free-banner-section>
|
||||||
|
|
||||||
<ngx-backend-bundles-section id="backend-bundles"></ngx-backend-bundles-section>
|
<ngx-backend-bundles-section id="backend-bundles"></ngx-backend-bundles-section>
|
||||||
|
|
||||||
<ngx-landing-our-projects-section></ngx-landing-our-projects-section>
|
<ngx-landing-our-projects-section></ngx-landing-our-projects-section>
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
ngx-landing-our-projects-section,
|
ngx-landing-our-projects-section,
|
||||||
ngx-landing-social-section,
|
ngx-landing-social-section,
|
||||||
ngx-landing-contact-section,
|
ngx-landing-contact-section,
|
||||||
ngx-backend-bundles-section {
|
ngx-backend-bundles-section,
|
||||||
|
ngx-free-banner-section {
|
||||||
max-width: $content-width;
|
max-width: $content-width;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
BIN
docs/assets/img/free-bundle-banner.png
Normal file
BIN
docs/assets/img/free-bundle-banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 282 KiB |
Loading…
Add table
Add a link
Reference in a new issue