diff --git a/_src/_assets/javascripts/page-front.js b/_src/_assets/javascripts/page-front.js
index 4e8e122..a18eac4 100644
--- a/_src/_assets/javascripts/page-front.js
+++ b/_src/_assets/javascripts/page-front.js
@@ -1,2 +1,19 @@
//=include bigchain/smoothscroll.js
+//=include ../../../node_modules/vivus/dist/vivus.js
+
+
+jQuery(function($) {
+
+ // graph animation
+ var iconOptions = {
+ type: 'delayed',
+ start: 'inViewport',
+ duration: 200,
+ animTimingFunction: Vivus.EASE_OUT,
+ selfDestroy: true
+ };
+
+ new Vivus('bigchain-graph', iconOptions);
+
+});
diff --git a/_src/_assets/styles/page-front.scss b/_src/_assets/styles/page-front.scss
index fca17cb..b7d77a9 100644
--- a/_src/_assets/styles/page-front.scss
+++ b/_src/_assets/styles/page-front.scss
@@ -5,12 +5,6 @@
//
.section-features {
-
- figure {
- display: block;
- margin-bottom: ($spacer * 2);
- }
-
.icon {
display: block;
margin: auto;
@@ -18,6 +12,23 @@
}
}
+.graph-bigchain {
+ display: block;
+ margin-bottom: ($spacer * 2);
+
+
+}
+
+// the SVG
+#bigchain-graph {
+ @media ($screen-md) {
+ margin-left: -10%;
+ margin-right: -10%;
+ width: 120%;
+ }
+
+}
+
.section-features__main {
@extend .text-center;
margin-top: $spacer;
diff --git a/_src/_includes/scripts.html b/_src/_includes/scripts.html
index 157a49f..b6ddf62 100644
--- a/_src/_includes/scripts.html
+++ b/_src/_includes/scripts.html
@@ -9,6 +9,8 @@
{% if page.js %}
+{% elsif layout.js %}
+
{% endif %}