feat(carousel ui): add aden's carousel pagination design

This commit is contained in:
DecDuck
2024-12-29 19:08:18 +11:00
parent 8d7f20d373
commit 4fa2550a43
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
<template>
<div class="flex flex-row flex-wrap gap-3 justify-center">
<div class="flex flex-row flex-wrap gap-2 justify-center">
<button
v-for="(_, i) in amount"
@click="() => slideTo(i)"
:class="[
currentSlide == i ? 'bg-zinc-300' : 'bg-zinc-700',
'cursor-pointer w-4 h-2 rounded-full',
currentSlide == i ? 'bg-blue-600 w-6' : 'bg-zinc-700 w-3',
'transition-all cursor-pointer h-2 rounded-full',
]"
/>
</div>
Submodule server/drop-base updated: 1694de4e89...01fd41c65a
+1 -1
View File
@@ -12,4 +12,4 @@ generator client {
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
}