Skip to content

Commit cc43a8e

Browse files
committed
Add "Complementary" subsection in the "Applications" section (#32)
Closes #32
1 parent c1b101f commit cc43a8e

File tree

4 files changed

+155
-0
lines changed

4 files changed

+155
-0
lines changed

_layouts/base.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,29 @@ <h4>{{ app.name }}</h4>
211211
</div>
212212
</div>
213213
</div>
214+
215+
{% if page.apps.complementary %}
216+
<h3>Complementary</h3>
217+
<p>{{ page.apps.complementary_intro }}</p>
218+
<div class="row-fluid">
219+
<div class="row">
220+
<div class="features-grid apps">
221+
{% for app in page.apps.complementary %}
222+
<div class="feature">
223+
<a href="{{ app.url }}">
224+
{% if app.logo contains "fa " %}
225+
<span class="{{ app.logo }} fa-3x"></span>
226+
{% else %}
227+
<img src="{{ app.logo }}"/>
228+
{% endif %}
229+
<h4>{{ app.name }}</h4>
230+
</a>
231+
</div>
232+
{% endfor %}
233+
</div>
234+
</div>
235+
</div>
236+
{% endif %}
214237
</div>
215238
</div>
216239

css/openrazer.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,10 @@ footer p em {
436436
/****************************
437437
* Misc.
438438
*****************************/
439+
.section .row-fluid + h3 {
440+
margin-top: 32px;
441+
}
442+
439443
.danger > h5 {
440444
padding-top: 8px;
441445
padding-bottom: 8px;

img/apps/input-remapper.svg

Lines changed: 122 additions & 0 deletions
Loading

index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,12 @@ apps:
326326
technologies:
327327
- Python
328328

329+
complementary_intro: "These applications can further extend your device's functionality, but are not related to OpenRazer."
330+
complementary:
331+
- name: Input Remapper
332+
url: https://github.com/sezanzeb/input-remapper
333+
logo: /img/apps/input-remapper.svg
334+
329335
links:
330336
- label: View Source
331337
icon: fa-brands fa-github

0 commit comments

Comments
 (0)