FUCKING BIG UPDATE: server, parallax, apis, new data models, style, layout, other

This commit is contained in:
tmshv committed 2016-03-03 01:34:45 +03:00
1 parent e0f54171a9
commit 359cc430f5
78 files changed
+1063 -445

No files matched your search

+10 -1
View File
@@ -1,10 +1,19 @@
import template from '../../templates/components/page-school.html';
import {mobileMatchSelector} from '../config';
export default function (app) {
app.component('pageSchool', {
template: template,
controllerAs: '$',
controller: function() {
this.pageClass = 'page-school';
this.helloBlock = 'parallax';
try {
if (window.matchMedia(mobileMatchSelector).matches) {
this.helloBlock = 'mobile-image';
}
} catch (e) {
}
//let fotorama;
//let $tape = $('.tape-block');