mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-24 08:54:06 +01: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
|
|
@ -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;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue