diff options
author | 2019-04-19 15:29:27 +0200 | |
---|---|---|
committer | 2019-04-19 15:29:27 +0200 | |
commit | 5d9d6eec3159a9c87ca45dc5b294534daf8495fa (patch) | |
tree | 281274633fe8a9cc5c79d5f66409cf1fd87702dc /pydis_site/templates | |
parent | Merge branch 'django_front_page' of github.com:python-discord/site into djang... (diff) |
Addressing all comments in volcyy's second review. The tests now mock the API calls so we don't have to actually call the API every time we run tests.
Diffstat (limited to 'pydis_site/templates')
-rw-r--r-- | pydis_site/templates/base/navbar.html | 2 | ||||
-rw-r--r-- | pydis_site/templates/home/index.html | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/pydis_site/templates/base/navbar.html b/pydis_site/templates/base/navbar.html index 6a7e683f..ed6ae118 100644 --- a/pydis_site/templates/base/navbar.html +++ b/pydis_site/templates/base/navbar.html @@ -8,7 +8,7 @@ <img src="{% static "images/navbar/pydis_banner_no_square.svg" %}" alt="Python Discord logo"/> </a> - <!-- The navbar "burger" which appears when rendered on screens that can't fit the entire nav --> + {# The navbar "burger" which appears when rendered on screens that can't fit the entire nav #} <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbar_menu"> <span aria-hidden="true"></span> <span aria-hidden="true"></span> diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html index 6057ca18..dfb74f96 100644 --- a/pydis_site/templates/home/index.html +++ b/pydis_site/templates/home/index.html @@ -11,7 +11,7 @@ <section class="section"> - <!-- Who are we? --> + {# Who are we? #} <div class="container is-spaced"> <h1 class="is-size-1">Who are we?</h1> <br> @@ -39,20 +39,20 @@ </p> </div> - <!-- Intro video --> + {# Intro video #} <div class="column is-half video-container"> <iframe src="https://www.youtube.com/embed/DIBXg8Qh7bA" frameborder="0" - allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" + allow="accelerometer; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div> </div> - <!-- Projects --> + {# Projects #} <h1 class="is-size-1">Projects</h1> <br> <div class="columns is-multiline"> - <!-- Display projects from settings.HOMEPAGE_REPOS --> + {# Display projects from settings.HOMEPAGE_REPOS #} {% for repo in repo_data %} <div class="column is-one-third"> <div class="card has-equal-height github-card"> @@ -77,7 +77,7 @@ </div> </section> - <!-- Sponsors --> + {# Sponsors #} <section class="section-sp hero is-light"> <div id="sponsors-hero" class="hero-body"> <div class="container"> @@ -85,8 +85,8 @@ Sponsors </h1> <a href="https://linode.com"><img src="{% static "images/sponsors/linode.png" %}" alt="Linode"/></a> - <a href="https://jetbrains.com"><img src="{% static "images/sponsors/jetbrains.png" %}" alt=""/></a> - <a href="https://adafruit.com"><img src="{% static "images/sponsors/adafruit.png" %}" alt=""/></a> + <a href="https://jetbrains.com"><img src="{% static "images/sponsors/jetbrains.png" %}" alt="JetBrains"/></a> + <a href="https://adafruit.com"><img src="{% static "images/sponsors/adafruit.png" %}" alt="Adafruit"/></a> </div> </div> </section> |