Merge pull request #85 from MD1125/documentation
Improve Documentation, Harden Build Scripts, and Enhance Number Formatting
This commit is contained in:
commit
e58d343673
12 changed files with 349 additions and 69 deletions
|
|
@ -203,13 +203,15 @@
|
|||
|
||||
<!-- Page dots -->
|
||||
<div class="flex items-center justify-center gap-2">
|
||||
{#each tips as _, index}
|
||||
{#each tips as tip, index}
|
||||
<button
|
||||
onclick={() => goToPage(index)}
|
||||
class="h-2 w-2 rounded-full transition-colors {index === currentPage
|
||||
? 'bg-primary'
|
||||
: 'bg-muted-foreground/30 hover:bg-muted-foreground/50'}"
|
||||
/>
|
||||
aria-label={`Go to tip ${index + 1}: ${tip.title}`}
|
||||
aria-current={index === currentPage ? 'page' : undefined}
|
||||
></button>
|
||||
{/each}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Reference in a new issue