diff --git a/foundation/www/conf/2019/__init__.py b/foundation/www/conf/2019/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/foundation/www/conf/2019/index.html b/foundation/www/conf/2019/index.html index b64a064c..09594ce3 100644 --- a/foundation/www/conf/2019/index.html +++ b/foundation/www/conf/2019/index.html @@ -9,7 +9,7 @@ Enterprise Buildings
-

+

ERPNext Conference 2019

Next Generation Enterprise

diff --git a/foundation/www/conf/2019/sponsor.html b/foundation/www/conf/2019/sponsor.html new file mode 100644 index 00000000..574ef5d9 --- /dev/null +++ b/foundation/www/conf/2019/sponsor.html @@ -0,0 +1,85 @@ +{% set platinum_sponsors = [ + { + 'image': '/assets/foundation/img/no-image.png', + 'title': 'Global Company #1', + 'website_url': 'http://www.example.com/' + }, + { + 'image': '/assets/foundation/img/no-image.png', + 'title': 'Global Company #2', + 'website_url': 'http://www.example.com/' + } +] %} + +{% set silver_sponsors = [ + { + 'image': '/assets/foundation/img/no-image.png', + 'title': 'Global Company #3', + 'website_url': 'http://www.example.com/' + }, + { + 'image': '/assets/foundation/img/no-image.png', + 'title': 'Global Company #4', + 'website_url': 'http://www.example.com/' + }, + { + 'image': '/assets/foundation/img/no-image.png', + 'title': 'Global Company #5', + 'website_url': 'http://www.example.com/' + }, +] %} + + +{% macro show_section(sponsors, with_img = False, color=False) %} +
+ {% for sponsor in sponsors %} + + {% if loop.index is divisibleby 4 %} +
+ {% endif %} + {% endfor %} +
+{% endmacro %} + +{% macro sponsor() %} +
+
+
+

Become a Sponsor

+

Become a patron for the conference and get associated with a global community of tens of thousands of users and developers.

+ Sponsor +
+
+ {% if platinum_sponsors %} +

Platinum Sponsors

+ {{ show_section(platinum_sponsors, color=True, with_img=True) }} + {% endif %} + + {% if gold_sponsors %} +

Gold Sponsors

+ {{ show_section(gold_sponsors, with_img=True) }} + {% endif %} + + {% if silver_sponsors %} +

Silver Sponsors

+ {{ show_section(silver_sponsors, with_img=True) }} + {% endif %} +

+
+
+{% endmacro %} \ No newline at end of file