Add bulma start

This commit is contained in:
Jeremy Thomas 2017-10-17 14:06:45 +01:00
parent 7c94b4e439
commit c4809633f0
3 changed files with 92 additions and 0 deletions

View File

@ -119,6 +119,14 @@
More
</div>
<div id="moreDropdown" class="navbar-dropdown {% if include.boxed %}is-boxed{% endif %}">
<a class="navbar-item {% if page.route == 'bulma-start' %}is-active{% endif %}" href="{{ site.url }}/bulma-start/">
<p>
<strong>Bulma start</strong>
<br>
<small>A tiny npm package to get started</small>
</p>
</a>
<hr class="navbar-divider">
<a class="navbar-item {% if page.route == 'made-with-bulma' %}is-active{% endif %}" href="{{ site.url }}/made-with-bulma/">
<p>
<strong>Made with Bulma</strong>
@ -126,6 +134,7 @@
<small>The official community badge</small>
</p>
</a>
<hr class="navbar-divider">
<a class="navbar-item {% if page.route == 'extensions' %}is-active{% endif %}" href="{{ site.url }}/extensions/">
<p>
<strong>Extensions</strong>

83
docs/bulma-start.html Normal file
View File

@ -0,0 +1,83 @@
---
fulltitle: "Bulma start: a tiny npm package to get started with Bulma"
layout: default
route: bulma-start
download_url: https://github.com/jgthms/bulma-start/archive/master.zip
github_url: https://github.com/jgthms/bulma-start
npm_url: https://www.npmjs.com/package/bulma-start
---
<div class="container">
{% include navbar.html id="BulmaStartHero" %}
</div>
<section class="hero is-success">
<div class="hero-body">
<div class="container">
<div class="columns is-vcentered">
<div class="column">
<h1 class="title">
Bulma Start
</h1>
<p class="subtitle">
Tiny npm package to get started with Bulma
</p>
</div>
<div class="column is-narrow">
{% include carbon.html %}
</div>
</div>
</div>
</div>
</section>
<section class="section">
<div class="container">
<div class="columns">
<div class="column is-5-widescreen">
<p class="title is-4"><code><a target="_blank" href="{{ page.npm_url }}">bulma-start</a></code> is a tiny npm package that includes the <code>npm</code> <strong>dependencies</strong> you need to <strong>build your own website</strong> with Bulma.</p>
<div class="buttons">
<a class="button is-medium is-success" target="_blank" href="{{ page.download_url }}"><span><strong>Download</strong></span></a>
</div>
<div class="buttons">
<a class="button is-small is-outlined is-dark" target="_blank" href="{{ page.github_url }}"><span><strong>GitHub</strong> page</span></a>
<a class="button is-small is-outlined is-danger" target="_blank" href="{{ page.npm_url }}"><span><strong>npm</strong> page</span></a>
</div>
</div>
<div class="column is-narrow">
<p><a href="{{ page.npm_url }}"><img src="{{ site.url }}/images/bulma-start.png" alt="Bulma: a Flexbox CSS framework" style="max-width:100%;" width="438" height="200"></a></p>
</div>
</div>
{% include anchor.html name="Install" %}
{% highlight bash %}npm install bulma-start{% endhighlight %}
<p class="block"><em>or</em></p>
{% highlight bash %}yarn add bulma-start{% endhighlight %}
{% include anchor.html name="Whats included" %}
<div class="content">
<p>The <code>npm</code> dependencies included in <code>package.json</code> are:</p>
<ul>
<li><code>[bulma](https://github.com/jgthms/bulma)</code></li>
<li><code>[node-sass](https://github.com/sass/node-sass)</code> to compile your own Sass file</li>
<li><code>[postcss-cli](https://github.com/postcss/postcss-cli)</code> and <code>[autoprefixer](https://github.com/postcss/autoprefixer)</code> to add support for older browsers</li>
<li><code>[babel-cli](https://babeljs.io/docs/usage/cli/)</code>, <code>[babel-preset-env](https://github.com/babel/babel-preset-env)</code> and <code>[babel-preset-es2015-ie](https://github.com/jmcriffey/babel-preset-es2015-ie)</code> for compiling ES6 JavaScript files</li>
</ul>
<p>Apart from <code>package.json</code>, the following files are included:</p>
<ul>
<li><code>.babelrc</code> configuration file for <a href="https://babeljs.io/">Babel</a></li>
<li><code>.gitignore</code> common <a href="https://git-scm.com/">Git</a> ignored files</li>
<li><code>index.html</code> this HTML5 file</li>
<li><code>_sass/main.scss</code> a basic SCSS file that <strong>imports Bulma</strong> and explains how to <strong>customize</strong> your styles, and compiles to <code>css/main.css</code></li>
<li><code>_javascript/main.js</code> an ES6 JavaScript that compiles to <code>lib/main.js</code></li>
</ul>
</div>
</div>
</section>

BIN
docs/images/bulma-start.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB