1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 01:36:55 +01:00

make mediakit top level folder

This commit is contained in:
Matthias Kretschmann 2017-08-22 14:49:59 +02:00
parent 485a9df0ab
commit 463a1a9e44
Signed by: m
GPG Key ID: 606EEEF3C479A91F
10 changed files with 13 additions and 20 deletions

View File

@ -43,8 +43,8 @@ layout: base
</svg>
</figure>
<p class="brand__logo__download">
<a href="/assets/brand/mediakit/logo/logo-bigchaindb.svg" download>SVG</a>
<a href="/assets/brand/mediakit/logo/logo-bigchaindb.png" download>PNG</a>
<a href="/mediakit/logo/logo-bigchaindb.svg" download>SVG</a>
<a href="/mediakit/logo/logo-bigchaindb.png" download>PNG</a>
</p>
</div>
@ -56,8 +56,8 @@ layout: base
</svg>
</figure>
<p class="brand__logo__download">
<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>
<a href="/mediakit/logo/logo-bigchaindb-white.svg" download>SVG</a>
<a href="/mediakit/logo/logo-bigchaindb-white.png" download>PNG</a>
</p>
</div>
@ -69,8 +69,8 @@ layout: base
</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>
<a href="/mediakit/logo/logo-bigchaindb-square.svg" download>SVG</a>
<a href="/mediakit/logo/logo-bigchaindb-square.png" download>PNG</a>
</p>
</div>

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

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

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

View File

@ -2,10 +2,10 @@
![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).
Media kit lives under [`_src/mediakit/`](../_src/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.
All contents of the `_src/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

@ -239,19 +239,12 @@ export const fonts = () => src(SRC + '_assets/fonts/**/*')
.pipe(dest(DIST + 'assets/fonts/'))
//
// Copy mediakit
//
export const mediakit = () => src(SRC + '_assets/mediakit/**/*')
.pipe(dest(DIST + 'assets/mediakit/'))
//
// Zip up media kit
//
export const mediakitzip = () => src([
SRC + '_assets/mediakit/**/*'],
{ base: SRC + '_assets/' }
export const mediakit = () => src([
SRC + 'mediakit/**/*'],
{ base: SRC }
)
.pipe($.zip('mediakit-bigchaindb.zip'))
.pipe(dest(DIST))
@ -353,7 +346,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, mediakit, mediakitzip), rev, revReplace, criticalCss)
export const build = series(buildBanner, clean, jekyll, parallel(html, css, js, images, fonts, svg, mediakit), rev, revReplace, criticalCss)
//
// Build site, run server, and watch for file changes