FriendsOfTrowel / Cards

⚠️ DEPRECATED. The official Trowel Component for cards

Home Page:http://trowel.github.io/documentation/friends-of-trowel/cards/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Friends of Trowel

Trowel Cards

npm version Bower version

The official Trowel Component for cards Cards is a Trowel Component, please refer to the Trowel doc for more informations about how works Trowel Components

Getting Started

Download

You can easily install Trowel Cards by using npm, Yarn or Bower

# With bower
$ bower install trowel-cards

# With npm
$ npm install trowel-cards

# With yarn
$ yarn add trowel-cards

You can also download a zip archive right here.

Installation

SCSS

The main scss file to include to your main .scss file is located at the ./src/scss/cards.scss. As a Trowel Component, it also requires two dependencies to compile the scss code. Here an scss installation snippet.

// Trowel Dependencies
@import './path/to/dependencies/trowel-core/src/trowel';

// Trowel Components Cards
@import './path/to/dependencies/trowel-cards/src/scss/cards.scss';

Twig files

The twig file is located at the ./src/twig/card.html.twig.

Usage

to be written

License

MIT © Trowel

About

⚠️ DEPRECATED. The official Trowel Component for cards

http://trowel.github.io/documentation/friends-of-trowel/cards/

License:MIT License


Languages

Language:HTML 53.6%Language:CSS 34.3%Language:JavaScript 12.0%