diff --git a/404.html b/404.html index d347708..9ecc3f5 100644 --- a/404.html +++ b/404.html @@ -7,7 +7,7 @@ {% include head.html %} - + diff --git a/_config.yml b/_config.yml index 6dd4420..16c1f33 100644 --- a/_config.yml +++ b/_config.yml @@ -10,7 +10,7 @@ title: Customer Loyalty & Retention Management Software email: hello@pegke.com description: Customer Loyalty & Retention Management Software, integrates with merchant POS systems to give consumers a single identity to earn business-specific rewards keywords: customer loylaty, loyalty software, retail loyalty program, loyalty program, reward points, customer loylaty program, retention management -productname: Pegke Loyalty +productname: Pegke Loyalty ™ baseurl: "" # the subpath of your site, e.g. /blog url: "http://beta.pegke.com" # the base hostname & protocol for your site lighturl: http://lightrains.com @@ -29,6 +29,10 @@ dashboard: api_base: https://pegke.com/v1/ app_down: https://pegke.com/apps +apps: + android: https://pegke.com/ + apple: https://pegke.com/ + windows: https://pegke.com/ # Build settings markdown: kramdown encoding: UTF-8 diff --git a/_includes/footer.html b/_includes/footer.html index 0b760e1..0a3cc48 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,3 +1,4 @@ + +
+ + © 2016 - {{ site.productname }} +
diff --git a/_includes/footerscripts.html b/_includes/footerscripts.html index 1230981..11cc806 100644 --- a/_includes/footerscripts.html +++ b/_includes/footerscripts.html @@ -1,17 +1,27 @@ - {% if page.permalink == 'index.html' %} - - {% elsif page.permalink == '/api/' %} - - +{% elsif page.permalink == '/api/' %} + + - {% else %} - - {% endif %} + hljs.initHighlightingOnLoad(); +}); + +{% else %} + +{% endif %} diff --git a/_includes/head.html b/_includes/head.html index 3256a41..70b2555 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -3,7 +3,7 @@ - {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}{% if page.permalink != 'index.html' %}{{ site.productname | prepend: ': ' }}{% endif %} + {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}{% if page.permalink != 'index.html' %}{{ site.productname | prepend: ' • ' }}{% endif %} @@ -13,19 +13,10 @@ - - - + @@ -34,5 +25,4 @@ {% include favicons.html %} - diff --git a/_includes/signup-form.html b/_includes/signup-form.html index a7c374a..da87c56 100644 --- a/_includes/signup-form.html +++ b/_includes/signup-form.html @@ -10,10 +10,7 @@

Tell Us About Yourself

-
-
- +91 -
+
@@ -40,6 +37,257 @@

Tell Us About Yourself

+ + +
diff --git a/_posts/2015-11-15-about-us.md b/_posts/2015-11-15-about-us.md index 91fcd08..8612fb6 100644 --- a/_posts/2015-11-15-about-us.md +++ b/_posts/2015-11-15-about-us.md @@ -26,7 +26,7 @@ permalink: /about/pegke-loyalty

- Pegke helps in measuring how successfully your marketing strategies are + {{ site.productname }} helps in measuring how successfully your marketing strategies are turning out to be. How often the customers are revisiting the store and what drives them the most. When it comes to marketing we have a built in platform for merchants to target their prospective customers diff --git a/_posts/2015-12-20-check-points.html b/_posts/2015-12-20-check-points.html new file mode 100644 index 0000000..967f843 --- /dev/null +++ b/_posts/2015-12-20-check-points.html @@ -0,0 +1,301 @@ +--- +layout: page +permalink: /check-points/ +title: Check your points +type: page +subtitle: Check your pegke points see what you can redeem +--- + +

