_includes/home-hero.html in jekyll-theme-open-project-1.0.0.pre5 vs _includes/home-hero.html in jekyll-theme-open-project-1.0.0.rc1
- old
+ new
@@ -1,16 +1,30 @@
<div role="presentation" class="text">
<h1 class="title">{{ site.tagline }}</h1>
<p class="desc">{{ site.pitch | safe }}</p>
- <div class="cta explore-projects" role="presentation">
+
+ <div class="cta" role="presentation">
{% if site.is_hub %}
<a class="button" href="{{ "/projects/" | relative_url }}">
<i class="icon far fa-search"></i>
Explore Projects
</a>
{% else if %}
- <a class="button" href="{{ site.get_started_url | relative_url }}">
- Get Started
- </a>
+ {% assign ctas = site.home_calls_to_action | slice: 0, 2 %}
+
+ {% for link in ctas %}
+ <a class="button" href="{{ link.url | relative_url }}">
+ {{ link.title }}
+ </a>
+ {% endfor %}
{% endif %}
</div>
+
+ {% if site.parent_hub %}
+ <div class="parent-hub-plug" role="presentation">
+ <span class="title">A project done by</span>
+ <div class="logo" role="presentation">
+ {% include parent-hub/assets/symbol.svg %} <span class="title">{% include parent-hub/assets/title.html %}</span>
+ </div>
+ </div>
+ {% endif %}
</div>