diff --git a/README.md b/README.md index 1e91bd4..afe80a0 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,9 @@ --- -## Table of Contents - * [Development](#development) - * [Install dependencies](#install-dependencies) - * [Development build](#development-build) + * [Prerequisites](#prerequisites) + * [Get up and running](#get-up-and-running) * [Continuous deployment: always be shipping](#continuous-deployment-always-be-shipping) * [Manual deployment](#manual-deployment) * [Prerequisite: authentication](#prerequisite-authentication) @@ -34,35 +32,45 @@ ## Development +The whole website is a Jekyll based site with a Gulp-based build pipeline in front of it. + +### Prerequisites + You need to have the following tools installed on your development machine before moving on: -- [node.js](http://nodejs.org/) & [npm](https://npmjs.org/) -- (optional) use [Yarn](https://yarnpkg.com) instead of npm for faster dependency installations +- [Node.js](http://nodejs.org/) & [npm](https://npmjs.org/) - [Ruby](https://www.ruby-lang.org) (for sanity, install with [rvm](https://rvm.io/)) - [Bundler](http://bundler.io/) -### Install dependencies +### Get up and running -Run the following command from the repository's root folder to install all dependencies. +Run the following command from the repository's root folder to clone this repository, install all dependencies, and spin up local dev server reachable under [http://localhost:1337](http://localhost:1337): ```bash +git clone git@github.com:bigchaindb/site.git +cd site/ npm i && bundle install -``` -or - -```bash -yarn && bundle install -``` - -### Development build - -Spin up local dev server and livereloading watch task, reachable under [http://localhost:1337](http://localhost:1337): - -```bash +# development build and dev server gulp ``` +Additionally, you can execute those commands to test the actual build output: + +```bash +# full production build +gulp build --production + +# build preventing search engine indexing & Google Analytics tracking +gulp build --staging +``` + +All builds are output into the `_dist/` folder. Use a tool like [serve](https://github.com/zeit/serve) to inspect a local build in your browser: + +```bash +serve -s _dist +``` + ## Continuous deployment: always be shipping ![shipping](https://cloud.githubusercontent.com/assets/90316/26559768/e21e9724-44b1-11e7-90cf-6ef6ebb06d09.gif) @@ -159,6 +167,7 @@ New js should follow [eslint-config-ascribe](https://github.com/ascribe/javascri ## Authors - Matthias Kretschmann ([@kremalicious](https://github.com/kremalicious)) - [BigchainDB](https://www.bigchaindb.com) & [Ocean Protocol](https://oceanprotocol.com) +- [All the contributors](https://github.com/bigchaindb/site/graphs/contributors) ## License diff --git a/_aws/routing-rules.xml b/_aws/routing-rules.xml index f9b21bc..1e5237c 100644 --- a/_aws/routing-rules.xml +++ b/_aws/routing-rules.xml @@ -15,4 +15,64 @@ whitepaper/ + + + usecases/ + 404 + + + features/#usecases + 301 + + + + + getstarted/ + 404 + + + developers/getstarted/ + 301 + + + + + developers/ + 404 + + + developers/getstarted/ + 301 + + + + + guides/ + 404 + + + developers/guide/ + 301 + + + + + enterprise/ + 404 + + + services/ + 301 + + + + + faq/ + 404 + + + docs.bigchaindb.com + 302 + + diff --git a/_config.yml b/_config.yml index f987062..7f28344 100644 --- a/_config.yml +++ b/_config.yml @@ -15,8 +15,8 @@ email: contact_cc: "kamal@bigchaindb.com,ricardo@bigchaindb.com,gautam@bigchaindb.com" cla: troy@ascribe.io cla_cc: sylvain@bigchaindb.com - enterprise: ikytz6br@robot.zapier.com - enterprise_cc: "kamal@bigchaindb.com,ricardo@bigchaindb.com,gautam@bigchaindb.com" + services: ikytz6br@robot.zapier.com + services_cc: "kamal@bigchaindb.com,ricardo@bigchaindb.com,gautam@bigchaindb.com" social: gitter: @@ -51,7 +51,7 @@ social: address: company: BigchainDB GmbH street: Chausseestraße 19 - zip: 10115 + zip: "10115" city: Berlin country: Germany @@ -90,18 +90,18 @@ collections: partners: output: true permalink: /:collection/:path/ - guides: + guide: output: true - permalink: /:collection/:path/ + permalink: /developers/:collection/:path/ defaults: - scope: path: "" - type: guides + type: guide values: toc: true - image: share-image-guides.png - js: page-guides.min.js + image: share-image-guide.png + js: page-guide.min.js # Plugins # -------------------- diff --git a/_src/_assets/images/hero-enterprise.jpg b/_src/_assets/images/hero-services.jpg similarity index 100% rename from _src/_assets/images/hero-enterprise.jpg rename to _src/_assets/images/hero-services.jpg diff --git a/_src/_assets/images/icon-arrowout.svg b/_src/_assets/images/icon-arrowout.svg new file mode 100644 index 0000000..14f6a5a --- /dev/null +++ b/_src/_assets/images/icon-arrowout.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/_src/_assets/images/icon-caret.svg b/_src/_assets/images/icon-caret.svg index a133e61..a5119f9 100644 --- a/_src/_assets/images/icon-caret.svg +++ b/_src/_assets/images/icon-caret.svg @@ -1,14 +1,3 @@ - - - - - - - - + + diff --git a/_src/_assets/images/icon-hourglass.svg b/_src/_assets/images/icon-hourglass.svg new file mode 100644 index 0000000..e127afb --- /dev/null +++ b/_src/_assets/images/icon-hourglass.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/_src/_assets/images/icon-network.svg b/_src/_assets/images/icon-network.svg new file mode 100644 index 0000000..aa225c6 --- /dev/null +++ b/_src/_assets/images/icon-network.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/_src/_assets/images/icon-nodes.svg b/_src/_assets/images/icon-nodes.svg index 69561c4..539537d 100644 --- a/_src/_assets/images/icon-nodes.svg +++ b/_src/_assets/images/icon-nodes.svg @@ -1,8 +1,8 @@ + - diff --git a/_src/_assets/images/icon-triangle.svg b/_src/_assets/images/icon-triangle.svg new file mode 100644 index 0000000..437812d --- /dev/null +++ b/_src/_assets/images/icon-triangle.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/_src/_assets/images/logo-services.svg b/_src/_assets/images/logo-services.svg new file mode 100644 index 0000000..04e64c4 --- /dev/null +++ b/_src/_assets/images/logo-services.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/_src/_assets/images/share-image-enterprise.jpg b/_src/_assets/images/share-image-enterprise.jpg deleted file mode 100644 index ddf87af..0000000 Binary files a/_src/_assets/images/share-image-enterprise.jpg and /dev/null differ diff --git a/_src/_assets/images/share-image-getstarted.png b/_src/_assets/images/share-image-getstarted.png deleted file mode 100644 index d95d928..0000000 Binary files a/_src/_assets/images/share-image-getstarted.png and /dev/null differ diff --git a/_src/_assets/images/share-image-guides.png b/_src/_assets/images/share-image-guide.png similarity index 100% rename from _src/_assets/images/share-image-guides.png rename to _src/_assets/images/share-image-guide.png diff --git a/_src/_assets/images/share-image-services.png b/_src/_assets/images/share-image-services.png new file mode 100644 index 0000000..48e680b Binary files /dev/null and b/_src/_assets/images/share-image-services.png differ diff --git a/_src/_assets/images/share-image.jpg b/_src/_assets/images/share-image.jpg deleted file mode 100644 index 543e530..0000000 Binary files a/_src/_assets/images/share-image.jpg and /dev/null differ diff --git a/_src/_assets/images/share-image.png b/_src/_assets/images/share-image.png new file mode 100644 index 0000000..b3dbed2 Binary files /dev/null and b/_src/_assets/images/share-image.png differ diff --git a/_src/_assets/images/share-image@2x.jpg b/_src/_assets/images/share-image@2x.jpg deleted file mode 100644 index 8b2eeef..0000000 Binary files a/_src/_assets/images/share-image@2x.jpg and /dev/null differ diff --git a/_src/_assets/javascripts/bigchain.js b/_src/_assets/javascripts/bigchain.js index ebef934..b4c46d1 100644 --- a/_src/_assets/javascripts/bigchain.js +++ b/_src/_assets/javascripts/bigchain.js @@ -42,7 +42,7 @@ jQuery(function($) { // // Automatically add header links to all Markdown headings // - $('.content--page--markdown h1:not(#heading-1), .content--page--markdown h2:not(#heading-2), .faq__question').each(function(i, el) { + $('.content--page--markdown h1:not(#heading-1), .content--page--markdown h2:not(#heading-2)').each(function(i, el) { var $el, icon, id; $el = $(el); id = $el.attr('id'); diff --git a/_src/_assets/javascripts/bigchain/analytics.js b/_src/_assets/javascripts/bigchain/analytics.js index 4964435..3c4fa3d 100644 --- a/_src/_assets/javascripts/bigchain/analytics.js +++ b/_src/_assets/javascripts/bigchain/analytics.js @@ -159,12 +159,12 @@ var GoogleAnalytics = (function(w,d,$) { ga('send', 'event', 'cla', 'cla_form', 'error'); }, - // Enterprise form - gaEventEnterpriseSuccess: function() { - ga('send', 'event', 'enterprise', 'enterprise_form', 'success'); + // Services form + gaEventServicesSuccess: function() { + ga('send', 'event', 'services', 'services_form', 'success'); }, - gaEventEnterpriseError: function() { - ga('send', 'event', 'enterprise', 'enterprise_form', 'error'); + gaEventServicesError: function() { + ga('send', 'event', 'services', 'services_form', 'error'); } }; diff --git a/_src/_assets/javascripts/bigchain/dropdowns.js b/_src/_assets/javascripts/bigchain/dropdowns.js new file mode 100644 index 0000000..1724a8e --- /dev/null +++ b/_src/_assets/javascripts/bigchain/dropdowns.js @@ -0,0 +1,13 @@ +//=include popper.js/dist/umd/popper.js +//=include bootstrap/js/dist/util.js +//=include bootstrap/js/dist/dropdown.js + +$('body').on('mouseenter mouseleave', '.dropdown--hover', function(e) { + var _d = $(e.target).closest('.dropdown--hover') + + _d.addClass('show') + + setTimeout(function () { + _d[_d.is(':hover') ? 'addClass' : 'removeClass']('show') + }, 300) +}) diff --git a/_src/_assets/javascripts/bigchain/form-enterprise.js b/_src/_assets/javascripts/bigchain/form-services.js similarity index 81% rename from _src/_assets/javascripts/bigchain/form-enterprise.js rename to _src/_assets/javascripts/bigchain/form-services.js index 085b45c..b190bf0 100644 --- a/_src/_assets/javascripts/bigchain/form-enterprise.js +++ b/_src/_assets/javascripts/bigchain/form-services.js @@ -1,15 +1,15 @@ -var FormEnterprise = (function(w, d, $) { +var FormServices = (function(w, d, $) { 'use strict'; var app, _private, _config; _config = { - form: $('#form-enterprise'), - formBtn: $('#form-enterprise').find('.btn'), - formURL: $('#form-enterprise').attr('action'), - formMethod: $('#form-enterprise').attr('method') + form: $('#form-services'), + formBtn: $('#form-services').find('.btn'), + formURL: $('#form-services').attr('action'), + formMethod: $('#form-services').attr('method') }; _private = { @@ -35,7 +35,7 @@ var FormEnterprise = (function(w, d, $) { // send GA event if (!_dntEnabled()) { - GoogleAnalytics.gaEventEnterpriseSuccess(); + GoogleAnalytics.gaEventServicesSuccess(); } }, error: function(err) { @@ -46,7 +46,7 @@ var FormEnterprise = (function(w, d, $) { // send GA event if (!_dntEnabled()) { - GoogleAnalytics.gaEventEnterpriseError(); + GoogleAnalytics.gaEventServicesError(); } } }); diff --git a/_src/_assets/javascripts/bigchain/github.js b/_src/_assets/javascripts/bigchain/github.js index 36d4ecf..6efb41a 100644 --- a/_src/_assets/javascripts/bigchain/github.js +++ b/_src/_assets/javascripts/bigchain/github.js @@ -1,6 +1,3 @@ - -//include whatwg-fetch/fetch.js - document.addEventListener('DOMContentLoaded', function() { const url = 'https://bigchaindb-github.now.sh' @@ -13,9 +10,11 @@ document.addEventListener('DOMContentLoaded', function() { const repo = repos[0] const stars = repo.stars const release = repo.release + const releaseUrl = repo.release_url document.getElementById('stars').innerText = stars document.getElementById('stars').style.opacity = 1 + document.getElementById('release-link').href = releaseUrl document.getElementById('release').innerText = release document.getElementById('release').style.opacity = 1 } diff --git a/_src/_assets/javascripts/bigchain/meetup.js b/_src/_assets/javascripts/bigchain/meetup.js index 62075ce..4a4b154 100644 --- a/_src/_assets/javascripts/bigchain/meetup.js +++ b/_src/_assets/javascripts/bigchain/meetup.js @@ -1,5 +1,3 @@ -//require whatwg-fetch/fetch.js - document.addEventListener('DOMContentLoaded', function() { const url = 'https://bigchaindb-meetups.now.sh' diff --git a/_src/_assets/javascripts/page-enterprise.js b/_src/_assets/javascripts/page-enterprise.js deleted file mode 100644 index 37c25d6..0000000 --- a/_src/_assets/javascripts/page-enterprise.js +++ /dev/null @@ -1,6 +0,0 @@ -//=include bigchain/form-enterprise.js - -jQuery(function($) { - - FormEnterprise.init(); -}); diff --git a/_src/_assets/javascripts/page-front.js b/_src/_assets/javascripts/page-front.js index 43ca928..de5d9d2 100644 --- a/_src/_assets/javascripts/page-front.js +++ b/_src/_assets/javascripts/page-front.js @@ -1,10 +1,9 @@ - -//=include bigchain/testimonials.js +//=include bigchain/newsletter.js //=include bigchain/github.js //=include bigchain/meetup.js jQuery(function($) { - Testimonials.init(); + Newsletter.init() -}); +}) diff --git a/_src/_assets/javascripts/page-getstarted.js b/_src/_assets/javascripts/page-getstarted.js index cb30ccb..a17de4e 100644 --- a/_src/_assets/javascripts/page-getstarted.js +++ b/_src/_assets/javascripts/page-getstarted.js @@ -45,6 +45,31 @@ function stickyNav() { stickyNav() +// +// Test network version +// +function testNetworkVersion() { + const versionOutput = document.getElementById('network-version') + + fetch(bigchaindbUrl) + .then(function(response) { + return response.json() + }) + .then(function(data) { + const version = data.version + const titleOrig = versionOutput.getAttribute('title') + + versionOutput.innerText = version + versionOutput.setAttribute('title', titleOrig + version) + }) + .catch(function(error) { + console.log(error) + }) +} + +testNetworkVersion() + + // // BigchainDB transaction tool // diff --git a/_src/_assets/javascripts/page-guides.js b/_src/_assets/javascripts/page-guide.js similarity index 100% rename from _src/_assets/javascripts/page-guides.js rename to _src/_assets/javascripts/page-guide.js diff --git a/_src/_assets/javascripts/page-services.js b/_src/_assets/javascripts/page-services.js new file mode 100644 index 0000000..1d9de07 --- /dev/null +++ b/_src/_assets/javascripts/page-services.js @@ -0,0 +1,6 @@ +//=include bigchain/form-services.js + +jQuery(function($) { + + FormServices.init() +}) diff --git a/_src/_assets/javascripts/page-styleguide.js b/_src/_assets/javascripts/page-styleguide.js new file mode 100644 index 0000000..196ed9f --- /dev/null +++ b/_src/_assets/javascripts/page-styleguide.js @@ -0,0 +1 @@ +//=include bigchain/dropdowns.js diff --git a/_src/_assets/styles/_page-faq.scss b/_src/_assets/styles/_page-faq.scss deleted file mode 100644 index 8ed358f..0000000 --- a/_src/_assets/styles/_page-faq.scss +++ /dev/null @@ -1,14 +0,0 @@ -.faq { - padding-top: $spacer * 3; -} - -.faq__question { - font-size: $font-size-h4; -} - -.faq-contents__title { - font-size: $font-size-h5; - margin-top: $spacer / 2; - margin-bottom: $spacer / 2; - color: $brand-main-gray-lighter; -} diff --git a/_src/_assets/styles/_page-features.scss b/_src/_assets/styles/_page-features.scss index ae724e5..da436f3 100644 --- a/_src/_assets/styles/_page-features.scss +++ b/_src/_assets/styles/_page-features.scss @@ -1,3 +1,9 @@ +.page-features { + .section--getstarted { + background-color: $body-bg; + } +} + .feature { display: flex; margin-bottom: $spacer; @@ -7,7 +13,7 @@ .feature__icon { flex: 0 0 15%; - margin-right: 5%; + margin-right: 3%; margin-top: 2px; margin-bottom: 0; width: 3rem; @@ -15,7 +21,7 @@ } .feature__detail { - flex: 0 0 80%; + flex: 0 0 82%; } .feature__title { @@ -23,6 +29,8 @@ color: $brand-main-blue-light; margin-top: 0; margin-bottom: ($spacer / 3); + display: flex; + align-items: center; } .feature__text { @@ -35,17 +43,22 @@ padding: 1rem 0 0; } -.feature__title__comingsoon { - @extend .small; +.feature__title__comingsoon, +.feature__title__new { font-family: $headings-font-family; + font-size: $font-size-sm; color: $gray-light; background: $gray-dark; - display: inline-block; margin-left: ($spacer / 2); - padding: ($spacer / 4) ($spacer / 2); + padding: ($spacer / 6) ($spacer / 2); border-radius: 2px; - vertical-align: middle; + white-space: nowrap; +} + +.feature__title__new { + background: $brand-main-blue-light; + color: $brand-main-blue-dark; } .stacks__title { @@ -56,15 +69,6 @@ figcaption { margin: $spacer 0; } } -.section-usecases { - .grid { - // manually center last column - .grid__col:last-child { - margin: auto; - } - } -} - .table--comparison { td { text-align: center; @@ -90,5 +94,131 @@ .icon-check { stroke: $brand-primary; } + + // hide external icon + &:after { display: none !important; } // stylelint-disable-line + } +} + +.section-usecases { + > .row { + > .section-header { + margin-bottom: 0; + + > .section-description { // stylelint-disable-line selector-max-compound-selectors + margin-bottom: $spacer * 3; + padding-bottom: $spacer * 3; + border-bottom: 2px solid lighten($gray-dark, 10%); + } + } + } +} + +// +// Industry section +// +.section--industry { + &:first-child { + margin-top: $spacer * 4; + } + + .section-header { + margin-bottom: $spacer * 2; + + .icon { + width: 48px; + height: 48px; + margin-bottom: -($spacer / 3); + margin-right: $spacer / 2; + stroke-width: 2; + } + } + + .section-title, + .section-description { + text-align: left; + } + + .section-title { + @extend .h2; + margin-top: 0; + margin-bottom: $spacer * 2; + + &:after { + display: none; + } + } +} + +.featuredusecase { + border-top: 2px solid lighten($gray-dark, 10%); + padding-top: $spacer * 2; + margin-top: $spacer * 2; + + @media ($screen-sm) { + display: flex; + justify-content: space-between; + } +} + +.featuredusecase__logo { + box-shadow: none; + transition: .2s ease-out; + display: block; + + &:hover, + &:focus { + background: none; + + svg { + fill: $brand-main-green; + } + } + + @media ($screen-sm) { + flex: 0 0 20%; + order: 2; + margin-left: 5%; + } + + img, + svg { + width: 80px; + max-width: 80px; + max-height: 60px; + height: auto; + margin-bottom: $spacer / 2; + opacity: .6; + align-self: flex-start; // work around stretched images flexbox bug + fill: $brand-main-blue-light; + transition: .2s ease-out; + + @media ($screen-sm) { + width: 120px; + max-width: 120px; + max-height: 90px; + height: auto; + margin-bottom: 0; + } + } +} + +.featuredusecase__content { + flex: 0 0 75%; +} + +.featuredusecase__title { + @extend .h3; + margin-top: 0; + margin-bottom: $spacer; + + a { + color: $brand-main-green; + box-shadow: none; + + &:hover, + &:focus { + color: #fff; + } } } diff --git a/_src/_assets/styles/_page-front.scss b/_src/_assets/styles/_page-front.scss index cc9c8c2..c8abf50 100644 --- a/_src/_assets/styles/_page-front.scss +++ b/_src/_assets/styles/_page-front.scss @@ -17,8 +17,8 @@ margin-bottom: $spacer * 2; } - p:last-child { - margin-top: $spacer * 4; + .row:last-child > p:last-child { + margin-top: $spacer * 3; margin-bottom: 0; } } @@ -29,11 +29,15 @@ margin-top: $spacer; h3 { - @extend .h5; + @extend .h6; display: block; margin-bottom: 0; margin-top: 0; hyphens: auto; + + @media ($screen-sm) { + font-size: $font-size-h5; + } } sub { diff --git a/_src/_assets/styles/_page-getstarted.scss b/_src/_assets/styles/_page-getstarted.scss index 64c7c17..d59e7d7 100644 --- a/_src/_assets/styles/_page-getstarted.scss +++ b/_src/_assets/styles/_page-getstarted.scss @@ -141,7 +141,6 @@ height: 3rem; border-radius: 50%; font-size: $font-size-lg; - vertical-align: .4rem; background: $headings-color; color: $gray; font-weight: 400; @@ -152,6 +151,7 @@ span { display: inline-block; margin: 0; + vertical-align: .4rem; } } @@ -178,6 +178,7 @@ } } + // // All your star bases belong to us // @@ -272,6 +273,23 @@ } } +.choice__title__version { + font-size: $font-size-sm; + color: $gray-light; + font-family: $font-family-base; + font-weight: $font-weight-base; +} + +.choice__title--community { + text-align: center; + + &:after { + position: relative; + left: 50%; + margin-left: -1.5rem; + } +} + .architecture { text-align: center; diff --git a/_src/_assets/styles/_page-guides.scss b/_src/_assets/styles/_page-guide.scss similarity index 89% rename from _src/_assets/styles/_page-guides.scss rename to _src/_assets/styles/_page-guide.scss index d33970e..ad24f4a 100644 --- a/_src/_assets/styles/_page-guides.scss +++ b/_src/_assets/styles/_page-guide.scss @@ -1,4 +1,4 @@ -.header--guides { +.header--developersguide { background: url('../img/nosprite/starbase-guides.svg') no-repeat center bottom; background-size: contain; padding-bottom: 18%; @@ -103,14 +103,10 @@ display: block; box-shadow: none; background-color: $brand-main-blue-dark; - padding: $spacer * 1.5; + padding: $spacer * 2; height: 100%; border-radius: $border-radius; - @media ($screen-sm) { - padding: $spacer * 3; - } - &:before { opacity: .85; } @@ -130,17 +126,6 @@ .grid { margin-bottom: 0; } - - .section--guides &, - .section--guideslist & { - margin-bottom: $spacer * 2; - - a { - @media ($screen-sm) { - padding: $spacer * 4; - } - } - } } .guide__title, @@ -156,12 +141,33 @@ h1.guide__title { margin-bottom: $spacer / $line-height; margin-top: 0; color: #fff; + + .section--guides-more & { + font-size: $font-size-lg; + } } .guide__tagline { color: $brand-main-blue-light; } +.section--guideslist { + .guide { + margin-bottom: $spacer * 2; + + a { + padding: $spacer * 3; + } + } +} + +.section--guides, +.section--guides-more { + .grid { + margin-bottom: $spacer * 3; + } +} + // // TOC // @@ -212,20 +218,6 @@ li.toc-h3 { display: none; } -.section--getstarted { - padding-bottom: 0; - - .section-header { - margin-bottom: -($spacer * 3.5); - position: relative; - z-index: 10; - - .btn { - margin-top: $spacer * 2; - } - } -} - .image--create-transfer { max-width: calc(100% + 1rem) !important; //stylelint-disable-line declaration-no-important margin-left: -1rem; diff --git a/_src/_assets/styles/_page-enterprise.scss b/_src/_assets/styles/_page-services.scss similarity index 59% rename from _src/_assets/styles/_page-enterprise.scss rename to _src/_assets/styles/_page-services.scss index 3f39c08..c3bb0d2 100644 --- a/_src/_assets/styles/_page-enterprise.scss +++ b/_src/_assets/styles/_page-services.scss @@ -1,9 +1,9 @@ // -// Page: enterprise +// Page: Services // --- // bigchaindb.com // -.page-enterprise { +.page-services { // Different Features unit layout .feature { display: block; @@ -11,6 +11,7 @@ .feature__title { margin-bottom: $spacer; + display: block; // the bottom line &:after { @@ -22,10 +23,6 @@ } } - .feature__text { - opacity: .75; - } - .feature__icon { margin-top: 0; margin-bottom: $spacer / 6; @@ -34,65 +31,46 @@ } } -.hero--enterprise { - .logo-enterprise { +.hero--services { + .logo--services { + display: inline-block; + opacity: .75; + } + + .hero__subtitle { margin-bottom: $spacer * 2; + font-size: $font-size-h5; - .logo, - .logo-enterprise--text { - opacity: .5; - } - } - - .section-title { - .wf-active &, - .wf-inactive & { - animation-delay: .2s; - } - } - - .section-description { - margin-bottom: $spacer * 2; - - .wf-active &, - .wf-inactive & { - animation-delay: .4s; - } - } - - .hero__action { - .wf-active &, - .wf-inactive & { - animation-delay: .6s; + @media ($screen-sm) { + font-size: $font-size-h4; } } .hero__content { - margin-top: $spacer * 6; + margin-top: $spacer * 2; margin-bottom: $spacer * 6; } - @media ($screen-md) { - .section-title, - .section-description { - max-width: 66%; - margin-left: auto; - margin-right: auto; - } - } - .btn { - @extend .btn-secondary; min-width: 220px; - - &:first-of-type { - @extend .btn-primary; - margin-right: $spacer; - } } } -.section--enterpriseintro { +.section--servicesdetail { + .feature__icon { + stroke: darken($brand-main-violet, 30%); + color: $brand-main-green; + } + + .actions { + text-align: center; + margin-top: $spacer * 2; + padding-top: $spacer * 2; + border-top: 1px solid darken($brand-main-violet, 5%); + } +} + +.section--servicesintro { .grid, .feature { margin-bottom: 0; @@ -115,7 +93,7 @@ } } -.section--enterprisetestimonial { +.section--servicestestimonial { .testimonial { @extend .large; margin: 0 auto; @@ -132,16 +110,7 @@ } } -.section--enterprisesupport { - .actions { - text-align: center; - margin-top: $spacer * 2; - padding-top: $spacer * 2; - border-top: 1px solid darken($brand-main-green, 5%); - } -} - -.form--enterprise { +.form--services { background: darken($brand-main-blue, 5%); .grid { diff --git a/_src/_assets/styles/_page-styleguide.scss b/_src/_assets/styles/_page-styleguide.scss index c8debe6..9b86c74 100644 --- a/_src/_assets/styles/_page-styleguide.scss +++ b/_src/_assets/styles/_page-styleguide.scss @@ -13,11 +13,10 @@ // color swatches .color { - padding: ($spacer / 2); - margin-bottom: 5px; + padding: $spacer $spacer / 2; + margin-bottom: 0; border-radius: $border-radius; border: 1px solid lighten($body-bg, 10%); - min-height: 70px; text-align: center; &, @@ -28,7 +27,6 @@ font-family: $font-family-monospace; font-size: 11px; color: #fff; - vertical-align: middle; opacity: 0; } diff --git a/_src/_assets/styles/_page-usecases.scss b/_src/_assets/styles/_page-usecases.scss index 5bfac00..07af995 100644 --- a/_src/_assets/styles/_page-usecases.scss +++ b/_src/_assets/styles/_page-usecases.scss @@ -1,142 +1,3 @@ -.page-usecases { - .header { - background-position: bottom center; - } - - .section-header { - .icon { - stroke-width: 2; - } - } -} - -.section--intro { - .section-header { - margin-bottom: 0; - } - - .section-description { - margin-bottom: $spacer * 3; - padding-bottom: $spacer * 3; - border-bottom: 2px solid lighten($gray-dark, 10%); - } - - .grid { - margin-bottom: 0; - } -} - -// -// Industry section -// -.section--industry { - .section-header { - margin-bottom: $spacer * 2; - - .icon { - width: 48px; - height: 48px; - margin-bottom: $spacer / 2; - } - } - - .section-title, - .section-description { - text-align: left; - } - - .section-title { - @extend .h2; - margin-top: 0; - margin-bottom: $spacer * 2; - - &:after { - margin-left: 0; - } - } - - &:nth-child(even) { - @extend .background--darker; - - .featuredusecase { - border-top-color: lighten($gray-dark, 5%); - } - } -} - -.featuredusecase { - border-top: 2px solid lighten($gray-dark, 10%); - padding-top: $spacer * 2; - margin-top: $spacer * 2; - - @media ($screen-sm) { - display: flex; - justify-content: space-between; - } -} - -.featuredusecase__logo { - box-shadow: none; - transition: .2s ease-out; - display: block; - - &:hover, - &:focus { - background: none; - - svg { - fill: $brand-main-green; - } - } - - @media ($screen-sm) { - flex: 0 0 20%; - order: 2; - margin-left: 5%; - } - - img, - svg { - width: 80px; - max-width: 80px; - max-height: 60px; - height: auto; - margin-bottom: $spacer / 2; - opacity: .6; - align-self: flex-start; // work around stretched images flexbox bug - fill: $brand-main-blue-light; - transition: .2s ease-out; - - @media ($screen-sm) { - width: 120px; - max-width: 120px; - max-height: 90px; - height: auto; - margin-bottom: 0; - } - } -} - -.featuredusecase__content { - flex: 0 0 75%; -} - -.featuredusecase__title { - @extend .h3; - margin-top: 0; - margin-bottom: $spacer; - - a { - color: $brand-main-green; - box-shadow: none; - - &:hover, - &:focus { - color: #fff; - } - } -} - // // Single use case page // diff --git a/_src/_assets/styles/_sections.scss b/_src/_assets/styles/_sections.scss index ee7c9d6..25e5ddd 100644 --- a/_src/_assets/styles/_sections.scss +++ b/_src/_assets/styles/_sections.scss @@ -86,7 +86,7 @@ // Specific sections // @import '_sections/section-cta-whitepaper'; -@import '_sections/section-cta-community'; -@import '_sections/section-cta-enterprise'; +@import '_sections/section-cta-services'; @import '_sections/section-partners'; @import '_sections/section-blog'; +@import '_sections/section-getstarted'; diff --git a/_src/_assets/styles/_sections/_section-blog.scss b/_src/_assets/styles/_sections/_section-blog.scss index 3d9ba85..ac574a2 100644 --- a/_src/_assets/styles/_sections/_section-blog.scss +++ b/_src/_assets/styles/_sections/_section-blog.scss @@ -9,7 +9,7 @@ box-shadow: none; display: flex; align-items: center; - min-height: 7rem; + min-height: 8rem; &:hover, &:focus { @@ -22,7 +22,7 @@ .article__title, h1.article__title { - font-size: $font-size-h5; + font-size: $font-size-lg; font-weight: $font-weight-normal; margin: 0; color: #fff; diff --git a/_src/_assets/styles/_sections/_section-cta-community.scss b/_src/_assets/styles/_sections/_section-cta-community.scss deleted file mode 100644 index e4503fd..0000000 --- a/_src/_assets/styles/_sections/_section-cta-community.scss +++ /dev/null @@ -1,4 +0,0 @@ -.section-cta--community { - background-image: url('../img/photo2.jpg'); - background-position: center top; -} diff --git a/_src/_assets/styles/_sections/_section-cta-enterprise.scss b/_src/_assets/styles/_sections/_section-cta-enterprise.scss deleted file mode 100644 index a0541c4..0000000 --- a/_src/_assets/styles/_sections/_section-cta-enterprise.scss +++ /dev/null @@ -1,7 +0,0 @@ - -.section-cta--enterprise { - .logo-enterprise { - margin-bottom: $spacer; - transform: scale(.8); - } -} diff --git a/_src/_assets/styles/_sections/_section-cta-services.scss b/_src/_assets/styles/_sections/_section-cta-services.scss new file mode 100644 index 0000000..3f32838 --- /dev/null +++ b/_src/_assets/styles/_sections/_section-cta-services.scss @@ -0,0 +1,28 @@ + +.section-cta--services { + @media ($screen-md) { + padding-top: $spacer * 7; + padding-bottom: $spacer * 7; + } + + .logo--services { + margin-bottom: $spacer; + transform: scale(.8); + transform-origin: left; + color: darken($brand-main-violet, 25%); + fill: darken($brand-main-violet, 25%); + } + + .section-header { + margin-bottom: 0; + } + + .section-title { + text-align: left; + margin-bottom: $spacer * 2.5; + + &:after { + display: none; + } + } +} diff --git a/_src/_assets/styles/_sections/_section-getstarted.scss b/_src/_assets/styles/_sections/_section-getstarted.scss new file mode 100644 index 0000000..e98459d --- /dev/null +++ b/_src/_assets/styles/_sections/_section-getstarted.scss @@ -0,0 +1,13 @@ +.section--getstarted { + padding-bottom: 0; + + .section-header { + margin-bottom: -($spacer * 3.5); + position: relative; + z-index: 10; + + .btn { + margin-top: $spacer * 2; + } + } +} diff --git a/_src/_assets/styles/bigchain.scss b/_src/_assets/styles/bigchain.scss index 00d5a7f..9c2e4f2 100644 --- a/_src/_assets/styles/bigchain.scss +++ b/_src/_assets/styles/bigchain.scss @@ -36,6 +36,7 @@ @import 'bigchain/timeline'; @import 'bigchain/terminal'; @import 'bigchain/nyan'; +@import 'bigchain/dropdowns'; @import 'bigchain/utilities'; // Content types @@ -60,7 +61,6 @@ @import 'page-contact'; @import 'page-cla'; @import 'page-partners'; -@import 'page-enterprise'; -@import 'page-faq'; +@import 'page-services'; @import 'oceanprotocol'; -@import 'page-guides'; +@import 'page-guide'; diff --git a/_src/_assets/styles/bigchain/_content-page.scss b/_src/_assets/styles/bigchain/_content-page.scss index b490799..840b72e 100644 --- a/_src/_assets/styles/bigchain/_content-page.scss +++ b/_src/_assets/styles/bigchain/_content-page.scss @@ -8,8 +8,7 @@ } > h1, - h2, - .faq__question { + h2 { border-bottom: 2px solid $brand-main-blue-light; padding-bottom: $spacer; margin-bottom: ($spacer * 1.5); diff --git a/_src/_assets/styles/bigchain/_dropdowns.scss b/_src/_assets/styles/bigchain/_dropdowns.scss new file mode 100644 index 0000000..251b56e --- /dev/null +++ b/_src/_assets/styles/bigchain/_dropdowns.scss @@ -0,0 +1,106 @@ +// The dropdown wrapper (`
`) +.dropdown { + position: relative; + display: inline-block; +} + +.dropdown-toggle { + box-shadow: none; + cursor: default; + + &:hover, + &:focus { + background: transparent; + } + + &:after { + content: ''; + display: inline-block; + width: 14px; + height: 10px; + background: url('../img/icon-caret.svg') no-repeat center center; + background-size: contain; + transition: .15s ease-out; + } + + .dropdown.show &, + .dropdown--hover:hover & { + &:after { + transform: rotate(180deg); + } + } +} + +// The dropdown menu +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 10; + display: block; + float: left; + min-width: 10rem; + padding: $spacer / 4 0; + margin: 0; + font-size: $font-size-base; + color: $body-bg; + text-align: left; + list-style: none; + border-radius: $border-radius; + box-shadow: 0 3px 10px rgba(0, 0, 0, .3); + background: $gray-dark; + background-clip: padding-box; + border: 0; + max-height: 20rem; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + transition: .2s $timing-bounce; + opacity: 0; + transform: scale(1, 0); + transform-origin: top; + + @media (max-width: 27rem), (max-height: 27rem) { + max-height: 11.25rem; + } +} + +// Links, buttons, and more within the dropdown menu +.dropdown-item { + display: block; + width: 100%; + padding: $spacer / 2 $spacer; + clear: both; + font-weight: $font-weight-normal; + color: $brand-main-gray-light; + text-align: inherit; + white-space: nowrap; + background-color: transparent; + border: 0; + box-shadow: none; + + &:hover, + &:focus { + text-decoration: none; + } + + &.active { + background: $brand-main-gray-light; + color: $gray-dark; + text-decoration: none; + } + + &[rel='external']:after { + margin-left: 0; + } +} + +.dropdown-menu.show, +.dropdown--hover:hover > .dropdown-menu { + transform: scale(1, 1); + opacity: 1; +} + +.dropdown--hover > .dropdown-toggle:active { + // Without this, clicking will make it sticky + pointer-events: none; +} diff --git a/_src/_assets/styles/bigchain/_grid.scss b/_src/_assets/styles/bigchain/_grid.scss index c21b32d..1e3f55f 100644 --- a/_src/_assets/styles/bigchain/_grid.scss +++ b/_src/_assets/styles/bigchain/_grid.scss @@ -104,26 +104,50 @@ } } +@mixin grid-gutters-small() { + margin: -($gutter-space / 3) 0 $gutter-space / 3 (-($gutter-space / 3)); + + > .grid__col { + padding: $gutter-space / 3 0 0 $gutter-space / 3; + } +} + .grid--gutters { @include grid-gutters(); } +.grid--gutters--small { + @include grid-gutters-small(); +} + @media ($screen-sm) { .grid-small--gutters { @include grid-gutters(); } + + .grid-small--gutters--small { + @include grid-gutters-small(); + } } @media ($screen-md) { .grid-medium--gutters { @include grid-gutters(); } + + .grid-medium--gutters--small { + @include grid-gutters-small(); + } } @media ($screen-lg) { .grid-large--gutters { @include grid-gutters(); } + + .grid-large--gutters--small { + @include grid-gutters-small(); + } } diff --git a/_src/_assets/styles/bigchain/_hero.scss b/_src/_assets/styles/bigchain/_hero.scss index 98aceba..06f23db 100644 --- a/_src/_assets/styles/bigchain/_hero.scss +++ b/_src/_assets/styles/bigchain/_hero.scss @@ -4,7 +4,7 @@ // bigchaindb.com // -$menu-height-md: 66px; +$menu-height-md: 90px; .hero { @include background--photo(); @@ -67,8 +67,7 @@ $menu-height-md: 66px; // .hero__title, .hero__subtitle, -.hero__action, -.logo-enterprise { +.hero__action { .wf-active &, .wf-inactive & { @include animation-slide-in-from-bottom; @@ -91,8 +90,7 @@ $menu-height-md: 66px; } .page-front .menu--main, -.hero__community, -.hero__more { +.hero__community { @include transition; opacity: 0; transition-delay: .8s; @@ -174,6 +172,17 @@ $menu-height-md: 66px; .release { min-width: 44px; + + &:after { + content: ''; + display: inline-block; + width: .35rem; + height: .35rem; + border-radius: 50%; + background-color: saturate(adjust-hue($brand-main-green, -170%), 15%); + vertical-align: top; + margin-left: $spacer / 8; + } } .icon { @@ -210,18 +219,20 @@ $menu-height-md: 66px; .hero__more { position: relative; z-index: 2; - color: rgba(#fff, .6); + color: #fff; + opacity: .6; align-self: flex-end; + margin-left: auto; + margin-right: auto; margin-bottom: $spacer; - width: 100%; display: none; @media ($screen-md) { - display: block; + display: inline-block; } &:hover, - &:focus { color: #fff; } + &:focus { opacity: 1; } // the caret .icon { diff --git a/_src/_assets/styles/bigchain/_icons.scss b/_src/_assets/styles/bigchain/_icons.scss index 61971fb..e86e13b 100644 --- a/_src/_assets/styles/bigchain/_icons.scss +++ b/_src/_assets/styles/bigchain/_icons.scss @@ -34,3 +34,12 @@ fill: none; stroke: $text-color; } + +.icon--caret { + stroke-width: 2px; + stroke: currentColor; +} + +.icon--external { + stroke: currentColor; +} diff --git a/_src/_assets/styles/bigchain/_logo.scss b/_src/_assets/styles/bigchain/_logo.scss index 84ee3d9..84503bb 100644 --- a/_src/_assets/styles/bigchain/_logo.scss +++ b/_src/_assets/styles/bigchain/_logo.scss @@ -46,29 +46,6 @@ height: auto; } - -.logo-enterprise { - .logo { - @extend .logo--sm; - display: inline-block; - } -} - -.logo-enterprise--text { - font-size: $font-size-h3 * 1.05; - display: inline-block; - color: #fff; - padding-left: $spacer; - position: relative; - top: -3px; - - &:before { - content: ''; - position: absolute; - left: $spacer / 3; - width: 1px; - height: 100%; - background: $brand-main-violet; - display: block; - } +.logo--services { + color: $brand-main-violet; } diff --git a/_src/_assets/styles/bigchain/_menus.scss b/_src/_assets/styles/bigchain/_menus.scss index 4fd01e9..8f27b2a 100644 --- a/_src/_assets/styles/bigchain/_menus.scss +++ b/_src/_assets/styles/bigchain/_menus.scss @@ -5,6 +5,10 @@ width: 100%; align-self: flex-start; text-align: left; + + .dropdown-menu { + position: absolute !important; // stylelint-disable-line declaration-no-important + } } .menu__link { @@ -26,7 +30,7 @@ } // link line - &:after { + &:not(.dropdown-toggle):after { content: ''; position: absolute; height: 2px; @@ -157,6 +161,7 @@ @media ($screen-md) { padding-top: 0; padding-bottom: 0; + text-align: right; } } @@ -308,7 +313,7 @@ margin-right: $spacer; &:after { - background: darken($gray-dark, 10%); + display: none; } &.active { @@ -370,10 +375,6 @@ background: $headings-color; color: $gray; } - - &:after { - background: $headings-color; - } } } } diff --git a/_src/_assets/styles/bigchain/_mixins/_backgrounds.scss b/_src/_assets/styles/bigchain/_mixins/_backgrounds.scss index 56527be..8616297 100644 --- a/_src/_assets/styles/bigchain/_mixins/_backgrounds.scss +++ b/_src/_assets/styles/bigchain/_mixins/_backgrounds.scss @@ -64,6 +64,26 @@ } } +.background--violet { + background: $brand-main-violet; + + &, + .section-description, + p { + color: darken($brand-main-violet, 35%); + } + + .feature__title, + .section-title { + color: darken($brand-main-violet, 50%); + + // the bottom line + &:after { + background: $brand-main-blue-light; + } + } +} + // // Photo background diff --git a/_src/_assets/styles/bigchain/_newsletter.scss b/_src/_assets/styles/bigchain/_newsletter.scss index 806ae3b..214406b 100644 --- a/_src/_assets/styles/bigchain/_newsletter.scss +++ b/_src/_assets/styles/bigchain/_newsletter.scss @@ -31,7 +31,8 @@ } .form-label, - .form-control { + .form-control, + .form-control:focus ~ .form-label { color: $gray-dark; } diff --git a/_src/_assets/styles/bigchain/_select2-bigchaindb/_multiple.scss b/_src/_assets/styles/bigchain/_select2-bigchaindb/_multiple.scss index 0ead5d3..44e378a 100644 --- a/_src/_assets/styles/bigchain/_select2-bigchaindb/_multiple.scss +++ b/_src/_assets/styles/bigchain/_select2-bigchaindb/_multiple.scss @@ -17,9 +17,7 @@ .select2-selection__placeholder { color: #999; - margin-top: 5px; - float: left; } @@ -33,13 +31,10 @@ .select2-selection__choice { background-color: #e4e4e4; - border: 1px solid #aaa; border-radius: 4px; cursor: default; - float: left; - margin-right: 5px; margin-top: 5px; padding: 0 5px; @@ -48,10 +43,8 @@ .select2-selection__choice__remove { color: #999; cursor: pointer; - display: inline-block; font-weight: $font-weight-bold; - margin-right: 2px; &:hover { diff --git a/_src/_assets/styles/bigchain/_select2-bigchaindb/layout.scss b/_src/_assets/styles/bigchain/_select2-bigchaindb/layout.scss index b596152..484378f 100644 --- a/_src/_assets/styles/bigchain/_select2-bigchaindb/layout.scss +++ b/_src/_assets/styles/bigchain/_select2-bigchaindb/layout.scss @@ -3,6 +3,7 @@ .select2-container--bigchaindb { @import 'single'; @import 'multiple'; + max-width: 100%; .select2-dropdown { border-radius: $border-radius; @@ -43,7 +44,7 @@ @extend .form-control; padding-left: $spacer; padding-right: $spacer; - border-bottom: none !important; + border-bottom: none !important; // stylelint-disable-line declaration-no-important background: rgba($input-border-color, .2); } } diff --git a/_src/_assets/styles/bigchain/_typography.scss b/_src/_assets/styles/bigchain/_typography.scss index a43adfa..e4f5662 100644 --- a/_src/_assets/styles/bigchain/_typography.scss +++ b/_src/_assets/styles/bigchain/_typography.scss @@ -90,6 +90,26 @@ a { } } +// External links +.dropdown, +.content--page { + [rel='external'], + [target='_blank'] { + &:not(.btn):not(.driver):not(.social-link):not(.team__social__link) { + &:after { + content: ''; + display: inline-block; + width: 9px; + height: 8px; + background: url('../img/icon-arrowout.svg') no-repeat center center; + background-size: contain; + transition: .15s ease-out; + margin-left: $spacer / 8; + } + } + } +} + // // Headings diff --git a/_src/_assets/styles/bigchain/_variables.scss b/_src/_assets/styles/bigchain/_variables.scss index 818909d..88be0f8 100644 --- a/_src/_assets/styles/bigchain/_variables.scss +++ b/_src/_assets/styles/bigchain/_variables.scss @@ -45,7 +45,7 @@ $font-size-root: 18px !default; $font-size-root-lg: 20px !default; $font-size-base: 1rem !default; -$font-size-lg: 1.3rem !default; +$font-size-lg: 1.2rem !default; $font-size-sm: .85rem !default; $font-size-xs: .65rem !default; @@ -107,7 +107,7 @@ $component-active-bg: $brand-primary !default; // // Grid // -$gutter-space: ($spacer * 2) !default; +$gutter-space: ($spacer * 3) !default; // @@ -151,7 +151,7 @@ $btn-primary-bg: $brand-primary !default; $btn-secondary-color: $brand-main-blue !default; $btn-secondary-bg: $gray-light !default; -$btn-blue-color: $brand-primary !default; +$btn-blue-color: $brand-main-blue-light !default; $btn-blue-bg: $brand-main-blue !default; $btn-violet-color: $brand-main-blue !default; diff --git a/_src/_data/colors.yml b/_src/_data/colors.yml index c0da36b..8a15ecf 100644 --- a/_src/_data/colors.yml +++ b/_src/_data/colors.yml @@ -11,8 +11,6 @@ primary: hex: 445261 - name: brand-main-blue-dark hex: 101A25 - -secondary: - name: brand-main-violet hex: B581CF - name: brand-main-blue-light @@ -22,6 +20,7 @@ secondary: - name: brand-main-gray-lighter hex: E8EBEF + # # Errors # diff --git a/_src/_data/faq.yml b/_src/_data/faq.yml deleted file mode 100644 index d3c093e..0000000 --- a/_src/_data/faq.yml +++ /dev/null @@ -1,69 +0,0 @@ -- question: How does BigchainDB provide decentralized control? - answer: | - The BigchainDB server software runs on each server in a cluster. One key requirement is that every node in the cluster should be owned and operated by a different person or organization. - - The degree of democracy or autocracy can vary and is something enforced by the organization overseeing the cluster. Ideally, the nodes should be located in many countries, legal jurisdictions and hosting providers, so an issue with one doesn’t affect them all. - - The only people who can create a valid transfer transaction are the people with the necessary private keys. Nobody else, including node operators, can do that: the power to transact is decentralized. - - -- question: How is BigchainDB immutable? - answer: | - Within BigchainDB, all data is copied to several different places. The higher the replication factor, set by the consortium, the more difficult it becomes to change or delete all replicas. All nodes also monitor all changes so if some unauthorized change happens, appropriate action can be taken. - - Cryptographic signatures and hashes are also extensively used. In BigchainDB, each transaction must be signed, each block is signed by the node that created it, and each vote is signed by the node that cast it. - - -- question: How does BigchainDB provide Sybil tolerance? - answer: | - BigchainDB is run within federations, where the governing organization behind the network knows and controls who they allow to operate the nodes. There’s no way for one entity to add additional nodes without the permission of the federation. - - Hosting diversity also protects against a Sybil attack. It prevents any one hosting company from taking control of a majority of nodes. If a hosting company did spin up a new node using the private key already in their hosting infrastructure, the database would have to be reconfigured, alerting the federation about the new node. - - -- question: What are Native Assets? - answer: | - BigchainDB has a built-in concept of assets, along with built-in transaction validity checking. Every BigchainDB transaction is a JSON document with a data structure in which “assets” and “asset transfers” are first-class, fully-supported concepts. A transaction can be used to “create” an asset. A transaction can also be used to transfer an asset from one public key to another. - - In BigchainDB, the person who holds the private key associated with the current owner’s public key is the owner of the asset linked to that public key. BigchainDB makes sure that only the owner of an asset can transfer that asset. - - BigchainDB also allows more complicated ownership and control structures. For example, an asset transfer might be enabled if any two of three controllers allow it. - - -- question: Is BigchainDB Byzantine Fault Tolerant (BFT)? - answer: | - BigchainDB is not currently BFT. It will be offered as an option in future releases with the expectation that turning it on will come at a cost to performance. Full BFT does not scale, and in most practical systems is not necessary. BigchainDB handles crashes and many arbitrary failures. - - BigchainDB takes a pragmatic approach to security and fault tolerance by adding many security features, including verification of every transaction by all federation nodes and immutability. - - All federations and nodes are advised to follow best-in-class security standards and regularly run internal tests. - - -- question: How do I try BigchainDB? - answer: | - If you want to try BigchainDB, then you need a BigchainDB cluster to connect to. - - One option is to install a single-node BigchainDB cluster on your local machine. The [Quickstart](https://docs.bigchaindb.com/projects/server/en/latest/quickstart.html) page in the BigchainDB Server docs has installation instructions. - - Another option is to connect to an existing BigchainDB cluster, such as the [BigchainDB Test Network](https://testnet.bigchaindb.com). - - Once you have a BigchainDB cluster to connect to, you can communicate with it via the BigchainDB HTTP API and the WebSocket Event Stream API. To find a list of all tools and libraries, visit the [Get Started](https://www.bigchaindb.com/getstarted/#drivers) page. - - -- question: Is there a public instance of BigchainDB? - answer: | - If you’re not looking to set up your own federation, you can sign up for [BigchainDB Test Network](https://testnet.bigchaindb.com) and connect instantly, no installation needed. We will handle running a BigchainDB network for you. - - -- question: Can I get a commercial license for BigchainDB? - answer: | - BigchainDB has a few different models: - * consulting for education, ideation and use definition and development - * the subscription model, a per node fee for enterprise software billed on an annual contract - * support packages based on a retainer rate - - Get more information on BigchainDB’s [Enterprise](https://www.bigchaindb.com/enterprise/) page. - - -# - question: -# answer: "" diff --git a/_src/_data/getstarted.yml b/_src/_data/getstarted.yml index 54a0e5d..b7ea4c7 100644 --- a/_src/_data/getstarted.yml +++ b/_src/_data/getstarted.yml @@ -23,6 +23,7 @@ server: network: pretitle: "Managed" title: "The BigchainDB Test Network" + version_title: "Test Network is currently running on BigchainDB " description: "No installation needed. Sign up and connect instantly, we will handle running a BigchainDB network for you." button: "Sign up" link: "https://testnet.bigchaindb.com" @@ -54,7 +55,7 @@ docs: title: "Guides & Documentation " description: "Dive into our documentation with guides, examples, terminology, references and more." button_documentation: "See All Documentation" - button_guides: "See All Guides" + button_guides: "See the Guide" categories: - title: "Code Examples" @@ -63,8 +64,6 @@ docs: link: "https://docs.bigchaindb.com/projects/py-driver/en/latest/usage.html" - title: "Handcrafting Transactions" link: "https://docs.bigchaindb.com/projects/py-driver/en/latest/handcraft.html" - - title: "Kyber" - link: "https://github.com/bigchaindb/kyber" - title: "Quick References" items: diff --git a/_src/_data/menus.yml b/_src/_data/menus.yml index d7bbc38..7e81f82 100644 --- a/_src/_data/menus.yml +++ b/_src/_data/menus.yml @@ -1,25 +1,25 @@ --- main: - - title: Get started - url: "/getstarted/" - title: Features - url: "/features/" - - title: Use Cases - url: "/usecases/" - - title: Guide - url: "/guides/" - - title: Docs - url: https://docs.bigchaindb.com/ + url: /features/ + - title: Developers + url: /developers/getstarted/ + items: + - title: Get Started + url: /developers/getstarted/ + - title: Guide + url: /developers/guide/ + - title: Docs + url: https://docs.bigchaindb.com/ + external: true + - title: Services + url: /services/ secondary: - - title: FAQ - url: "/faq/" - title: About url: "/about/" - title: Blog url: https://blog.bigchaindb.com - - title: Enterprise - url: "/enterprise/" - title: Whitepaper url: "/whitepaper/" - title: Contact diff --git a/_src/_guides/_setup.md b/_src/_guide/_setup.md similarity index 100% rename from _src/_guides/_setup.md rename to _src/_guide/_setup.md diff --git a/_src/_guides/_tutorial-cryptoconditions.md b/_src/_guide/_tutorial-cryptoconditions.md similarity index 100% rename from _src/_guides/_tutorial-cryptoconditions.md rename to _src/_guide/_tutorial-cryptoconditions.md diff --git a/_src/_guides/diagram.png b/_src/_guide/diagram.png similarity index 100% rename from _src/_guides/diagram.png rename to _src/_guide/diagram.png diff --git a/_src/_guides/diagram@2x.png b/_src/_guide/diagram@2x.png similarity index 100% rename from _src/_guides/diagram@2x.png rename to _src/_guide/diagram@2x.png diff --git a/_src/_guides/header-art.jpg b/_src/_guide/header-art.jpg similarity index 100% rename from _src/_guides/header-art.jpg rename to _src/_guide/header-art.jpg diff --git a/_src/_guides/header-car.jpg b/_src/_guide/header-car.jpg similarity index 100% rename from _src/_guides/header-car.jpg rename to _src/_guide/header-car.jpg diff --git a/_src/_guides/header-rbac.jpg b/_src/_guide/header-rbac.jpg similarity index 100% rename from _src/_guides/header-rbac.jpg rename to _src/_guide/header-rbac.jpg diff --git a/_src/_guides/header-token.jpg b/_src/_guide/header-token.jpg similarity index 100% rename from _src/_guides/header-token.jpg rename to _src/_guide/header-token.jpg diff --git a/_src/_guides/key-concepts-of-bigchaindb.md b/_src/_guide/key-concepts-of-bigchaindb.md similarity index 100% rename from _src/_guides/key-concepts-of-bigchaindb.md rename to _src/_guide/key-concepts-of-bigchaindb.md diff --git a/_src/_guides/tutorial-car-telemetry-app.md b/_src/_guide/tutorial-car-telemetry-app.md similarity index 100% rename from _src/_guides/tutorial-car-telemetry-app.md rename to _src/_guide/tutorial-car-telemetry-app.md diff --git a/_src/_guides/tutorial-piece-of-art.md b/_src/_guide/tutorial-piece-of-art.md similarity index 100% rename from _src/_guides/tutorial-piece-of-art.md rename to _src/_guide/tutorial-piece-of-art.md diff --git a/_src/_guides/tutorial-rbac.md b/_src/_guide/tutorial-rbac.md similarity index 100% rename from _src/_guides/tutorial-rbac.md rename to _src/_guide/tutorial-rbac.md diff --git a/_src/_guides/tutorial-token-launch.md b/_src/_guide/tutorial-token-launch.md similarity index 100% rename from _src/_guides/tutorial-token-launch.md rename to _src/_guide/tutorial-token-launch.md diff --git a/_src/_includes/form-enterprise.html b/_src/_includes/form-services.html similarity index 93% rename from _src/_includes/form-enterprise.html rename to _src/_includes/form-services.html index 03ca737..d7dd2f8 100644 --- a/_src/_includes/form-enterprise.html +++ b/_src/_includes/form-services.html @@ -1,5 +1,5 @@ -
+

@@ -101,6 +101,6 @@

- - + + diff --git a/_src/_includes/header.html b/_src/_includes/header.html index 7de8b33..4c033e0 100644 --- a/_src/_includes/header.html +++ b/_src/_includes/header.html @@ -1,9 +1,9 @@ diff --git a/_src/_includes/menu-footer.html b/_src/_includes/menu-footer.html index 3803f4d..ff4c63a 100644 --- a/_src/_includes/menu-footer.html +++ b/_src/_includes/menu-footer.html @@ -19,7 +19,18 @@ {% assign active = 'active' %} {% endif %} + {% unless link.items %} {{ link.title }} + {% endunless %} + + {% for item in link.items %} + {% assign active = nil %} + {% if page.url contains item.url %} + {% assign active = 'active' %} + {% endif %} + + {{ item.title }} + {% endfor %} {% endfor %} diff --git a/_src/_includes/menu-main.html b/_src/_includes/menu-main.html index c0a947b..f335d8f 100644 --- a/_src/_includes/menu-main.html +++ b/_src/_includes/menu-main.html @@ -19,18 +19,39 @@
- + {% endfor %}
diff --git a/_src/_includes/opengraph.html b/_src/_includes/opengraph.html index 7080869..0e925c8 100644 --- a/_src/_includes/opengraph.html +++ b/_src/_includes/opengraph.html @@ -28,7 +28,7 @@ {% if page.image %} {% else %} - + {% endif %} {% if page.categories %} diff --git a/_src/_includes/sections/section-blog.html b/_src/_includes/sections/section-blog.html index 794b9b0..a6c9300 100644 --- a/_src/_includes/sections/section-blog.html +++ b/_src/_includes/sections/section-blog.html @@ -6,10 +6,10 @@

Updates, stories and ideas from the people behind BigchainDB.

-
+
{% for article in site.articles | limit: 6 %}
- +

{{ article.title }} diff --git a/_src/_includes/sections/section-cta-community.html b/_src/_includes/sections/section-cta-community.html deleted file mode 100644 index 10a6833..0000000 --- a/_src/_includes/sections/section-cta-community.html +++ /dev/null @@ -1,12 +0,0 @@ -
- -
diff --git a/_src/_includes/sections/section-cta-enterprise.html b/_src/_includes/sections/section-cta-enterprise.html deleted file mode 100644 index 2e22bd6..0000000 --- a/_src/_includes/sections/section-cta-enterprise.html +++ /dev/null @@ -1,21 +0,0 @@ -
-
-
- -
- - Enterprise -
- -

Hands-on production support

-

From ideation to production, we have the team and technology to help you build enterprise-grade applications and platforms.

-
- - - Enterprise - -
-
diff --git a/_src/_includes/sections/section-cta-services.html b/_src/_includes/sections/section-cta-services.html new file mode 100644 index 0000000..88d018a --- /dev/null +++ b/_src/_includes/sections/section-cta-services.html @@ -0,0 +1,17 @@ +
+
+
+ + + +

Hands-on consulting and production support by blockchain experts.

+
+ + + Explore Services + +
+
diff --git a/_src/_includes/sections/section-cta.html b/_src/_includes/sections/section-cta.html index 1c93de0..b4f5226 100644 --- a/_src/_includes/sections/section-cta.html +++ b/_src/_includes/sections/section-cta.html @@ -4,14 +4,14 @@ {% assign context = page %} {% endif %} -
+

{{ context.cta.title }}

{{ context.cta.description }}

- + {{ context.cta.button }}
diff --git a/_src/_includes/sections/section-getstarted.html b/_src/_includes/sections/section-getstarted.html new file mode 100644 index 0000000..2ece814 --- /dev/null +++ b/_src/_includes/sections/section-getstarted.html @@ -0,0 +1,18 @@ +
+
+
+

Get to know the BigchainDB universe

+
+

Explore drivers, tools & a lot more documentation.

+ Get started +
+
+
+ +
diff --git a/_src/_includes/sections/section-guide.html b/_src/_includes/sections/section-guide.html new file mode 100644 index 0000000..95eee06 --- /dev/null +++ b/_src/_includes/sections/section-guide.html @@ -0,0 +1,28 @@ +
+
+
+

The Hitchhiker's Guide to BigchainDB

+

Complete the guide to learn about how to create apps in BigchainDB.

+
+
+ +
+
+ {% assign guide = site.guide | sort: 'order' %} + {% for chapter in guide limit: 4 %} + + {% endfor %} +
+
+ + +
diff --git a/_src/_includes/sections/section-guides.html b/_src/_includes/sections/section-guides.html deleted file mode 100644 index 56838aa..0000000 --- a/_src/_includes/sections/section-guides.html +++ /dev/null @@ -1,24 +0,0 @@ -
-
-
-

The Hitchhiker's Guide to BigchainDB

-

Complete the guide to learn about how to create apps in BigchainDB.

-
-
- -
- {% assign guides = site.guides | sort: 'order' %} - {% for guide in guides limit: 3 %} - - {% endfor %} -
- - -
diff --git a/_src/_includes/twittercards.html b/_src/_includes/twittercards.html index fce635b..6683540 100644 --- a/_src/_includes/twittercards.html +++ b/_src/_includes/twittercards.html @@ -25,5 +25,5 @@ {% if page.image %} {% else %} - + {% endif %} diff --git a/_src/_layouts/base.html b/_src/_layouts/base.html index ad5e369..7a046a5 100644 --- a/_src/_layouts/base.html +++ b/_src/_layouts/base.html @@ -13,10 +13,10 @@

- {% include banner.html %} - {{ content }} + {% include banner.html %} + {% include footer.html %} {% include scripts.html %} diff --git a/_src/_layouts/guide.html b/_src/_layouts/guide.html index 4abae90..552cb6a 100644 --- a/_src/_layouts/guide.html +++ b/_src/_layouts/guide.html @@ -24,17 +24,17 @@ layout: base
-

More guides

+

More chapters

-
- {% for guide in site.guides limit: 6 %} - {% unless page.id == guide.id %} +
+ {% for chapter in site.guide limit: 6 %} + {% unless page.id == chapter.id %} @@ -43,25 +43,8 @@ layout: base
-
-
-
-

Get to know the BigchainDB universe

-
-

Explore drivers, tools & a lot more documentation.

- Get started -
-
-
- -
+{% include sections/section-getstarted.html %} diff --git a/_src/_layouts/partner.html b/_src/_layouts/partner.html index 259bf11..c97c34a 100644 --- a/_src/_layouts/partner.html +++ b/_src/_layouts/partner.html @@ -29,6 +29,6 @@ cta: -{% include sections/section-cta-enterprise.html %} +{% include sections/section-cta-services.html %} {% include sections/section-cta.html %} diff --git a/_src/_layouts/usecase.html b/_src/_layouts/usecase.html index 6586894..511507a 100644 --- a/_src/_layouts/usecase.html +++ b/_src/_layouts/usecase.html @@ -5,6 +5,7 @@ cta: title: Meet BigchainDB description: The blockchain database button: Learn More + button_link: "/" --- -

We built BigchainDB on top of an enterprise-grade distributed DB, from which BigchainDB inherits high throughput, high capacity, a full-featured NoSQL query language, efficient querying and permissioning.

+

BigchainDB combines an enterprise-grade distributed database (MongoDB) with a production-ready consensus engine (Tendermint) to provide the benefits of both.

{% include table-comparison.html %} @@ -106,4 +117,69 @@ js: page-features.min.js
-{% include sections/section-newsletter.html %} +
+
+
+

Use Cases

+

BigchainDB is for developers and organizations looking for a queryable database with blockchain characteristics such as decentralization, immutability and the ability to treat anything stored in the database as an asset. Whether it’s atoms, bits or bytes of value, any real-world blockchain application needs performance. A perfect fit for BigchainDB.

+
+ +
+
+ We’re still in the early days of the decentralization movement and while all of the industries below are being disrupted in one way or another, there’s an abundance of opportunity within each. +
+
+

+ Building something with BigchainDB? +
+ We want to hear from you. +

+
+
+ + {% for industry in site.data.industries %} +
+ +
+

+ + + + {{ industry.name }} +

+

{{ industry.description }}

+
+ + {% if industry.usecase %} + {% for usecase in site.usecases %} + {% if industry.usecase == usecase.slug %} + + {% endif %} + {% endfor %} + {% endif %} +
+ {% endfor%} + +
+ +
+ + +{% include sections/section-getstarted.html %} diff --git a/_src/guides.html b/_src/guides.html deleted file mode 100644 index 0a80e2c..0000000 --- a/_src/guides.html +++ /dev/null @@ -1,40 +0,0 @@ ---- -layout: page - -title: "The Hitchhiker's Guide to BigchainDB" -tagline: "This guide explains how to get started and build apps with BigchainDB" -image: share-image-guides.png ---- - -
-
- {% assign guides = site.guides | sort: 'order' %} - {% for guide in guides %} - - {% endfor %} -
-
- -
-
-
-

Get to know the BigchainDB universe

-
-

Explore drivers, tools & a lot more documentation.

- Get started -
-
-
- -
diff --git a/_src/imprint.md b/_src/imprint.md index 499c1ba..e51a348 100644 --- a/_src/imprint.md +++ b/_src/imprint.md @@ -4,11 +4,11 @@ layout: page title: Imprint --- -### BigchainDB GmbH +### {{ site.address.company }} -Wichertstr. 14a -10439 Berlin -Germany +{{ site.address.street }} +{{ site.address.zip }} {{ site.address.city }} +{{ site.address.country }} USt-IdNr. DE296647599 ### Contact diff --git a/_src/index.html b/_src/index.html index efd2c95..4e7d6fb 100644 --- a/_src/index.html +++ b/_src/index.html @@ -14,7 +14,7 @@ redirect_from: intro: title: "This is BigchainDB" - description: "With high throughput, sub-second latency and powerful functionality to automate business processes, BigchainDB looks, acts and feels like a database with added blockchain characteristics." + description: "With high throughput, low latency, powerful query functionality, decentralized control, immutable data storage and built-in asset support, BigchainDB is like a database with blockchain characteristics." keyfeatures: - title: "Decentralization" icon: "icon-nodes" @@ -40,7 +40,7 @@ intro:
-
+
{% for feature in page.intro.keyfeatures %} -{% include sections/section-guides.html %} +{% include sections/section-guide.html %} {% include sections/section-partners.html %} -{% include sections/section-cta-enterprise.html %} +{% include sections/section-cta-services.html %} {% include sections/section-blog.html %} + +{% include sections/section-newsletter.html %} diff --git a/_src/enterprise.html b/_src/services.html similarity index 68% rename from _src/enterprise.html rename to _src/services.html index 5955504..6dcc1cd 100644 --- a/_src/enterprise.html +++ b/_src/services.html @@ -1,21 +1,33 @@ --- layout: base -title: Enterprise -description: "A fast blockchain database for data driven enterprise applications" +title: Services +description: "Hands-on consulting and production support by blockchain experts" -header: hero-enterprise.jpg -image: share-image-enterprise.jpg -js: page-enterprise.min.js +header: hero-services.jpg +image: share-image-services.jpg +js: page-services.min.js hero: - title: "A fast blockchain database for data driven enterprise applications" - description: "BigchainDB enables industry leaders to build performant enterprise applications, platforms, and networks." + title: "Hands-on consulting and production support" + description: "From ideation to production, we have the team and technology to help you build enterprise-grade applications and platforms." cta: - name: Get in touch link: "#contact" scroll: true +support: + features: + - title: "Ideation" + description: "Have some ideas but don’t know where to start? We run a workshop to help you better understand blockchain technologies and let you drill-down into the right use cases that bring the biggest benefit." + icon: icon-education + - title: "Use case development" + description: "You have a specific idea for a blockchain application? We help you build a detailed business and technical architecture that lets you move forward with confidence." + icon: icon-blueprint + - title: "Blockchain consulting" + description: "The idea is clear. Now you need help to build a prototype. Our blockchain consultants can work to your needs, budget and timeline to get a demo into your hands that will impress." + icon: icon-engineering + partners: title: "Trusted by leading global companies" description: "We work with partners who are deploying data-centric blockchain applications for automotive, energy, identity, IoT, intellectual property and supply chain use cases." @@ -34,20 +46,6 @@ intro: description: "Interoperability with Ethereum, IPFS, Bitcoin and other protocols such as the Interledger Protocol (ILP), IPLD, COALA IP and COALA SC mean that enterprises can develop their applications knowing that their work is future-proofed." icon: icon-plug -support: - title: "Hands-on production support" - description: "From ideation to production, we have the team and technology to help you build enterprise-grade applications and platforms." - features: - - title: "Ideation" - description: "Have some ideas but don’t know where to start? We run a 1-day workshop to help you better understand blockchain technologies and let you drill-down into the right use cases that bring the biggest benefit." - icon: icon-education - - title: "Use case development" - description: "You have a specific idea for a blockchain application? We help you build a detailed business and technical architecture that lets you move forward with confidence." - icon: icon-blueprint - - title: "Application engineering" - description: "The idea is clear. Now you need help to build a prototype to show your superiors. We can work to your needs, budget and timeline to get a demo into your hands that will impress." - icon: icon-engineering - contact: title: "Get in touch" description: "Ready to start building with BigchainDB? Enter your details below and we'll be in touch right away." @@ -80,32 +78,55 @@ contact: --- -
+
{% include menu-main.html %} -
+
-
- - Enterprise -
-

{{ page.hero.title }}

-

{{ page.hero.description }}

+ +

{{ page.hero.title }}

+

{{ page.hero.description }}

{% for cta in page.hero.cta %} - {{ cta.name }} + {{ cta.name }} {% endfor %}
+
+
+ +
+ {% for feature in page.support.features %} +
+
+ + + +
+

{{ feature.title }}

+

{{ feature.description }}

+
+
+
+ {% endfor %} +
+ + + +
+
+ {% include sections/section-partners.html %} -
+

{{ page.intro.title }}

@@ -137,7 +158,7 @@ contact:
-
+
@@ -154,49 +175,14 @@ contact:
-
-
- -
-

{{ page.support.title }}

-

{{ page.support.description }}

-
- -
- -
- -
- {% for feature in page.support.features %} -
-
- - - -
-

{{ feature.title }}

-

{{ feature.description }}

-
-
-
- {% endfor %} -
- - - -
-
- -
+

{{ page.contact.title }}

{{ page.contact.description }}

- {% include form-enterprise.html %} + {% include form-services.html %}
diff --git a/_src/styleguide.md b/_src/styleguide.md index 8876f39..04f0cab 100644 --- a/_src/styleguide.md +++ b/_src/styleguide.md @@ -3,28 +3,17 @@ layout: page title: Style Guide sitemap: false + +js: page-styleguide.min.js --- ## Colors ### Primary -
+
{% for color in site.data.colors.primary %} -
-
- ${{ color.name }} - #{{ color.hex }} -
-
- {% endfor %} -
- -### Secondary - -
- {% for color in site.data.colors.secondary %} -
+
${{ color.name }} #{{ color.hex }} @@ -35,9 +24,9 @@ sitemap: false ### Errors -
+
{% for color in site.data.colors.errors %} -
+
${{ color.name }} #{{ color.hex }} @@ -319,3 +308,55 @@ Logo can be used with a base class and modifier classes for size & color: Lucas ipsum dolor sit amet kenobi ubese yaka weequay aka trioculus
``` + +### Dropdowns + + +
+ +```html + +``` + + +
+ +```html + +``` diff --git a/_src/terms.md b/_src/terms.md index ec6ac1c..a12c678 100644 --- a/_src/terms.md +++ b/_src/terms.md @@ -10,9 +10,9 @@ The Site is operated by: BigchainDB GmbH (“BigchainDB”, “we”, “us”, “our”) represented by its managing director Bruce Pon -Wichertstr. 14a -10439 Berlin, Germany -https://bigchaindb.com +{{ site.address.street }} +{{ site.address.zip }} {{ site.address.city }}, {{ site.address.country }} +{{ site.url }} ### Terms and Privacy Policy diff --git a/_src/usecases.html b/_src/usecases.html deleted file mode 100644 index ffba887..0000000 --- a/_src/usecases.html +++ /dev/null @@ -1,99 +0,0 @@ ---- -layout: page - -title: Use Cases -tagline: Where blockchains and databases meet - -image: photo4.jpg -header: photo4.jpg - -intro: - description: "BigchainDB is for developers and organizations looking for a queryable database with blockchain characteristics such as decentralization, immutability and the ability to treat anything stored in the database as an asset. Whether it’s atoms, bits or bytes of value, any real-world blockchain application needs performance. A perfect fit for BigchainDB." - addition: "We’re still in the early days of the decentralization movement and while all of the industries below are being disrupted in one way or another, there’s an abundance of opportunity within each." - contact: - text: Building something with BigchainDB? - action: We want to hear from you. - link: "/contact/" - -newsletter: - title: Be the first to hear about our customer stories. - -js: page-usecases.min.js ---- - -
-
-
-

