1
0
mirror of https://github.com/arsenetar/arsenetar.github.io.git synced 2026-01-29 01:21:37 +00:00

Convert Assets

Assets have been converted as follows:
- Change to gulp instead of grunt for build system
- Remove bower and manage with npm instead
- Change to postcss instead of sass
- Change to Pure.css instead of foundation (lighter weight)
- Update Icon Font
- Initial rework of site styling (layout will be committed with updated
  style later)
- Removed extra js which was not really needed
- Built js and css will be in the assets/dist directory

This really should have been probably 20 commits with a rebase or
something...
This commit is contained in:
2015-06-09 22:28:50 -05:00
parent c5c8876717
commit 44a02080a0
27 changed files with 745 additions and 8203 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1 +1,38 @@
$(document).foundation();
/* TODO */
/* Menu Code */
(function (window, document) {
var layout = document.getElementById('layout'),
menu = document.getElementById('menu'),
menuLink = document.getElementById('menuLink');
function toggleClass(element, className) {
var classes = element.className.split(/\s+/),
length = classes.length,
i = 0;
for(; i < length; i++) {
if (classes[i] === className) {
classes.splice(i, 1);
break;
}
}
// The className is not found
if (length === classes.length) {
classes.push(className);
}
element.className = classes.join(' ');
}
menuLink.onclick = function (e) {
var active = 'active';
e.preventDefault();
toggleClass(layout, active);
toggleClass(menu, active);
toggleClass(menuLink, active);
};
}(this, this.document));

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff