diff --git a/_config.yml b/_config.yml index e855b85..adedc90 100644 --- a/_config.yml +++ b/_config.yml @@ -11,6 +11,7 @@ email: cla: troy@ascribe.io twitter: BigchainDB +facebook: BigchainDB disqus: bigchain address: diff --git a/_src/_assets/images/hero-video-poster.jpg b/_src/_assets/images/hero-video-poster.jpg deleted file mode 100644 index bed2925..0000000 Binary files a/_src/_assets/images/hero-video-poster.jpg and /dev/null differ diff --git a/_src/_assets/images/northern-lights-poster.jpg b/_src/_assets/images/northern-lights-poster.jpg new file mode 100644 index 0000000..b54d56b Binary files /dev/null and b/_src/_assets/images/northern-lights-poster.jpg differ diff --git a/_src/_assets/styles/bigchain/_hero.scss b/_src/_assets/styles/bigchain/_hero.scss index 4a83f9d..f75686b 100644 --- a/_src/_assets/styles/bigchain/_hero.scss +++ b/_src/_assets/styles/bigchain/_hero.scss @@ -8,6 +8,7 @@ $menu-height-md: 73px; .hero { @extend .background--photo; + background-image: url('/assets/img/northern-lights-poster.jpg'); text-align: center; overflow: hidden; position: relative; @@ -96,13 +97,12 @@ $menu-height-md: 73px; // Video hero // .hero-video { - // poster image - background: $brand-main-blue-dark url('../img/hero-video-poster.jpg') no-repeat center center; - background-size: cover; + } .hero-video .menu, -.hero-video__content { +.hero-video__content, +.hero-video__video { @media ($screen-md) { position: absolute; left: 0; @@ -112,8 +112,9 @@ $menu-height-md: 73px; } .hero-video__content { + @media ($screen-md) { - z-index: 1; + z-index: 3 !important; bottom: 0; display: flex; flex-wrap: wrap; @@ -123,14 +124,36 @@ $menu-height-md: 73px; // video container .hero-video__background { - z-index: 0; + @extend .color-overlay; + display: none; @media ($screen-md) { + display: block; + margin-bottom: -9px; max-height: 100vh; + + &:before { z-index: 2; } } } // the video itself -.hero-video__video { +.hero-video__video, +.hero-video__poster { @extend .img--responsive; } + +.hero-video__video { + @extend .transition; + opacity: 0; + margin: auto; + width: 100%; + + &.enabled { + opacity: 1 + } +} + +.hero-video__poster { + display: block; + opacity: 0; +} diff --git a/_src/_assets/styles/bigchain/_sections.scss b/_src/_assets/styles/bigchain/_sections.scss index 5b99dee..c8714af 100644 --- a/_src/_assets/styles/bigchain/_sections.scss +++ b/_src/_assets/styles/bigchain/_sections.scss @@ -55,6 +55,7 @@ .section-description { font-size: $font-size-lg; + line-height: $line-height-lg; margin-bottom: 0; + .section-description { diff --git a/_src/_data/menus.yml b/_src/_data/menus.yml index ea5cd7c..fa0ed62 100644 --- a/_src/_data/menus.yml +++ b/_src/_data/menus.yml @@ -13,6 +13,6 @@ footer: - title: Contact url: /contact/ - title: Terms - url: /tos/ + url: /terms/ - title: Privacy url: /privacy/ diff --git a/_src/_includes/hero-video.html b/_src/_includes/hero-video.html index 63535e1..08a4300 100644 --- a/_src/_includes/hero-video.html +++ b/_src/_includes/hero-video.html @@ -3,7 +3,6 @@ {% include menu-main.html %}
BigchainDB allows enterprises to deploy blockchains at scale, formerly a limiting factor in getting sandbox proof-of-concepts into production systems.
Just clone and run