Skip to content

Commit 121a3be

Browse files
committed
add community-examples include file
1 parent 4c81500 commit 121a3be

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

includes/community-examples.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<div class="my-6 pt-6">
2+
<h2 class="mb-2 font-mktg h1">{% data ui.product_landing.communities_using_discussions %}</h2>
3+
4+
<div class="d-flex flex-wrap gutter">
5+
{% render discussions-community-card for productCommunityExamples as example %}
6+
</div>
7+
{% if productCommunityExamples.length > 6 %}
8+
<button class="js-filter-card-show-more btn btn-outline float-right" data-js-filter-card-max="6">{% data ui.product_landing.show_more %} {% octicon "arrow-right" %}</button>
9+
{% endif %}
10+
<div class="js-filter-card-no-results d-none py-4 text-center color-text-secondary font-mktg">
11+
<div class="mb-3">{% octicon "search" width="24" %}</div>
12+
<h3 class="text-normal">{% data ui.product_landing.sorry %} <strong class="js-filter-card-value"></strong></h3>
13+
<p class="my-3 f4">{% data ui.product_landing.no_example %} <br>{% data ui.product_landing.try_another %}</p>
14+
<a href="https://github.com/github/docs/blob/main/data/variables/discussions_community_examples.yml">{% data ui.product_landing.add_your_community %} {% octicon "arrow-right" %}</a>
15+
</div>
16+
</div>

0 commit comments

Comments
 (0)