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
1a6877e91d
commit
3043c4f483
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
selected: Number(props.selected || '0')
|
||||
}
|
||||
</script>
|
||||
<nav class="tab-list" role="tablist" hx-indicator="#indicator">
|
||||
<nav class="tab-list" role="tablist" hx-indicator="#indicator" hx-history-elt="#tab-content">
|
||||
<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
|
||||
Projects</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue