This commit is contained in:
2025-05-08 10:59:30 -03:00
parent e3447431f7
commit 11dd53a9eb
2 changed files with 20 additions and 8 deletions

View File

@@ -6,9 +6,10 @@ const currency = new Intl.NumberFormat("pt-BR", {
}).format(course.unit_price);
---
<details class:list={["group", Astro.props.class]}>
<details class:list={["group/dropdown", Astro.props.class]}>
<summary
class="flex bg-black hover:bg-white hover:text-black group-open:text-black group-open:bg-white font-semibold py-2.5 px-3 rounded-md cursor-pointer transition"
class="flex bg-black hover:bg-white hover:text-black font-semibold py-2.5 px-3 rounded-md cursor-pointer transition
group-open/dropdown:text-black group-open/dropdown:bg-white"
>
Contratar agora
</summary>