2.4.1 • Published 7 years ago

@cnbritain/wc-card-portrait v2.4.1

Weekly downloads
9
License
ISC
Repository
github
Last release
7 years ago

wc-card-portrait

Item card with portrait layout

Settings:

KeyOptionalDefaultDescription
articlefalseThe article model
brandtrue''Name of the brand
hide_authortrueTrueHides the author from the meta
hide_durationtrueTrueHides the duration from the meta
hide_image_icontrueTrueHides the image icon from the image
hide_descriptiontrueTrueHides the description from the card
themetrue''Colour scheme of the card

#Current themes:

  • Wired
  • Glamour

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

#Todo:

  • Update live bullet to icon
  • Update all glamours icons
  • Component diff task