mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Update Expo
This commit is contained in:
parent
bff455e45f
commit
fa1d448c1f
@ -1,5 +1,11 @@
|
|||||||
{
|
{
|
||||||
"by_id": {
|
"by_id": {
|
||||||
|
"mullvad": {
|
||||||
|
"name": "mullvad",
|
||||||
|
"url": "https://mullvad.net/",
|
||||||
|
"highlighted": true,
|
||||||
|
"date": "6 Jan 2021"
|
||||||
|
},
|
||||||
"klevgrand": {
|
"klevgrand": {
|
||||||
"name": "klevgrand",
|
"name": "klevgrand",
|
||||||
"url": "https://klevgrand.com/products/kleverb",
|
"url": "https://klevgrand.com/products/kleverb",
|
||||||
@ -412,6 +418,7 @@
|
|||||||
"lists": {
|
"lists": {
|
||||||
"home": ["signal", "getbedtimestories", "counternetwork", "Gustav"],
|
"home": ["signal", "getbedtimestories", "counternetwork", "Gustav"],
|
||||||
"expo": [
|
"expo": [
|
||||||
|
"mullvad",
|
||||||
"klevgrand",
|
"klevgrand",
|
||||||
"starbucks-concept",
|
"starbucks-concept",
|
||||||
"signal",
|
"signal",
|
||||||
|
115
docs/expo.html
115
docs/expo.html
@ -6,85 +6,66 @@ share_description: "Get inspired! The Bulma Expo is a curated collection of the
|
|||||||
layout: default
|
layout: default
|
||||||
route: expo
|
route: expo
|
||||||
breadcrumb:
|
breadcrumb:
|
||||||
- home
|
- home
|
||||||
- expo
|
- expo
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include global/navbar.html id="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 =
|
||||||
include components/hero.html
|
'Here is my lovely website!' | urlencode %} {% assign tweet_href =
|
||||||
color="expo"
|
'https://twitter.com/intent/tweet?text=' | append: encoded_url | append:
|
||||||
icon="fas fa-star"
|
'&hashtags=madewithbulma' %} {% capture call_button %} {% include
|
||||||
title="The Bulma **Expo**"
|
elements/tw-button.html label="#madewithbulma" href=tweet_href %} {% endcapture
|
||||||
subtitle="How everyone is designing gorgeous websites using Bulma"
|
%} {% 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"
|
||||||
{% assign encoded_url = 'Here is my lovely website!' | urlencode %}
|
>🤗</span
|
||||||
{% assign tweet_href = 'https://twitter.com/intent/tweet?text=' | append: encoded_url | append: '&hashtags=madewithbulma' %}
|
>' button=call_button %}
|
||||||
|
|
||||||
{% 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">
|
<div class="bd-websites">
|
||||||
{% for website_id in site.data.expo.lists.expo %}
|
{% for website_id in site.data.expo.lists.expo %} {% assign website =
|
||||||
{% assign website = site.data.expo.by_id[website_id] %}
|
site.data.expo.by_id[website_id] %} {% assign imageName = website_id | slugify
|
||||||
{% assign imageName = website_id | slugify %}
|
%} {% assign imagePath = "/images/expo/" | prepend: site.url | append:
|
||||||
{% assign imagePath = "/images/expo/" | prepend: site.url | append: imageName %}
|
imageName %}
|
||||||
<div class="bd-website {% if website.highlighted %}bd-is-highlighted{% endif %}">
|
<div
|
||||||
<figure class="bd-website-image">
|
class="bd-website {% if website.highlighted %}bd-is-highlighted{% endif %}"
|
||||||
{% if website.highlighted %}
|
>
|
||||||
{% assign size1x = "1344x840" %}
|
<figure class="bd-website-image">
|
||||||
{% assign size2x = "2688x1680" %}
|
{% if website.highlighted %} {% assign size1x = "1344x840" %} {% assign
|
||||||
<img
|
size2x = "2688x1680" %}
|
||||||
class="lazyload"
|
<img
|
||||||
src="{{ site.url }}/images/placeholders/empty.png"
|
class="lazyload"
|
||||||
data-src="{{ imagePath }}-{{ size1x }}.jpg"
|
src="{{ site.url }}/images/placeholders/empty.png"
|
||||||
data-srcset="{{ imagePath }}-{{ size2x }}.jpg 2x,
|
data-src="{{ imagePath }}-{{ size1x }}.jpg"
|
||||||
|
data-srcset="{{ imagePath }}-{{ size2x }}.jpg 2x,
|
||||||
{{ imagePath }}-{{ size1x }}.jpg 1x"
|
{{ imagePath }}-{{ size1x }}.jpg 1x"
|
||||||
width="1344"
|
width="1344"
|
||||||
height="840">
|
height="840"
|
||||||
{% else %}
|
/>
|
||||||
{% assign size1x = "672x420" %}
|
{% else %} {% assign size1x = "672x420" %} {% assign size2x = "1344x840"
|
||||||
{% assign size2x = "1344x840" %}
|
%}
|
||||||
<img
|
<img
|
||||||
class="lazyload"
|
class="lazyload"
|
||||||
src="{{ site.url }}/images/placeholders/empty.png"
|
src="{{ site.url }}/images/placeholders/empty.png"
|
||||||
data-src="{{ imagePath }}-{{ size1x }}.jpg"
|
data-src="{{ imagePath }}-{{ size1x }}.jpg"
|
||||||
data-srcset="{{ imagePath }}-{{ size2x }}.jpg 2x,
|
data-srcset="{{ imagePath }}-{{ size2x }}.jpg 2x,
|
||||||
{{ imagePath }}-{{ size1x }}.jpg 1x"
|
{{ imagePath }}-{{ size1x }}.jpg 1x"
|
||||||
width="672"
|
width="672"
|
||||||
height="420">
|
height="420"
|
||||||
{% endif %}
|
/>
|
||||||
<span class="bd-website-overlay is-overlay"></span>
|
{% endif %}
|
||||||
</figure>
|
<span class="bd-website-overlay is-overlay"></span>
|
||||||
|
</figure>
|
||||||
|
|
||||||
<h2 class="title is-5 bd-website-name is-marginless">
|
<h2 class="title is-5 bd-website-name is-marginless">{{ website.name }}</h2>
|
||||||
{{ website.name }}
|
</div>
|
||||||
</h2>
|
|
||||||
|
|
||||||
<p class="bd-website-date">
|
|
||||||
{{ website.date }}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="{{ site.url }}/vendor/lazyload-2.0.0-beta.2.min.js"></script>
|
<script src="{{ site.url }}/vendor/lazyload-2.0.0-beta.2.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
;(function() {
|
(function () {
|
||||||
lazyload();
|
lazyload();
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
BIN
docs/images/expo/mullvad-1344x840.jpg
Normal file
BIN
docs/images/expo/mullvad-1344x840.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 155 KiB |
BIN
docs/images/expo/mullvad-2688x1680.jpg
Normal file
BIN
docs/images/expo/mullvad-2688x1680.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 412 KiB |
BIN
docs/images/expo/mullvad-672x420.jpg
Normal file
BIN
docs/images/expo/mullvad-672x420.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 55 KiB |
Loading…
Reference in New Issue
Block a user