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 = [
|
||||
{
|
||||
'image': '/assets/foundation/img/conf/sponsors/frappe-logo.png',
|
||||
'title': 'Frappe Technologies',
|
||||
'title': 'Frappe',
|
||||
'website_url': 'http://frappe.io/'
|
||||
},
|
||||
{
|
||||
'image': '/assets/foundation/img/people/tux.png',
|
||||
'title': 'Your Awesome Company',
|
||||
'website_url': 'http://www.example.com/'
|
||||
'image': '/assets/foundation/img/conf/sponsors/zerodha.png',
|
||||
'title': 'Zerodha',
|
||||
'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'>
|
||||
{% for sponsor in sponsors %}
|
||||
<div class='mx-3 mx-md-0 col-sm-3 mb-4'>
|
||||
@@ -19,13 +19,13 @@
|
||||
<div class="card-body">
|
||||
{% if with_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" }}"
|
||||
alt="{{ sponsor.title }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
<div>
|
||||
<h6 class="mb-0">
|
||||
<h6 class="mt-3 mb-0">
|
||||
{{ sponsor.title }}
|
||||
</h6>
|
||||
</div>
|
||||
@@ -49,7 +49,7 @@
|
||||
<div class="mt-5">
|
||||
{% if platinum_sponsors %}
|
||||
<h4>Platinum Sponsors<h4>
|
||||
{{ show_section(platinum_sponsors, color=True, with_img=True) }}
|
||||
{{ show_section(platinum_sponsors, with_img=True) }}
|
||||
{% endif %}
|
||||
|
||||
{% if gold_sponsors %}
|
||||
|
||||
Reference in New Issue
Block a user