mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
feat: added zerodha to sponsor list
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 12 KiB |
BIN
foundation/public/img/conf/sponsors/zerodha.png
Normal file
BIN
foundation/public/img/conf/sponsors/zerodha.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -1,17 +1,17 @@
|
|||||||
{% set platinum_sponsors = [
|
{% set platinum_sponsors = [
|
||||||
{
|
{
|
||||||
'image': '/assets/foundation/img/conf/sponsors/frappe-logo.png',
|
'image': '/assets/foundation/img/conf/sponsors/frappe-logo.png',
|
||||||
'title': 'Frappe Technologies',
|
'title': 'Frappe',
|
||||||
'website_url': 'http://frappe.io/'
|
'website_url': 'http://frappe.io/'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'image': '/assets/foundation/img/people/tux.png',
|
'image': '/assets/foundation/img/conf/sponsors/zerodha.png',
|
||||||
'title': 'Your Awesome Company',
|
'title': 'Zerodha',
|
||||||
'website_url': 'http://www.example.com/'
|
'website_url': 'https://zerodha.com/'
|
||||||
}
|
}
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% macro show_section(sponsors, with_img = False, color=False) %}
|
{% macro show_section(sponsors, with_img = False) %}
|
||||||
<div class='row mt-4'>
|
<div class='row mt-4'>
|
||||||
{% for sponsor in sponsors %}
|
{% for sponsor in sponsors %}
|
||||||
<div class='mx-3 mx-md-0 col-sm-3 mb-4'>
|
<div class='mx-3 mx-md-0 col-sm-3 mb-4'>
|
||||||
@@ -19,13 +19,13 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
{% if with_img %}
|
{% if with_img %}
|
||||||
<div class='square-img'>
|
<div class='square-img'>
|
||||||
<img class="{% if not color %}greyscale{% endif %} p-4"
|
<img class=""
|
||||||
src="{{ sponsor.image or "/assets/foundation/img/people/tux.png" }}"
|
src="{{ sponsor.image or "/assets/foundation/img/people/tux.png" }}"
|
||||||
alt="{{ sponsor.title }}">
|
alt="{{ sponsor.title }}">
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div>
|
<div>
|
||||||
<h6 class="mb-0">
|
<h6 class="mt-3 mb-0">
|
||||||
{{ sponsor.title }}
|
{{ sponsor.title }}
|
||||||
</h6>
|
</h6>
|
||||||
</div>
|
</div>
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
<div class="mt-5">
|
<div class="mt-5">
|
||||||
{% if platinum_sponsors %}
|
{% if platinum_sponsors %}
|
||||||
<h4>Platinum Sponsors<h4>
|
<h4>Platinum Sponsors<h4>
|
||||||
{{ show_section(platinum_sponsors, color=True, with_img=True) }}
|
{{ show_section(platinum_sponsors, with_img=True) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if gold_sponsors %}
|
{% if gold_sponsors %}
|
||||||
|
|||||||
Reference in New Issue
Block a user