-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
268 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
mixin button(style, type, text, className, options) | ||
- className = `button--${style} ${className || ''}` | ||
- className = `button button--${style} ${className || ''}` | ||
|
||
if options && options.disabled | ||
- className += 'button--disabled' | ||
|
||
if type === 'link' | ||
a.button(class=className, href=options.link)= text | ||
a(class=className, href=options.link)= text | ||
else if type === 'button' | ||
button.button(class=className)= text | ||
button(class=className)= text | ||
else if type === 'popup' | ||
button.button.js-open-popup(class=className, data-popup=options.popup)= text | ||
button.js-open-popup(class=className, data-popup=options.popup)= text | ||
else if type === 'submit' | ||
button.button(type="submit", class=className)= text | ||
button(type="submit", class=className)= text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
mixin input(type, label, name, placeholder, value, className, options) | ||
mixin input(type, label, name, placeholder, className, options) | ||
label.input(class=`${className || ''}`) | ||
if label.length | ||
p.input__label= label | ||
input.input__field( | ||
class=`${className ? className + '-field' : ''}`, | ||
type=type, | ||
name=name, | ||
required=required, | ||
required=options && options.required, | ||
placeholder=placeholder, | ||
value=value, | ||
value=options && options.value, | ||
readonly=options && options.readonly) | ||
if options && options.error | ||
p.input__error= options.error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
mixin footer | ||
footer.footer.container | ||
.footer__wrapper.wrapper | ||
footer.footer.container | ||
.footer__wrapper.wrapper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
mixin header | ||
header.header.container | ||
.header__wrapper.wrapper | ||
header.header.container | ||
.header__wrapper.wrapper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
{ | ||
"name": "Application Name", | ||
"short_name": "AppName", | ||
"icons": [ | ||
{ | ||
"src": "img/favicons/128x128.png", | ||
"sizes": "128x128", | ||
"type": "img/png" | ||
}, | ||
{ | ||
"src": "img/favicons/144x144.png", | ||
"sizes": "144x144", | ||
"type": "img/png" | ||
}, | ||
{ | ||
"src": "img/favicons/152x152.png", | ||
"sizes": "152x152", | ||
"type": "img/png" | ||
}, | ||
{ | ||
"src": "img/favicons/192x192.png", | ||
"sizes": "192x192", | ||
"type": "img/png" | ||
}, | ||
{ | ||
"src": "img/favicons/256x256.png", | ||
"sizes": "256x256", | ||
"type": "img/png" | ||
}, | ||
{ | ||
"src": "img/favicons/512x512.png", | ||
"sizes": "512x512", | ||
"type": "img/png" | ||
} | ||
], | ||
"start_url": "index.html", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#000000", | ||
"orientation": "portrait-primary" | ||
"name": "Application Name", | ||
"short_name": "AppName", | ||
"icons": [ | ||
{ | ||
"src": "img/favicons/128x128.png", | ||
"sizes": "128x128", | ||
"type": "img/png" | ||
}, | ||
{ | ||
"src": "img/favicons/144x144.png", | ||
"sizes": "144x144", | ||
"type": "img/png" | ||
}, | ||
{ | ||
"src": "img/favicons/152x152.png", | ||
"sizes": "152x152", | ||
"type": "img/png" | ||
}, | ||
{ | ||
"src": "img/favicons/192x192.png", | ||
"sizes": "192x192", | ||
"type": "img/png" | ||
}, | ||
{ | ||
"src": "img/favicons/256x256.png", | ||
"sizes": "256x256", | ||
"type": "img/png" | ||
}, | ||
{ | ||
"src": "img/favicons/512x512.png", | ||
"sizes": "512x512", | ||
"type": "img/png" | ||
} | ||
], | ||
"start_url": "index.html", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#000000", | ||
"orientation": "portrait-primary" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
//- Мета теги для соц. сетей Open Graph | ||
mixin open-graph(title, url, image, description) | ||
meta(property="og:title", content=title) | ||
meta(property="og:url", content=url) | ||
meta(property="og:type", content='website') | ||
meta(property="og:image", content=image) | ||
meta(property="og:description", content=description) | ||
meta(property="og:title", content=title) | ||
meta(property="og:url", content=url) | ||
meta(property="og:type", content='website') | ||
meta(property="og:image", content=image) | ||
meta(property="og:description", content=description) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.