Skip to content
Merged
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
2 changes: 1 addition & 1 deletion src/pug/_common.pug
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
db: '/mixed-input/db',
contribute: '/contribute/open_source',
devices: '/alpakka',
alpakkaManual: '/alpakka/manual/ctrl_app',
alpakkaManual: '/alpakka/manual/led',
blog: '/blog/' + findLatestBlogPost(),
}

Expand Down
5 changes: 3 additions & 2 deletions src/pug/_header.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ mixin nav
}
div.tab
div.title Devices
div.link(class=active('alpakka')): +a('/alpakka') Alpakka 1
div.link(class=active('alpakka_2')): +a('/alpakka_2') Alpakka 2
div.link(class=active('alpakka')): +a('/alpakka') Alpakka
//- div.link(class=active('alpakka_2')): +a('/alpakka_2') Alpakka 2
div.link(class=active('kapybara')): +a('/kapybara') Kapybara
div.link(class=active('marmota')): +a('/marmota') Marmota
div.link(class=active('ctrl-app')): +a('/ctrl-app') Ctrl app
div.tab
div.title Community
div.link(class=active('open_source')): +a('/contribute/open_source') Open Source
Expand Down
9 changes: 8 additions & 1 deletion src/pug/_selector.pug
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


if SECTION == 'alpakka'
h1.primary Alpakka 1
h1.primary Alpakka
h1.secondary
a.sub(class=active(PAGE=='alpakka') href='/alpakka') Overview
a.sub(class=active(SECTION_2=='manual') href=redirect.alpakkaManual) Manual
Expand All @@ -24,3 +24,10 @@ if SECTION == 'kapybara'

if SECTION == 'marmota'
h1 Marmota

if SECTION.startsWith('ctrl-app')
h1.primary Ctrl app
h1.secondary
a.sub(class=active(PAGE=='ctrl-app') href='/ctrl-app') Overview
a.sub(class=active(PAGE=='ctrl-app-features') href='/ctrl-app-features') Features
a.sub(href='https://ctrl.inputlabs.io' target='_blank') App ↗
1 change: 0 additions & 1 deletion src/pug/alpakka/manual/_manual.pug
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ block page
+wikilink('tune') Tune settings
+wikilink('calibrate') Calibrate
+wikilink('wireless') Wireless
+wikilink('ctrl_app') Ctrl app

h3 References
div
Expand Down
190 changes: 0 additions & 190 deletions src/pug/alpakka/manual/ctrl_app.pug

This file was deleted.

4 changes: 4 additions & 0 deletions src/pug/alpakka_2.pug
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ block page
a.img(href=src target='_blank')
img(src=src)

div.warning.boxes
div
p The Alpakka 2 crowdfunding campaign failed to reach its goal.<br>We are rethinking how to approach the project.

div.boxes.grid
div.box
h2 Gyro is the new mouse
Expand Down
Loading
Loading