mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
refactor: updated chapter-list data and layout
This commit is contained in:
BIN
foundation/public/img/meetups/chennai.jpg
Normal file
BIN
foundation/public/img/meetups/chennai.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
BIN
foundation/public/img/meetups/zurich.jpg
Normal file
BIN
foundation/public/img/meetups/zurich.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 92 KiB |
@@ -7,49 +7,49 @@
|
||||
'city': 'Mumbai, India',
|
||||
'meetup-link': 'https://www.meetup.com/ERPNext-Community-Meetup/',
|
||||
'image': '/assets/foundation/img/meetups/mumbai.png',
|
||||
'members': 720
|
||||
'members': 955
|
||||
},
|
||||
{
|
||||
'city': 'Bengaluru, India',
|
||||
'meetup-link': 'https://www.meetup.com/ERPNext-Bangalore-Community/',
|
||||
'image': '/assets/foundation/img/meetups/bengaluru.png',
|
||||
'members': 590
|
||||
'members': 400
|
||||
},
|
||||
{
|
||||
'city': 'Bay Area, United States',
|
||||
'meetup-link': 'https://www.meetup.com/ERPNext-Community-Bay-Area/',
|
||||
'image': '/assets/foundation/img/meetups/bay-area.png',
|
||||
'members': 15
|
||||
'members': 20
|
||||
},
|
||||
{
|
||||
'city': 'Pune, India',
|
||||
'meetup-link': 'https://www.meetup.com/Pune-ERPNext-Meetup/',
|
||||
'image': '/assets/foundation/img/meetups/pune.png',
|
||||
'members': 540
|
||||
'members': 810
|
||||
},
|
||||
{
|
||||
'city': 'New England, United States',
|
||||
'meetup-link': 'https://www.meetup.com/ERPNext-New-England/',
|
||||
'image': '/assets/foundation/img/meetups/new-england.png',
|
||||
'members': 10
|
||||
'city': 'Chennai, India',
|
||||
'meetup-link': 'https://www.meetup.com/ERPNext-Chennai-Community/',
|
||||
'image': '/assets/foundation/img/meetups/chennai.jpg',
|
||||
'members': 33
|
||||
},
|
||||
{
|
||||
'city': 'Dubai, UAE',
|
||||
'meetup-link': 'https://www.meetup.com/UAE-ERPNext-Meetup/',
|
||||
'meetup-link': 'https://www.meetup.com/Erpnext-UAE/',
|
||||
'image': '/assets/foundation/img/meetups/dubai.png',
|
||||
'members': 53
|
||||
'members': 31
|
||||
},
|
||||
{
|
||||
'city': 'Germany',
|
||||
'meetup-link': 'https://www.meetup.com/ERPNext-German-Chapter/',
|
||||
'image': '/assets/foundation/img/meetups/frankfurt.png',
|
||||
'members': 7
|
||||
'members': 32
|
||||
},
|
||||
{
|
||||
'city': 'Jakarta, Indonesia',
|
||||
'meetup-link': 'https://www.meetup.com/ERPNext-Jakarta-Community-Meetup/',
|
||||
'image': '/assets/foundation/img/meetups/jakarta.png',
|
||||
'members': 55
|
||||
'members': 80
|
||||
},
|
||||
{
|
||||
'city': 'Paris, France',
|
||||
@@ -57,6 +57,12 @@
|
||||
'image': '/assets/foundation/img/meetups/paris.png',
|
||||
'members': 20
|
||||
},
|
||||
{
|
||||
'city': 'Zürich, Switzerland',
|
||||
'meetup-link': 'https://www.meetup.com/ERPNext-Swiss-Chapter/',
|
||||
'image': '/assets/foundation/img/meetups/zurich.jpg',
|
||||
'members': 38
|
||||
}
|
||||
] %}
|
||||
<section class='section-padding splash'
|
||||
style='background-image: url(/assets/foundation/img/meetups/meetup.jpg)'>
|
||||
@@ -69,22 +75,22 @@
|
||||
Become a part of your local ERPNext Community by joining a chapter near you.
|
||||
If you can't find one, start your own!
|
||||
</p>
|
||||
<div class='card-deck mt-5'>
|
||||
<div class='row mt-5'>
|
||||
{% for item in chapters %}
|
||||
|
||||
<a href='{{ item['meetup-link' ]}}' target='_blank' class='card mb-4'>
|
||||
<div class="col-sm-4">
|
||||
<div class="card mb-4">
|
||||
<a href='{{ item['meetup-link' ]}}' target='_blank'>
|
||||
<img class="card-img-top greyscale" src="{{ item.image }}" alt="{{ item.city }}">
|
||||
<div class="card-body">
|
||||
<h5>{{ item.city }}</h5>
|
||||
<div class='text-muted'>{{ item.members }} members</div>
|
||||
</div>
|
||||
</a>
|
||||
{% if loop.index is divisibleby 3 %}
|
||||
</div>
|
||||
<div class='card-deck'>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="text-center mx-auto">
|
||||
<div class='text-muted mt-4'>
|
||||
To start your own chapter, start a group on <a href='https://meetup.com' target='_blank'>Meetup.com</a> and get in touch with us.
|
||||
</div>
|
||||
@@ -92,5 +98,6 @@
|
||||
<a class='mt-4 btn-dark btn' href="/contact">Contact Us To Start a New Chapter</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user