Implement *better* routing
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
3043c4f483
commit
ceba96b022
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
selected: Number(props.selected || '0')
|
selected: Number(props.selected || '0')
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<nav class="tab-list" role="tablist" hx-indicator="#indicator" hx-history-elt="#tab-content">
|
<nav class="tab-list" role="tablist" hx-indicator="#indicator" hx-history-elt="#tabs">
|
||||||
<button hx-get="/partials/projects.html" hx-push-url="/projects.html" class="{{ selected-- == 0 ? 'selected' : '' }}"
|
<button hx-get="/partials/projects.html" hx-push-url="/projects.html" class="{{ selected-- == 0 ? 'selected' : '' }}"
|
||||||
role="tab" aria-selected="{{ selected == -1 ? 'true' : 'false' }}" aria-controls="tab-content">Our
|
role="tab" aria-selected="{{ selected == -1 ? 'true' : 'false' }}" aria-controls="tab-content">Our
|
||||||
Projects</button>
|
Projects</button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue