Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
af5e4f5
redisine header and change color
FahrenheitIndi Nov 8, 2017
5c63692
end change
FahrenheitIndi Nov 10, 2017
27126a7
add service page and fix bugs
FahrenheitIndi Nov 23, 2017
565d4e7
add contact page, add media query for home page
FahrenheitIndi Dec 9, 2017
27165d8
fix question block
FahrenheitIndi Dec 13, 2017
bdcf953
change inputmask for type=tel
FahrenheitIndi Dec 13, 2017
1c71342
add mobile rule
FahrenheitIndi Dec 14, 2017
85b5013
Merge remote-tracking branch 'origin/redisine' into redisine
FahrenheitIndi Dec 14, 2017
6dcdbde
add fixed menu for mobile version
FahrenheitIndi Dec 15, 2017
2416d2d
design mobile header
FahrenheitIndi Dec 18, 2017
590dd23
add fixed menu for mobile version
FahrenheitIndi Dec 19, 2017
5e0eb19
add fixed menu for mobile version
FahrenheitIndi Dec 19, 2017
1d7601a
add moblie menu and some fix
FahrenheitIndi Dec 19, 2017
a24356a
add sub menu in mobile-menu
FahrenheitIndi Dec 20, 2017
2a860ea
add sub menu in mobile-menu
FahrenheitIndi Dec 20, 2017
5d6fb89
add sub menu in mobile-menu
FahrenheitIndi Jan 15, 2018
ce88f19
test atom commit
FahrenheitIndi Jan 16, 2018
00f7863
another commit
FahrenheitIndi Jan 16, 2018
894e9f7
redesign catalog top in home page
FahrenheitIndi Jan 22, 2018
5476274
start catalog page
FahrenheitIndi Jan 23, 2018
4af1072
update jquery ^3.0.0
FahrenheitIndi Jan 25, 2018
24fbd04
add catalog block
FahrenheitIndi Jan 25, 2018
0824b9c
add catalog item
FahrenheitIndi Jan 26, 2018
103b3d0
fix main menu item
FahrenheitIndi Jan 29, 2018
5d329d6
add catalog item
FahrenheitIndi Feb 9, 2018
11108ca
add catalog item
FahrenheitIndi Feb 26, 2018
9f933bc
add catalog item
FahrenheitIndi Mar 10, 2018
a5de35b
add sub menu in mobile-menu
FahrenheitIndi Mar 10, 2018
69534af
add catalog item
FahrenheitIndi Mar 14, 2018
a11f8a1
Merge remote-tracking branch 'origin/redisine' into redisine
FahrenheitIndi Mar 14, 2018
dbb986c
add catalog item
FahrenheitIndi Mar 15, 2018
6de4447
add product page
FahrenheitIndi Mar 15, 2018
129b60e
add product page
FahrenheitIndi Mar 28, 2018
06bcb6f
add product page
FahrenheitIndi Jul 2, 2018
c042cab
change product cart
FahrenheitIndi Jul 2, 2018
4388eec
change product cart
FahrenheitIndi Jul 2, 2018
5961622
edit product page, add count product
FahrenheitIndi Jul 3, 2018
6d2bb67
edit product page, add foto and description
FahrenheitIndi Jul 4, 2018
9fa0b9f
edit product page, add foto and description
FahrenheitIndi Jul 10, 2018
6619079
edit product page, add foto and description
FahrenheitIndi Jul 11, 2018
7a16772
edit product page, add foto and description
FahrenheitIndi Jul 16, 2018
4feee9a
edit product page, add count product
FahrenheitIndi Jul 18, 2018
2c43d58
add out of stock form in product cart
FahrenheitIndi Jul 24, 2018
95ff784
add out of stock form in product cart
FahrenheitIndi Jul 24, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ bower_components
node_modules
npm-debug.log
.happypack/
Будет удалено app/sprites/
app/sprites/
14 changes: 13 additions & 1 deletion app/blocks/articles/articles.jade
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,23 @@ mixin articles()
+b.article
+b.article-item
+e.A.link(href='/') Все об устройстве блокировки люка стиральной машины
+e.IMG.img(src='http://via.placeholder.com/257x201')
+e.A.read(href='/') Читать
+b.article-item
+e.A.link(href='/') Все об устройстве блокировки люка стиральной машины
+e.IMG.img(src='http://via.placeholder.com/257x201')
+e.A.read(href='/') Читать
+b.article-item
+e.A.link(href='/') Все об устройстве блокировки люка стиральной машины
+e.IMG.img(src='http://via.placeholder.com/257x201')
+e.A.read(href='/') Читать
+b.article-item
+e.A.link(href='/') Все об устройстве блокировки люка стиральной машины
+e.IMG.img(src='http://via.placeholder.com/257x201')
+e.A.read(href='/') Читать
+b.article-item
+e.A.link(href='/') Все об устройстве блокировки люка стиральной машины
+e.A.link(href='/') Сервисный центр по ремонту водонагревателей, детали, запчасти, вызвать мастера
+e.IMG.img(src='http://via.placeholder.com/257x201')
+e.A.read(href='/') Читать
+e.BUTTON.button._left(href='#')
+e.BUTTON.button._right(href='#')
74 changes: 71 additions & 3 deletions app/blocks/articles/articles.styl
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
.articles
position relative

