2.4.1 • Published 9 years ago
@cnbritain/wc-card-portrait v2.4.1
wc-card-portrait
Item card with portrait layout
Settings:
| Key | Optional | Default | Description |
|---|---|---|---|
| article | false | The article model | |
| brand | true | '' | Name of the brand |
| hide_author | true | True | Hides the author from the meta |
| hide_duration | true | True | Hides the duration from the meta |
| hide_image_icon | true | True | Hides the image icon from the image |
| hide_description | true | True | Hides the description from the card |
| theme | true | '' | Colour scheme of the card |
#Current themes:
- Wired
- Glamour
Prerequisites:
Demo:
Install dependencies:
npm installBuild the things:
npm run sass
npm run jsPython the pythons:
cd demo
virtualenv .
source bin/activate
pip install -r requirements.txtStart the demo server:
python demo.py#Todo:
- Update live bullet to icon
- Update all glamours icons
- Component diff task