]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Update Expo
authorJeremy Thomas <bbxdesign@gmail.com>
Fri, 18 Aug 2023 16:42:17 +0000 (18:42 +0200)
committerJeremy Thomas <bbxdesign@gmail.com>
Fri, 18 Aug 2023 16:42:17 +0000 (18:42 +0200)
docs/_data/expo.json
docs/expo.html
docs/images/expo/mullvad-1344x840.jpg [new file with mode: 0644]
docs/images/expo/mullvad-2688x1680.jpg [new file with mode: 0644]
docs/images/expo/mullvad-672x420.jpg [new file with mode: 0644]

index 1c1a75355b771722755ee7b1da8d129ecf01f6b2..f2f200c1e1ba0c2ca59e22b9897e26c673926cac 100644 (file)
@@ -1,5 +1,11 @@
 {
   "by_id": {
+    "mullvad": {
+      "name": "mullvad",
+      "url": "https://mullvad.net/",
+      "highlighted": true,
+      "date": "6 Jan 2021"
+    },
     "klevgrand": {
       "name": "klevgrand",
       "url": "https://klevgrand.com/products/kleverb",
   "lists": {
     "home": ["signal", "getbedtimestories", "counternetwork", "Gustav"],
     "expo": [
+      "mullvad",
       "klevgrand",
       "starbucks-concept",
       "signal",
index dbedf2043da61b654f5e12f9c56af1becc2793a6..acf0cd33ca3cf2893980b597e888a603af7ee14c 100644 (file)
@@ -6,85 +6,66 @@ share_description: "Get inspired! The Bulma Expo is a curated collection of the
 layout: default
 route: expo
 breadcrumb:
-- home
-- expo
+  - home
+  - expo
 ---
 
-{% include global/navbar.html id="Expo" %}
-
-{%
-  include components/hero.html
-  color="expo"
-  icon="fas fa-star"
-  title="The Bulma **Expo**"
-  subtitle="How everyone is designing gorgeous websites using Bulma"
-%}
-
-{% assign encoded_url = 'Here is my lovely website!' | urlencode %}
-{% assign tweet_href = 'https://twitter.com/intent/tweet?text=' | append: encoded_url | append: '&hashtags=madewithbulma' %}
-
-{% capture call_button %}
-  {% include
-    elements/tw-button.html
-    label="#madewithbulma"
-    href=tweet_href
-  %}
-{% endcapture %}
-
-{%
-  include components/call.html
-  color="twitter"
-  text='Did you design a gorgeous website with Bulma too? <strong>Tell us about it!</strong> <span style="font-size: 20px; margin-left: 2px; position: relative; top: 1px;">🤗</span>'
-  button=call_button
-%}
+{% include global/navbar.html id="Expo" %} {% include components/hero.html
+color="expo" icon="fas fa-star" title="The Bulma **Expo**" subtitle="How
+everyone is designing gorgeous websites using Bulma" %} {% assign encoded_url =
+'Here is my lovely website!' | urlencode %} {% assign tweet_href =
+'https://twitter.com/intent/tweet?text=' | append: encoded_url | append:
+'&hashtags=madewithbulma' %} {% capture call_button %} {% include
+elements/tw-button.html label="#madewithbulma" href=tweet_href %} {% endcapture
+%} {% include components/call.html color="twitter" text='Did you design a
+gorgeous website with Bulma too? <strong>Tell us about it!</strong>
+<span style="font-size: 20px; margin-left: 2px; position: relative; top: 1px"
+  >🤗</span
+>' button=call_button %}
 
 <div class="bd-websites">
-  {% for website_id in site.data.expo.lists.expo %}
-    {% assign website = site.data.expo.by_id[website_id] %}
-    {% assign imageName = website_id | slugify %}
-    {% assign imagePath = "/images/expo/" | prepend: site.url | append: imageName %}
-    <div class="bd-website {% if website.highlighted %}bd-is-highlighted{% endif %}">
-      <figure class="bd-website-image">
-        {% if website.highlighted %}
-          {% assign size1x = "1344x840" %}
-          {% assign size2x = "2688x1680" %}
-          <img
-            class="lazyload"
-            src="{{ site.url }}/images/placeholders/empty.png"
-            data-src="{{ imagePath }}-{{ size1x }}.jpg"
-            data-srcset="{{ imagePath }}-{{ size2x }}.jpg 2x,
+  {% for website_id in site.data.expo.lists.expo %} {% assign website =
+  site.data.expo.by_id[website_id] %} {% assign imageName = website_id | slugify
+  %} {% assign imagePath = "/images/expo/" | prepend: site.url | append:
+  imageName %}
+  <div
+    class="bd-website {% if website.highlighted %}bd-is-highlighted{% endif %}"
+  >
+    <figure class="bd-website-image">
+      {% if website.highlighted %} {% assign size1x = "1344x840" %} {% assign
+      size2x = "2688x1680" %}
+      <img
+        class="lazyload"
+        src="{{ site.url }}/images/placeholders/empty.png"
+        data-src="{{ imagePath }}-{{ size1x }}.jpg"
+        data-srcset="{{ imagePath }}-{{ size2x }}.jpg 2x,
                          {{ imagePath }}-{{ size1x }}.jpg 1x"
-            width="1344"
-            height="840">
-        {% else %}
-          {% assign size1x = "672x420" %}
-          {% assign size2x = "1344x840" %}
-          <img
-            class="lazyload"
-            src="{{ site.url }}/images/placeholders/empty.png"
-            data-src="{{ imagePath }}-{{ size1x }}.jpg"
-            data-srcset="{{ imagePath }}-{{ size2x }}.jpg 2x,
+        width="1344"
+        height="840"
+      />
+      {% else %} {% assign size1x = "672x420" %} {% assign size2x = "1344x840"
+      %}
+      <img
+        class="lazyload"
+        src="{{ site.url }}/images/placeholders/empty.png"
+        data-src="{{ imagePath }}-{{ size1x }}.jpg"
+        data-srcset="{{ imagePath }}-{{ size2x }}.jpg 2x,
                          {{ imagePath }}-{{ size1x }}.jpg 1x"
-            width="672"
-            height="420">
-        {% endif %}
-        <span class="bd-website-overlay is-overlay"></span>
-      </figure>
-
-      <h2 class="title is-5 bd-website-name is-marginless">
-        {{ website.name }}
-      </h2>
+        width="672"
+        height="420"
+      />
+      {% endif %}
+      <span class="bd-website-overlay is-overlay"></span>
+    </figure>
 
-      <p class="bd-website-date">
-        {{ website.date }}
-      </p>
-    </div>
+    <h2 class="title is-5 bd-website-name is-marginless">{{ website.name }}</h2>
+  </div>
   {% endfor %}
 </div>
 
 <script src="{{ site.url }}/vendor/lazyload-2.0.0-beta.2.min.js"></script>
 <script type="text/javascript">
-  ;(function() {
+  (function () {
     lazyload();
   })();
 </script>
diff --git a/docs/images/expo/mullvad-1344x840.jpg b/docs/images/expo/mullvad-1344x840.jpg
new file mode 100644 (file)
index 0000000..682badd
Binary files /dev/null and b/docs/images/expo/mullvad-1344x840.jpg differ
diff --git a/docs/images/expo/mullvad-2688x1680.jpg b/docs/images/expo/mullvad-2688x1680.jpg
new file mode 100644 (file)
index 0000000..8c7072a
Binary files /dev/null and b/docs/images/expo/mullvad-2688x1680.jpg differ
diff --git a/docs/images/expo/mullvad-672x420.jpg b/docs/images/expo/mullvad-672x420.jpg
new file mode 100644 (file)
index 0000000..6ec7f2b
Binary files /dev/null and b/docs/images/expo/mullvad-672x420.jpg differ