diff --git a/rowers/templates/frontpage.html b/rowers/templates/frontpage.html
index 5751ed7c..80014c7a 100644
--- a/rowers/templates/frontpage.html
+++ b/rowers/templates/frontpage.html
@@ -76,51 +76,20 @@
WHAT WE OFFER
+ {% for offering in offerings %}
- SYNC
+ {{ offering.name }}
-
- Easily upload data from the most popular devices and apps.
+ {{ offering.text }}
-
- LOG
-
-

-
-
- Maintain
- a consistent log for all your rowing (indoor and on the water).
-
-
-
- ANALYZE
-
-

-
-
- Analyze your workouts with a consistent set of tools
-
-
-
- COMPARE
-
-

-
-
- Compare your results between workouts and with other rowers in your team
-
-
-
-
- and more
-
+ {% endfor %}
+
+ and more
diff --git a/rowsandall_app/views.py b/rowsandall_app/views.py
index d7276175..f207d1e7 100644
--- a/rowsandall_app/views.py
+++ b/rowsandall_app/views.py
@@ -5,14 +5,77 @@ from rowers.forms import LoginForm
from rowingdata import main as rmain
+import random
+
def rootview(request):
magicsentence = rmain()
loginform = LoginForm()
+
+ planoffering = {
+ 'name': 'PLAN',
+ 'image':'/static/img/Plan.png',
+ 'text':'We offer a fully integrated way for you or your coach to set up a training plan. Compare plan vs execution based on time, distance, heart rate or power.'
+ }
+
+ uploadoffering = {
+ 'name': 'SYNC',
+ 'image':'/static/img/upload.png',
+ 'text':'Easily upload data from the most popular devices and apps'
+ }
+
+ logoffering = {
+ 'name': 'LOG',
+ 'image':'/static/img/log.png',
+ 'text':'Maintain a consistent log for all your rowing (indoor and on the water)'
+ }
+
+ analyzeoffering = {
+ 'name': 'ANALYZE',
+ 'image':'/static/img/analyze.png',
+ 'text':'Analyze your workouts with a consistent set of tools'
+ }
+
+ compareoffering = {
+ 'name': 'COMPARE',
+ 'image':'/static/img/compare.png',
+ 'text':'Compare your results between workouts and with other rowers in your team'
+ }
+
+ raceoffering = {
+ 'name': 'RACE',
+ 'image':'/static/img/Race 01.png',
+ 'text':'Virtual regattas are an informal way to add a competitive element to your training and can be used as a quick way to set up small regattas'
+ }
+
+ coachoffering = {
+ 'name': 'COACHING',
+ 'image':'/static/img/Remote coaching.png',
+ 'text':'Rowsandall.com is the ideal platform for remote rowing coaching. As a coach, you can easily manage your athletes, set up plans and monitor execution and technique'
+ }
+
+
+
+ allofferings = [
+ planoffering,
+ uploadoffering,
+ logoffering,
+ analyzeoffering,
+ raceoffering,
+ compareoffering,
+ coachoffering,
+ ]
+
+ aux = list(allofferings)
+ random.shuffle(aux)
+
+ offerings = aux[0:5]
+
return render(request,
'frontpage.html',
{
'versionstring': magicsentence,
'form':loginform,
+ 'offerings':offerings,
})
diff --git a/static/css/rowsandall2.css b/static/css/rowsandall2.css
index eb7f7f98..240a05c0 100644
--- a/static/css/rowsandall2.css
+++ b/static/css/rowsandall2.css
@@ -281,7 +281,7 @@ th.rotate > div > span {
}
.frontitem {
- background-color: rgba(255,255,255,0.5);
+ background-color: rgba(255,255,255,0.7);
border: solid 1px wite;
padding: 5px;
margin: 5px;
diff --git a/static/img/Plan.png b/static/img/Plan.png
new file mode 100644
index 00000000..527354aa
Binary files /dev/null and b/static/img/Plan.png differ
diff --git a/static/img/Race 01.png b/static/img/Race 01.png
new file mode 100644
index 00000000..9dfc67c3
Binary files /dev/null and b/static/img/Race 01.png differ
diff --git a/static/img/Race 02.png b/static/img/Race 02.png
new file mode 100644
index 00000000..9a4a6287
Binary files /dev/null and b/static/img/Race 02.png differ
diff --git a/static/img/Remote coaching.png b/static/img/Remote coaching.png
new file mode 100644
index 00000000..2c30b1c5
Binary files /dev/null and b/static/img/Remote coaching.png differ
diff --git a/static/img/analyze.png b/static/img/analyze.png
index 8aec50ab..6d735261 100644
Binary files a/static/img/analyze.png and b/static/img/analyze.png differ
diff --git a/static/img/compare.png b/static/img/compare.png
index 154a7fec..bc9a9b75 100644
Binary files a/static/img/compare.png and b/static/img/compare.png differ
diff --git a/static/img/log.png b/static/img/log.png
index 71251c17..0c137e60 100644
Binary files a/static/img/log.png and b/static/img/log.png differ
diff --git a/static/img/upload.png b/static/img/upload.png
index 53b08fc3..5e01095f 100644
Binary files a/static/img/upload.png and b/static/img/upload.png differ