diff --git a/static/img/banners/coddy/coddy-billboard-bottom-python.png b/static/img/banners/coddy/coddy-billboard-bottom-python.png index 0e666fb23..44f99890f 100644 Binary files a/static/img/banners/coddy/coddy-billboard-bottom-python.png and b/static/img/banners/coddy/coddy-billboard-bottom-python.png differ diff --git a/static/img/banners/coddy/coddy-billboard-c.png b/static/img/banners/coddy/coddy-billboard-c.png new file mode 100644 index 000000000..9ade39cc4 Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-c.png differ diff --git a/static/img/banners/coddy/coddy-billboard-cpp.png b/static/img/banners/coddy/coddy-billboard-cpp.png new file mode 100644 index 000000000..f6e83b89f Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-cpp.png differ diff --git a/static/img/banners/coddy/coddy-billboard-cs.png b/static/img/banners/coddy/coddy-billboard-cs.png new file mode 100644 index 000000000..8ef2232cf Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-cs.png differ diff --git a/static/img/banners/coddy/coddy-billboard-go.png b/static/img/banners/coddy/coddy-billboard-go.png new file mode 100644 index 000000000..aa8ec8bce Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-go.png differ diff --git a/static/img/banners/coddy/coddy-billboard-html.png b/static/img/banners/coddy/coddy-billboard-html.png new file mode 100644 index 000000000..e9015056d Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-html.png differ diff --git a/static/img/banners/coddy/coddy-billboard-java.png b/static/img/banners/coddy/coddy-billboard-java.png new file mode 100644 index 000000000..4de6af90b Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-java.png differ diff --git a/static/img/banners/coddy/coddy-billboard-js.png b/static/img/banners/coddy/coddy-billboard-js.png index f47f437d2..5a5231f8f 100644 Binary files a/static/img/banners/coddy/coddy-billboard-js.png and b/static/img/banners/coddy/coddy-billboard-js.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-c.png b/static/img/banners/coddy/coddy-billboard-long-c.png new file mode 100644 index 000000000..01244b262 Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-long-c.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-cpp.png b/static/img/banners/coddy/coddy-billboard-long-cpp.png new file mode 100644 index 000000000..b0f64698b Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-long-cpp.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-cs.png b/static/img/banners/coddy/coddy-billboard-long-cs.png new file mode 100644 index 000000000..450026cb0 Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-long-cs.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-go.png b/static/img/banners/coddy/coddy-billboard-long-go.png new file mode 100644 index 000000000..4f9fa2cd6 Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-long-go.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-html.png b/static/img/banners/coddy/coddy-billboard-long-html.png new file mode 100644 index 000000000..c1a2b9c8f Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-long-html.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-java.png b/static/img/banners/coddy/coddy-billboard-long-java.png new file mode 100644 index 000000000..8fe635184 Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-long-java.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-js.png b/static/img/banners/coddy/coddy-billboard-long-js.png index 6f1619f1d..85c88de18 100644 Binary files a/static/img/banners/coddy/coddy-billboard-long-js.png and b/static/img/banners/coddy/coddy-billboard-long-js.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-php.png b/static/img/banners/coddy/coddy-billboard-long-php.png new file mode 100644 index 000000000..67a211288 Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-long-php.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-python.png b/static/img/banners/coddy/coddy-billboard-long-python.png new file mode 100644 index 000000000..93df16dfc Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-long-python.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-ruby.png b/static/img/banners/coddy/coddy-billboard-long-ruby.png new file mode 100644 index 000000000..5061d0d73 Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-long-ruby.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-shell.png b/static/img/banners/coddy/coddy-billboard-long-shell.png new file mode 100644 index 000000000..a80e5b1bf Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-long-shell.png differ diff --git a/static/img/banners/coddy/coddy-billboard-long-ts.png b/static/img/banners/coddy/coddy-billboard-long-ts.png new file mode 100644 index 000000000..2f4f6c360 Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-long-ts.png differ diff --git a/static/img/banners/coddy/coddy-billboard-php.png b/static/img/banners/coddy/coddy-billboard-php.png new file mode 100644 index 000000000..39fbb9f7d Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-php.png differ diff --git a/static/img/banners/coddy/coddy-billboard-ruby.png b/static/img/banners/coddy/coddy-billboard-ruby.png new file mode 100644 index 000000000..1e711b027 Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-ruby.png differ diff --git a/static/img/banners/coddy/coddy-billboard-shell.png b/static/img/banners/coddy/coddy-billboard-shell.png new file mode 100644 index 000000000..ce1e32801 Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-shell.png differ diff --git a/static/img/banners/coddy/coddy-billboard-ts.png b/static/img/banners/coddy/coddy-billboard-ts.png new file mode 100644 index 000000000..e1eba4f04 Binary files /dev/null and b/static/img/banners/coddy/coddy-billboard-ts.png differ diff --git a/templates/index-python.html b/templates/index-python.html index 0883b8f8b..cf1c56ab0 100644 --- a/templates/index-python.html +++ b/templates/index-python.html @@ -66,7 +66,7 @@

{{ page_title }}

This site is generously supported by DataCamp. DataCamp offers online interactive Python Tutorials for Data Science. Join over a million other learners and get started learning Python for data science today!

{#

Ready to take the test? Head onto LearnX and get your Python Certification!

#} - + diff --git a/templates/index.html b/templates/index.html index f511fac58..5947a8831 100644 --- a/templates/index.html +++ b/templates/index.html @@ -20,14 +20,30 @@ {% block ogurl %}{{ domain_data.full_url }}{% if tutorial_page %}/{{ path }}{% endif %}{% endblock %} {% block content %} +{% set coddy_banner_languages = { + "learnjavaonline.org": {"img": "java", "landing": "java"}, + "learn-html.org": {"img": "html", "landing": "html"}, + "learn-golang.org": {"img": "go", "landing": "go"}, + "learn-c.org": {"img": "c", "landing": "c"}, + "learn-cpp.org": {"img": "cpp", "landing": "cpp"}, + "learn-ts.org": {"img": "ts", "landing": "js"}, + "learn-php.org": {"img": "php", "landing": "php"}, + "learnshell.org": {"img": "shell", "landing": "terminal"}, + "learncs.org": {"img": "cs", "landing": "csharp"}, + "learnrubyonline.org": {"img": "ruby", "landing": "ruby"} +} %}
{% if domain_data.language == "javascript" %} - + + {% elif domain_data.namespace in coddy_banner_languages %} + + + {% elif domain_data.language == "sql" %} @@ -127,9 +143,13 @@

{{ page_title }}

{% if domain_data.language == "javascript" %} - + + {% elif domain_data.namespace in coddy_banner_languages %} + + + {% else %} @@ -165,9 +185,13 @@

Sponsors

{#
#}
{% if domain_data.language == "javascript" %} - + + {% elif domain_data.namespace in coddy_banner_languages %} + + + {% else %}