@logo-software/hero
TypeScript icon, indicating that this package has built-in type declarations

11.0.0 • Public • Published

Hero Module

Hero module is a lightweight, flexible component that can optionally extend the first viewable section to showcase key marketing messages on your site.

  • It comes with the features below:
  • Custom CSS Class support.
  • Container class support.
  • Set background image dynamically.
  • Custom inner content design.
  • Overlay support between content and background.

Click here for demo

Installation

All public npm packages of Logo Software is at https://www.npmjs.com/~logofe. To install Hero Module:

$ npm set registry https://registry.npmjs.org/
$ npm install @logo-software/hero -s

Just import it to your project of @NgModule import section.

import {HeroModule} from '@logo-software/hero';

@NgModule({
 imports: [CommonModule, HeroModule],
})
export class AppModule {
}

Hero Component

Hero areas are key points for marketing and catch the user attentions. With Hero Component you can easily add hero model to your page. Add the below code to your code stack and give initializer parameters.

app.component.html

<logo-hero
  [containerStatus]="true"
  [bgImage]="'https://cdn-nq.logo.com.tr/assets/images/banners/banner-cover-muhasebe-web.jpg'"
  [cssClasses]="'my-hero-area'"
>
  <!-- Your content goes here. Below code is a sample of usage. -->
   <div class="content">
     <h1>Welcome to my page</h1>
     <p>My description of marketing</p>
   </div>
 </logo-hero>

For API details, please visit http://design.logo.com.tr/#/docs/components/components-overview

Package Sidebar

Install

npm i @logo-software/hero

Weekly Downloads

5

Version

11.0.0

License

See license in LICENSE file

Unpacked Size

105 kB

Total Files

18

Last publish

Collaborators

  • furkan.cetin
  • yusufyilmaz
  • serdarates
  • gamzeyapici
  • srknc
  • dotnet-ankara
  • murat.logo
  • serhan.gurbuz
  • gulnihaleksi