From 448dc37e599439293b29a6ae23d3a18bf253bbd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Rafael=20Siqueira?= Date: Tue, 29 Apr 2025 22:43:50 -0300 Subject: [PATCH] anchor --- superpage/src/components/Course/Cert.astro | 2 +- superpage/src/components/Course/Course.astro | 14 +++---- superpage/src/components/Course/Modules.astro | 2 +- superpage/src/components/Course/Plans.astro | 38 +++++++++---------- superpage/src/components/Course/Trainer.astro | 3 +- 5 files changed, 30 insertions(+), 29 deletions(-) diff --git a/superpage/src/components/Course/Cert.astro b/superpage/src/components/Course/Cert.astro index b0496d7..32f4c4c 100644 --- a/superpage/src/components/Course/Cert.astro +++ b/superpage/src/components/Course/Cert.astro @@ -3,7 +3,7 @@ import { Icon } from "astro-icon/components"; import Container from "~/components/Container.astro"; --- - +
diff --git a/superpage/src/components/Course/Course.astro b/superpage/src/components/Course/Course.astro index ce83edc..f88e1da 100644 --- a/superpage/src/components/Course/Course.astro +++ b/superpage/src/components/Course/Course.astro @@ -10,24 +10,24 @@ import Faq from "./Faq.astro"; const { trainer } = Astro.props; --- - + - + - + - + -{trainer && } +{trainer && } { Astro.slots.has("faq") && ( - + ) } - + diff --git a/superpage/src/components/Course/Modules.astro b/superpage/src/components/Course/Modules.astro index 494da86..e8823f3 100644 --- a/superpage/src/components/Course/Modules.astro +++ b/superpage/src/components/Course/Modules.astro @@ -2,7 +2,7 @@ import Container from "~/components/Container.astro"; --- - +

diff --git a/superpage/src/components/Course/Plans.astro b/superpage/src/components/Course/Plans.astro index 2c3b9a0..0399486 100644 --- a/superpage/src/components/Course/Plans.astro +++ b/superpage/src/components/Course/Plans.astro @@ -4,7 +4,25 @@ import Form from "./Contact.jsx"; ---
- + + +

Modelos de contratação para sua empresa @@ -94,22 +112,4 @@ import Form from "./Contact.jsx";

- -
diff --git a/superpage/src/components/Course/Trainer.astro b/superpage/src/components/Course/Trainer.astro index 16afcda..59126b0 100644 --- a/superpage/src/components/Course/Trainer.astro +++ b/superpage/src/components/Course/Trainer.astro @@ -5,9 +5,10 @@ import { Icon } from "astro-icon/components"; import Container from "~/components/Container.astro"; const trainer = await getEntry("trainers", Astro.props.name); +const { name, ...props } = Astro.props; --- - +