Minor improvements

This commit is contained in:
2025-10-22 16:21:22 +03:30
parent 5133c8a56b
commit f816f54aea
2 changed files with 6 additions and 3 deletions

View File

@@ -73,14 +73,14 @@ const alreadyAdded = computed(() =>
</router-link>
<div class="card-actions justify-end mt-auto">
<button v-motion-fade-visible
<button v-motion-fade-visible-once
v-if="!alreadyAdded"
class="btn btn-sm px-4 bg-gradient-to-r from-gray-100 to-gray-200 border border-gray-300 text-gray-700 hover:from-gray-200 hover:to-gray-300 hover:text-gray-900 transition"
@click="store.addMovie(props.movie)"
>
Add
</button>
<button v-motion-fade-visible
<button v-motion-fade-visible-once
v-else
class="btn btn-sm px-4 bg-gradient-to-r from-red-50 to-red-100 border border-red-200 text-red-600 hover:from-red-100 hover:to-red-200 hover:text-red-700 transition"
@click="store.removeMovie(props.movie.imdbID)"

View File

@@ -1,2 +1,5 @@
@import 'tailwindcss';
@plugin "daisyui";
@plugin "daisyui" {
themes:
lofi --default
}