+
+ Download our app from app store and earn poits from the installing itself, + keep the app ready for your next purchase. + + + +
+
+ Not a Member Yet? +
+ +
+
Get the Mobile App
+ +
+
+ +
+ Chose your platform +
+ + + + + +
+
+ +
+
+
+ +
+
+ +
+ +
+
+
+ +
+ +
diff --git a/bower_components/headjs/dist/1.0.0/head.core.js b/bower_components/headjs/dist/1.0.0/head.core.js index b0c5038..8c13b99 100644 --- a/bower_components/headjs/dist/1.0.0/head.core.js +++ b/bower_components/headjs/dist/1.0.0/head.core.js @@ -124,17 +124,17 @@ browser = "ie"; version = doc.documentMode || version; break; - + case "firefox": browser = "ff"; break; - + case "ipod": case "ipad": case "iphone": browser = "ios"; break; - + case "webkit": browser = "safari"; break; diff --git a/bower_components/semantic/src/README.md b/bower_components/semantic/src/README.md index b725d67..95cdccb 100644 --- a/bower_components/semantic/src/README.md +++ b/bower_components/semantic/src/README.md @@ -124,4 +124,3 @@ For example you can modify `theme.config` to use a `github` button theme by chan ``` View the [Customization Guide](http://learnsemantic.com/developing/customizing.html) to learn more - diff --git a/gulpfile.js b/gulpfile.js index 4138dc8..770d941 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -6,21 +6,41 @@ var autoprefix = require('gulp-autoprefixer'); var minifyCSS = require('gulp-minify-css'); var concat = require('gulp-concat'); var favicons = require("gulp-favicons"); - +var uglify = require('gulp-uglify'); var imagemin = require('gulp-imagemin'); var pngquant = require('imagemin-pngquant'); // CSS concat, auto-prefix and minify gulp.task('styles', function() { - gulp.src(['./public/cssfull/404.css', './public/cssfull/style.css', './public/cssfull/responsive.css']) + gulp.src(['./public/cssfull/style.css', './public/cssfull/responsive.css']) .pipe(concat('style.min.css')) .pipe(autoprefix('last 2 versions')) .pipe(minifyCSS()) .pipe(gulp.dest('./public/css/')); -}); + gulp.src(['./bower_components/fullpage.js/jquery.fullPage.css']) + .pipe(concat('jquery.fullPage.min.css')) + .pipe(autoprefix('last 2 versions')) + .pipe(minifyCSS()) + .pipe(gulp.dest('./public/css/')); + gulp.src(['./public/css/jquery.fullPage.min.css', './public/css/style.min.css']) + .pipe(concat('css.combined.min.css')) + .pipe(autoprefix('last 2 versions')) + .pipe(minifyCSS()) + .pipe(gulp.dest('./public/css/')); + +}); +// Compress HeadJS to custom. +gulp.task('scripts', function() { + gulp.src(['./public/js/head.core.alter.js', './bower_components/headjs/dist/1.0.0/head.load.js']) + .pipe(concat('head.min.js')) + .pipe(uglify()) + .pipe(gulp.dest('./public/js/')); +}); + +// Compress all Images gulp.task('images', function() { gulp.src('./public/imgfull/*') .pipe(imagemin({ @@ -43,6 +63,8 @@ gulp.task('images', function() { .pipe(gulp.dest('./public/img/stack')); }); + +// Create Favicons gulp.task('favicon', function() { gulp.src("./public/favicons/pegke-logo.png").pipe(favicons({ appName: "Pegke Loyalty", @@ -60,6 +82,6 @@ gulp.task('favicon', function() { })).pipe(gulp.dest("./public/favicons/")); }); // default gulp task -gulp.task('default', ['styles', 'images'], function() { +gulp.task('default', ['styles'], function() { }); diff --git a/package.json b/package.json index c3f6570..e7d9688 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "gulp-jshint": "^2.0.0", "gulp-minify-css": "^1.2.2", "gulp-minify-html": "^1.0.4", + "gulp-uglify": "^1.5.1", "imagemin-pngquant": "^4.2.0", "jshint": "^2.8.0" } diff --git a/public/css/css.combined.min.css b/public/css/css.combined.min.css new file mode 100644 index 0000000..20aca4e --- /dev/null +++ b/public/css/css.combined.min.css @@ -0,0 +1 @@ +.fp-enabled body,html.fp-enabled{margin:0;padding:0;overflow:hidden;-webkit-tap-highlight-color:transparent}#superContainer{height:100%;position:relative;-ms-touch-action:none;touch-action:none}.fp-section{position:relative;box-sizing:border-box}.fp-slide{float:left}.fp-slide,.fp-slidesContainer{height:100%;display:block}.fp-slides{z-index:1;height:100%;overflow:hidden;position:relative;transition:all .3s ease-out}.fp-section.fp-table,.fp-slide.fp-table{display:table;table-layout:fixed;width:100%}.fp-tableCell{display:table-cell;vertical-align:middle;width:100%;height:100%}.fp-slidesContainer{float:left;position:relative}.fp-controlArrow{position:absolute;z-index:4;top:50%;cursor:pointer;width:0;height:0;margin-top:-38px;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.fp-controlArrow.fp-prev{width:0;border-width:38.5px 34px 38.5px 0;border-color:transparent #fff transparent transparent}.fp-controlArrow.fp-next{border-width:38.5px 0 38.5px 34px;border-color:transparent transparent transparent #fff}.fp-scrollable{overflow:scroll}.fp-notransition{transition:none!important}#fp-nav{position:fixed;z-index:100;margin-top:-32px;top:50%;opacity:1;-webkit-transform:translate3d(0,0,0)}#fp-nav.right{right:17px}#fp-nav.left{left:17px}.fp-slidesNav{position:absolute;z-index:4;left:50%;opacity:1}.fp-slidesNav.bottom{bottom:17px}.fp-slidesNav.top{top:17px}#fp-nav ul,.fp-slidesNav ul{margin:0;padding:0}#fp-nav ul li,.fp-slidesNav ul li{display:block;width:14px;height:13px;margin:7px;position:relative}.fp-slidesNav ul li{display:inline-block}#fp-nav ul li a,.fp-slidesNav ul li a{display:block;position:relative;z-index:1;width:100%;height:100%;cursor:pointer;text-decoration:none}#fp-nav ul li a.active span,#fp-nav ul li:hover a.active span,.fp-slidesNav ul li a.active span,.fp-slidesNav ul li:hover a.active span{height:12px;width:12px;margin:-6px 0 0 -6px;border-radius:100%}#fp-nav ul li a span,.fp-slidesNav ul li a span{border-radius:50%;position:absolute;z-index:1;height:4px;width:4px;border:0;left:50%;top:50%;margin:-2px 0 0 -2px;transition:all .1s ease-in-out}#fp-nav ul li:hover a span,.fp-slidesNav ul li:hover a span{width:10px;height:10px;margin:-5px 0 0 -5px}#fp-nav ul li .fp-tooltip{position:absolute;top:-2px;color:#fff;font-size:14px;font-family:arial,helvetica,sans-serif;white-space:nowrap;max-width:220px;overflow:hidden;display:block;opacity:0;width:0}#fp-nav ul li:hover .fp-tooltip,#fp-nav.fp-show-active a.active+.fp-tooltip{transition:opacity .2s ease-in;width:auto;opacity:1}#fp-nav ul li .fp-tooltip.right{right:20px}#fp-nav ul li .fp-tooltip.left{left:20px}.fp-auto-height .fp-slide,.fp-auto-height .fp-tableCell,.fp-auto-height.fp-section{height:auto!important}@media print{.fp-enabled body,html.fp-enabled{overflow:visible!important;height:auto!important}body,html{background:#fff;width:auto;height:auto;overflow:visible}body{font-size:20pt;border:0;margin:0 5%;padding:0;float:none!important}#fp-nav,.fp-controlArrow,.fp-slidesNav{display:none!important}h1{font-size:28pt!important}h2{font-size:24pt!important}h3,h4{font-size:22pt!important}h4{font-variant:small-caps}h5{font-size:21pt!important}h6{font-size:20pt!important;font-style:italic}.fp-scrollable,.fp-section,.fp-tableCell,.slimScrollDiv{width:100%!important;height:auto!important;display:block!important;position:relative;float:none!important}.fp-slide,.fullpage-wrapper{float:none!important;position:static!important}.fp-slidesContainer{-webkit-transform:none!important;transform:none!important;transition:none!important}.fp-slides,.fp-slidesContainer{height:auto!important;width:100%!important;float:none!important;overflow:hidden!important}.fp-slides{height:800px!important;width:800px!important}.fp-slide{width:100%!important}.fullpage-wrapper{-webkit-transform:none!important;transform:none!important;transition:none!important;width:auto!important;height:auto!important;left:0!important;top:0!important;margin-left:0!important;margin-top:0!important;padding:0!important;zoom:1!important;overflow:visible!important;display:block!important;text-align:left!important}.fp-section,.fp-slide{page-break-after:always!important}}.cbp-ig-grid:after,.ui.vertical.stripe .floated.image{clear:both}.cbp-ig-grid li,div.eight.wide.column.centered{text-align:center}body{overflow-x:hidden;-webkit-overflow-scrolling:touch}.masthead{position:relative;background:#333;overflow:hidden}.masthead:before{content:' ';display:block;position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;opacity:.6;background-image:url(../img/1.jpg);background-repeat:no-repeat;background-position:50% 0;-ms-background-size:cover;background-size:cover}h1,h2,h3,h4{text-shadow:1px 1px 1px rgba(0,0,0,.004);-moz-osx-font-smoothing:grayscale}h2,h3,h4{font-weight:600!important}.masthead .fp-tableCell{position:relative;z-index:20;display:block}#header,.pitch{position:fixed}.ohidden,.secondary.pointing.menu .toc.item{display:none}.white,.white.header{color:#FFF!important}.dimmer,.post-meta{color:#CCC}#fp-nav ul li a span,.fp-slidesNav ul li a span{background:#EEE!important}.ui.vertical.stripe{padding:8em 0}.ui.vertical.stripe .button+h3,.ui.vertical.stripe p+h3{margin-top:3em}.ui.vertical.stripe p{font-size:1.2em}.ui.vertical.stripe .horizontal.divider{margin:3em 0}.quote.stripe.segment{padding:0}.quote.stripe.segment .grid .column{padding-top:5em;padding-bottom:5em}.footer.segment.inverted{padding:3em 0 5em;background:#222!important}.controlArrow.prev{left:150px}.controlArrow.next{right:150px}.fp-viewing-2 #fp-nav ul li a span,.fp-viewing-2 .fp-slidesNav ul li a span,.fp-viewing-3 #fp-nav ul li a span,.fp-viewing-3 .fp-slidesNav ul li a span,.fp-viewing-4 #fp-nav ul li a span,.fp-viewing-4 .fp-slidesNav ul li a span{background:#5a5a5a!important}.pitch{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.pitch h1.header{font-size:3rem!important;text-shadow:1px 2px 4px #5d5d5d}.ohidden{visibility:hidden}.fp-controlArrow{font-family:Icons;font-style:normal;border:0!important;line-height:1;vertical-align:middle;font-size:8em}.fp-controlArrow.fp-next{right:65px!important}.fp-controlArrow.fp-prev:before{content:"\f104"}.fp-controlArrow.fp-prev{left:55px!important}.fp-controlArrow.fp-next:before{content:"\f105"}.ui.text,p{line-height:1.5;font-size:1.13333333rem}.menuinit .sidebar{cursor:pointer}.not-front #header{background:#FFF}#header{display:block;z-index:850;width:100%;top:0}.fp-viewing-0 .box-shadow{background:0 0;box-shadow:none}.fp-viewing-0 .ui.secondary.menu a{color:#FFF}.fp-viewing-2 .ui.secondary.menu a:not(.button),.fp-viewing-3 .ui.secondary.menu a:not(.button),.fp-viewing-4 .ui.secondary.menu a:not(.button){color:#333}.olive{background-color:olive;border:1px solid olive}.topmenu a.item{margin:5px 0!important;display:block}.box-shadow,.mobile .box-shadow{background-color:#FFF;box-sizing:border-box;box-shadow:0 1px 8px rgba(0,0,0,.3)}.ui.text.menu{margin:0!important}.ui.headerimg{width:100%!important;max-width:100%!important;min-height:260px;height:260px;margin-top:75px!important}.headerimg .ui.center.aligned{position:relative;top:50%;transform:translateY(-50%);-webkit-transform:translateY(-50%)}.footer a.item{display:block;margin:5px 0}.ui.footer.segment{margin-top:50px}.violet{background-color:#6a4ca6}.statistic .amt{font-size:6rem!important;font-weight:400}.ui.container.fluid.pricing{margin-bottom:50px!important}.ui.contianer.fluid.calculator{padding:40px 0}.pricingrow,.step{padding:50px 0}.feature-list .item>i.icon{padding-right:0!important;margin-bottom:5px}.feature-list .item{text-align:center;margin:0 15px}.cbp-ig-grid{list-style:none;padding:0 0 50px;margin:0}.cbp-ig-grid:after,.cbp-ig-grid:before{content:" ";display:table}.cbp-ig-grid li{width:33%;float:left;height:420px;border-top:1px solid #ddd}.cbp-ig-grid li:nth-child(-n+3){border-top:none}.cbp-ig-grid li:nth-child(3n-1),.cbp-ig-grid li:nth-child(3n-2){box-shadow:1px 0 0 #ddd}.cbp-ig-grid li>a{display:block;height:100%;color:#47a3da;transition:background .2s}.cbp-ig-icon{padding:30px 0 0;display:block;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}i.cbp-ig-icon{display:inline-block!important}.cbp-ig-grid .cbp-ig-title{margin:60px 0 10px;padding:20px 0 0;font-size:2em;position:relative;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.cbp-ig-grid .cbp-ig-title:before{content:'';position:absolute;background:#47a3da;width:160px;height:6px;top:0;left:50%;margin:-10px 0 0 -80px;transition:margin-top .2s}.cbp-ig-grid .cbp-ig-category{text-transform:uppercase;display:inline-block;font-size:1em;letter-spacing:1px;color:#fff;-webkit-transform:translateY(10px);transform:translateY(10px);opacity:0;-moz-transition:-moz-transform .3s,opacity .2s;-webkit-transition:transform .3s,opacity .2s;width:95%}.cbp-ig-grid li:hover .cbp-ig-category,.touch .cbp-ig-grid li .cbp-ig-category{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.cbp-ig-grid li>a:hover{background:#47a3da}.cbp-ig-grid li>a:hover .cbp-ig-icon{-webkit-transform:translateY(10px);transform:translateY(10px)}.cbp-ig-grid li>a:hover .cbp-ig-icon:before,.cbp-ig-grid li>a:hover .cbp-ig-title{color:#fff}.cbp-ig-grid li>a:hover .cbp-ig-title{-webkit-transform:translateY(-30px);transform:translateY(-30px)}.cbp-ig-grid li>a:hover .cbp-ig-title:before{background:#fff;margin-top:80px}@media screen and (max-width:62.75em){.cbp-ig-grid li{width:50%}.cbp-ig-grid li:nth-child(-n+3){border-top:1px solid #ddd}.cbp-ig-grid li:nth-child(3n-1),.cbp-ig-grid li:nth-child(3n-2){box-shadow:none}.cbp-ig-grid li:nth-child(-n+2){border-top:none}.cbp-ig-grid li:nth-child(2n-1){box-shadow:1px 0 0 #ddd}}@media screen and (max-width:41.6em){.cbp-ig-grid li{width:100%}.cbp-ig-grid li:nth-child(-n+2){border-top:1px solid #ddd}.cbp-ig-grid li:nth-child(2n-1){box-shadow:none}.cbp-ig-grid li:first-child{border-top:none}}@media screen and (max-width:25em){.cbp-ig-grid{font-size:80%}.cbp-ig-grid .cbp-ig-category{margin-top:20px}}a.ui.nav:active,a.ui.nav:focus,a.ui.nav:hover{outline:0}#nav .active{color:red}.ui.segment.pegke{width:78%!important;max-width:78%!important;margin:0 auto}.ui.container.pegke{width:90%!important;max-width:90%!important;margin:0 auto}.fp-viewing-1-0.front #header,.fp-viewing-1-1.front #header,.fp-viewing-1-2.front #header,.fp-viewing-1-3.front #header,.fp-viewing-2.front #header,.fp-viewing-3.front #header,.fp-viewing-4.front #header{background-color:#FFF}::-webkit-scrollbar{display:none}blockquote.message{border-left:3px solid #4cb992;margin-left:10px;padding:10px;background:rgba(255,255,255,.76)}#hamb{margin:15px 2px 0}.currency{display:inline-block;margin-top:10px;vertical-align:top;font-size:2rem;font-weight:900}.value{font-size:7rem;font-weight:400}.duration{font-size:.8rem}.duration:before{content:'/';margin-right:2px}.currency,.duration{color:#1bbc9d}.ui.secondary.menu a.item.active,.ui.secondary.menu a.item:hover{box-shadow:inset 0 1px 2px rgba(0,0,0,.05)!important}.fp-viewing-0 .ui.secondary.menu a.item:hover{background:rgba(255,255,255,.65)!important}.not-front .ui.secondary.menu a.item:hover{background:rgba(236,236,236,.57)!important}.ui.header .sub.header{font-size:.9em!important;color:rgba(0,0,0,.38)}.ui.header .sub.header.tiny{font-size:.9rem!important}.ui.horizontal.divider{line-height:1.3}.label.tags{margin-bottom:7px}.biztyps .sub.header.feat{font-size:1rem!important;line-height:22px}.go-top{position:fixed;bottom:2rem;right:2rem;text-decoration:none;color:#fff;background-color:rgba(0,0,0,.3);padding:7px;border-radius:50%;height:40px;width:40px;z-index:999}.go-top:hover{background-color:rgba(0,0,0,.7);color:red!important}.pagetwo h2.header{margin-bottom:25px!important}.ui.secondary.menu .item{padding:8px!important;margin:4px!important;font-size:14px!important;font-weight:700}@media only screen and (max-width:767px){.large.monitor.only,.mobile.hidden,.small.monitor.only,.tablet.only{display:none!important}.ui.headerimg{min-height:130px;margin-top:85px!important;height:130px}.ui.huge.header{font-size:2.1rem}div.sub.header{font-size:1.2rem!important}h2{font-size:1.8rem}.ui.container.pegke{width:100%!important}.pagetwo .ui.vertical.stripe h3,.pitch h1.header{font-size:2rem!important}.ui.vertical.stripe p{font-size:1em}.fp-controlArrow{display:none;visibility:hidden}.cbp-ig-grid .cbp-ig-category{color:#47a3da;display:block;opacity:1}.cbp-ig-grid li>a:hover .cbp-ig-category{color:#fff!important}div.ui.segment.pitch{top:45%;position:absolute;display:block;width:100%;z-index:990}div.section{min-height:100vh;width:100%;box-sizing:border-box;padding:50px 0}.pagetwo{background:#F8E985}.pagethree{background:#DEEEEB}.pagefour{background:#ECF2F2}.pagefive{background:#222!important}.footer.segment.inverted,.ui.footer.segment{margin:20px 0 0;padding:0}.ui.vertical.stripe{padding:20px 0}.mobile .pagetwo .white,.mobile .pagetwo.white{color:#323232!important}.front .ui.header>.icon+.content{padding:0!important}}@media only screen and (min-width:768px) and (max-width:991px){.large.monitor.only,.mobile.only,.small.monitor.only,.tablet.hidden{display:none!important}}@media only screen and (min-width:992px) and (max-width:1199px){.large.monitor.only,.mobile.only,.small.monitor.hidden,.tablet.only{display:none!important}.ui.headerimg{-ms-flex-pack:center;-ms-flex-align:center;-moz-box-pack:center;-moz-box-align:center;-webkit-box-pack:center;-webkit-box-align:center;display:box;box-pack:center;box-align:center}}@media only screen and (min-width:1200px){.large.monitor.hidden,.mobile.only,.small.monitor.only,.tablet.only{display:none!important}.ui.headerimg{-ms-flex-pack:center;-ms-flex-align:center;-moz-box-pack:center;-moz-box-align:center;-webkit-box-pack:center;-webkit-box-align:center;display:box;box-pack:center;box-align:center}} \ No newline at end of file diff --git a/public/css/head.css3.js b/public/css/head.css3.js new file mode 100644 index 0000000..2d9ce9f --- /dev/null +++ b/public/css/head.css3.js @@ -0,0 +1,477 @@ +///#source 1 1 /src/1.0.0/core.js +/*! head.core - v1.0.2 */ +/* + * HeadJS The only script in your + * Author Tero Piirainen (tipiirai) + * Maintainer Robert Hoffmann (itechnology) + * License MIT / http://bit.ly/mit-license + * WebSite http://headjs.com + */ +(function(win, undefined) { + "use strict"; + + // gt, gte, lt, lte, eq breakpoints would have been more simple to write as ['gt','gte','lt','lte','eq'] + // but then we would have had to loop over the collection on each resize() event, + // a simple object with a direct access to true/false is therefore much more efficient + var doc = win.document, + nav = win.navigator, + loc = win.location, + html = doc.documentElement, + klass = [], + conf = { + screens : [240, 320, 480, 640, 768, 800, 1024, 1280, 1440, 1680, 1920], + screensCss: { "gt": true, "gte": false, "lt": true, "lte": false, "eq": false }, + browsers : [ + { ie: { min: 6, max: 11 } } + //,{ chrome : { min: 8, max: 33 } } + //,{ ff : { min: 3, max: 26 } } + //,{ ios : { min: 3, max: 7 } } + //,{ android: { min: 2, max: 4 } } + //,{ webkit : { min: 9, max: 12 } } + //,{ opera : { min: 9, max: 12 } } + ], + browserCss: { "gt": true, "gte": false, "lt": true, "lte": false, "eq": true }, + html5 : true, + page : "-page", + section : "-section", + head : "head" + }; + + if (win.head_conf) { + for (var item in win.head_conf) { + if (win.head_conf[item] !== undefined) { + conf[item] = win.head_conf[item]; + } + } + } + + function pushClass(name) { + klass[klass.length] = name; + } + + function removeClass(name) { + // need to test for both space and no space + // https://github.com/headjs/headjs/issues/270 + // https://github.com/headjs/headjs/issues/226 + var re = new RegExp(" ?\\b" + name + "\\b"); + html.className = html.className.replace(re, ""); + } + + function each(arr, fn) { + for (var i = 0, l = arr.length; i < l; i++) { + fn.call(arr, arr[i], i); + } + } + + // API + var api = win[conf.head] = function() { + api.ready.apply(null, arguments); + }; + + api.feature = function(key, enabled, queue) { + + // internal: apply all classes + if (!key) { + html.className += " " + klass.join(" "); + klass = []; + + return api; + } + + if (Object.prototype.toString.call(enabled) === "[object Function]") { + enabled = enabled.call(); + } + + pushClass((enabled ? "" : "no-") + key); + api[key] = !!enabled; + + // apply class to HTML element + if (!queue) { + removeClass("no-" + key); + removeClass(key); + api.feature(); + } + + return api; + }; + + // no queue here, so we can remove any eventual pre-existing no-js class + api.feature("js", true); + + // browser type & version + var ua = nav.userAgent.toLowerCase(), + mobile = /mobile|android|kindle|silk|midp|phone|(windows .+arm|touch)/.test(ua); + + // useful for enabling/disabling feature (we can consider a desktop navigator to have more cpu/gpu power) + api.feature("mobile" , mobile , true); + api.feature("desktop", !mobile, true); + + // http://www.zytrax.com/tech/web/browser_ids.htm + // http://www.zytrax.com/tech/web/mobile_ids.html + ua = /(chrome|firefox)[ \/]([\w.]+)/.exec(ua) || // Chrome & Firefox + /(iphone|ipad|ipod)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || // Mobile IOS + /(android)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || // Mobile Webkit + /(webkit|opera)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || // Safari & Opera + /(msie) ([\w.]+)/.exec(ua) || + /(trident).+rv:(\w.)+/.exec(ua) || []; + + var browser = ua[1], + version = parseFloat(ua[2]); + + switch (browser) { + case "msie": + case "trident": + browser = "ie"; + version = doc.documentMode || version; + break; + + case "firefox": + browser = "ff"; + break; + + case "ipod": + case "ipad": + case "iphone": + browser = "ios"; + break; + + case "webkit": + browser = "safari"; + break; + } + + // Browser vendor and version + api.browser = { + name: browser, + version: version + }; + api.browser[browser] = true; + + for (var i = 0, l = conf.browsers.length; i < l; i++) { + for (var key in conf.browsers[i]) { + if (browser === key) { + pushClass(key); + + var min = conf.browsers[i][key].min; + var max = conf.browsers[i][key].max; + + for (var v = min; v <= max; v++) { + if (version > v) { + if (conf.browserCss.gt) { + pushClass("gt-" + key + v); + } + + if (conf.browserCss.gte) { + pushClass("gte-" + key + v); + } + } else if (version < v) { + if (conf.browserCss.lt) { + pushClass("lt-" + key + v); + } + + if (conf.browserCss.lte) { + pushClass("lte-" + key + v); + } + } else if (version === v) { + if (conf.browserCss.lte) { + pushClass("lte-" + key + v); + } + + if (conf.browserCss.eq) { + pushClass("eq-" + key + v); + } + + if (conf.browserCss.gte) { + pushClass("gte-" + key + v); + } + } + } + } else { + pushClass("no-" + key); + } + } + } + + pushClass(browser); + pushClass(browser + parseInt(version, 10)); + + // IE lt9 specific + if (conf.html5 && browser === "ie" && version < 9) { + // HTML5 support : you still need to add html5 css initialization styles to your site + // See: assets/html5.css + each("abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|progress|section|summary|time|video".split("|"), function(el) { + doc.createElement(el); + }); + } + + // CSS "router" + each(loc.pathname.split("/"), function(el, i) { + if (this.length > 2 && this[i + 1] !== undefined) { + if (i) { + pushClass(this.slice(i, i + 1).join("-").toLowerCase() + conf.section); + } + } else { + // pageId + var id = el || "index", index = id.indexOf("."); + if (index > 0) { + id = id.substring(0, index); + } + + html.id = id.toLowerCase() + conf.page; + + // on root? + if (!i) { + pushClass("root" + conf.section); + } + } + }); + + // basic screen info + api.screen = { + height: win.screen.height, + width : win.screen.width + }; + + // viewport resolutions: w-100, lt-480, lt-1024 ... + function screenSize() { + // remove earlier sizes + html.className = html.className.replace(/ (w-|eq-|gt-|gte-|lt-|lte-|portrait|no-portrait|landscape|no-landscape)\d+/g, ""); + + // Viewport width + var iw = win.innerWidth || html.clientWidth, + ow = win.outerWidth || win.screen.width; + + api.screen.innerWidth = iw; + api.screen.outerWidth = ow; + + // for debugging purposes, not really useful for anything else + pushClass("w-" + iw); + + each(conf.screens, function(width) { + if (iw > width) { + if (conf.screensCss.gt) { + pushClass("gt-" + width); + } + + if (conf.screensCss.gte) { + pushClass("gte-" + width); + } + } else if (iw < width) { + if (conf.screensCss.lt) { + pushClass("lt-" + width); + } + + if (conf.screensCss.lte) { + pushClass("lte-" + width); + } + } else if (iw === width) { + if (conf.screensCss.lte) { + pushClass("lte-" + width); + } + + if (conf.screensCss.eq) { + pushClass("e-q" + width); + } + + if (conf.screensCss.gte) { + pushClass("gte-" + width); + } + } + }); + + // Viewport height + var ih = win.innerHeight || html.clientHeight, + oh = win.outerHeight || win.screen.height; + + api.screen.innerHeight = ih; + api.screen.outerHeight = oh; + + // no need for onChange event to detect this + api.feature("portrait" , (ih > iw)); + api.feature("landscape", (ih < iw)); + } + + screenSize(); + + // Throttle navigators from triggering too many resize events + var resizeId = 0; + + function onResize() { + win.clearTimeout(resizeId); + resizeId = win.setTimeout(screenSize, 50); + } + + // Manually attach, as to not overwrite existing handler + if (win.addEventListener) { + win.addEventListener("resize", onResize, false); + + } else { + // IE8 and less + win.attachEvent("onresize", onResize); + } +}(window)); +///#source 1 1 /src/1.0.0/css3.js +/*! head.css3 - v1.0.0 */ +/* + * HeadJS The only script in your + * Author Tero Piirainen (tipiirai) + * Maintainer Robert Hoffmann (itechnology) + * License MIT / http://bit.ly/mit-license + * WebSite http://headjs.com + */ +(function (win, undefined) { + "use strict"; + + var doc = win.document, + /* + To add a new test: + + head.feature("video", function() { + var tag = document.createElement('video'); + return !!tag.canPlayType; + }); + + Good place to grab more tests + + https://github.com/Modernizr/Modernizr/blob/master/modernizr.js + */ + + /* CSS modernizer */ + el = doc.createElement("i"), + style = el.style, + prefs = " -o- -moz- -ms- -webkit- -khtml- ".split(" "), + domPrefs = "Webkit Moz O ms Khtml".split(" "), + headVar = win.head_conf && win.head_conf.head || "head", + api = win[headVar]; + + // Thanks Paul Irish! + + function testProps(props) { + for (var i in props) { + if (style[props[i]] !== undefined) { + return true; + } + } + + return false; + } + + + function testAll(prop) { + var camel = prop.charAt(0).toUpperCase() + prop.substr(1), + props = (prop + " " + domPrefs.join(camel + " ") + camel).split(" "); + + return !!testProps(props); + } + + var tests = { + // should we seperate linear/radial ? + // seems like some browsers need a test for prefix http://caniuse.com/#feat=css-gradients + gradient: function () { + var s1 = "background-image:", + s2 = "gradient(linear,left top,right bottom,from(#9f9),to(#fff));", + s3 = "linear-gradient(left top,#eee,#fff);"; + + style.cssText = (s1 + prefs.join(s2 + s1) + prefs.join(s3 + s1)).slice(0, -s1.length); + return !!style.backgroundImage; + }, + + rgba: function () { + style.cssText = "background-color:rgba(0,0,0,0.5)"; + return !!style.backgroundColor; + }, + + opacity: function () { + return el.style.opacity === ""; + }, + + textshadow: function () { + return style.textShadow === ""; + }, + + multiplebgs: function () { + style.cssText = "background:url(https://),url(https://),red url(https://)"; + + // If the UA supports multiple backgrounds, there should be three occurrences + // of the string "url(" in the return value for elemStyle.background + var result = (style.background || "").match(/url/g); + + return Object.prototype.toString.call(result) === "[object Array]" && result.length === 3; + }, + + boxshadow: function () { + return testAll("boxShadow"); + }, + + borderimage: function () { + return testAll("borderImage"); + }, + + borderradius: function () { + return testAll("borderRadius"); + }, + + cssreflections: function () { + return testAll("boxReflect"); + }, + + csstransforms: function () { + return testAll("transform"); + }, + + csstransitions: function () { + return testAll("transition"); + }, + touch: function () { + return "ontouchstart" in win; + }, + retina: function () { + return (win.devicePixelRatio > 1); + }, + + /* + font-face support. Uses browser sniffing but is synchronous. + http://paulirish.com/2009/font-face-feature-detection/ + */ + fontface: function () { + var browser = api.browser.name, version = api.browser.version; + + switch (browser) { + case "ie": + return version >= 9; + + case "chrome": + return version >= 13; + + case "ff": + return version >= 6; + + case "ios": + return version >= 5; + + case "android": + return false; + + case "webkit": + return version >= 5.1; + + case "opera": + return version >= 10; + + default: + return false; + } + } + }; + + // queue features + for (var key in tests) { + if (tests[key]) { + api.feature(key, tests[key].call(), true); + } + } + + // enable features at once + api.feature(); + +}(window)); diff --git a/public/css/jquery.fullPage.min.css b/public/css/jquery.fullPage.min.css new file mode 100644 index 0000000..b2fc4a7 --- /dev/null +++ b/public/css/jquery.fullPage.min.css @@ -0,0 +1 @@ +.fp-enabled body,html.fp-enabled{margin:0;padding:0;overflow:hidden;-webkit-tap-highlight-color:transparent}#superContainer{height:100%;position:relative;-ms-touch-action:none;touch-action:none}.fp-section{position:relative;box-sizing:border-box}.fp-slide{float:left}.fp-slide,.fp-slidesContainer{height:100%;display:block}.fp-slides{z-index:1;height:100%;overflow:hidden;position:relative;transition:all .3s ease-out}.fp-section.fp-table,.fp-slide.fp-table{display:table;table-layout:fixed;width:100%}.fp-tableCell{display:table-cell;vertical-align:middle;width:100%;height:100%}.fp-slidesContainer{float:left;position:relative}.fp-controlArrow{position:absolute;z-index:4;top:50%;cursor:pointer;width:0;height:0;border-style:solid;margin-top:-38px;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.fp-controlArrow.fp-prev{left:15px;width:0;border-width:38.5px 34px 38.5px 0;border-color:transparent #fff transparent transparent}.fp-controlArrow.fp-next{right:15px;border-width:38.5px 0 38.5px 34px;border-color:transparent transparent transparent #fff}.fp-scrollable{overflow:scroll}.fp-notransition{transition:none!important}#fp-nav{position:fixed;z-index:100;margin-top:-32px;top:50%;opacity:1;-webkit-transform:translate3d(0,0,0)}#fp-nav.right{right:17px}#fp-nav.left{left:17px}.fp-slidesNav{position:absolute;z-index:4;left:50%;opacity:1}.fp-slidesNav.bottom{bottom:17px}.fp-slidesNav.top{top:17px}#fp-nav ul,.fp-slidesNav ul{margin:0;padding:0}#fp-nav ul li,.fp-slidesNav ul li{display:block;width:14px;height:13px;margin:7px;position:relative}.fp-slidesNav ul li{display:inline-block}#fp-nav ul li a,.fp-slidesNav ul li a{display:block;position:relative;z-index:1;width:100%;height:100%;cursor:pointer;text-decoration:none}#fp-nav ul li a.active span,#fp-nav ul li:hover a.active span,.fp-slidesNav ul li a.active span,.fp-slidesNav ul li:hover a.active span{height:12px;width:12px;margin:-6px 0 0 -6px;border-radius:100%}#fp-nav ul li a span,.fp-slidesNav ul li a span{border-radius:50%;position:absolute;z-index:1;height:4px;width:4px;border:0;background:#333;left:50%;top:50%;margin:-2px 0 0 -2px;transition:all .1s ease-in-out}#fp-nav ul li:hover a span,.fp-slidesNav ul li:hover a span{width:10px;height:10px;margin:-5px 0 0 -5px}#fp-nav ul li .fp-tooltip{position:absolute;top:-2px;color:#fff;font-size:14px;font-family:arial,helvetica,sans-serif;white-space:nowrap;max-width:220px;overflow:hidden;display:block;opacity:0;width:0}#fp-nav ul li:hover .fp-tooltip,#fp-nav.fp-show-active a.active+.fp-tooltip{transition:opacity .2s ease-in;width:auto;opacity:1}#fp-nav ul li .fp-tooltip.right{right:20px}#fp-nav ul li .fp-tooltip.left{left:20px}.fp-auto-height .fp-slide,.fp-auto-height .fp-tableCell,.fp-auto-height.fp-section{height:auto!important}@media print{.fp-enabled body,html.fp-enabled{overflow:visible!important;height:auto!important}body,html{background:#fff;width:auto;height:auto;overflow:visible}body{font-size:20pt;border:0;margin:0 5%;padding:0;float:none!important}#fp-nav,.fp-controlArrow,.fp-slidesNav{display:none!important}h1{font-size:28pt!important}h2{font-size:24pt!important}h3,h4{font-size:22pt!important}h4{font-variant:small-caps}h5{font-size:21pt!important}h6{font-size:20pt!important;font-style:italic}.fp-scrollable,.fp-section,.fp-tableCell,.slimScrollDiv{width:100%!important;height:auto!important;display:block!important;position:relative;float:none!important}.fp-slide,.fullpage-wrapper{float:none!important;position:static!important}.fp-slidesContainer{-webkit-transform:none!important;transform:none!important;transition:none!important}.fp-slides,.fp-slidesContainer{height:auto!important;width:100%!important;float:none!important;overflow:hidden!important}.fp-slides{height:800px!important;width:800px!important}.fp-slide{width:100%!important}.fullpage-wrapper{-webkit-transform:none!important;transform:none!important;transition:none!important;width:auto!important;height:auto!important;left:0!important;top:0!important;margin-left:0!important;margin-top:0!important;padding:0!important;zoom:1!important;overflow:visible!important;display:block!important;text-align:left!important}.fp-section,.fp-slide{page-break-after:always!important}} \ No newline at end of file diff --git a/public/css/style.min.css b/public/css/style.min.css index f526685..4b9b27b 100644 --- a/public/css/style.min.css +++ b/public/css/style.min.css @@ -1 +1 @@ -.glitch,.masthead{position:relative}.cbp-ig-grid:after,.ui.vertical.stripe .floated.image{clear:both}.cbp-ig-grid li,div.eight.wide.column.centered{text-align:center}body>.grid{height:100%}.glitch{-webkit-animation:glitch 2s steps(100) infinite;animation:glitch 2s steps(100) infinite}@-webkit-keyframes glitch{0%,1%,2%,3%,4%,51%,52%,53%,54%,55%,73%,74%,75%,76%{text-shadow:1px 0 0 red,-1px 0 0 #00f}10%,5%,56%,57%,58%,59%,6%,60%,67%,68%,69%,7%,70%,77%,78%,79%,8%,80%,9%{text-shadow:-1px 0 0 red,1px 0 0 #00f}11%,12%,13%,14%,15%,43%,44%,45%,46%,81%,82%,83%,84%,85%{text-shadow:.5px 0 0 red,-.5px 0 0 #0f0}16%,17%,18%,19%,20%,47%,48%,49%,50%,86%,87%,88%,89%,90%{text-shadow:-1px 0 0 red,1px 0 0 #0f0}21%,22%,23%,24%,25%,26%,27%,28%,29%,30%,92%,93%,94%,95%{text-shadow:.7px 0 0 #00f,-.7px 0 0 #0f0}100%,31%,32%,33%,34%,35%,36%,37%,38%,39%,40%,96%,97%,98%,99%{text-shadow:-1px 0 0 #00f,1px 0 0 #0f0}41%{text-shadow:50px 0 0 #00f,-50px 0 0 #0f0}42%{text-shadow:0 0 0 #00f,0 0 0 #0f0}61%{text-shadow:30px 0 0 red,-30px 0 0 #0f0}62%{text-shadow:0 0 0 red,0 0 0 #0f0}63%,64%,65%,66%{text-shadow:.5px 0 0 red,-.5px 0 0 #00f}71%{text-shadow:70px 0 0 red,-70px 0 0 #00f}72%{text-shadow:0 0 0 red,0 0 0 #00f}91%{text-shadow:60px 0 0 #0f0,-60px 0 0 #00f}}@keyframes glitch{0%,1%,2%,3%,4%,51%,52%,53%,54%,55%,73%,74%,75%,76%{text-shadow:1px 0 0 red,-1px 0 0 #00f}10%,5%,56%,57%,58%,59%,6%,60%,67%,68%,69%,7%,70%,77%,78%,79%,8%,80%,9%{text-shadow:-1px 0 0 red,1px 0 0 #00f}11%,12%,13%,14%,15%,43%,44%,45%,46%,81%,82%,83%,84%,85%{text-shadow:.5px 0 0 red,-.5px 0 0 #0f0}16%,17%,18%,19%,20%,47%,48%,49%,50%,86%,87%,88%,89%,90%{text-shadow:-1px 0 0 red,1px 0 0 #0f0}21%,22%,23%,24%,25%,26%,27%,28%,29%,30%,92%,93%,94%,95%{text-shadow:.7px 0 0 #00f,-.7px 0 0 #0f0}100%,31%,32%,33%,34%,35%,36%,37%,38%,39%,40%,96%,97%,98%,99%{text-shadow:-1px 0 0 #00f,1px 0 0 #0f0}41%{text-shadow:50px 0 0 #00f,-50px 0 0 #0f0}42%{text-shadow:0 0 0 #00f,0 0 0 #0f0}61%{text-shadow:30px 0 0 red,-30px 0 0 #0f0}62%{text-shadow:0 0 0 red,0 0 0 #0f0}63%,64%,65%,66%{text-shadow:.5px 0 0 red,-.5px 0 0 #00f}71%{text-shadow:70px 0 0 red,-70px 0 0 #00f}72%{text-shadow:0 0 0 red,0 0 0 #00f}91%{text-shadow:60px 0 0 #0f0,-60px 0 0 #00f}}body{overflow-x:hidden;-webkit-overflow-scrolling:touch}.masthead{background:#333;overflow:hidden}.masthead:before{content:' ';display:block;position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;opacity:.6;background-image:url(../img/1.jpg);background-repeat:no-repeat;background-position:50% 0;-ms-background-size:cover;background-size:cover}h1,h2,h3,h4{text-shadow:1px 1px 1px rgba(0,0,0,.004);-moz-osx-font-smoothing:grayscale}h2,h3,h4{font-weight:600!important}.masthead .fp-tableCell{position:relative;z-index:20;display:block}#header,.pitch{position:fixed}.ohidden,.secondary.pointing.menu .toc.item{display:none}.white,.white.header{color:#FFF!important}.dimmer,.post-meta{color:#CCC}#fp-nav ul li a span,.fp-slidesNav ul li a span{background:#EEE!important}.ui.vertical.stripe{padding:8em 0}.ui.vertical.stripe .button+h3,.ui.vertical.stripe p+h3{margin-top:3em}.ui.vertical.stripe p{font-size:1.2em}.ui.vertical.stripe .horizontal.divider{margin:3em 0}.quote.stripe.segment{padding:0}.quote.stripe.segment .grid .column{padding-top:5em;padding-bottom:5em}.footer.segment.inverted{padding:3em 0 5em;background:#222!important}.controlArrow.prev{left:150px}.controlArrow.next{right:150px}.fp-viewing-2 #fp-nav ul li a span,.fp-viewing-2 .fp-slidesNav ul li a span,.fp-viewing-3 #fp-nav ul li a span,.fp-viewing-3 .fp-slidesNav ul li a span,.fp-viewing-4 #fp-nav ul li a span,.fp-viewing-4 .fp-slidesNav ul li a span{background:#5a5a5a!important}.pitch{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.pitch h1.header{font-size:3rem!important;text-shadow:1px 2px 4px #5d5d5d}.ohidden{visibility:hidden}.fp-controlArrow{font-family:Icons;font-style:normal;border:0!important;line-height:1;vertical-align:middle;font-size:8em}.fp-controlArrow.fp-next{right:65px!important}.fp-controlArrow.fp-prev:before{content:"\f104"}.fp-controlArrow.fp-prev{left:55px!important}.fp-controlArrow.fp-next:before{content:"\f105"}.ui.text,p{line-height:1.5;font-size:1.13333333rem}.menuinit .sidebar{cursor:pointer}.mobile .front #header{background:0 0}.not-front #header{background:#FFF}#header{display:block;z-index:850;width:100%;top:0}.fp-viewing-0 .box-shadow{background:0 0;box-shadow:none}.fp-viewing-0 .ui.secondary.menu a{color:#FFF}.fp-viewing-2 .ui.secondary.menu a:not(.button),.fp-viewing-3 .ui.secondary.menu a:not(.button),.fp-viewing-4 .ui.secondary.menu a:not(.button){color:#333}.olive{background-color:olive;border:1px solid olive}.topmenu a.item{margin:5px 0!important;display:block}.box-shadow,.not-front .mobile .box-shadow{background-color:#FFF;box-sizing:border-box;box-shadow:0 1px 8px rgba(0,0,0,.3)}.ui.text.menu{margin:0!important}.ui.headerimg{width:100%!important;max-width:100%!important;min-height:260px;margin-top:75px!important}.footer a.item{display:block;margin:5px 0}.ui.footer.segment{margin-top:50px}.violet{background-color:#6a4ca6}.statistic .amt{font-size:6rem!important;font-weight:400}.ui.container.fluid.pricing{margin-bottom:50px!important}.ui.contianer.fluid.calculator{padding:40px 0}.pricingrow,.step{padding:50px 0}.feature-list .item>i.icon{padding-right:0!important;margin-bottom:5px}.feature-list .item{text-align:center;margin:0 15px}.cbp-ig-grid{list-style:none;padding:0 0 50px;margin:0}.cbp-ig-grid:after,.cbp-ig-grid:before{content:" ";display:table}.cbp-ig-grid li{width:33%;float:left;height:420px;border-top:1px solid #ddd}.cbp-ig-grid li:nth-child(-n+3){border-top:none}.cbp-ig-grid li:nth-child(3n-1),.cbp-ig-grid li:nth-child(3n-2){box-shadow:1px 0 0 #ddd}.cbp-ig-grid li>a{display:block;height:100%;color:#47a3da;transition:background .2s}.cbp-ig-icon{padding:30px 0 0;display:block;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}i.cbp-ig-icon{display:inline-block!important}.cbp-ig-grid .cbp-ig-title{margin:60px 0 10px;padding:20px 0 0;font-size:2em;position:relative;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.cbp-ig-grid .cbp-ig-title:before{content:'';position:absolute;background:#47a3da;width:160px;height:6px;top:0;left:50%;margin:-10px 0 0 -80px;transition:margin-top .2s}.cbp-ig-grid .cbp-ig-category{text-transform:uppercase;display:inline-block;font-size:1em;letter-spacing:1px;color:#fff;-webkit-transform:translateY(10px);transform:translateY(10px);opacity:0;-moz-transition:-moz-transform .3s,opacity .2s;-webkit-transition:transform .3s,opacity .2s;width:95%}.cbp-ig-grid li:hover .cbp-ig-category,.touch .cbp-ig-grid li .cbp-ig-category{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.cbp-ig-grid li>a:hover{background:#47a3da}.cbp-ig-grid li>a:hover .cbp-ig-icon{-webkit-transform:translateY(10px);transform:translateY(10px)}.cbp-ig-grid li>a:hover .cbp-ig-icon:before,.cbp-ig-grid li>a:hover .cbp-ig-title{color:#fff}.cbp-ig-grid li>a:hover .cbp-ig-title{-webkit-transform:translateY(-30px);transform:translateY(-30px)}.cbp-ig-grid li>a:hover .cbp-ig-title:before{background:#fff;margin-top:80px}@media screen and (max-width:62.75em){.cbp-ig-grid li{width:50%}.cbp-ig-grid li:nth-child(-n+3){border-top:1px solid #ddd}.cbp-ig-grid li:nth-child(3n-1),.cbp-ig-grid li:nth-child(3n-2){box-shadow:none}.cbp-ig-grid li:nth-child(-n+2){border-top:none}.cbp-ig-grid li:nth-child(2n-1){box-shadow:1px 0 0 #ddd}}@media screen and (max-width:41.6em){.cbp-ig-grid li{width:100%}.cbp-ig-grid li:nth-child(-n+2){border-top:1px solid #ddd}.cbp-ig-grid li:nth-child(2n-1){box-shadow:none}.cbp-ig-grid li:first-child{border-top:none}}@media screen and (max-width:25em){.cbp-ig-grid{font-size:80%}.cbp-ig-grid .cbp-ig-category{margin-top:20px}}a.ui.nav:active,a.ui.nav:focus,a.ui.nav:hover{outline:0}#nav .active{color:red}.ui.segment.pegke{width:78%!important;max-width:78%!important;margin:0 auto}.ui.container.pegke{width:90%!important;max-width:90%!important;margin:0 auto}.fp-viewing-1-0.front #header,.fp-viewing-1-1.front #header,.fp-viewing-1-2.front #header,.fp-viewing-1-3.front #header,.fp-viewing-2.front #header,.fp-viewing-3.front #header,.fp-viewing-4.front #header{background-color:#FFF}::-webkit-scrollbar{display:none}blockquote.message{border-left:3px solid #4cb992;margin-left:10px;padding:10px;background:rgba(255,255,255,.76)}#hamb{margin:15px 2px 0}.currency{display:inline-block;margin-top:10px;vertical-align:top;font-size:2rem;font-weight:900}.value{font-size:7rem;font-weight:400}.duration{font-size:.8rem}.duration:before{content:'/';margin-right:2px}.currency,.duration{color:#1bbc9d}.ui.secondary.menu a.item.active,.ui.secondary.menu a.item:hover{box-shadow:inset 0 1px 2px rgba(0,0,0,.05)!important}.fp-viewing-0 .ui.secondary.menu a.item:hover{background:rgba(255,255,255,.65)!important}.not-front .ui.secondary.menu a.item:hover{background:rgba(236,236,236,.57)!important}.ui.header .sub.header{font-size:.9em!important;color:rgba(0,0,0,.38)}.ui.header .sub.header.tiny{font-size:.9rem!important}.ui.horizontal.divider{line-height:1.3}.label.tags{margin-bottom:7px}.biztyps .sub.header.feat{font-size:1rem!important;line-height:22px}.go-top{position:fixed;bottom:2rem;right:2rem;text-decoration:none;color:#fff;background-color:rgba(0,0,0,.3);padding:7px;border-radius:50%;height:40px;width:40px}.go-top:hover{background-color:rgba(0,0,0,.7);color:red!important}.pagetwo h2.header{margin-bottom:25px!important}.ui.secondary.menu .item{padding:8px!important;margin:4px!important;font-size:14px!important;font-weight:700}html.ios,html.ios body{height:auto!important}@media only screen and (max-width:767px){.large.monitor.only,.mobile.hidden,.small.monitor.only,.tablet.only{display:none!important}.ui.headerimg{min-height:130px;margin-top:85px!important}.ui.huge.header{font-size:2.1rem}h2{font-size:1.8rem}.ui.container.pegke{width:100%!important}.pagetwo .ui.vertical.stripe h3,.pitch h1.header{font-size:2rem!important}.ui.vertical.stripe p{font-size:1em}.fp-controlArrow{display:none;visibility:hidden}.cbp-ig-grid .cbp-ig-category{color:#47a3da;display:block;opacity:1}.cbp-ig-grid li>a:hover .cbp-ig-category{color:#fff!important}body,html{min-height:100%!important}div.ui.segment.pitch{top:45%;position:absolute;display:block;width:100%;z-index:990}div.section{min-height:100vh;width:100%;box-sizing:border-box;padding:50px 0}.front #header{background:#FFF;z-index:999}.pagetwo{background:#F8E985}.pagethree{background:#DEEEEB}.pagefour{background:#ECF2F2}.pagefive{background:#222!important}.footer.segment.inverted,.ui.footer.segment{margin:0;padding:0}.ui.vertical.stripe{padding:20px 0}.mobile .pagetwo .white,.mobile .pagetwo.white{color:#323232!important}}@media only screen and (min-width:768px) and (max-width:991px){.large.monitor.only,.mobile.only,.small.monitor.only,.tablet.hidden{display:none!important}}@media only screen and (min-width:992px) and (max-width:1199px){.large.monitor.only,.mobile.only,.small.monitor.hidden,.tablet.only{display:none!important}.ui.headerimg{-ms-flex-pack:center;-ms-flex-align:center;-moz-box-pack:center;-moz-box-align:center;-webkit-box-pack:center;-webkit-box-align:center;display:box;box-pack:center;box-align:center}}@media only screen and (min-width:1200px){.large.monitor.hidden,.mobile.only,.small.monitor.only,.tablet.only{display:none!important}.ui.headerimg{-ms-flex-pack:center;-ms-flex-align:center;-moz-box-pack:center;-moz-box-align:center;-webkit-box-pack:center;-webkit-box-align:center;display:box;box-pack:center;box-align:center}} \ No newline at end of file +.cbp-ig-grid:after,.ui.vertical.stripe .floated.image{clear:both}.cbp-ig-grid li,div.eight.wide.column.centered{text-align:center}body{overflow-x:hidden;-webkit-overflow-scrolling:touch}.masthead{position:relative;background:#333;overflow:hidden}.masthead:before{content:' ';display:block;position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;opacity:.6;background-image:url(../img/1.jpg);background-repeat:no-repeat;background-position:50% 0;-ms-background-size:cover;background-size:cover}h1,h2,h3,h4{text-shadow:1px 1px 1px rgba(0,0,0,.004);-moz-osx-font-smoothing:grayscale}h2,h3,h4{font-weight:600!important}.masthead .fp-tableCell{position:relative;z-index:20;display:block}#header,.pitch{position:fixed}.ohidden,.secondary.pointing.menu .toc.item{display:none}.white,.white.header{color:#FFF!important}.dimmer,.post-meta{color:#CCC}#fp-nav ul li a span,.fp-slidesNav ul li a span{background:#EEE!important}.ui.vertical.stripe{padding:8em 0}.ui.vertical.stripe .button+h3,.ui.vertical.stripe p+h3{margin-top:3em}.ui.vertical.stripe p{font-size:1.2em}.ui.vertical.stripe .horizontal.divider{margin:3em 0}.quote.stripe.segment{padding:0}.quote.stripe.segment .grid .column{padding-top:5em;padding-bottom:5em}.footer.segment.inverted{padding:3em 0 5em;background:#222!important}.controlArrow.prev{left:150px}.controlArrow.next{right:150px}.fp-viewing-2 #fp-nav ul li a span,.fp-viewing-2 .fp-slidesNav ul li a span,.fp-viewing-3 #fp-nav ul li a span,.fp-viewing-3 .fp-slidesNav ul li a span,.fp-viewing-4 #fp-nav ul li a span,.fp-viewing-4 .fp-slidesNav ul li a span{background:#5a5a5a!important}.pitch{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.pitch h1.header{font-size:3rem!important;text-shadow:1px 2px 4px #5d5d5d}.ohidden{visibility:hidden}.fp-controlArrow{font-family:Icons;font-style:normal;border:0!important;line-height:1;vertical-align:middle;font-size:8em}.fp-controlArrow.fp-next{right:65px!important}.fp-controlArrow.fp-prev:before{content:"\f104"}.fp-controlArrow.fp-prev{left:55px!important}.fp-controlArrow.fp-next:before{content:"\f105"}.ui.text,p{line-height:1.5;font-size:1.13333333rem}.menuinit .sidebar{cursor:pointer}.not-front #header{background:#FFF}#header{display:block;z-index:850;width:100%;top:0}.fp-viewing-0 .box-shadow{background:0 0;box-shadow:none}.fp-viewing-0 .ui.secondary.menu a{color:#FFF}.fp-viewing-2 .ui.secondary.menu a:not(.button),.fp-viewing-3 .ui.secondary.menu a:not(.button),.fp-viewing-4 .ui.secondary.menu a:not(.button){color:#333}.olive{background-color:olive;border:1px solid olive}.topmenu a.item{margin:5px 0!important;display:block}.box-shadow,.mobile .box-shadow{background-color:#FFF;box-sizing:border-box;box-shadow:0 1px 8px rgba(0,0,0,.3)}.ui.text.menu{margin:0!important}.ui.headerimg{width:100%!important;max-width:100%!important;min-height:260px;height:260px;margin-top:75px!important}.headerimg .ui.center.aligned{position:relative;top:50%;transform:translateY(-50%);-webkit-transform:translateY(-50%)}.footer a.item{display:block;margin:5px 0}.ui.footer.segment{margin-top:50px}.violet{background-color:#6a4ca6}.statistic .amt{font-size:6rem!important;font-weight:400}.ui.container.fluid.pricing{margin-bottom:50px!important}.ui.contianer.fluid.calculator{padding:40px 0}.pricingrow,.step{padding:50px 0}.feature-list .item>i.icon{padding-right:0!important;margin-bottom:5px}.feature-list .item{text-align:center;margin:0 15px}.cbp-ig-grid{list-style:none;padding:0 0 50px;margin:0}.cbp-ig-grid:after,.cbp-ig-grid:before{content:" ";display:table}.cbp-ig-grid li{width:33%;float:left;height:420px;border-top:1px solid #ddd}.cbp-ig-grid li:nth-child(-n+3){border-top:none}.cbp-ig-grid li:nth-child(3n-1),.cbp-ig-grid li:nth-child(3n-2){box-shadow:1px 0 0 #ddd}.cbp-ig-grid li>a{display:block;height:100%;color:#47a3da;transition:background .2s}.cbp-ig-icon{padding:30px 0 0;display:block;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}i.cbp-ig-icon{display:inline-block!important}.cbp-ig-grid .cbp-ig-title{margin:60px 0 10px;padding:20px 0 0;font-size:2em;position:relative;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.cbp-ig-grid .cbp-ig-title:before{content:'';position:absolute;background:#47a3da;width:160px;height:6px;top:0;left:50%;margin:-10px 0 0 -80px;transition:margin-top .2s}.cbp-ig-grid .cbp-ig-category{text-transform:uppercase;display:inline-block;font-size:1em;letter-spacing:1px;color:#fff;-webkit-transform:translateY(10px);transform:translateY(10px);opacity:0;-moz-transition:-moz-transform .3s,opacity .2s;-webkit-transition:transform .3s,opacity .2s;width:95%}.cbp-ig-grid li:hover .cbp-ig-category,.touch .cbp-ig-grid li .cbp-ig-category{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.cbp-ig-grid li>a:hover{background:#47a3da}.cbp-ig-grid li>a:hover .cbp-ig-icon{-webkit-transform:translateY(10px);transform:translateY(10px)}.cbp-ig-grid li>a:hover .cbp-ig-icon:before,.cbp-ig-grid li>a:hover .cbp-ig-title{color:#fff}.cbp-ig-grid li>a:hover .cbp-ig-title{-webkit-transform:translateY(-30px);transform:translateY(-30px)}.cbp-ig-grid li>a:hover .cbp-ig-title:before{background:#fff;margin-top:80px}@media screen and (max-width:62.75em){.cbp-ig-grid li{width:50%}.cbp-ig-grid li:nth-child(-n+3){border-top:1px solid #ddd}.cbp-ig-grid li:nth-child(3n-1),.cbp-ig-grid li:nth-child(3n-2){box-shadow:none}.cbp-ig-grid li:nth-child(-n+2){border-top:none}.cbp-ig-grid li:nth-child(2n-1){box-shadow:1px 0 0 #ddd}}@media screen and (max-width:41.6em){.cbp-ig-grid li{width:100%}.cbp-ig-grid li:nth-child(-n+2){border-top:1px solid #ddd}.cbp-ig-grid li:nth-child(2n-1){box-shadow:none}.cbp-ig-grid li:first-child{border-top:none}}@media screen and (max-width:25em){.cbp-ig-grid{font-size:80%}.cbp-ig-grid .cbp-ig-category{margin-top:20px}}a.ui.nav:active,a.ui.nav:focus,a.ui.nav:hover{outline:0}#nav .active{color:red}.ui.segment.pegke{width:78%!important;max-width:78%!important;margin:0 auto}.ui.container.pegke{width:90%!important;max-width:90%!important;margin:0 auto}.fp-viewing-1-0.front #header,.fp-viewing-1-1.front #header,.fp-viewing-1-2.front #header,.fp-viewing-1-3.front #header,.fp-viewing-2.front #header,.fp-viewing-3.front #header,.fp-viewing-4.front #header{background-color:#FFF}::-webkit-scrollbar{display:none}blockquote.message{border-left:3px solid #4cb992;margin-left:10px;padding:10px;background:rgba(255,255,255,.76)}#hamb{margin:15px 2px 0}.currency{display:inline-block;margin-top:10px;vertical-align:top;font-size:2rem;font-weight:900}.value{font-size:7rem;font-weight:400}.duration{font-size:.8rem}.duration:before{content:'/';margin-right:2px}.currency,.duration{color:#1bbc9d}.ui.secondary.menu a.item.active,.ui.secondary.menu a.item:hover{box-shadow:inset 0 1px 2px rgba(0,0,0,.05)!important}.fp-viewing-0 .ui.secondary.menu a.item:hover{background:rgba(255,255,255,.65)!important}.not-front .ui.secondary.menu a.item:hover{background:rgba(236,236,236,.57)!important}.ui.header .sub.header{font-size:.9em!important;color:rgba(0,0,0,.38)}.ui.header .sub.header.tiny{font-size:.9rem!important}.ui.horizontal.divider{line-height:1.3}.label.tags{margin-bottom:7px}.biztyps .sub.header.feat{font-size:1rem!important;line-height:22px}.go-top{position:fixed;bottom:2rem;right:2rem;text-decoration:none;color:#fff;background-color:rgba(0,0,0,.3);padding:7px;border-radius:50%;height:40px;width:40px;z-index:999}.go-top:hover{background-color:rgba(0,0,0,.7);color:red!important}.pagetwo h2.header{margin-bottom:25px!important}.ui.secondary.menu .item{padding:8px!important;margin:4px!important;font-size:14px!important;font-weight:700}@media only screen and (max-width:767px){.large.monitor.only,.mobile.hidden,.small.monitor.only,.tablet.only{display:none!important}.ui.headerimg{min-height:130px;margin-top:85px!important;height:130px}.ui.huge.header{font-size:2.1rem}div.sub.header{font-size:1.2rem!important}h2{font-size:1.8rem}.ui.container.pegke{width:100%!important}.pagetwo .ui.vertical.stripe h3,.pitch h1.header{font-size:2rem!important}.ui.vertical.stripe p{font-size:1em}.fp-controlArrow{display:none;visibility:hidden}.cbp-ig-grid .cbp-ig-category{color:#47a3da;display:block;opacity:1}.cbp-ig-grid li>a:hover .cbp-ig-category{color:#fff!important}div.ui.segment.pitch{top:45%;position:absolute;display:block;width:100%;z-index:990}div.section{min-height:100vh;width:100%;box-sizing:border-box;padding:50px 0}.pagetwo{background:#F8E985}.pagethree{background:#DEEEEB}.pagefour{background:#ECF2F2}.pagefive{background:#222!important}.footer.segment.inverted,.ui.footer.segment{margin:20px 0 0;padding:0}.ui.vertical.stripe{padding:20px 0}.mobile .pagetwo .white,.mobile .pagetwo.white{color:#323232!important}.front .ui.header>.icon+.content{padding:0!important}.go-top{display:none!important;visibility:hidden}}@media only screen and (min-width:768px) and (max-width:991px){.large.monitor.only,.mobile.only,.small.monitor.only,.tablet.hidden{display:none!important}}@media only screen and (min-width:992px) and (max-width:1199px){.large.monitor.only,.mobile.only,.small.monitor.hidden,.tablet.only{display:none!important}.ui.headerimg{-ms-flex-pack:center;-ms-flex-align:center;-moz-box-pack:center;-moz-box-align:center;-webkit-box-pack:center;-webkit-box-align:center;display:box;box-pack:center;box-align:center}}@media only screen and (min-width:1200px){.large.monitor.hidden,.mobile.only,.small.monitor.only,.tablet.only{display:none!important}.ui.headerimg{-ms-flex-pack:center;-ms-flex-align:center;-moz-box-pack:center;-moz-box-align:center;-webkit-box-pack:center;-webkit-box-align:center;display:box;box-pack:center;box-align:center}} \ No newline at end of file diff --git a/public/cssfull/responsive.css b/public/cssfull/responsive.css index 1ab655e..420a112 100644 --- a/public/cssfull/responsive.css +++ b/public/cssfull/responsive.css @@ -8,10 +8,14 @@ .ui.headerimg { min-height: 130px; margin-top: 85px !important; + height: 130px; } .ui.huge.header { font-size: 2.1rem } + div.sub.header { + font-size: 1.2rem !important; + } h2 { font-size: 1.8rem } @@ -39,10 +43,6 @@ .cbp-ig-grid li > a:hover .cbp-ig-category { color: #fff !important; } - html, body { - min-height: 100% !important; - } - div.ui.segment.pitch { top: 45%; position: absolute; @@ -59,11 +59,6 @@ box-sizing: border-box; padding: 50px 0; } - - .front #header { - background: #FFF; - z-index: 999; - } .pagetwo { background: #F8E985; } @@ -78,7 +73,7 @@ } .ui.footer.segment, .footer.segment.inverted { - margin: 0; + margin: 20px 0 0; padding: 0 } .ui.vertical.stripe { @@ -87,7 +82,9 @@ .mobile .pagetwo .white, .mobile .pagetwo.white { color: #323232 !important; } - + .front .ui.header>.icon+.content { + padding: 0 !important + } } @media only screen and (min-width: 768px) and (max-width: 991px) { .mobile.only, diff --git a/public/cssfull/style.css b/public/cssfull/style.css index 1c605e0..7064afc 100644 --- a/public/cssfull/style.css +++ b/public/cssfull/style.css @@ -126,9 +126,6 @@ h2, h3, h4 { .menuinit .sidebar { cursor: pointer; } -.mobile .front #header { - background: transparent; -} .not-front #header { background: #FFF; } @@ -160,7 +157,7 @@ h2, h3, h4 { display: block; } .box-shadow, -.not-front .mobile .box-shadow { +.mobile .box-shadow { background-color: #FFF; -webkit-box-sizing: border-box; box-sizing: border-box; @@ -174,8 +171,15 @@ h2, h3, h4 { width: 100% !important; max-width: 100% !important; min-height: 260px; + height: 260px; margin-top: 75px !important; } +.headerimg .ui.center.aligned { + position: relative; + top: 50%; + transform: translateY(-50%); + -webkit-transform: translateY(-50%); +} .footer a.item{ display: block; margin: 5px 0; @@ -506,6 +510,7 @@ blockquote.message { border-radius: 50%; height: 40px; width: 40px; + z-index: 999; } .go-top:hover { background-color: rgba(0, 0, 0, 0.7); @@ -521,6 +526,3 @@ blockquote.message { font-size: 14px !important; font-weight: 700; } -html.ios, html.ios body { - height: auto !important; -} diff --git a/public/favicons/android-chrome-144x144.png b/public/favicons/android-chrome-144x144.png index 8510e61..e64261c 100644 Binary files a/public/favicons/android-chrome-144x144.png and b/public/favicons/android-chrome-144x144.png differ diff --git a/public/favicons/android-chrome-192x192.png b/public/favicons/android-chrome-192x192.png index 6c682cb..2986ea3 100644 Binary files a/public/favicons/android-chrome-192x192.png and b/public/favicons/android-chrome-192x192.png differ diff --git a/public/favicons/android-chrome-36x36.png b/public/favicons/android-chrome-36x36.png index a56e060..fdebad6 100644 Binary files a/public/favicons/android-chrome-36x36.png and b/public/favicons/android-chrome-36x36.png differ diff --git a/public/favicons/android-chrome-48x48.png b/public/favicons/android-chrome-48x48.png index 83aad97..f3a3d1e 100644 Binary files a/public/favicons/android-chrome-48x48.png and b/public/favicons/android-chrome-48x48.png differ diff --git a/public/favicons/android-chrome-72x72.png b/public/favicons/android-chrome-72x72.png index 5cdb003..c16a8a8 100644 Binary files a/public/favicons/android-chrome-72x72.png and b/public/favicons/android-chrome-72x72.png differ diff --git a/public/favicons/android-chrome-96x96.png b/public/favicons/android-chrome-96x96.png index 063f2c3..a65f457 100644 Binary files a/public/favicons/android-chrome-96x96.png and b/public/favicons/android-chrome-96x96.png differ diff --git a/public/favicons/apple-touch-icon-114x114.png b/public/favicons/apple-touch-icon-114x114.png index f2645f2..5dd3ab6 100644 Binary files a/public/favicons/apple-touch-icon-114x114.png and b/public/favicons/apple-touch-icon-114x114.png differ diff --git a/public/favicons/apple-touch-icon-120x120.png b/public/favicons/apple-touch-icon-120x120.png index 2193386..045d2ed 100644 Binary files a/public/favicons/apple-touch-icon-120x120.png and b/public/favicons/apple-touch-icon-120x120.png differ diff --git a/public/favicons/apple-touch-icon-144x144.png b/public/favicons/apple-touch-icon-144x144.png index 8510e61..2b39b95 100644 Binary files a/public/favicons/apple-touch-icon-144x144.png and b/public/favicons/apple-touch-icon-144x144.png differ diff --git a/public/favicons/apple-touch-icon-152x152.png b/public/favicons/apple-touch-icon-152x152.png index e3842b3..d7cdbe5 100644 Binary files a/public/favicons/apple-touch-icon-152x152.png and b/public/favicons/apple-touch-icon-152x152.png differ diff --git a/public/favicons/apple-touch-icon-180x180.png b/public/favicons/apple-touch-icon-180x180.png index f484634..5c7a599 100644 Binary files a/public/favicons/apple-touch-icon-180x180.png and b/public/favicons/apple-touch-icon-180x180.png differ diff --git a/public/favicons/apple-touch-icon-57x57.png b/public/favicons/apple-touch-icon-57x57.png index 412e0c4..535c7e2 100644 Binary files a/public/favicons/apple-touch-icon-57x57.png and b/public/favicons/apple-touch-icon-57x57.png differ diff --git a/public/favicons/apple-touch-icon-60x60.png b/public/favicons/apple-touch-icon-60x60.png index eb29290..be6aed1 100644 Binary files a/public/favicons/apple-touch-icon-60x60.png and b/public/favicons/apple-touch-icon-60x60.png differ diff --git a/public/favicons/apple-touch-icon-72x72.png b/public/favicons/apple-touch-icon-72x72.png index 5cdb003..bbcd02d 100644 Binary files a/public/favicons/apple-touch-icon-72x72.png and b/public/favicons/apple-touch-icon-72x72.png differ diff --git a/public/favicons/apple-touch-icon-76x76.png b/public/favicons/apple-touch-icon-76x76.png index 7bccd2c..ad70c18 100644 Binary files a/public/favicons/apple-touch-icon-76x76.png and b/public/favicons/apple-touch-icon-76x76.png differ diff --git a/public/favicons/apple-touch-icon-precomposed.png b/public/favicons/apple-touch-icon-precomposed.png index f484634..5c7a599 100644 Binary files a/public/favicons/apple-touch-icon-precomposed.png and b/public/favicons/apple-touch-icon-precomposed.png differ diff --git a/public/favicons/apple-touch-icon.png b/public/favicons/apple-touch-icon.png index f484634..5c7a599 100644 Binary files a/public/favicons/apple-touch-icon.png and b/public/favicons/apple-touch-icon.png differ diff --git a/public/favicons/apple-touch-startup-image-1182x2208.png b/public/favicons/apple-touch-startup-image-1182x2208.png index d91e6c7..05dfc73 100644 Binary files a/public/favicons/apple-touch-startup-image-1182x2208.png and b/public/favicons/apple-touch-startup-image-1182x2208.png differ diff --git a/public/favicons/apple-touch-startup-image-1242x2148.png b/public/favicons/apple-touch-startup-image-1242x2148.png index 4ea5752..32d466d 100644 Binary files a/public/favicons/apple-touch-startup-image-1242x2148.png and b/public/favicons/apple-touch-startup-image-1242x2148.png differ diff --git a/public/favicons/apple-touch-startup-image-1496x2048.png b/public/favicons/apple-touch-startup-image-1496x2048.png index 00b3ed9..76d1660 100644 Binary files a/public/favicons/apple-touch-startup-image-1496x2048.png and b/public/favicons/apple-touch-startup-image-1496x2048.png differ diff --git a/public/favicons/apple-touch-startup-image-1536x2008.png b/public/favicons/apple-touch-startup-image-1536x2008.png index 3f0c217..7a72d62 100644 Binary files a/public/favicons/apple-touch-startup-image-1536x2008.png and b/public/favicons/apple-touch-startup-image-1536x2008.png differ diff --git a/public/favicons/apple-touch-startup-image-320x460.png b/public/favicons/apple-touch-startup-image-320x460.png index 6454ff1..0095f9f 100644 Binary files a/public/favicons/apple-touch-startup-image-320x460.png and b/public/favicons/apple-touch-startup-image-320x460.png differ diff --git a/public/favicons/apple-touch-startup-image-640x1096.png b/public/favicons/apple-touch-startup-image-640x1096.png index 46ad167..b3b52dd 100644 Binary files a/public/favicons/apple-touch-startup-image-640x1096.png and b/public/favicons/apple-touch-startup-image-640x1096.png differ diff --git a/public/favicons/apple-touch-startup-image-640x920.png b/public/favicons/apple-touch-startup-image-640x920.png index 8b1644a..e4760dc 100644 Binary files a/public/favicons/apple-touch-startup-image-640x920.png and b/public/favicons/apple-touch-startup-image-640x920.png differ diff --git a/public/favicons/apple-touch-startup-image-748x1024.png b/public/favicons/apple-touch-startup-image-748x1024.png index 1c4b1c7..096e522 100644 Binary files a/public/favicons/apple-touch-startup-image-748x1024.png and b/public/favicons/apple-touch-startup-image-748x1024.png differ diff --git a/public/favicons/apple-touch-startup-image-750x1294.png b/public/favicons/apple-touch-startup-image-750x1294.png index 82f22a4..1082d20 100644 Binary files a/public/favicons/apple-touch-startup-image-750x1294.png and b/public/favicons/apple-touch-startup-image-750x1294.png differ diff --git a/public/favicons/apple-touch-startup-image-768x1004.png b/public/favicons/apple-touch-startup-image-768x1004.png index 8ec6038..c50f769 100644 Binary files a/public/favicons/apple-touch-startup-image-768x1004.png and b/public/favicons/apple-touch-startup-image-768x1004.png differ diff --git a/public/favicons/coast-228x228.png b/public/favicons/coast-228x228.png index a22f917..c82b8c9 100644 Binary files a/public/favicons/coast-228x228.png and b/public/favicons/coast-228x228.png differ diff --git a/public/favicons/favicon-16x16.png b/public/favicons/favicon-16x16.png index d4b4213..8e3db58 100644 Binary files a/public/favicons/favicon-16x16.png and b/public/favicons/favicon-16x16.png differ diff --git a/public/favicons/favicon-230x230.png b/public/favicons/favicon-230x230.png index 4727625..74459a2 100644 Binary files a/public/favicons/favicon-230x230.png and b/public/favicons/favicon-230x230.png differ diff --git a/public/favicons/favicon-32x32.png b/public/favicons/favicon-32x32.png index 4446dba..795592c 100644 Binary files a/public/favicons/favicon-32x32.png and b/public/favicons/favicon-32x32.png differ diff --git a/public/favicons/favicon-96x96.png b/public/favicons/favicon-96x96.png index 063f2c3..a65f457 100644 Binary files a/public/favicons/favicon-96x96.png and b/public/favicons/favicon-96x96.png differ diff --git a/public/favicons/favicon.ico b/public/favicons/favicon.ico index d4b4213..8e3db58 100644 Binary files a/public/favicons/favicon.ico and b/public/favicons/favicon.ico differ diff --git a/public/favicons/firefox_app_128x128.png b/public/favicons/firefox_app_128x128.png index bd54a16..1f58aff 100644 Binary files a/public/favicons/firefox_app_128x128.png and b/public/favicons/firefox_app_128x128.png differ diff --git a/public/favicons/firefox_app_512x512.png b/public/favicons/firefox_app_512x512.png index 46379e3..894fff2 100644 Binary files a/public/favicons/firefox_app_512x512.png and b/public/favicons/firefox_app_512x512.png differ diff --git a/public/favicons/firefox_app_60x60.png b/public/favicons/firefox_app_60x60.png index a78db77..5fe0d0f 100644 Binary files a/public/favicons/firefox_app_60x60.png and b/public/favicons/firefox_app_60x60.png differ diff --git a/public/favicons/mstile-144x144.png b/public/favicons/mstile-144x144.png index 8510e61..e64261c 100644 Binary files a/public/favicons/mstile-144x144.png and b/public/favicons/mstile-144x144.png differ diff --git a/public/favicons/mstile-150x150.png b/public/favicons/mstile-150x150.png index b52111d..536bd76 100644 Binary files a/public/favicons/mstile-150x150.png and b/public/favicons/mstile-150x150.png differ diff --git a/public/favicons/mstile-310x150.png b/public/favicons/mstile-310x150.png index eaed1cb..a10805a 100644 Binary files a/public/favicons/mstile-310x150.png and b/public/favicons/mstile-310x150.png differ diff --git a/public/favicons/mstile-310x310.png b/public/favicons/mstile-310x310.png index 6e2a455..27a8c7b 100644 Binary files a/public/favicons/mstile-310x310.png and b/public/favicons/mstile-310x310.png differ diff --git a/public/favicons/mstile-70x70.png b/public/favicons/mstile-70x70.png index 1276b8d..9f4ddaf 100644 Binary files a/public/favicons/mstile-70x70.png and b/public/favicons/mstile-70x70.png differ diff --git a/public/favicons/open-graph.png b/public/favicons/open-graph.png index e13ed45..1e7d739 100644 Binary files a/public/favicons/open-graph.png and b/public/favicons/open-graph.png differ diff --git a/public/favicons/pegke-logo-old.png b/public/favicons/pegke-logo-old.png new file mode 100644 index 0000000..b27447f Binary files /dev/null and b/public/favicons/pegke-logo-old.png differ diff --git a/public/favicons/pegke-logo.png b/public/favicons/pegke-logo.png index b27447f..ec3f15b 100644 Binary files a/public/favicons/pegke-logo.png and b/public/favicons/pegke-logo.png differ diff --git a/public/favicons/twitter.png b/public/favicons/twitter.png index 5caec96..fed818e 100644 Binary files a/public/favicons/twitter.png and b/public/favicons/twitter.png differ diff --git a/public/favicons/yandex-browser-50x50.png b/public/favicons/yandex-browser-50x50.png index ec799cf..b8ebf51 100644 Binary files a/public/favicons/yandex-browser-50x50.png and b/public/favicons/yandex-browser-50x50.png differ diff --git a/public/js/head.core.alter.js b/public/js/head.core.alter.js new file mode 100644 index 0000000..e2ab506 --- /dev/null +++ b/public/js/head.core.alter.js @@ -0,0 +1,315 @@ +///#source 1 1 /src/1.0.0/core.js +/*! head.core - v1.0.2 */ +/* + * HeadJS The only script in your + * Author Tero Piirainen (tipiirai) + * Maintainer Robert Hoffmann (itechnology) + * License MIT / http://bit.ly/mit-license + * WebSite http://headjs.com + */ +(function(win, undefined) { + "use strict"; + + // gt, gte, lt, lte, eq breakpoints would have been more simple to write as ['gt','gte','lt','lte','eq'] + // but then we would have had to loop over the collection on each resize() event, + // a simple object with a direct access to true/false is therefore much more efficient + var doc = win.document, + nav = win.navigator, + loc = win.location, + html = doc.documentElement, + klass = [], + conf = { + screens : [240, 320, 480, 640, 768, 800, 1024, 1280, 1440, 1680, 1920], + screensCss: { "gt": true, "gte": false, "lt": true, "lte": false, "eq": false }, + browsers : [ + { ie: { min: 6, max: 11 } } + //,{ chrome : { min: 8, max: 33 } } + //,{ ff : { min: 3, max: 26 } } + //,{ ios : { min: 3, max: 7 } } + //,{ android: { min: 2, max: 4 } } + //,{ webkit : { min: 9, max: 12 } } + //,{ opera : { min: 9, max: 12 } } + ], + browserCss: { "gt": true, "gte": false, "lt": true, "lte": false, "eq": true }, + html5 : true, + page : "-page", + section : "-section", + head : "head" + }; + + if (win.head_conf) { + for (var item in win.head_conf) { + if (win.head_conf[item] !== undefined) { + conf[item] = win.head_conf[item]; + } + } + } + + function pushClass(name) { + klass[klass.length] = name; + } + + function removeClass(name) { + // need to test for both space and no space + // https://github.com/headjs/headjs/issues/270 + // https://github.com/headjs/headjs/issues/226 + var re = new RegExp(" ?\\b" + name + "\\b"); + html.className = html.className.replace(re, ""); + } + + function each(arr, fn) { + for (var i = 0, l = arr.length; i < l; i++) { + fn.call(arr, arr[i], i); + } + } + + // API + var api = win[conf.head] = function() { + api.ready.apply(null, arguments); + }; + + api.feature = function(key, enabled, queue) { + + // internal: apply all classes + if (!key) { + if(klass.indexOf("mobile") == -1) { + html.className += " " + klass.join(" "); + } else { + html.className += " mobile"; + } + klass = []; + return api; + } + + if (Object.prototype.toString.call(enabled) === "[object Function]") { + enabled = enabled.call(); + } + + pushClass((enabled ? "" : "no-") + key); + api[key] = !!enabled; + + // apply class to HTML element + if (!queue) { + removeClass("no-" + key); + removeClass(key); + api.feature(); + } + + return api; + }; + + // no queue here, so we can remove any eventual pre-existing no-js class + api.feature("js", true); + + // browser type & version + var ua = nav.userAgent.toLowerCase(), + mobile = /mobile|android|kindle|silk|midp|phone|(windows .+arm|touch)/.test(ua); + + // useful for enabling/disabling feature (we can consider a desktop navigator to have more cpu/gpu power) + api.feature("mobile" , mobile , true); + api.feature("desktop", !mobile, true); + + // http://www.zytrax.com/tech/web/browser_ids.htm + // http://www.zytrax.com/tech/web/mobile_ids.html + ua = /(chrome|firefox)[ \/]([\w.]+)/.exec(ua) || // Chrome & Firefox + /(iphone|ipad|ipod)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || // Mobile IOS + /(android)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || // Mobile Webkit + /(webkit|opera)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || // Safari & Opera + /(msie) ([\w.]+)/.exec(ua) || + /(trident).+rv:(\w.)+/.exec(ua) || []; + + var browser = ua[1], + version = parseFloat(ua[2]); + + switch (browser) { + case "msie": + case "trident": + browser = "ie"; + version = doc.documentMode || version; + break; + + case "firefox": + browser = "ff"; + break; + + case "ipod": + case "ipad": + case "iphone": + browser = "ios"; + break; + + case "webkit": + browser = "safari"; + break; + } + + // Browser vendor and version + api.browser = { + name: browser, + version: version + }; + api.browser[browser] = true; + + for (var i = 0, l = conf.browsers.length; i < l; i++) { + for (var key in conf.browsers[i]) { + if (browser === key) { + pushClass(key); + + var min = conf.browsers[i][key].min; + var max = conf.browsers[i][key].max; + + for (var v = min; v <= max; v++) { + if (version > v) { + if (conf.browserCss.gt) { + pushClass("gt-" + key + v); + } + + if (conf.browserCss.gte) { + pushClass("gte-" + key + v); + } + } else if (version < v) { + if (conf.browserCss.lt) { + pushClass("lt-" + key + v); + } + + if (conf.browserCss.lte) { + pushClass("lte-" + key + v); + } + } else if (version === v) { + if (conf.browserCss.lte) { + pushClass("lte-" + key + v); + } + + if (conf.browserCss.eq) { + pushClass("eq-" + key + v); + } + + if (conf.browserCss.gte) { + pushClass("gte-" + key + v); + } + } + } + } else { + pushClass("no-" + key); + } + } + } + + pushClass(browser); + pushClass(browser + parseInt(version, 10)); + + // IE lt9 specific + if (conf.html5 && browser === "ie" && version < 9) { + // HTML5 support : you still need to add html5 css initialization styles to your site + // See: assets/html5.css + each("abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|progress|section|summary|time|video".split("|"), function(el) { + doc.createElement(el); + }); + } + + // CSS "router" + each(loc.pathname.split("/"), function(el, i) { + if (this.length > 2 && this[i + 1] !== undefined) { + if (i) { + pushClass(this.slice(i, i + 1).join("-").toLowerCase() + conf.section); + } + } else { + // pageId + var id = el || "index", index = id.indexOf("."); + if (index > 0) { + id = id.substring(0, index); + } + + html.id = id.toLowerCase() + conf.page; + + // on root? + if (!i) { + pushClass("root" + conf.section); + } + } + }); + + // basic screen info + api.screen = { + height: win.screen.height, + width : win.screen.width + }; + + // viewport resolutions: w-100, lt-480, lt-1024 ... + function screenSize() { + // remove earlier sizes + html.className = html.className.replace(/ (w-|eq-|gt-|gte-|lt-|lte-|portrait|no-portrait|landscape|no-landscape)\d+/g, ""); + + // Viewport width + var iw = win.innerWidth || html.clientWidth, + ow = win.outerWidth || win.screen.width; + + api.screen.innerWidth = iw; + api.screen.outerWidth = ow; + + // for debugging purposes, not really useful for anything else + pushClass("w-" + iw); + + each(conf.screens, function(width) { + if (iw > width) { + if (conf.screensCss.gt) { + pushClass("gt-" + width); + } + + if (conf.screensCss.gte) { + pushClass("gte-" + width); + } + } else if (iw < width) { + if (conf.screensCss.lt) { + pushClass("lt-" + width); + } + + if (conf.screensCss.lte) { + pushClass("lte-" + width); + } + } else if (iw === width) { + if (conf.screensCss.lte) { + pushClass("lte-" + width); + } + + if (conf.screensCss.eq) { + pushClass("e-q" + width); + } + + if (conf.screensCss.gte) { + pushClass("gte-" + width); + } + } + }); + + // Viewport height + var ih = win.innerHeight || html.clientHeight, + oh = win.outerHeight || win.screen.height; + + api.screen.innerHeight = ih; + api.screen.outerHeight = oh; + + // no need for onChange event to detect this + api.feature("portrait" , (ih > iw)); + api.feature("landscape", (ih < iw)); + } + + screenSize(); + + // Throttle navigators from triggering too many resize events + var resizeId = 0; + + function onResize() { + win.clearTimeout(resizeId); + resizeId = win.setTimeout(screenSize, 50); + } + + // Manually attach, as to not overwrite existing handler + if (win.addEventListener) { + win.addEventListener("resize", onResize, false); + + } else { + // IE8 and less + win.attachEvent("onresize", onResize); + } +}(window)); diff --git a/public/js/head.min.js b/public/js/head.min.js new file mode 100644 index 0000000..283c46e --- /dev/null +++ b/public/js/head.min.js @@ -0,0 +1 @@ +!function(e,t){"use strict";function n(e){d[d.length]=e}function r(e){var t=new RegExp(" ?\\b"+e+"\\b");u.className=u.className.replace(t,"")}function a(e,t){for(var n=0,r=e.length;r>n;n++)t.call(e,e[n],n)}function o(){u.className=u.className.replace(/ (w-|eq-|gt-|gte-|lt-|lte-|portrait|no-portrait|landscape|no-landscape)\d+/g,"");var t=e.innerWidth||u.clientWidth,r=e.outerWidth||e.screen.width;h.screen.innerWidth=t,h.screen.outerWidth=r,n("w-"+t),a(f.screens,function(e){t>e?(f.screensCss.gt&&n("gt-"+e),f.screensCss.gte&&n("gte-"+e)):e>t?(f.screensCss.lt&&n("lt-"+e),f.screensCss.lte&&n("lte-"+e)):t===e&&(f.screensCss.lte&&n("lte-"+e),f.screensCss.eq&&n("e-q"+e),f.screensCss.gte&&n("gte-"+e))});var o=e.innerHeight||u.clientHeight,s=e.outerHeight||e.screen.height;h.screen.innerHeight=o,h.screen.outerHeight=s,h.feature("portrait",o>t),h.feature("landscape",t>o)}function s(){e.clearTimeout(x),x=e.setTimeout(o,50)}var i=e.document,c=e.navigator,l=e.location,u=i.documentElement,d=[],f={screens:[240,320,480,640,768,800,1024,1280,1440,1680,1920],screensCss:{gt:!0,gte:!1,lt:!0,lte:!1,eq:!1},browsers:[{ie:{min:6,max:11}}],browserCss:{gt:!0,gte:!1,lt:!0,lte:!1,eq:!0},html5:!0,page:"-page",section:"-section",head:"head"};if(e.head_conf)for(var m in e.head_conf)e.head_conf[m]!==t&&(f[m]=e.head_conf[m]);var h=e[f.head]=function(){h.ready.apply(null,arguments)};h.feature=function(e,t,a){return e?("[object Function]"===Object.prototype.toString.call(t)&&(t=t.call()),n((t?"":"no-")+e),h[e]=!!t,a||(r("no-"+e),r(e),h.feature()),h):(-1==d.indexOf("mobile")?u.className+=" "+d.join(" "):u.className+=" mobile",d=[],h)},h.feature("js",!0);var p=c.userAgent.toLowerCase(),v=/mobile|android|kindle|silk|midp|phone|(windows .+arm|touch)/.test(p);h.feature("mobile",v,!0),h.feature("desktop",!v,!0),p=/(chrome|firefox)[ \/]([\w.]+)/.exec(p)||/(iphone|ipad|ipod)(?:.*version)?[ \/]([\w.]+)/.exec(p)||/(android)(?:.*version)?[ \/]([\w.]+)/.exec(p)||/(webkit|opera)(?:.*version)?[ \/]([\w.]+)/.exec(p)||/(msie) ([\w.]+)/.exec(p)||/(trident).+rv:(\w.)+/.exec(p)||[];var g=p[1],y=parseFloat(p[2]);switch(g){case"msie":case"trident":g="ie",y=i.documentMode||y;break;case"firefox":g="ff";break;case"ipod":case"ipad":case"iphone":g="ios";break;case"webkit":g="safari"}h.browser={name:g,version:y},h.browser[g]=!0;for(var b=0,w=f.browsers.length;w>b;b++)for(var C in f.browsers[b])if(g===C){n(C);for(var E=f.browsers[b][C].min,T=f.browsers[b][C].max,L=E;T>=L;L++)y>L?(f.browserCss.gt&&n("gt-"+C+L),f.browserCss.gte&&n("gte-"+C+L)):L>y?(f.browserCss.lt&&n("lt-"+C+L),f.browserCss.lte&&n("lte-"+C+L)):y===L&&(f.browserCss.lte&&n("lte-"+C+L),f.browserCss.eq&&n("eq-"+C+L),f.browserCss.gte&&n("gte-"+C+L))}else n("no-"+C);n(g),n(g+parseInt(y,10)),f.html5&&"ie"===g&&9>y&&a("abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|progress|section|summary|time|video".split("|"),function(e){i.createElement(e)}),a(l.pathname.split("/"),function(e,r){if(this.length>2&&this[r+1]!==t)r&&n(this.slice(r,r+1).join("-").toLowerCase()+f.section);else{var a=e||"index",o=a.indexOf(".");o>0&&(a=a.substring(0,o)),u.id=a.toLowerCase()+f.page,r||n("root"+f.section)}}),h.screen={height:e.screen.height,width:e.screen.width},o();var x=0;e.addEventListener?e.addEventListener("resize",s,!1):e.attachEvent("onresize",s)}(window),function(e,t){"use strict";function n(){}function r(e,t){if(e){"object"==typeof e&&(e=[].slice.call(e));for(var n=0,r=e.length;r>n;n++)t.call(e,e[n],n)}}function a(e,n){var r=Object.prototype.toString.call(n).slice(8,-1);return n!==t&&null!==n&&r===e}function o(e){return a("Function",e)}function s(e){return a("Array",e)}function i(e){var t=e.split("/"),n=t[t.length-1],r=n.indexOf("?");return-1!==r?n.substring(0,r):n}function c(e){e=e||n,e._done||(e(),e._done=1)}function l(e,t,r,a){var o="object"==typeof e?e:{test:e,success:t?s(t)?t:[t]:!1,failure:r?s(r)?r:[r]:!1,callback:a||n},i=!!o.test;return i&&o.success?(o.success.push(o.callback),N.load.apply(null,o.success)):!i&&o.failure?(o.failure.push(o.callback),N.load.apply(null,o.failure)):a(),N}function u(e){var t={};if("object"==typeof e)for(var n in e)e[n]&&(t={name:n,url:e[n]});else t={name:i(e),url:e};var r=j[t.name];return r&&r.url===t.url?r:(j[t.name]=t,t)}function d(e){e=e||j;for(var t in e)if(e.hasOwnProperty(t)&&e[t].state!==M)return!1;return!0}function f(e){e.state=_,r(e.onpreload,function(e){e.call()})}function m(e,n){e.state===t&&(e.state=O,e.onpreload=[],y({url:e.url,type:"cache"},function(){f(e)}))}function h(){var e=arguments,t=e[e.length-1],n=[].slice.call(e,1),a=n[0];return o(t)||(t=null),s(e[0])?(e[0].push(t),N.load.apply(null,e[0]),N):(a?(r(n,function(e){!o(e)&&e&&m(u(e))}),v(u(e[0]),o(a)?a:function(){N.load.apply(null,n)})):v(u(e[0])),N)}function p(){var e=arguments,t=e[e.length-1],n={};return o(t)||(t=null),s(e[0])?(e[0].push(t),N.load.apply(null,e[0]),N):(r(e,function(e,r){e!==t&&(e=u(e),n[e.name]=e)}),r(e,function(e,r){e!==t&&(e=u(e),v(e,function(){d(n)&&c(t)}))}),N)}function v(e,t){return t=t||n,e.state===M?void t():e.state===q?void N.ready(e.name,t):e.state===O?void e.onpreload.push(function(){v(e,t)}):(e.state=q,void y(e,function(){e.state=M,t(),r(k[e.name],function(e){c(e)}),T&&d()&&r(k.ALL,function(e){c(e)})}))}function g(e){e=e||"";var t=e.split("?")[0].split(".");return t[t.length-1].toLowerCase()}function y(t,r){function a(t){t=t||e.event,i.onload=i.onreadystatechange=i.onerror=null,r()}function o(n){n=n||e.event,("load"===n.type||/loaded|complete/.test(i.readyState)&&(!L.documentMode||L.documentMode<9))&&(e.clearTimeout(t.errorTimeout),e.clearTimeout(t.cssTimeout),i.onload=i.onreadystatechange=i.onerror=null,r())}function s(){if(t.state!==M&&t.cssRetries<=20){for(var n=0,r=L.styleSheets.length;r>n;n++)if(L.styleSheets[n].href===i.href)return void o({type:"load"});t.cssRetries++,t.cssTimeout=e.setTimeout(s,250)}}r=r||n;var i,c=g(t.url);"css"===c?(i=L.createElement("link"),i.type="text/"+(t.type||"css"),i.rel="stylesheet",i.href=t.url,t.cssRetries=0,t.cssTimeout=e.setTimeout(s,500)):(i=L.createElement("script"),i.type="text/"+(t.type||"javascript"),i.src=t.url),i.onload=i.onreadystatechange=o,i.onerror=a,i.async=!1,i.defer=!1,t.errorTimeout=e.setTimeout(function(){a({type:"timeout"})},7e3);var l=L.head||L.getElementsByTagName("head")[0];l.insertBefore(i,l.lastChild)}function b(){for(var e=L.getElementsByTagName("script"),t=0,n=e.length;n>t;t++){var r=e[t].getAttribute("data-headjs-load");if(r)return void N.load(r)}}function w(e,t){if(e===L)return T?c(t):x.push(t),N;if(o(e)&&(t=e,e="ALL"),s(e)){var n={};return r(e,function(e){n[e]=j[e],N.ready(e,function(){d(n)&&c(t)})}),N}if("string"!=typeof e||!o(t))return N;var a=j[e];if(a&&a.state===M||"ALL"===e&&d()&&T)return c(t),N;var i=k[e];return i?i.push(t):i=k[e]=[t],N}function C(){return L.body?void(T||(T=!0,b(),r(x,function(e){c(e)}))):(e.clearTimeout(N.readyTimeout),void(N.readyTimeout=e.setTimeout(C,50)))}function E(){L.addEventListener?(L.removeEventListener("DOMContentLoaded",E,!1),C()):"complete"===L.readyState&&(L.detachEvent("onreadystatechange",E),C())}var T,L=e.document,x=[],k={},j={},S="async"in L.createElement("script")||"MozAppearance"in L.documentElement.style||e.opera,A=e.head_conf&&e.head_conf.head||"head",N=e[A]=e[A]||function(){N.ready.apply(null,arguments)},O=1,_=2,q=3,M=4;if("complete"===L.readyState)C();else if(L.addEventListener)L.addEventListener("DOMContentLoaded",E,!1),e.addEventListener("load",C,!1);else{L.attachEvent("onreadystatechange",E),e.attachEvent("onload",C);var H=!1;try{H=!e.frameElement&&L.documentElement}catch(W){}H&&H.doScroll&&!function R(){if(!T){try{H.doScroll("left")}catch(t){return e.clearTimeout(N.readyTimeout),void(N.readyTimeout=e.setTimeout(R,50))}C()}}()}N.load=N.js=S?p:h,N.test=l,N.ready=w,N.ready(L,function(){d()&&r(k.ALL,function(e){c(e)}),N.feature&&N.feature("domloaded",!0)})}(window); \ No newline at end of file diff --git a/public/js/jquery.ajaxchimp.js b/public/js/jquery.ajaxchimp.js deleted file mode 100644 index 7633eda..0000000 --- a/public/js/jquery.ajaxchimp.js +++ /dev/null @@ -1,244 +0,0 @@ -/*! -Mailchimp Ajax Submit -jQuery Plugin -Author: Siddharth Doshi - -Use: -=== -$('#form_id').ajaxChimp(options); - -- Form should have one element with attribute 'type=email' -- Error and success messages will be displayed in elements within the form - found by errorSelector, successSelector respectively -- The init function returns a deferred object onto which callbacks can be - attached similar to the jqXhr object returned by $.ajax (done/fail/always) -- All options are optional :). - -Options: -======= -options = { - language: 'en', - errorSelector: '.error-message', - successSelector: '.success-message', - url: 'http://blahblah.us1.list-manage.com/subscribe/post?u=5afsdhfuhdsiufdba6f8802&id=4djhfdsh99f', - token: 'anti-bot token from mailchimp form' -} - -Notes: -===== -To get the mailchimp JSONP url (undocumented), change 'post?' to 'post-json?' and add '&c=?' to the end. -For e.g. 'http://blahblah.us1.list-manage.com/subscribe/post-json?u=5afsdhfuhdsiufdba6f8802&id=4djhfdsh99f&c=?', -*/ - -;(function (factory) { - if (typeof define === 'function' && define.amd) { - define(['jquery'], factory); - } else if (typeof exports === 'object') { - module.exports = factory(require('jquery')); - } else { - factory(jQuery); - } -}(function ($) { - 'use strict'; - - $.ajaxChimp = { - regexPatterns: { - success: /Please confirm by clicking on the link we just sent to (.+@.+)/, - submit: /Submitting.../, - error: { - 1: /Please enter a value/, - 2: /An email address must contain a single @/, - 3: /The domain portion of the email address is invalid \(the portion after the @: (.+)\)/, - 4: /The username portion of the email address is invalid \(the portion before the @: (.+)\)/, - 5: /This email address looks fake or invalid. Please enter a real email address/, - 6: /.+\#6592.+/, - 7: /(.+@.+) is already subscribed to list (.+)\..+', { - style: 'position: absolute; left: -5000px;', - }); - tokenDiv.append($('', { - type: 'text', - name: settings.token, - tabindex: '-1', - value: '' - })); - form.append(tokenDiv); - } else { - tokenInput.attr('name', settings.token); - } - } - - // Add hidden submit element if none present - if (form.find('input[type="submit"]').length === 0) { - var submitInput = $('', { - type: 'submit', - style: 'display: none;', - }); - form.append(submitInput); - } - - var error_div = form.find(settings.errorSelector); - var success_div = form.find(settings.successSelector); - - // Convert url to jsonp url - var url = settings.url.replace('/post?', '/post-json?').concat('&c=?'); - - form.on('submit', function (event) { - event.preventDefault(); - - var msg; - var request_data = {}; - $.each(form.serializeArray(), function (index, item) { - request_data[item.name] = item.value; - }); - - $.ajax({ - url: url, - data: request_data, - dataType: 'jsonp' - }).done(function (data, textStatus, jqXHR) { - if (data.result === 'success') { - email.removeClass('error').addClass('valid'); - if (success_div.length !== 0) { - msg = $.ajaxChimp.getTranslation( - ($.ajaxChimp.successMessage + request_data.EMAIL), - settings.language, - 'success' - ); - error_div.text('').hide(); - success_div.text(msg).show(500); - } - } else{ - email.removeClass('valid').addClass('error'); - if (error_div.length !== 0) { - try { - var parts = data.msg.split(' - ', 2); - if (parts[1] === undefined) { - msg = data.msg; - } else { - msg = parts[1]; - } - } - catch (e) { - msg = data.msg; - } - msg = $.ajaxChimp.getTranslation(msg, settings.language, 'error'); - success_div.text('').hide(); - error_div.text(msg).show(500); - } - } - deferred.resolve(data, textStatus, jqXHR, form); - }).fail(function (jqXHR, textStatus, errorThrown) { - deferred.reject(jqXHR, textStatus, errorThrown, form); - }); - - // Display submit message - email.removeClass('valid error'); - if (success_div.length !== 0) { - var submitMsg = $.ajaxChimp.getTranslation( - $.ajaxChimp.submitMessage, - settings.language, - 'submit' - ); - error_div.text('').hide(); - success_div.text(submitMsg).show(500); - } - }); - return deferred; - }); - if (deferreds.length === 1){ - return deferreds[0]; - } - return deferreds; - }; -})); diff --git a/terms.md b/terms.md index da3945a..28686cd 100644 --- a/terms.md +++ b/terms.md @@ -3,3 +3,5 @@ layout: page title: Terms of Service permalink: /terms/ --- + +Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.