forked from michelvanheest/shortcuts-design-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.njk
80 lines (76 loc) · 2.47 KB
/
index.njk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
layout: layouts/base.njk
permalink: /
subtitle: Shortcuts.design
title: Every shortcut for designers, centralized and searchable.
---
<link rel="stylesheet" href="/css/index.css">
{# BLOB #}
<object type="image/svg+xml" data="/assets/img/gradient-brand-default.svg" class="blob"></object>
{# INTRO #}
{% include "hero.njk" %}
<div class="row tools-overview">
<div class="col-12 col-lg-3">
<img src="/assets/img/toolGroup-design.png" alt="Design Shortcuts Icon">
<h2>Design shortcuts<h2>
</div>
<div class="col-12 col-lg-9">
{% set toolslist = collections.tools %}
{% for tool in toolslist %}
{% if tool.data.toolGroup == "Design" %}
{% include "toolslist.njk" %}
{% endif %}
{% endfor %}
{% include "add-new-tool.njk" %}
</div>
</div>
<div class="row">
<div class="col-12 offset-lg-3 col-lg-9">
{% include "link.njk" %}
</div>
</div>
<div class="row tools-overview">
<div class="col-12 col-lg-3">
<img src="/assets/img/toolGroup-development.png" alt="Development Shortcuts Icon">
<h2>Development shortcuts<h2>
</div>
<div class="col-12 col-lg-9">
{% set toolslist = collections.tools %}
{% for tool in toolslist %}
{% if tool.data.toolGroup == "Development" %}
{% include "toolslist.njk" %}
{% endif %}
{% endfor %}
{% include "add-new-tool.njk" %}
</div>
</div>
<div class="row tools-overview">
<div class="col-12 col-lg-3">
<img src="/assets/img/toolGroup-productivity.png" alt="Productivity Shortcuts Icon">
<h2>Productivity shortcuts<h2>
</div>
<div class="col-12 col-lg-9">
{% set toolslist = collections.tools %}
{% for tool in toolslist %}
{% if tool.data.toolGroup == "Productivity" %}
{% include "toolslist.njk" %}
{% endif %}
{% endfor %}
{% include "add-new-tool.njk" %}
</div>
</div>
<div class="row tools-overview">
<div class="col-12 col-lg-3">
<img src="/assets/img/toolGroup-3D.png" alt="3D Shortcuts Icon">
<h2>3D shortcuts<h2>
</div>
<div class="col-12 col-lg-9">
{% set toolslist = collections.tools %}
{% for tool in toolslist %}
{% if tool.data.toolGroup == "3D" %}
{% include "toolslist.njk" %}
{% endif %}
{% endfor %}
{% include "add-new-tool.njk" %}
</div>
</div>