Code Monkey home page Code Monkey logo

bem-vcard-enb's Introduction

bem vcard

vcard example

Визитная карточка по БЭМ:

  • сборка на enb;
  • шаблоны на bh;
  • stylus;
  • заинлайненные SVG-логотипы для поддержки Retina;
  • заинлайненная статика (JS, CSS);
  • borschik для минимизации статики;
  • plain javascript на клиенте*;
  • нет внешних запросов;
  • полный размер документа всего 38.9KB;
  • корректная поддержка различных разрешений на мобильных устройствах;
  • поддержка Person microdata.

* — для версии с bem-core/bem-components необходимо переключиться на ветку v2

##Development

git clone https://github.com/sbmaxx/bem-vcard-enb.git
cd bem-vcard-enb
make install
make

Данные править в data.js в корне проекта. Файл с данными появляется после make install путём копирования example_data.js. Это сделано для того, чтобы хранить в репозитории чистые данные, не смешанные с форками.

##Production

make production
scp pages/index/index.html $HOSTING:/var/www/
scp -r blocks/font/ $HOSTING:/var/www/blocks/font/

https://rozhdestvenskiy.ru

bem-vcard-enb's People

Contributors

nerevar avatar sbmaxx avatar tamacti avatar veged avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.