[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [community/staging] Add svg illos to home page
commit 0669ae175249c223d5ee68bbc4de8758d43effcf
Author: Pili Guerra <pili@xxxxxxxxxxxxxx>
Date: Sat Jun 1 08:41:19 2019 +0200
Add svg illos to home page
---
.../images/home/svg/{relay-operators.svg => relay-operations.svg} | 0
assets/static/images/home/svg/{user-training.svg => training.svg} | 0
templates/home.html | 2 +-
3 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/assets/static/images/home/svg/relay-operators.svg b/assets/static/images/home/svg/relay-operations.svg
similarity index 100%
rename from assets/static/images/home/svg/relay-operators.svg
rename to assets/static/images/home/svg/relay-operations.svg
diff --git a/assets/static/images/home/svg/user-training.svg b/assets/static/images/home/svg/training.svg
similarity index 100%
rename from assets/static/images/home/svg/user-training.svg
rename to assets/static/images/home/svg/training.svg
diff --git a/templates/home.html b/templates/home.html
index 8b6f12f..8e6407a 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -14,7 +14,7 @@
<h2 class="card-title ">{{ child.title }}</h2>
<p class="card-text">{{ child.subtitle }}</p>
<div class="illo-container">
- <img src="/static/images/home/png/{{ child.section_id }}.png" class="img-fluid" alt="{{ child.section }}" />
+ <img src="/static/images/home/svg/{{ child.section_id }}.svg" class="img-fluid" alt="{{ child.section }}" />
</div>
</div>
<a href="{{ child.path|url }}" class="btn btn-primary">{{ child.cta }}</a>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits