simplify media kit contents, document it

This commit is contained in:
Matthias Kretschmann 2017-08-22 14:28:39 +02:00
parent 783f08e27a
commit 485a9df0ab
Signed by: m
GPG Key ID: 606EEEF3C479A91F
18 changed files with 65 additions and 32 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

View File

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1025" viewBox="0 0 1024 1025">
<g fill="none" fill-rule="evenodd" transform="translate(0 .715)">
<polygon fill="#074354" points="0 1024 1024 1024 1024 0 0 0"/>
<path fill="#04C695" d="M651.781689,281.053867 C524.435342,281.053867 420.834987,384.654222 420.834987,511.993742 C420.834987,639.333831 524.435342,742.939876 651.781689,742.939876 C779.127467,742.939876 882.727822,639.333831 882.727822,511.993742 C882.727822,384.654222 779.127467,281.053867 651.781689,281.053867 M651.781689,767.100587 C511.117653,767.100587 396.679964,652.662898 396.679964,511.993742 C396.679964,371.336533 511.117653,256.898844 651.781689,256.898844 C792.445156,256.898844 906.888533,371.336533 906.888533,511.993742 C906.888533,652.662898 792.445156,767.100587 651.781689,767.100587"/>
<path fill="#FFFFFF" d="M570.760533 595.792213L585.910044 595.792213C595.143111 595.792213 601.7024 593.493902 605.570844 588.863147 609.439289 584.249458 611.367822 576.996124 611.367822 567.108836L611.367822 456.568036C611.367822 447.5392 609.541689 440.564622 605.889422 435.620978 602.231467 430.677333 595.581156 428.202667 585.910044 428.202667L570.760533 428.202667 570.760533 595.792213zM537.882738 397.266489L586.552889 397.266489C605.246578 397.266489 619.537067 402.477511 629.418667 412.899556 639.300267 423.3216 644.243911 437.873778 644.243911 456.568036L644.243911 563.894613C644.243911 585.375858 639.0272 601.219413 628.610844 611.430969 618.1888 621.636836 603.198578 626.728391 583.651556 626.728391L537.882738 626.728391 537.882738 397.266489zM708.050489 593.864249L722.232889 593.864249C728.888889 593.864249 734.099911 592.897138 737.860267 590.962916 741.620622 589.023004 744.470756 586.343538 746.404978 582.90176 748.3392 579.47136 749.5168 575.386738 749.949156 570.659271 750.375822 565.931804 750.592 560.777671 750.592 555.185493 750.592 549.388516 750.273422 544.342471 749.624889 540.041671 748.982044 535.740871 747.639467 532.139804 745.597156 529.24416 743.554844 526.342827 740.7104 524.141227 737.058133 522.633671 733.400178 521.137493 728.564622 520.380871 722.551467 520.380871L708.050489 520.380871 708.050489 593.864249zM708.050489 491.373227L722.875733 491.373227C733.838222 491.373227 741.188267 488.636871 744.954311 483.158471 748.708978 477.674382 750.592 469.675804 750.592 459.145671 750.592 448.830578 748.498489 441.093689 744.311467 435.939556 740.118756 430.779733 732.541156 428.202667 721.590044 428.202667L708.050489 428.202667 708.050489 491.373227zM675.1744 397.2608L723.2 397.2608C733.724444 397.2608 742.695822 398.876444 750.108444 402.096356 757.526756 405.321956 763.591111 409.617067 768.318578 414.993067 773.046044 420.363378 776.425244 426.541511 778.473244 433.521778 780.515556 440.507733 781.533867 447.755378 781.533867 455.277227L781.533867 463.65696C781.533867 469.891982 781.050311 475.154204 780.0832 479.449316 779.116089 483.755804 777.665422 487.510471 775.7312 490.730382 773.796978 493.955982 771.4304 496.800427 768.642844 499.269404 765.843911 501.744071 762.624 504.05376 758.971733 506.198471 766.708622 509.856427 772.397511 515.277938 776.055467 522.474382 779.702044 529.676516 781.533867 539.290738 781.533867 551.317049L781.533867 564.208071C781.533867 584.409316 776.647111 599.883093 766.867911 610.618027 757.088711 621.364338 741.455644 626.72896 719.9744 626.72896L675.1744 626.72896 675.1744 397.2608zM217.982293 521.330916L171.873849 521.330916C167.112249 521.330916 163.249493 524.880782 163.249493 529.255538L163.249493 721.625316C163.249493 726.000071 167.112249 729.549938 171.873849 729.549938L217.982293 729.549938C271.150649 729.549938 300.863716 707.289316 300.863716 625.437582 300.863716 550.770916 271.150649 521.330916 217.982293 521.330916M217.982293 294.4512L171.873849 294.4512C167.112249 294.4512 163.249493 298.001067 163.249493 302.375822L163.249493 476.075804C163.249493 480.45056 167.112249 484.000427 171.873849 484.000427L217.982293 484.000427C268.02176 484.000427 296.170382 457.439004 296.170382 389.2224 296.170382 314.555733 268.02176 294.4512 217.982293 294.4512M313.373582 738.162916C290.697671 758.97856 262.549049 767.597227 216.417849 767.597227L125.742649 767.597227C120.97536 767.597227 117.112604 764.053049 117.112604 759.672604L117.112604 264.322844C117.112604 259.948089 120.97536 256.403911 125.742649 256.403911L217.197227 256.403911C262.549049 256.403911 289.918293 264.2944 311.809138 285.832533 335.264427 308.815644 342.307271 335.377067 342.307271 388.5056 342.307271 424.408178 337.613938 455.999716 309.465316 481.844338 298.514204 491.896604 286.004338 499.075982 274.279538 501.948871 289.133227 504.82176 301.643093 511.995449 312.594204 522.053404 343.086649 550.770916 346.994916 588.823893 346.994916 625.437582 346.994916 688.618382 336.83456 715.902293 313.373582 738.162916"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1025" viewBox="0 0 1024 1025">
<g fill="none" fill-rule="evenodd" transform="translate(0 .715)">
<polygon fill="#074354" points="0 1024 1024 1024 1024 0 0 0"/>
<path fill="#04C695" d="M651.781689,281.053867 C524.435342,281.053867 420.834987,384.654222 420.834987,511.993742 C420.834987,639.333831 524.435342,742.939876 651.781689,742.939876 C779.127467,742.939876 882.727822,639.333831 882.727822,511.993742 C882.727822,384.654222 779.127467,281.053867 651.781689,281.053867 M651.781689,767.100587 C511.117653,767.100587 396.679964,652.662898 396.679964,511.993742 C396.679964,371.336533 511.117653,256.898844 651.781689,256.898844 C792.445156,256.898844 906.888533,371.336533 906.888533,511.993742 C906.888533,652.662898 792.445156,767.100587 651.781689,767.100587"/>
<path fill="#FFFFFF" d="M570.760533 595.792213L585.910044 595.792213C595.143111 595.792213 601.7024 593.493902 605.570844 588.863147 609.439289 584.249458 611.367822 576.996124 611.367822 567.108836L611.367822 456.568036C611.367822 447.5392 609.541689 440.564622 605.889422 435.620978 602.231467 430.677333 595.581156 428.202667 585.910044 428.202667L570.760533 428.202667 570.760533 595.792213zM537.882738 397.266489L586.552889 397.266489C605.246578 397.266489 619.537067 402.477511 629.418667 412.899556 639.300267 423.3216 644.243911 437.873778 644.243911 456.568036L644.243911 563.894613C644.243911 585.375858 639.0272 601.219413 628.610844 611.430969 618.1888 621.636836 603.198578 626.728391 583.651556 626.728391L537.882738 626.728391 537.882738 397.266489zM708.050489 593.864249L722.232889 593.864249C728.888889 593.864249 734.099911 592.897138 737.860267 590.962916 741.620622 589.023004 744.470756 586.343538 746.404978 582.90176 748.3392 579.47136 749.5168 575.386738 749.949156 570.659271 750.375822 565.931804 750.592 560.777671 750.592 555.185493 750.592 549.388516 750.273422 544.342471 749.624889 540.041671 748.982044 535.740871 747.639467 532.139804 745.597156 529.24416 743.554844 526.342827 740.7104 524.141227 737.058133 522.633671 733.400178 521.137493 728.564622 520.380871 722.551467 520.380871L708.050489 520.380871 708.050489 593.864249zM708.050489 491.373227L722.875733 491.373227C733.838222 491.373227 741.188267 488.636871 744.954311 483.158471 748.708978 477.674382 750.592 469.675804 750.592 459.145671 750.592 448.830578 748.498489 441.093689 744.311467 435.939556 740.118756 430.779733 732.541156 428.202667 721.590044 428.202667L708.050489 428.202667 708.050489 491.373227zM675.1744 397.2608L723.2 397.2608C733.724444 397.2608 742.695822 398.876444 750.108444 402.096356 757.526756 405.321956 763.591111 409.617067 768.318578 414.993067 773.046044 420.363378 776.425244 426.541511 778.473244 433.521778 780.515556 440.507733 781.533867 447.755378 781.533867 455.277227L781.533867 463.65696C781.533867 469.891982 781.050311 475.154204 780.0832 479.449316 779.116089 483.755804 777.665422 487.510471 775.7312 490.730382 773.796978 493.955982 771.4304 496.800427 768.642844 499.269404 765.843911 501.744071 762.624 504.05376 758.971733 506.198471 766.708622 509.856427 772.397511 515.277938 776.055467 522.474382 779.702044 529.676516 781.533867 539.290738 781.533867 551.317049L781.533867 564.208071C781.533867 584.409316 776.647111 599.883093 766.867911 610.618027 757.088711 621.364338 741.455644 626.72896 719.9744 626.72896L675.1744 626.72896 675.1744 397.2608zM217.982293 521.330916L171.873849 521.330916C167.112249 521.330916 163.249493 524.880782 163.249493 529.255538L163.249493 721.625316C163.249493 726.000071 167.112249 729.549938 171.873849 729.549938L217.982293 729.549938C271.150649 729.549938 300.863716 707.289316 300.863716 625.437582 300.863716 550.770916 271.150649 521.330916 217.982293 521.330916M217.982293 294.4512L171.873849 294.4512C167.112249 294.4512 163.249493 298.001067 163.249493 302.375822L163.249493 476.075804C163.249493 480.45056 167.112249 484.000427 171.873849 484.000427L217.982293 484.000427C268.02176 484.000427 296.170382 457.439004 296.170382 389.2224 296.170382 314.555733 268.02176 294.4512 217.982293 294.4512M313.373582 738.162916C290.697671 758.97856 262.549049 767.597227 216.417849 767.597227L125.742649 767.597227C120.97536 767.597227 117.112604 764.053049 117.112604 759.672604L117.112604 264.322844C117.112604 259.948089 120.97536 256.403911 125.742649 256.403911L217.197227 256.403911C262.549049 256.403911 289.918293 264.2944 311.809138 285.832533 335.264427 308.815644 342.307271 335.377067 342.307271 388.5056 342.307271 424.408178 337.613938 455.999716 309.465316 481.844338 298.514204 491.896604 286.004338 499.075982 274.279538 501.948871 289.133227 504.82176 301.643093 511.995449 312.594204 522.053404 343.086649 550.770916 346.994916 588.823893 346.994916 625.437582 346.994916 688.618382 336.83456 715.902293 313.373582 738.162916"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -44,6 +44,10 @@
.brand--dark & {
background: rgba($gray-light, .75);
}
.brand--square & {
padding: $spacer * 1.2 $spacer * 2;
}
}
.brand__logo__download {
@ -51,6 +55,7 @@
a {
font-size: $font-size-sm;
margin-left: $spacer;
margin-left: $spacer / 2;
margin-right: $spacer / 2;
}
}

