diff --git a/src/assets/img/sparx.svg b/src/assets/img/sparks/01.svg similarity index 100% rename from src/assets/img/sparx.svg rename to src/assets/img/sparks/01.svg diff --git a/src/assets/img/sparks/02.svg b/src/assets/img/sparks/02.svg new file mode 100644 index 0000000..03fdf8a --- /dev/null +++ b/src/assets/img/sparks/02.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/sparks/03.svg b/src/assets/img/sparks/03.svg new file mode 100644 index 0000000..9f67c8a --- /dev/null +++ b/src/assets/img/sparks/03.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/sparks/04.svg b/src/assets/img/sparks/04.svg new file mode 100644 index 0000000..2d669c9 --- /dev/null +++ b/src/assets/img/sparks/04.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/sparks/05.svg b/src/assets/img/sparks/05.svg new file mode 100644 index 0000000..0fb888c --- /dev/null +++ b/src/assets/img/sparks/05.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/sparks/06.svg b/src/assets/img/sparks/06.svg new file mode 100644 index 0000000..d2fc95f --- /dev/null +++ b/src/assets/img/sparks/06.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/js/bootstrap.engine.dev.js b/src/assets/js/bootstrap.engine.dev.js index e39c5d8..c75ddd5 100644 --- a/src/assets/js/bootstrap.engine.dev.js +++ b/src/assets/js/bootstrap.engine.dev.js @@ -46,6 +46,16 @@ $(document).ready(function(){ }); }); $( "#clickme-trigger" ).click(function() { + + var arr = [ + "/assets/img/sparks/01.svg", + "/assets/img/sparks/02.svg", + "/assets/img/sparks/03.svg", + "/assets/img/sparks/04.svg", + "/assets/img/sparks/05.svg", + "/assets/img/sparks/06.svg"]; + var rand = Math.floor(Math.random() * arr.length); + $('#aenimka-the-unicorn').attr('src', arr[rand]); $('.aenimka-the-unicorn').removeClass("hidden"); $('.aenimka-the-unicorn').addClass('animated zoomIn'); $('.aenimka-the-unicorn').animateCSS('zoomIn', 2000, function() { @@ -57,7 +67,6 @@ $(document).ready(function(){ $('.aenimka-the-unicorn').removeClass("animated"); $('.aenimka-the-unicorn').removeClass("zoomOut"); $('.aenimka-the-unicorn').removeClass("zoomIn"); - window.open('https://github.com/AEnimka', '_blank').focus(); }); }); }); diff --git a/src/index.html b/src/index.html index a9c2d5d..94afefc 100644 --- a/src/index.html +++ b/src/index.html @@ -171,12 +171,12 @@ - + @@ -227,10 +227,10 @@
- English translaion — AEnimka. + English translaion — AEnimka 🦄.
- Russian translaion — STAM, AurZum. + Russian translaion — STAM, AurZum.