feat: change libraly icons

This commit is contained in:
ngthanhvu
2026-07-25 10:39:40 -04:00
parent 856c514c15
commit 6c1dd39935
33 changed files with 827 additions and 459 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
<script setup lang="ts">
import { ChevronDown } from 'lucide-vue-next'
const faqs = [
{
category: 'Tổng quan',
@@ -67,7 +65,7 @@ function toggle(category: string, index: number) {
class="w-full flex items-center justify-between px-5 py-4 text-left text-sm font-semibold text-white hover:bg-white/5 transition"
@click="toggle(section.category, index)">
<span>{{ item.q }}</span>
<ChevronDown class="size-4 shrink-0 text-slate-400 transition-transform"
<AppIcon name="chevron-down" class="size-4 shrink-0 text-slate-400 transition-transform"
:class="openItems[`${section.category}-${index}`] ? 'rotate-180' : ''" />
</button>
<Transition name="faq">