.articles__button
position absolute
width 1.5rem
height 2.875rem
top 50%
border none
display block
content ''
background url('../img/arrow.svg')
+below($desktop)
display none

.articles__button_left
left -2.25rem

.articles__button_right
right -2.25rem
transform scale(-1, 1)

.articles__title
position relative
font-size 2.25rem
Expand All @@ -12,23 +34,69 @@
height 0.1875rem
content ''
background-color rgb(153, 153, 153)
+below($tablet-landspace)
text-align center
&:after
display none

.article
/*display flex
justify-content space-between*/
margin-top 1.75rem
margin-bottom 4.75rem

.article-item
position relative
width 16.1875rem
height 18.375rem
margin-x(auto)
border solid 1px #979797
background $white

.article-item__link
position relative
height 66px
margin-x(auto)
padding-top 1.125rem
padding-bottom 0.75rem
padding-x(10px)
font-size 1.125rem
display block
font-weight 700
text-align center
text-decoration none
color rgb(34, 34, 34)
&:hover
text-decoration underline
text-decoration underline
&:after
position absolute
bottom -15px
left 0
right 0
width 4.125rem
height 3px
margin-x(auto)
content ''
background-color rgb(34, 34, 34)

.article-item__img
position absolute
bottom 0
left 0
right 0
max-width 100%
display block
opacity .6

.article-item__read
position absolute
right 0
left 0
bottom 1.5rem
width 9.125rem
height 2rem
margin-x(auto)
line-height 2rem
display block
text-align center
text-decoration none
color $white
background-color rgb(255,109,75)
19 changes: 9 additions & 10 deletions app/blocks/banner/banner.jade
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
include ../row/row

mixin banner
+row
+b.banner
+e.item
+e.IMG.image(src='../assets/img/banner.png' width='1200')
+e.A.button(href='') Перейти
+e.item
+e.IMG.image(src='../assets/img/banner.png' width='1200')
+e.A.button(href='') Перейти
+b.container-fullwidth
+b.row
+b.banner
+e.item
+e.IMG.image(src='../assets/img/banner.png' width='1280')
+e.A.button(href='/service.html') Перейти
+e.item
+e.IMG.image(src='../assets/img/banner_orange.png' width='1280')
+e.A.button(href='/service.html') Перейти
25 changes: 20 additions & 5 deletions app/blocks/banner/banner.styl
Original file line number Diff line number Diff line change
@@ -1,22 +1,37 @@
.banner
position relative
z-index 1
margin-bottom 2.5rem
+below($phone)
display none

.banner__item
position relative

.banner__image
width 100%
max-width 100%
display block

.banner__button
position absolute
left 5.625rem
bottom 3.125rem
width 15rem
height 3.125rem
line-height 3.125rem
font-size 1.75rem
font-weight 500
font-size 1.1rem
display block
background-color rgb(255, 166, 77)
border-radius 3px
background rgb(255,109,75)
text-align center
text-decoration none
color rgb(1, 1, 1)
text-transform uppercase
color $white
will-change box-shadow, transform
transition box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1)
&:hover
box-shadow 0 15px 10px -8px rgba(0, 0, 0, 0.2), 0 1px 4px rgba(0, 0, 0, 0.1)
outline none
text-decoration none
+below($tablet-landspace)
display none
3 changes: 3 additions & 0 deletions app/blocks/box/box.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.main
flex: 1 0 auto;

