mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
98 lines
2.7 KiB
HTML
98 lines
2.7 KiB
HTML
{% set platinum_sponsors = [
|
|
{
|
|
'image': '/assets/foundation/img/conf/sponsors/zerodha.png',
|
|
'title': 'Zerodha',
|
|
'website_url': 'https://zerodha.com/'
|
|
},
|
|
{
|
|
'image': '/assets/foundation/img/conf/sponsors/cloud8-2018.png',
|
|
'title': 'CloudE8',
|
|
'website_url': 'https://www.cloude8.com'
|
|
},
|
|
{
|
|
'image': '/assets/foundation/img/conf/sponsors/nusantara.png',
|
|
'title': 'Nusantara',
|
|
'website_url': 'https://nusantaradigitalkonsultan.com/'
|
|
},
|
|
{
|
|
'image': '/assets/foundation/img/conf/sponsors/indictrans.png',
|
|
'title': 'Indictrans',
|
|
'website_url': 'https://indictranstech.com'
|
|
},
|
|
{
|
|
'image': '/assets/foundation/img/conf/sponsors/elasticrun.png',
|
|
'title': 'ElasticRun',
|
|
'website_url': 'https://elastic.run'
|
|
},
|
|
{
|
|
'image': '/assets/foundation/img/conf/sponsors/smb.png',
|
|
'title': 'SMB Solutions',
|
|
'website_url': 'https://smbsolutionkwt.com'
|
|
},
|
|
{
|
|
'image': '/assets/foundation/img/conf/sponsors/frappe-logo.png?2',
|
|
'title': 'Frappe',
|
|
'website_url': 'http://frappe.io/'
|
|
},
|
|
] %}
|
|
|
|
{% macro show_section(sponsors, with_img = False) %}
|
|
<div class='row mt-4 justify-content-center'>
|
|
{% for sponsor in sponsors %}
|
|
<div class='mx-3 mx-md-0 col-sm-3 mb-4'>
|
|
<a href='{{ ("{}{}".format("" if sponsor.website_url.startswith("http") else "//", sponsor.website_url)) if sponsor.website_url else "#" }}' target='_blank' class='card h-100'>
|
|
<div class="card-body">
|
|
{% if with_img %}
|
|
<div class='square-img'>
|
|
<img class=""
|
|
src="{{ sponsor.image or "/assets/foundation/img/people/tux.png" }}"
|
|
alt="{{ sponsor.title }}">
|
|
</div>
|
|
{% endif %}
|
|
<div>
|
|
<h6 class="mt-3 mb-0">
|
|
{{ sponsor.title }}
|
|
</h6>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
{% if loop.index is divisibleby 4 %}
|
|
</div><div class='row justify-content-center'>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endmacro %}
|
|
|
|
{% macro sponsor() %}
|
|
<section class="section-padding section-gray">
|
|
<div class='container text-center'>
|
|
<div>
|
|
<h2>Sponsors</h2>
|
|
<p class='lead'>The 2019 Conference is proudly sponsored by these amazing companies.</p>
|
|
</div>
|
|
<div class="mt-5">
|
|
{% if platinum_sponsors %}
|
|
<h4>Platinum Sponsors<h4>
|
|
{{ show_section(platinum_sponsors, with_img=True) }}
|
|
{% endif %}
|
|
|
|
{% if gold_sponsors %}
|
|
<h4 class="mt-4">Gold Sponsors<h4>
|
|
{{ show_section(gold_sponsors, with_img=True) }}
|
|
{% endif %}
|
|
|
|
{% if silver_sponsors %}
|
|
<h4 class="mt-4">Silver Sponsors<h4>
|
|
{{ show_section(silver_sponsors, with_img=True) }}
|
|
{% endif %}
|
|
</div>
|
|
<div>
|
|
<p>
|
|
<a class="mt-4 btn btn-primary btn" href="/request-a-call">Become A Sponsor</a>
|
|
</p>
|
|
<a class="text-muted" href="/conf/2019/Conference 2019 Prospectus.pdf" target="_blank">Download Prospectus</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{% endmacro %} |