diff --git a/rowers/templates/landingpage.html b/rowers/templates/landingpage.html new file mode 100644 index 00000000..19bbd419 --- /dev/null +++ b/rowers/templates/landingpage.html @@ -0,0 +1,128 @@ + + + + + + + + +
+
+ SCROLL DOWN +
+
+ +
+

Free Data and Analysis. For Rowers. By Rowers.

+

+ There is no shortage of training advice for rowers. +

+

+ The best research has found that works best for one rower might not work for another. So, what can you do? +

+

+ The best way to improve racing performance is to assess where you are, + set objectives, make a plan, track progress, and adjust based on the results you are getting. +

+

+ This site is more than a rowing log book. It enables you and your coach to + plan and track all your rowing, indoor and on the water, with a large number + of devices and apps. On top of htat, it offers the best in rowing + data analytics. Train smart. +

+
+ +
+
+ LESS HEIGHT +
+
+ +
+
+

Some info goes here

+
+
+ +
+
+ SCROLL UP +
+
+ +
+
+

Where does the login go?

+
+
+ +
+
+ COOL! +
+
+ + + diff --git a/rowsandall_app/urls.py b/rowsandall_app/urls.py index f03fc87c..e1536361 100644 --- a/rowsandall_app/urls.py +++ b/rowsandall_app/urls.py @@ -19,7 +19,7 @@ from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.views.generic import TemplateView -from rowsandall_app.views import rootview +from rowsandall_app.views import rootview, landingview from django.contrib.auth import views as auth_views from rowers import views as rowersviews @@ -54,6 +54,7 @@ urlpatterns += [ re_path(r'^admin/', admin.site.urls), re_path(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework2')), re_path(r'^$',rootview), + re_path(r'^landing$',landingview), re_path(r'^getblogs/$',rowersviews.get_blog_posts), re_path(r'^login/', # auth_views.LoginView, diff --git a/rowsandall_app/views.py b/rowsandall_app/views.py index ac25d7d7..debbab46 100644 --- a/rowsandall_app/views.py +++ b/rowsandall_app/views.py @@ -8,6 +8,13 @@ from rowingdata import main as rmain import random + +def landingview(request): + loginform = LoginForm() + + return render(request, + 'landingpage.html', + ) def rootview(request): diff --git a/static/img/MerijnSoeters-hr-3282.jpg b/static/img/MerijnSoeters-hr-3282.jpg new file mode 100644 index 00000000..60ba9a9c Binary files /dev/null and b/static/img/MerijnSoeters-hr-3282.jpg differ diff --git a/static/img/MerijnSoeters-hr-8192.jpg b/static/img/MerijnSoeters-hr-8192.jpg new file mode 100644 index 00000000..c0bf5fb8 Binary files /dev/null and b/static/img/MerijnSoeters-hr-8192.jpg differ diff --git a/static/img/MerijnSoeters-hr-9841.jpg b/static/img/MerijnSoeters-hr-9841.jpg new file mode 100644 index 00000000..5bfcbede Binary files /dev/null and b/static/img/MerijnSoeters-hr-9841.jpg differ diff --git a/templates/landing.html b/templates/landing.html new file mode 100644 index 00000000..a308602b --- /dev/null +++ b/templates/landing.html @@ -0,0 +1,152 @@ +{% load leaflet_tags %} +{% load cookielaw_tags %} +{% load rowerfilters %} +{% load tz_detect %} +{% tz_detect %} +{% load analytical %} +{% block filters %} +{% endblock %} + + + + {% block title %}Rowsandall Rowing Data Analytics{% endblock %} + {% block scripts %} {% endblock %} + + + + + + + + + + + + + + + + {% analytical_head_top %} + + + + + + + + + + + {% block image_src %}{% endblock %} + + + + + + {% block og_image %} + + + {% endblock %} + + + + + + + + + + + + + + {% block meta %} {% endblock %} + {% leaflet_js %} + {% leaflet_css %} +
+ + + + + + + + + {% analytical_head_bottom %} + + + + + + + + +
+

Aap

+
+ + +