diff --git a/superpage/src/components/Course/Plans.astro b/superpage/src/components/Course/Plans.astro index e496a6d..37ea57f 100644 --- a/superpage/src/components/Course/Plans.astro +++ b/superpage/src/components/Course/Plans.astro @@ -3,9 +3,54 @@ import Container from "~/components/Container.astro"; --- -
-
Plan A
-
Plan B
-
Plan C
-
+
+
+

Plan A

+
    +
  • Lorem ipsum
  • +
  • Lorem ipsum
  • +
  • Lorem ipsum
  • +
+ + Contratar + +
+
+

Plan A

+
    +
  • Lorem ipsum
  • +
  • Lorem ipsum
  • +
  • Lorem ipsum
  • +
+ + Contratar + +
+
+

Plan A

+
    +
  • Lorem ipsum
  • +
  • Lorem ipsum
  • +
  • Lorem ipsum
  • +
+ + Contratar + +
+
diff --git a/superpage/src/pages/[slug].astro b/superpage/src/pages/[slug].astro index 7632c88..9d8cc37 100644 --- a/superpage/src/pages/[slug].astro +++ b/superpage/src/pages/[slug].astro @@ -106,7 +106,12 @@ const { Content } = await render(course); href="#" class="text-black font-semibold bg-lime-400 rounded p-2.5 max-lg:text-center hover:bg-white hover:text-black" > - Contratar R${data.course.unit_price} p/ matrĂ­cula + Contratar { + new Intl.NumberFormat("pt-BR", { + style: "currency", + currency: "BRL", + }).format(data.course.unit_price) + } p/ matrĂ­cula