Skip to content

Commit

Permalink
feat(bem-consumers): add bem consumers block
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Starkov committed Oct 19, 2014
1 parent eb58816 commit 27c5bd4
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 2 deletions.
Binary file added assets/img/consumers/ideus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/consumers/manufactura.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/consumers/yandex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions levels/blocks/bem-consumers/bem-consumers.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.bem-consumers__heading {
font-size: 23px;
font-weight: normal;
}

.bem-consumers__item-link {
padding: 20px;
display: inline-block;
}

.bem-consumers__item-link:hover {
background: #f1f1f1;
}
2 changes: 1 addition & 1 deletion levels/blocks/page/page.deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ module.exports.require = [
{ block: 'affix' },
{ block: 'scrollspy' },
{ block: 'list' },
{ block: 'bem-consumers' },
{ block: 'footer' },

];
17 changes: 16 additions & 1 deletion levels/pages/index/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ block content
| Methodology and tools, that can be recomposed and configured in the way you like BEM.

.grid.grid_fixed
.grid__row(style="text-align: center")
.grid__row.text_align_center
.grid__cell-sm.grid__cell-sm_size_4.raw-text
.icon
a(href="/introduction/")
Expand All @@ -54,3 +54,18 @@ block content
.icon__image
img(src="/img/build.svg" style="width: 100px; height: 100px; padding-top: 10px; margin-top: 5px;")
.icon__caption Building

.grid.grid_fixed
.grid__row.text_align_center.bem-consumers
h3.bem-consumers__heading Companies using BEM:
ul.list.list_inline.list_unstyled
li.list__item.bem-consumers__item
a.bem-consumers__item-link(href='https://yandex.com/' title='Yandex')
img.bem-consumers__item-logo(src="/img/consumers/yandex.png" height=70)
li.list__item.bem-consumers
a.bem-consumers__item-link(href='http://new.factory.mn/' title='Manufactura')
img.bem-consumers__item-logo(src="/img/consumers/manufactura.png" height=70)
li.list__item.bem-consumers
a.bem-consumers__item-link(href='http://eu.ideus.biz/' title='iDeus')
img.bem-consumers__item-logo(src="/img/consumers/ideus.png" height=70)

0 comments on commit 27c5bd4

Please sign in to comment.