Skip to content

Add "Complementary" subsection under the "Applications" section #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,27 @@ <h4>{{ app.name }}</h4>
{% endfor %}
</div>
</div>

{% if page.apps.complementary %}
<h3>Complementary</h3>
<p>{{ page.apps.complementary_intro }}</p>
<div class="row-fluid">
<div class="row features-grid apps">
{% for app in page.apps.complementary %}
<div class="feature">
<a href="{{ app.url }}">
{% if app.logo contains "fa " %}
<span class="{{ app.logo }} fa-3x"></span>
{% else %}
<img src="{{ app.logo }}"/>
{% endif %}
<h4>{{ app.name }}</h4>
</a>
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>

Expand Down
4 changes: 4 additions & 0 deletions css/openrazer.css
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,10 @@ footer p em {
/****************************
* Misc.
*****************************/
.section .row-fluid + h3 {
margin-top: 32px;
}

.danger > h5 {
padding-top: 8px;
padding-bottom: 8px;
Expand Down
122 changes: 122 additions & 0 deletions img/apps/input-remapper.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,12 @@ apps:
technologies:
- Python

complementary_intro: "These applications can further extend your device's functionality, but are not related to OpenRazer."
complementary:
- name: Input Remapper
url: https://github.com/sezanzeb/input-remapper
logo: /img/apps/input-remapper.svg

links:
- label: View Source
icon: fa-brands fa-github
Expand Down