View File

@ -25,6 +25,12 @@ layout: base
<div class="grid__col grid__col--1-3">
<aside class="widget widget--mediakit">
<h2 class="widget__title">{{ page.mediakit.title }}</h2>
<p>{{ page.mediakit.description }}</p>
<a href="{{ page.mediakit.link }}">{{ page.mediakit.download }}</a>
</aside>
<aside class="widget widget--logo">
<h2 class="widget__title">{{ page.brand.title }}</h2>
<p>{{ page.brand.description }}</p>
@ -37,10 +43,9 @@ layout: base
</svg>
</figure>
<p class="brand__logo__download">
<a href="/assets/brand/logo-bigchaindb.svg" download>SVG</a>
<a href="/assets/brand/logo-bigchaindb.png" download>PNG</a>
<a href="/assets/brand/mediakit/logo/logo-bigchaindb.svg" download>SVG</a>
<a href="/assets/brand/mediakit/logo/logo-bigchaindb.png" download>PNG</a>
</p>
</div>
<div class="brand brand--light">
@ -51,17 +56,24 @@ layout: base
</svg>
</figure>
<p class="brand__logo__download">
<a href="/assets/brand/logo-bigchaindb-white.svg" download>SVG</a>
<a href="/assets/brand/logo-bigchaindb-white.png" download>PNG</a>
<a href="/assets/brand/mediakit/logo/logo-bigchaindb-white.svg" download>SVG</a>
<a href="/assets/brand/mediakit/logo/logo-bigchaindb-white.png" download>PNG</a>
</p>
</div>
</aside>
<div class="brand brand--light brand--square">
<figure class="brand__logo">
<svg class="logo" aria-labelledby="title">
<title>Logo BigchainDB</title>
<use xlink:href="/assets/img/sprite.svg#logo-square"></use>
</svg>
</figure>
<p class="brand__logo__download">
<a href="/assets/brand/mediakit/logo/logo-bigchaindb-square.svg" download>SVG</a>
<a href="/assets/brand/mediakit/logo/logo-bigchaindb-square.png" download>PNG</a>
</p>
</div>
<aside class="widget widget--mediakit">
<h2 class="widget__title">{{ page.mediakit.title }}</h2>
<p>{{ page.mediakit.description }}</p>
<a href="{{ page.mediakit.link }}">{{ page.mediakit.download }}</a>
</aside>
</div>

