bulma/docs/expo.html

64 lines
2.0 KiB
HTML
Raw Permalink Normal View History

2017-07-30 21:27:54 +00:00
---
layout: default
2024-03-21 16:11:54 +00:00
theme: expo
2017-07-30 21:27:54 +00:00
route: expo
---
2024-03-21 16:11:54 +00:00
{% include global/header.html %}
2017-07-30 21:27:54 +00:00
2024-03-21 16:11:54 +00:00
{%
include docs/hero.html
title="Made with Bulma"
subtitle="Gorgeous websites built with Bulma."
prints=page.hero_prints
%}
{% 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 docs/elements/tw-button.html label="#madewithbulma" href=tweet_href %}
{% endcapture %}
{% include docs/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
%}
2017-07-30 21:27:54 +00:00
<div class="bd-websites">
2023-08-18 16:42:17 +00:00
{% for website_id in site.data.expo.lists.expo %} {% assign website =
site.data.expo.by_id[website_id] %} {% assign imageName = website_id | slugify
2024-03-21 16:11:54 +00:00
%} {% assign imagePath = "/assets/images/expo/" | prepend: site.url | append:
2023-08-18 16:42:17 +00:00
imageName %}
<div
class="bd-website {% if website.highlighted %}bd-is-highlighted{% endif %}"
>
<figure class="bd-website-image">
2024-03-21 16:11:54 +00:00
{% if website.highlighted %}
{% assign size1x = "1344x840" %}
{% assign size2x = "2688x1680" %}
<img
src="{{ imagePath }}-{{ size1x }}.jpg"
srcset="{{ imagePath }}-{{ size2x }}.jpg 2x,
{{ imagePath }}-{{ size1x }}.jpg 1x"
width="1344"
height="840"
>
{% else %}
{% assign size1x = "672x420" %} {% assign size2x = "1344x840" %}
<img
src="{{ imagePath }}-{{ size1x }}.jpg"
srcset="{{ imagePath }}-{{ size2x }}.jpg 2x,
{{ imagePath }}-{{ size1x }}.jpg 1x"
width="672"
height="420"
>
2023-08-18 16:42:17 +00:00
{% endif %}
</figure>
2018-04-09 21:25:26 +00:00
2023-08-18 16:42:17 +00:00
<h2 class="title is-5 bd-website-name is-marginless">{{ website.name }}</h2>
</div>
{% endfor %}
</div>