{{ page.intro.description }}

- -
-
- {{ page.intro.addition }} -
-
-

{{ page.intro.contact.text }}
{{ page.intro.contact.action }}

-
-
-
-
-
- - - -{% for industry in site.data.industries %} - -
- -
- - - -

{{ industry.name }}

-

{{ industry.description }}

-
- - {% if industry.usecase %} -
- {% for usecase in site.usecases %} - {% if industry.usecase == usecase.slug %} - - {% endif %} - {% endfor %} -
- {% endif %} -
- -{% endfor%} - -{% include sections/section-newsletter.html %} diff --git a/package.json b/package.json index 1817eed..d8df495 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ ], "dependencies": { "bigchaindb-driver": "^4.0.0", + "bootstrap": "^4.0.0", "clipboard": "^2.0.0", "gumshoe": "github:cferdinandi/gumshoe", "is-in-viewport": "^3.0.0", @@ -33,12 +34,12 @@ "normalize-css": "^2.3.1", "normalize-opentype.css": "^0.2.4", "parsleyjs": "^2.8.1", + "popper.js": "^1.14.3", "select2": "^4.0.5", "smooth-scroll": "^12.1.5", "svg4everybody": "^2.1.9", "textarea-autogrow": "^1.0.0", - "vivus": "^0.4.3", - "whatwg-fetch": "^2.0.3" + "vivus": "^0.4.3" }, "devDependencies": { "acorn": "^5.5.3", @@ -46,7 +47,7 @@ "babel-preset-env": "^1.6.1", "browser-sync": "^2.23.6", "concurrent-transform": "^1.0.0", - "critical": "^1.1.0", + "critical": "^1.2.2", "cross-spawn": "^6.0.5", "del": "^3.0.0", "gulp": "github:gulpjs/gulp#4.0", @@ -66,16 +67,16 @@ "gulp-rev-replace": "^0.4.4", "gulp-sass": "^4.0.0", "gulp-sourcemaps": "^2.6.4", - "gulp-svg-sprite": "^1.3.7", + "gulp-svg-sprite": "^1.4.0", "gulp-uglify": "^3.0.0", "gulp-util": "^3.0.8", "gulp-zip": "^4.1.0", "js-yaml": "^3.11.0", "request": "^2.85.0", - "stylelint": "^9.1.1", + "stylelint": "^9.2.0", "stylelint-config-bigchaindb": "^1.2.1", "stylelint-config-standard": "^18.2.0", - "uglify-es": "^3.3.9" + "uglify-es": "^3.3.10" }, "engines": { "node": ">=7.0.0"