Remove unused img and svg attributes in project component
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Isaac Mills 2025-07-09 21:23:05 -06:00
parent 594a87a711
commit c391dbbbed
Signed by: fnmain
GPG key ID: B67D7410F33A0F61
2 changed files with 1 additions and 3 deletions

View file

@ -1,7 +1,5 @@
<script props> <script props>
module.exports = { module.exports = {
img: props.img || '',
svg: props.svg || '',
text: props.text || '', text: props.text || '',
href: props.href || '/', href: props.href || '/',
onclick: props.onclick || '', onclick: props.onclick || '',

View file

@ -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="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' : '' }}" <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>