]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Scrimba init
authorJeremy Thomas <bbxdesign@gmail.com>
Wed, 23 May 2018 22:01:38 +0000 (00:01 +0200)
committerJeremy Thomas <bbxdesign@gmail.com>
Thu, 24 May 2018 15:49:59 +0000 (08:49 -0700)
docs/_data/global.json
docs/_data/links.json
docs/_data/meta.json
docs/images/videos/blog.gif [new file with mode: 0644]
docs/images/videos/blog.png [new file with mode: 0644]
docs/images/videos/slide.png [new file with mode: 0644]
docs/images/videos/tesla.gif [new file with mode: 0644]
docs/images/videos/tesla.png [new file with mode: 0644]
docs/videos.html [new file with mode: 0644]

index b06ba4d3f9867db957310ace098e88279d70bc15..3cacc6b910f247afc2d3a77ebf8900fcecef0284 100644 (file)
@@ -1,5 +1,12 @@
 {
   "navbar_items": [
+    {
+      "id": "videos",
+      "color": "has-text-success",
+      "fa_type": "fas",
+      "fa_icon": "fa-play-circle",
+      "title": "Videos"
+    },
     {
       "id": "blog",
       "color": "bd-has-text-rss",
index 542eabf8e5272056a006f2b2b94b477087218e7d..128f332fe4b06d1ab2a9e1b0815307e34b986188 100644 (file)
       "icon": "folder",
       "path": "/documentation/components/tabs"
     },
+    "videos": {
+      "name": "Videos",
+      "path": "/videos"
+    },
     "blog": {
       "name": "Blog",
       "path": "/blog"
index c8e66b2688bb40281f1dcec12c34278b156fed63..88e865e38ce2942c4d04bd351746790256e6b4f4 100644 (file)
@@ -8,5 +8,6 @@
   "version": "0.7.1",
   "book_url": "https://bleedingedgepress.com/creating-interfaces-bulma/",
   "book_amazon": "https://www.amazon.com/Creating-Interfaces-Bulma-Jeremy-Thomas-ebook/dp/B079M1BJG4/",
-  "book_sample": "http://www.bleedingedgepress.com/book_excerpts/01E9D1/creating_interfaces_with_bulma_sample.pdf"
+  "book_sample": "http://www.bleedingedgepress.com/book_excerpts/01E9D1/creating_interfaces_with_bulma_sample.pdf",
+  "scrimba_url": "https://scrimba.com/g/gbulma"
 }
diff --git a/docs/images/videos/blog.gif b/docs/images/videos/blog.gif
new file mode 100644 (file)
index 0000000..cec4133
Binary files /dev/null and b/docs/images/videos/blog.gif differ
diff --git a/docs/images/videos/blog.png b/docs/images/videos/blog.png
new file mode 100644 (file)
index 0000000..e0a2979
Binary files /dev/null and b/docs/images/videos/blog.png differ
diff --git a/docs/images/videos/slide.png b/docs/images/videos/slide.png
new file mode 100644 (file)
index 0000000..59dec34
Binary files /dev/null and b/docs/images/videos/slide.png differ
diff --git a/docs/images/videos/tesla.gif b/docs/images/videos/tesla.gif
new file mode 100644 (file)
index 0000000..307f2e2
Binary files /dev/null and b/docs/images/videos/tesla.gif differ
diff --git a/docs/images/videos/tesla.png b/docs/images/videos/tesla.png
new file mode 100644 (file)
index 0000000..228297a
Binary files /dev/null and b/docs/images/videos/tesla.png differ
diff --git a/docs/videos.html b/docs/videos.html
new file mode 100644 (file)
index 0000000..0d52b80
--- /dev/null
@@ -0,0 +1,105 @@
+---
+fulltitle: Bulma Videos
+layout: default
+route: videos
+breadcrumb:
+- home
+- videos
+videos:
+- id: tesla
+  title: Tesla launch page
+  subtitle: 4 videos – 21 min
+  content: Design a responsive launch page with Bulma's component and CSS Grid.
+  video_url: https://scrimba.com/p/pV5eHk/cvrwyfR
+  article_url: https://medium.freecodecamp.org/how-to-build-a-responsive-tesla-launch-page-with-bulma-css-2bf484057349
+- id: blog
+  title: Blog
+  subtitle: 4 videos – 25 min
+  content: Build a responsive blog with Bulma components.
+  video_url: https://scrimba.com/p/pV5eHk/c4EMaUR
+  article_url: https://medium.freecodecamp.org/how-to-build-a-responsive-blog-design-with-bulma-css-c2257a17c16b
+- id: slide
+  title: Slide
+  subtitle: 4 videos – 16 min
+  content: Create web-based presentation slides with Bulma.
+  video_url: https://scrimba.com/p/pV5eHk/cGym4Ta
+  no_gif: true
+---
+
+{% include global/navbar.html id="Videos" %}
+
+<main class="bd-main">
+  <div class="bd-main-container container">
+    <div class="bd-duo">
+      <div class="bd-lead">
+        {% include components/breadcrumb.html %}
+
+        <header class="bd-header">
+          <div class="bd-header-titles">
+            <h1 class="title">
+              Videos
+            </h1>
+            <p class="subtitle is-4">
+              Learn Bulma with interactive <a href="{{ site.data.meta.scrimba_url }}" target="_blank" rel="nofollow">Scrimba</a> tutorials
+            </p>
+          </div>
+
+          <div class="bd-header-carbon">
+            {% include elements/carbon.html %}
+          </div>
+        </header>
+
+        <div class="bd-content">
+
+          {% for video in page.videos %}
+            <div class="bd-video">
+              <div class="columns">
+                <div class="column is-3">
+                  <h2 class="title">
+                    {{ video.title }}
+                  </h2>
+
+                  <p class="subtitle has-text-grey-light">
+                    {{ video.subtitle }}
+                  </p>
+
+                  <div class="content is-medium">
+                    <p>
+                      {{ video.content }}
+                    </p>
+                  </div>
+
+                  <div class="buttons">
+                    <p>
+                      <a class="button is-link is-medium" href="{{ video.video_url }}" target="_blank" rel="nofollow">
+                        Watch video
+                      </a>
+
+                      {% if video.article_url %}
+                        <a class="button is-light is-medium" href="{{ video.article_url }}" target="_blank" rel="nofollow">
+                          Read article
+                        </a>
+                      {% endif %}
+                    </p>
+                  </div>
+                </div>
+
+                <div class="column is-8 is-offset-1">
+                  <a class="image" href="{{ video.video_url }}" target="_blank" rel="nofollow">
+                    {% if video.no_gif %}
+                      <img src="/images/videos/{{ video.id }}.png" alt="{{ video.title }} screenshot">
+                    {% else %}
+                      <img class="is-hidden-touch" src="/images/videos/{{ video.id }}.gif" alt="{{ video.title }} screenshot">
+                      <img class="is-hidden-desktop" src="/images/videos/{{ video.id }}.png" alt="{{ video.title }} screenshot">
+                      {% endif %}
+                  </a>
+                </div>
+              </div>
+            </div>
+          {% endfor %}
+
+        </div>
+      </div>
+    </div>
+  </div>
+</main>
\ No newline at end of file