get rid of projects moved to github pages

This commit is contained in:
Brittany Chiang
2017-03-30 23:54:38 -04:00
parent 7dd3e46406
commit 96d9931ee5
143 changed files with 152 additions and 55870 deletions

View File

@@ -1 +1 @@
"use strict";function handleNavs(){var t=window.innerWidth>768,e=about.offsetTop-about.offsetTop/4,n=window.scrollY>e,o=overlay.classList.contains("open");t&&n?dotNav.classList.add("active"):t&&o?toggleMenu():dotNav.classList.remove("active")}function toggleMenu(){hamburger.classList.toggle("active"),overlay.classList.toggle("open"),document.body.classList.toggle("noScroll")}function focusInput(){this.parentElement.classList.add("is-active","is-completed")}function blurInput(){this.parentElement.classList.remove("is-active","is-completed")}function autoExpand(){textarea.style.height="",textarea.style.height=Math.min(textarea.scrollHeight,limit)+"px"}$(function(){function t(){$(".section").each(function(){var t=$('#dot-nav a[href="#'+$(this).attr("id")+'"]').data("number"),e=$(this).offset().top,n=$(window).height()/2,o=$(window).scrollTop(),i=e-n<o,a=e+$(this).height()-n>o;i&&a?$("#dot-nav a").eq(t).addClass("is-selected"):$("#dot-nav a").eq(t).removeClass("is-selected")})}function e(t){$("body, html").animate({scrollTop:t.offset().top+50},500)}t(),window.addEventListener("scroll",t),$(".scroll-down").on("click",function(t){t.preventDefault(),e($(this.hash))}),$("#dot-nav a").on("click",function(t){t.preventDefault(),e($(this.hash))}),$("#overlay a").on("click",function(t){t.preventDefault(),e($(this.hash)),$("#toggle").click()})});var dotNav=document.querySelector("#dot-nav"),about=document.querySelector("#about-section"),hamburger=document.querySelector("#toggle"),overlay=document.querySelector("#overlay");window.addEventListener("scroll",handleNavs),window.addEventListener("resize",handleNavs),hamburger.addEventListener("click",toggleMenu);var isMobile={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return isMobile.Android()||isMobile.BlackBerry()||isMobile.iOS()||isMobile.Opera()||isMobile.Windows()}};isMobile.any()||skrollr.init({render:function(t){},smoothScrolling:!1,forceHeight:!1});var contactInput=document.querySelectorAll(".contact-input");contactInput.forEach(function(t){return t.addEventListener("focus",focusInput)}),contactInput.forEach(function(t){return t.addEventListener("blur",blurInput)});var textarea=document.querySelector("#message"),limit=300;textarea.addEventListener("input",autoExpand);
"use strict";$(document).ready(function(){function t(){$(".section").each(function(){var t=$('#dot-nav a[href="#'+$(this).attr("id")+'"]').data("number"),e=$(this).offset().top,n=$(window).height()/2,o=$(window).scrollTop(),i=e-n<o,r=e+$(this).height()-n>o;i&&r?$("#dot-nav a").eq(t).addClass("is-selected"):$("#dot-nav a").eq(t).removeClass("is-selected")})}function e(t){$("body, html").animate({scrollTop:t.offset().top+50},500)}function n(){var t=window.innerWidth>768,e=s.offsetTop-s.offsetTop/4,n=window.scrollY>e,i=d.classList.contains("open");t&&n?a.classList.add("active"):t&&i?o():a.classList.remove("active")}function o(){l.classList.toggle("active"),d.classList.toggle("open"),document.body.classList.toggle("noScroll")}function i(){this.parentElement.classList.add("is-active","is-completed")}function r(){this.parentElement.classList.remove("is-active","is-completed")}function c(){f.style.height="",f.style.height=Math.min(f.scrollHeight,v)+"px"}t(),window.addEventListener("scroll",t),$(".scroll-down").on("click",function(t){t.preventDefault(),e($(this.hash))}),$("#dot-nav a").on("click",function(t){t.preventDefault(),e($(this.hash))}),$("#overlay a").on("click",function(t){t.preventDefault(),e($(this.hash)),$("#toggle").click()});var a=document.querySelector("#dot-nav"),s=document.querySelector("#about-section"),l=document.querySelector("#toggle"),d=document.querySelector("#overlay");window.addEventListener("scroll",n),window.addEventListener("resize",n),l.addEventListener("click",o);var u={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return u.Android()||u.BlackBerry()||u.iOS()||u.Opera()||u.Windows()}};u.any()||skrollr.init({render:function(t){},smoothScrolling:!1,forceHeight:!1});var h=document.querySelectorAll(".contact-input");h.forEach(function(t){return t.addEventListener("focus",i)}),h.forEach(function(t){return t.addEventListener("blur",r)});var f=document.querySelector("#message"),v=300;f.addEventListener("input",c)});