started materiO's theme

This commit is contained in:
2019-03-25 18:27:56 +01:00
parent fa0a079166
commit 96eb901675
25 changed files with 7551 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
(function($, Drupal, drupalSettings) {
MaterioTheme = function(){
var _$body = $('body');
// var _is_front = drupalSettings.path.isFront;
// ___ _ _
// |_ _|_ _ (_) |_
// | || ' \| | _|
// |___|_||_|_|\__|
function init(){
console.log("MaterioTheme init()");
};
init();
} // end MaterioTheme()
$(document).ready(function($) {
if(drupalSettings.path.isFront){
var materiotheme = new MaterioTheme();
}else{
$('body').attr('booted', 'booted');
}
});
})(jQuery, Drupal, drupalSettings);