chore: added template for Request a Trial
- added new html template for cta-panel - referenced the new .html template in introduction.md - removed _includes from .gitignore. Refs: #2571
This commit is contained in:
Родитель
ab41a76e41
Коммит
4857eb9e4b
|
@ -11,7 +11,6 @@
|
|||
/_buildApi/
|
||||
/_common/root/
|
||||
/_data/
|
||||
/_includes/
|
||||
/_layouts/
|
||||
/_plugins/
|
||||
/_templates/
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
{% assign product = site.product %}
|
||||
{% if page.product != blank %}
|
||||
{% assign product = site.data.cta_panels_data.product_map[page.product] %}
|
||||
{% endif %}
|
||||
{% assign message = site.data.cta_panels_data[product].message %}
|
||||
{% assign product_url = site.data.cta_panels_data[product].product_url %}
|
||||
{% assign trial_url = site.data.cta_panels_data[product].trial_url %}
|
||||
{% assign icon = site.data.cta_panels_data[product].avatar %}
|
||||
{% assign hasCtaPanel = site.data.cta_panels_data[product] %}
|
||||
|
||||
{%if hasCtaPanel %}
|
||||
<section class="kd-cta-panel">
|
||||
<div class="container flex-center">
|
||||
<div class="kd-cta kd-cta-lg kd-cta-full-width">
|
||||
<div class="kd-cta-content-wrapper">
|
||||
<div class="kd-cta-image">
|
||||
<img loading="lazy" src="{{ site.baseurl }}/assets/Avatar-{{ icon }}-big.svg"
|
||||
alt="{{ product }} {{ icon }} image">
|
||||
</div>
|
||||
<div class="kd-cta-title-desc">
|
||||
<h5 class="kd-title kd-cta-title mt-0">New to {{ product }}?</h5>
|
||||
<div class="kd-cta-desc">
|
||||
<p class="text-small m-0">
|
||||
<a href="{{ product_url }}" class="kd-link text-bold">{{ product }}</a> is a
|
||||
{{ message }} To try it out sign up for a free 30-day trial.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="kd-cta-button-wrapper">
|
||||
<a href="{{ trial_url }}"
|
||||
class="kd-button kd-button-primary kd-button-md">Request a Trial</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
|
@ -20,7 +20,7 @@ With Telerik Reporting you can retrieve and process data from relational, multi-
|
|||
End users can view the ready reports in PDF, Microsoft Office Word, Excel, and PowerPoint document formats, or use a dedicated viewer in a Web or .NET/.NET Framework desktop application.
|
||||
|
||||
{% if site.has_cta_panels == true %}
|
||||
{% include cta-panel-introduction.html %}
|
||||
{% include cta-panel-introduction-reporting.html %}
|
||||
{% endif %}
|
||||
|
||||
## Supported Platforms
|
||||
|
|
Загрузка…
Ссылка в новой задаче