Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use a single image for the feature screenshots

Roland Geiderf8ba42bb7061
diff --git a/wger/software/static/css/landing_page.css b/wger/software/static/css/landing_page.css
index 9f8d20095..222141437 100644
--- a/wger/software/static/css/landing_page.css
+++ b/wger/software/static/css/landing_page.css
@@ -160,26 +160,6 @@ main {
align-items: center;
}
-.mobile-screen {
- position: absolute;
- z-index: 10;
- left: 100px;
- top: 100px;
- height: 360px;
-}
-
-.laptop-screen {
- position: absolute;
- z-index: 1;
- width: 550px;
- height: 370px;
-}
-
-.polygon-bg {
- z-index: 0;
- height: 90%;
- width: 80%;
-}
/* last section of main */
.bg-blue {
@@ -238,23 +218,4 @@ footer a:hover {
min-height: 80vh;
}
- .mobile-screen {
- left: 20px;
- top: 80px;
- height: 200px;
- }
-
- .laptop-screen {
- width: 350px;
- height: 230px;
- }
-
- .polygon-bg {
- width: 80%;
- height: 18rem;
- }
-
- .human_faces_img {
- height: 22rem;
- }
}
diff --git a/wger/software/static/images/mobile1.png b/wger/software/static/images/mobile1.png
deleted file mode 100644
index 8dc47d2e9..000000000
Binary files a/wger/software/static/images/mobile1.png and /dev/null differ
diff --git a/wger/software/static/images/mobile2.png b/wger/software/static/images/mobile2.png
deleted file mode 100644
index 103fc7071..000000000
Binary files a/wger/software/static/images/mobile2.png and /dev/null differ
diff --git a/wger/software/static/images/mobile3.png b/wger/software/static/images/mobile3.png
deleted file mode 100644
index e5080c8d9..000000000
Binary files a/wger/software/static/images/mobile3.png and /dev/null differ
diff --git a/wger/software/static/images/polygon-bg.png b/wger/software/static/images/polygon-bg.png
deleted file mode 100644
index a369bf78a..000000000
Binary files a/wger/software/static/images/polygon-bg.png and /dev/null differ
diff --git a/wger/software/static/images/screen1.png b/wger/software/static/images/screen1.png
deleted file mode 100644
index e1e401606..000000000
Binary files a/wger/software/static/images/screen1.png and /dev/null differ
diff --git a/wger/software/static/images/screen2.png b/wger/software/static/images/screen2.png
deleted file mode 100644
index 8d9b2eabb..000000000
Binary files a/wger/software/static/images/screen2.png and /dev/null differ
diff --git a/wger/software/static/images/screen3.png b/wger/software/static/images/screen3.png
deleted file mode 100644
index bc0ad5a17..000000000
Binary files a/wger/software/static/images/screen3.png and /dev/null differ
diff --git a/wger/software/static/images/screens-1.png b/wger/software/static/images/screens-1.png
new file mode 100644
index 000000000..572cc20c6
Binary files /dev/null and b/wger/software/static/images/screens-1.png differ
diff --git a/wger/software/static/images/screens-2.png b/wger/software/static/images/screens-2.png
new file mode 100644
index 000000000..bf7c7dcb2
Binary files /dev/null and b/wger/software/static/images/screens-2.png differ
diff --git a/wger/software/static/images/screens-3.png b/wger/software/static/images/screens-3.png
new file mode 100644
index 000000000..78aa3be02
Binary files /dev/null and b/wger/software/static/images/screens-3.png differ
diff --git a/wger/software/templates/features.html b/wger/software/templates/features.html
index e0aa83784..7ccc67f60 100644
--- a/wger/software/templates/features.html
+++ b/wger/software/templates/features.html
@@ -121,16 +121,9 @@
class="row row-cols row-cols-lg-2 row-cols-sm-1 px-3 w-100 justify-content-center flex-reverse gy-3">
<div
class="col-lg-7 col-sm-12 d-flex flex-column justify-content-center align-items-center position-relative">
- <img src="{% static 'images/mobile1.png' %}"
+ <img src="{% static 'images/screens-1.png' %}"
alt="mobile screen showing wger feature"
- class="mobile-screen">
- <img src="{% static 'images/screen1.png' %}"
- alt="laptop screen showing wger feature"
- class="laptop-screen">
- <img src="{% static 'images/polygon-bg.png' %}"
- alt="laptop screen showing wger feature"
- width="550px"
- class="polygon-bg">
+ class="img-fluid">
</div>
<div
@@ -162,15 +155,9 @@
<div
class="col-lg-7 col-sm-12 d-flex flex-column justify-content-center align-items-center position-relative"
style="overflow: hidden;">
- <img src="{% static 'images/mobile2.png' %}" alt="mobile screen showing wger feature"
- class="mobile-screen">
- <img src="{% static 'images/screen2.png' %}" alt="laptop screen showing wger feature"
- class="laptop-screen">
- <img src="{% static 'images/polygon-bg.png' %}"
- alt="laptop screen showing wger feature"
- width="550px"
- class="polygon-bg"
- style="transform: rotate(-15deg);">
+ <img src="{% static 'images/screens-2.png' %}"
+ alt="mobile screen showing wger feature"
+ class="img-fluid">
</div>
<div class="col-lg-5 col-sm-12 d-flex flex-column align-items-start justify-content-center">
<h2 class="w-100 font-bebas-neue display-4 uppercase">
@@ -199,17 +186,9 @@
<div
class="col-lg-7 col-sm-12 d-flex flex-column justify-content-center align-items-center position-relative"
style="overflow: hidden;">
- <img src="{% static 'images/mobile3.png' %}"
+ <img src="{% static 'images/screens-3.png' %}"
alt="mobile screen showing wger feature"
- class="mobile-screen">
- <img src="{% static 'images/screen3.png' %}"
- alt="laptop screen showing wger feature"
- class="laptop-screen">
- <img src="{% static 'images/polygon-bg.png' %}"
- alt="laptop screen showing wger feature"
- width="550px"
- class="polygon-bg"
- style="transform: rotate(30deg);">
+ class="img-fluid">
</div>
<div
@@ -256,7 +235,7 @@
<img src="{% static 'images/community.png' %}"
width="500"
alt="list of human faces"
- class="human_faces_img">
+ class="img-fluid">
</div>
<div class="col-lg-5 col-sm-12">
<h1 class="display-3 uppercase font-bebas-neue">