16 changes: 9 additions & 7 deletions app/blocks/cart/cart.jade
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
mixin cart()
+b.cart&attributes(attributes)
+e.A.link(href='/cart')&attributes(attributes)
+e.count&attributes(attributes)
+e.SPAN&attributes(attributes) 1
+e.IMG(src='../assets/img/cart.svg')&attributes(attributes)
+e.price&attributes(attributes)
+e.SPAN&attributes(attributes) 16 945 руб.
+b.cart
+e.A.link(href='/cart')
+b.I.icon.icon-24 shopping_cart
+e.count
+e.SPAN 1
+e.IMG(src='../assets/img/cart.svg')
+e.prices
+e.text Корзина
+e.price всего 16 945 руб.
50 changes: 42 additions & 8 deletions app/blocks/cart/cart.styl
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
.cart
margin-left 4.5rem
padding-y(0.5rem)
padding-left 0.5rem
border-left 1px solid rgb(221,221,221)
display inline-block
vertical-align middle
vertical-align top
+below($tablet-landspace)
border-left none
transform: translateY(-50%);

.cart__link,
.cart__price
.cart__prices
display inline-block
vertical-align middle
vertical-align top

.cart__link
position relative

.cart__link .icon
+above($tablet-landspace)
display none

.cart__link img
+below($tablet-landspace)
display none

.cart__count
position absolute
top -6px
Expand All @@ -18,13 +34,31 @@
border-radius 50%
background-color rgb(255, 166, 77)
text-align center
+below($tablet-landspace)
width 1rem
height 1rem

.cart__count span
font-size 10px
font-weight 700
line-height 21px
color rgb(255, 255, 255)
+below($tablet-landspace)
font-weight 400
line-height 1rem
vertical-align middle



.cart__prices
margin-left 0.8rem
font-size 14px
color rgb(1, 1, 1)
+below($tablet-landspace)
display none

.cart__text
margin-bottom 0.5rem

.cart__price
margin-left 0.3rem
font-size 18px
font-weight 700
color rgb(34, 34, 34)
font-size 0.6875rem
53 changes: 53 additions & 0 deletions app/blocks/catalog-page/catalog-main/catalog-main.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
mixin catalog-main()
+b.catalog-main
+b.UL.catalog-list
+b.LI.catalog-item
+e.A.image
+e.IMG(src='../assets/img/product.png')
+e.A.title(href='product.html') Амортизатор для стиральной машины INDESIT 100H L183-225mm d10mm M5 097259
+e.price 1 326 руб.
+e.price._opt 1 526 руб.
+e.A.button(href='product.html') Купить
+b.LI.catalog-item
+e.A.image
+e.IMG(src='../assets/img/product.png')
+e.A.title(href='product-out.html') Амортизатор для стиральной машины INDESIT 100H L183-225mm d10mm M5 097259
+e.price 1 326 руб.
+e.price._opt 1 526 руб.
+e.A.button(href='product.html') Купить
+b.LI.catalog-item
+e.A.image
+e.IMG(src='../assets/img/product.png')
+e.A.title(href='product.html') Амортизатор для стиральной машины INDESIT 100H L183-225mm d10mm M5 097259
+e.price 1 326 руб.
+e.price._opt 1 526 руб.
+e.A.button(href='product.html') Купить
+b.LI.catalog-item
+e.A.image
+e.IMG(src='../assets/img/product.png')
+e.A.title(href='product.html') Амортизатор для стиральной машины INDESIT 100H L183-225mm d10mm M5 097259
+e.price 1 326 руб.
+e.price._opt 1 526 руб.
+e.A.button(href='product.html') Купить
+b.LI.catalog-item
+e.A.image
+e.IMG(src='../assets/img/product.png')
+e.A.title(href='product.html') Амортизатор для стиральной машины INDESIT 100H L183-225mm d10mm M5 097259
+e.price 1 326 руб.
+e.price._opt 1 526 руб.
+e.A.opt-info(href='#')
+e.A.button(href='product.html') Купить
+b.LI.catalog-item
+e.A.image
+e.IMG(src='../assets/img/product.png')
+e.A.title(href='product.html') Амортизатор для стиральной машины INDESIT 100H L183-225mm d10mm M5 097259
+e.price 1 326 руб.
+e.price._opt 1 526 руб.
+e.A.button(href='product.html') Купить
+b.LI.catalog-item
+e.A.image
+e.IMG(src='../assets/img/product.png')
+e.A.title(href='product.html') Амортизатор для стиральной машины INDESIT 100H L183-225mm d10mm M5 097259
+e.price 1 326 руб.
+e.price._opt 1 526 руб.
+e.A.button(href='product.html') Купить
Loading