diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html index acb8efc4..1e406194 100644 --- a/project/templates/lilcity/index.html +++ b/project/templates/lilcity/index.html @@ -1,40 +1,18 @@ +{% extends "templates/lilcity/layer.html" %} + {% load static %} {% load setting from settings %} {% load compress %} - - - - - - {% block title %}Онлайн-курсы Lil School{% endblock title%} - - - - - - - - - {% comment %} {% endcomment %} - - - - - - - - {% comment %} {% endcomment %} - - - - - - {% compress css %} - - {% endcompress %} - - +{% block layer_head %} + + - - - - - - - - - - - - - - - {% include "templates/blocks/mixpanel.html" %} {% block head %}{% endblock head %} - - +{% endblock layer_head %} + +{% block layer_body %} {% include "templates/blocks/social.html" %} {% include "templates/blocks/baner.html" %}
@@ -160,5 +62,4 @@ {% block foot %}{% endblock foot %} {% block foot_js %}{% endblock foot_js %} - - +{% endblock layer_body %} diff --git a/project/templates/lilcity/layer.html b/project/templates/lilcity/layer.html new file mode 100644 index 00000000..a94ffab0 --- /dev/null +++ b/project/templates/lilcity/layer.html @@ -0,0 +1,114 @@ + +{% load static %} +{% load setting from settings %} +{% load compress %} + + + + + {% block title %}Онлайн-курсы Lil School{% endblock title%} + + + + + + + + + {% comment %} {% endcomment %} + + + + + + + + {% comment %} {% endcomment %} + + + + + + {% compress css %} + + {% endcompress %} + + + + + + + + + + + + + + + + + {% include "templates/blocks/mixpanel.html" %} + {% block layer_head %}{% endblock layer_head %} + + + {% block layer_body %} + {% endblock layer_body %} + + diff --git a/project/templates/lilcity/links.html b/project/templates/lilcity/links.html new file mode 100644 index 00000000..4db77509 --- /dev/null +++ b/project/templates/lilcity/links.html @@ -0,0 +1,82 @@ +{% extends "templates/lilcity/layer.html" %} {% load static %} + +{% block title %}School LIL.CITY{% endblock title %} + +{% block layer_head %} + +{% endblock layer_head %} + +{% block layer_body %} +
+
+ +
+
+
+ Lil School — первая образовательная онлайн-платформа креативного мышления для детей! 5+ +
+
+
+
+ +
+ +
+
Подписывайтесь на наши социальные сети
+
+
+
+ + + + + + + + + + + + + + + + + + + + +
+
+{% endblock layer_body %} diff --git a/project/urls.py b/project/urls.py index 9b0a5b00..6e71969e 100644 --- a/project/urls.py +++ b/project/urls.py @@ -37,7 +37,7 @@ from apps.payment.views import ( SchoolBuyView, GiftCertificatesView, GiftCertificateBuyView, GiftCertificateBuySuccessView, GiftCertificateGetView) -from .views import AboutView, IndexView, SchoolSchedulesView +from .views import AboutView, IndexView, SchoolSchedulesView, LinksView # TODO trim slash in the end urlpatterns = [ @@ -98,6 +98,7 @@ urlpatterns = [ name='gift-certificate-payment-success'), path('gift-certificate//get', GiftCertificateGetView.as_view(), name='gift-certificate-get'), path('faq', FAQView.as_view(), name='faq'), + path('links', LinksView.as_view(), name='links'), ] diff --git a/project/views.py b/project/views.py index 7404e317..224aeade 100644 --- a/project/views.py +++ b/project/views.py @@ -123,3 +123,7 @@ class SchoolSchedulesView(TemplateView): context = super().get_context_data() context['school_schedules'] = SchoolSchedule.objects.all() return context + + +class LinksView(TemplateView): + template_name = 'templates/lilcity/links.html'