4.43.2 • Published 4 months ago

@parameter1/base-cms-marko-web-leaders v4.43.2

Weekly downloads
22
License
MIT
Repository
github
Last release
4 months ago

BaseCMS Marko Wrapper for the Leaders Program

Installation

  1. Include @parameter1/base-cms-marko-web-leaders as a project/website dependency.

  2. Include the Browser plugin.

// your-site/browser/index.js
import Leaders from '@parameter1/base-cms-marko-web-leaders/browser';

Leaders(Browser);

export default Browser;
  1. Include the styles.
// your-site/server/styles/index.scss
@import url("https://fonts.googleapis.com/css?family=IBM+Plex+Sans:300,400,500,600,700&display=swap");
@import "@parameter1/base-cms-marko-web-leaders/scss/leaders";
  1. Include the dropdown portal component in your template or document root. Include immediately after the opening <body> tag! << Don't forget this step >>
<!-- your-site/server/components/document.marko -->
<marko-web-document ...input>
  <@head>
    <!-- ... head components here -->
  </@head>
  <@above-container>
    <marko-web-leaders-dropdown-portal />
    <!-- ... other components here -->
    <${input.aboveContainer} />
  </@above-container>
</marko-web-document>
  1. Include the <marko-web-leaders> component where you'd like it displayed.
<!-- your-site/server/templates/index.marko -->
<marko-web-leaders props={
  sectionAlias: "leaders",
  open: null,
  expanded: false,
  headerImgSrc: "https://img.packworld.com/files/base/pmmi/all/leaders/pw.png",
  headerImgAlt: "Leaders in Packaging 2019",
  columns: 1,
  offsetTop: 105,
  mediaQueries: [
    { prop: "open", value: "right", query: "(min-width: 1490px)" },
    { prop: "columns", value: 2, query: "(min-width: 700px)" },
    { prop: "displayCallout", value: false, query: "(max-width: 660px)" },
  ],
}/>
4.43.2

4 months ago

4.40.3

6 months ago

4.36.8

8 months ago

4.36.5

8 months ago

4.27.0

11 months ago

4.16.1

1 year ago

4.16.2

1 year ago

4.6.2

1 year ago

4.5.12

1 year ago

4.14.0

1 year ago

4.1.7

1 year ago

4.0.0-alpha.0

1 year ago

4.0.0-beta.0

1 year ago

4.1.4

1 year ago

4.1.3

1 year ago

4.1.6

1 year ago

4.1.5

1 year ago

4.1.0

1 year ago

4.0.0

1 year ago

4.1.2

1 year ago

4.0.2

1 year ago

3.19.0

1 year ago

3.19.1

1 year ago

3.10.1

2 years ago

3.3.0

2 years ago

2.97.0

2 years ago

3.0.0

2 years ago

2.95.0

2 years ago

2.91.0

2 years ago

2.75.1

2 years ago

2.75.0

2 years ago

2.46.3

3 years ago

2.45.0

3 years ago

2.37.1

3 years ago

2.34.0

3 years ago

2.30.0

3 years ago

2.22.3

3 years ago

2.22.2

3 years ago

2.21.2

3 years ago

2.21.1

3 years ago

2.20.2

3 years ago

2.8.6

3 years ago

2.7.0

3 years ago

2.5.0

3 years ago

2.6.0

3 years ago

2.4.4

3 years ago

2.4.1

3 years ago

2.3.6

3 years ago

2.3.7

3 years ago

2.0.0

3 years ago