@cnbritain/wc-section-card-listdeprecated

Card list section

Usage no npm install needed!

<script type="module">
  import cnbritainWcSectionCardList from 'https://cdn.skypack.dev/@cnbritain/wc-section-card-list';
</script>

README

wc-section-card-list

Card list section

Settings

Key Optional Default Description
title false Title of the card list section
items true None The items to display as a card
topics true None The topics to display
brand true 'default' The brand e.g. wired, vogue, glamour
cols true [2, 4] The amount of columns for the card list

Themes

  • Wired

Prerequisites:

  • Node.jsbrew install node
  • Grunt - npm install -g grunt-cli
  • Other prereqs? Python? Virtualenv?

Demo:

Install dependencies:

npm install

Build the things:

npm run sass
npm run js

Python the pythons:

cd demo
virtualenv .
source bin/activate
pip install -r requirements.txt

Start the demo server:

python demo.py