New templates for /learn and /libraries

This commit is contained in:
2018-09-20 15:00:10 +02:00
parent fd1db5d2e0
commit 7ba8ff7580
9 changed files with 287 additions and 86 deletions

View File

@@ -1,5 +1,5 @@
| {% extends 'layout.html' %}
| {% from '_macros/_navigation.html' import navigation_collection %}
| {% from '_macros/_navigation.html' import navigation_learn %}
include ../../../pillar/src/templates/mixins/components
@@ -12,10 +12,10 @@ mixin group(title, tag)
+card-deck(data-asset-tag=tag, class="js-asset-list py-3")
| {% block page_title %}Production Lessons{% endblock %}
| {% set page_header_text = "Tips and tricks by the Open Movie crew." %}
| {% set page_header_text = "Tips and tricks by the Open Projects crew." %}
| {% block navigation_tabs %}
| {{ navigation_collection(title) }}
| {{ navigation_learn(title) }}
| {% endblock navigation_tabs %}
| {% block head %}
@@ -27,31 +27,34 @@ script.
});
| {% endblock %}
| {% block body %}
+jumbotron(
'{{ self.page_title() }}',
'{{ page_header_text }}',
"{{ url_for('static', filename='assets/img/backgrounds/background_agent327_04.jpg')}}")(
class="jumbotron-overlay",
style="background-position: center top")
.container.pb-5
.row
.col-12
.pt-4
h2.text-uppercase.font-weight-bold
| {{ self.page_title() }}
.lead
| {{ page_header_text }}
.container
+group('Walk-through', 'walk-through')
+group('Modeling', 'modeling')
+group('Sculpting', 'sculpting')
+group('Animation', 'animation')
+group('Shading', 'shading')
+group('Texturing', 'texturing')
+group('Character Pipeline', 'character-pipeline')
+group('Rigging', 'rigging')
+group('Lighting & Rendering', 'lighting')
+group('Simulation & Effects', 'effects')
+group('Video Editing', 'video-editing')
+group('Digital Painting', 'digital-painting')
+group('Production Design', 'production-design')
hr.pb-2
a.d-block.py-5.text-center.text-muted(
href="{{ url_for('main.nodes_search_index') }}")
| Search Blender Cloud to find even more content
i.pi-angle-right.pl-1
+group('Walk-through', 'walk-through')
+group('Modeling', 'modeling')
+group('Sculpting', 'sculpting')
+group('Animation', 'animation')
+group('Shading', 'shading')
+group('Texturing', 'texturing')
+group('Character Pipeline', 'character-pipeline')
+group('Rigging', 'rigging')
+group('Lighting & Rendering', 'lighting')
+group('Simulation & Effects', 'effects')
+group('Video Editing', 'video-editing')
+group('Digital Painting', 'digital-painting')
+group('Production Design', 'production-design')
a.d-block.py-5.text-center.text-muted(
href="{{ url_for('main.nodes_search_index') }}")
| Search Blender Cloud to find even more content
i.pi-angle-right.pl-1
| {% endblock body%}