View File

@ -14,7 +14,7 @@ mediakit:
title: Media Kit
description: Get our full media kit in one handy package.
download: Download media kit (zip)
link: /assets/brand/mediakit-bigchaindb.zip
link: /mediakit-bigchaindb.zip
---
## Our story

View File

@ -4,5 +4,7 @@
User-agent: *
Disallow: /usecases/*.pdf$
Disallow: /assets/mediakit/
Disallow: /mediakit-bigchaindb.zip
Sitemap: {{ site.url }}/sitemap.xml

View File

@ -1,3 +1,4 @@
- [Media kit](mediakit.md)
- [CSS](css.md)
- [Testimonials](testimonials.md)

11
docs/mediakit.md Normal file
View File

@ -0,0 +1,11 @@
# Media KITT
![giphy](https://user-images.githubusercontent.com/90316/29563895-dde966ae-873f-11e7-976b-c2f0fa9578b6.gif)
Media kit lives under [`_src/_assets/mediakit/`](../_src/_assets/mediakit/). The folder structure will be reflected in the final zip file always available under [https://www.bigchaindb.com/mediakit-bigchaindb.zip](https://www.bigchaindb.com/mediakit-bigchaindb.zip).
The zip file will be created automatically upon site build. File names in the `logo` folder should not be changed, those assets are used on the About page for the logo downloads.
## Editing media kit
All contents of the `_src/_assets/mediakit/` folder can be edited on GitHub. Whatever is put in there will be part of the final zip package after the next site build and deployment.

View File

@ -240,21 +240,21 @@ export const fonts = () => src(SRC + '_assets/fonts/**/*')
//
// Copy brand assets
// Copy mediakit
//
export const brand = () => src(SRC + '_assets/brand/*')
.pipe(dest(DIST + 'assets/brand/'))
export const mediakit = () => src(SRC + '_assets/mediakit/**/*')
.pipe(dest(DIST + 'assets/mediakit/'))
//
// Zip up media kit
//
export const mediakit = () => src([
SRC + '_assets/brand/mediakit-bigchaindb/**/*'],
{ base: SRC + '_assets/brand/' }
export const mediakitzip = () => src([
SRC + '_assets/mediakit/**/*'],
{ base: SRC + '_assets/' }
)
.pipe($.zip('mediakit-bigchaindb.zip'))
.pipe(dest(DIST + 'assets/brand/'))
.pipe(dest(DIST))
//
@ -353,7 +353,7 @@ const deployBanner = (done) => {
// `gulp build` is the development build
// `gulp build --production` is the production build
//
export const build = series(buildBanner, clean, jekyll, parallel(html, css, js, images, fonts, svg, brand, mediakit), rev, revReplace, criticalCss)
export const build = series(buildBanner, clean, jekyll, parallel(html, css, js, images, fonts, svg, mediakit, mediakitzip), rev, revReplace, criticalCss)
//
// Build site, run server, and watch for file changes