Remove unused img and svg attributes in project component
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
594a87a711
commit
c391dbbbed
2 changed files with 1 additions and 3 deletions
|
@ -1,7 +1,5 @@
|
|||
<script props>
|
||||
module.exports = {
|
||||
img: props.img || '',
|
||||
svg: props.svg || '',
|
||||
text: props.text || '',
|
||||
href: props.href || '/',
|
||||
onclick: props.onclick || '',
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
selected: Number(props.selected || '0')
|
||||
}
|
||||
</script>
|
||||
<nav class="tab-list" role="tablist" hx-indicator="#indicator" hx-history="false">
|
||||
<nav class="tab-list" role="tablist" hx-indicator="#indicator">
|
||||
<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