Skip to content

Commit

Permalink
Merge pull request #2 from maulikvora/master
Browse files Browse the repository at this point in the history
FLASH specific design changes
  • Loading branch information
deecrypt authored Jun 6, 2018
2 parents eba482c + e5e3509 commit a113c23
Show file tree
Hide file tree
Showing 12 changed files with 11,430 additions and 756 deletions.
520 changes: 520 additions & 0 deletions css/main.css

Large diffs are not rendered by default.

Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/Roboto-Medium.ttf
Binary file not shown.
Binary file added fonts/Roboto-Medium.woff
Binary file not shown.
Binary file added fonts/Roboto-Regular.ttf
Binary file not shown.
Binary file added fonts/Roboto-Regular.woff
Binary file not shown.
Binary file added images/ico-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/paper_wallet_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,223 changes: 467 additions & 756 deletions index.html

Large diffs are not rendered by default.

10,364 changes: 10,364 additions & 0 deletions js/jquery.js

Large diffs are not rendered by default.

79 changes: 79 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
jQuery(function($) {'use strict';

$('a.navbar-brand').on('click', function(){
var domain = window.location.origin;
if (domain == 'http://localhost') {
domain = domain + '/flashcoin';
}
window.location.href = domain;
});

$('.nav ul li a').hover(function() {
$('.sub-menu').removeClass('submenuhide');
});
$('.parrent_li a').on('click', function(){
$('.sub-menu').removeClass('submenuhide');
});
$('.sub-menu a').on('click', function(){
$('.sub-menu').addClass('submenuhide');
});
$('.nav ul li a').on('click', function() {
var currenturl = document.URL;
var pagename = currenturl.substr(currenturl.lastIndexOf('/') + 1);
var hashtag = $(this).attr('data-hash');
if (pagename.indexOf('.html') > -1) {
sessionStorage.setItem("pageelement", hashtag);
var domain = window.location.origin;
if (domain == 'http://localhost') {
domain = domain + '/flashcoin/';
}
window.location.href = domain+'#'+hashtag;
} else {
var headerh = $('header.header').height();
$('html, body').animate({scrollTop: $('#'+hashtag).offset().top - headerh }, 1000);
}
});

$('a.pagelink').on('click', function() {
var hashtag = $(this).attr('data-hash');
sessionStorage.setItem("pageelement", hashtag);
});

// AOS.init({
// easing: 'ease-out-back',
// duration: 1000
// });

//Initiat WOW JS
// new WOW().init();

});

$(document).ready(function() {
var pageelement = sessionStorage.getItem("pageelement");
sessionStorage.removeItem("pageelement");
if (pageelement != null) {
var headerh = $('header.header').height();
$('html, body').animate({scrollTop: $('#'+pageelement).offset().top - headerh}, 1000);
}
var currenturl = document.URL;
var pagename = currenturl.substr(currenturl.lastIndexOf('/') + 1);
var hashtag = $(this).attr('data-hash');
if (pagename.indexOf('.html') > -1) {
$('header.header').addClass('our-team-header');
}
});

$(window).scroll(function() {
var scroll = $(window).scrollTop();

if (scroll >= 50) {
$("header").addClass("darkHeader");
} else {
$("header").removeClass("darkHeader");
}
});

$(document).on("click", ".notext", function(event) {
$("body").toggleClass("header-expanded");
})
Binary file modified logos/flashcoin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a113c23

Please sign in to comment.