Skip to content

Commit

Permalink
chore(docs): add bakery banner (#5870)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg authored Jun 30, 2021
1 parent 81e1d83 commit 6fff862
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
<div class="free-banner-container">
<a href="{{bundleUrl}}"
<a href="{{url}}"
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>
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@

img {
width: 100%;
}

.link-to-free-bundle {
margin-top: 2rem;
font-size: 1.2rem;
color: nb-theme(color-link);
max-width: 78.75rem;
border-radius: 1.5rem;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ import { Component, Input } from '@angular/core';
export class FreeBannerSectionComponent {

@Input() bannerImg: string;
@Input() bundleUrl: string;
@Input() url: string;

}
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<ngx-material-features></ngx-material-features>
<ngx-landing-theme-section material></ngx-landing-theme-section>

<ngx-free-banner-section bannerImg="assets/img/free-bundle-banner.png"
bundleUrl="https://store.akveo.com/products/net-ngx-admin-angular-starter-bundle?utm_campaign=akveo_store%20-%20specific%20bundle%20-%20ngx_admin%20landing&utm_source=ngx_admin&utm_medium=referral&utm_content=.net_free_dashboard_banner">
<ngx-free-banner-section bannerImg="assets/img/bakery-banner.png"
url="https://uibakery.io/?utm_source=github&utm_medium=clicks&utm_campaign=banner">
</ngx-free-banner-section>

<ngx-backend-bundles-section [material]="true"></ngx-backend-bundles-section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<ngx-landing-reviews-section></ngx-landing-reviews-section>
</div>

<ngx-free-banner-section bannerImg="assets/img/free-bundle-banner.png"
bundleUrl="https://store.akveo.com/products/net-ngx-admin-angular-starter-bundle?utm_campaign=akveo_store%20-%20specific%20bundle%20-%20ngx_admin%20landing&utm_source=ngx_admin&utm_medium=referral&utm_content=.net_free_dashboard_banner">
<ngx-free-banner-section bannerImg="assets/img/bakery-banner.png"
url="https://uibakery.io/?utm_source=github&utm_medium=clicks&utm_campaign=banner">
</ngx-free-banner-section>

<ngx-landing-our-projects-section></ngx-landing-our-projects-section>
Expand Down
Binary file added docs/assets/img/bakery-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/img/free-bundle-banner.png
Binary file not shown.

0 comments on commit 6fff862

Please sign in to comment.