add trends
This commit is contained in:
@@ -27,6 +27,7 @@ const bundlePath = `${import.meta.env.BASE_URL}pagefind/`;
|
|||||||
new PagefindUI({
|
new PagefindUI({
|
||||||
element,
|
element,
|
||||||
bundlePath,
|
bundlePath,
|
||||||
|
autofocus: true,
|
||||||
showImages: false,
|
showImages: false,
|
||||||
pageSize: 5,
|
pageSize: 5,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -7,6 +7,18 @@ import { Clients } from "~/components/Course";
|
|||||||
import Search from "./_components/Search.astro";
|
import Search from "./_components/Search.astro";
|
||||||
|
|
||||||
import mulhercomepi from "~/assets/mulher-com-epi.png";
|
import mulhercomepi from "~/assets/mulher-com-epi.png";
|
||||||
|
const treands = [
|
||||||
|
{
|
||||||
|
label: "NR-18 PEMT Plataforma Móvel de Trabalho Aéreo",
|
||||||
|
href: "nr-18-plataforma-de-trabalho-aereo",
|
||||||
|
},
|
||||||
|
{ label: "NR-10 Básico", href: "nr-10-basico" },
|
||||||
|
{ label: "CIPA Grau de Risco 3", href: "cipa-grau-de-risco-3" },
|
||||||
|
{
|
||||||
|
label: "NR-35 Trabalho em Altura",
|
||||||
|
href: "nr-35-trabalhos-em-altura-teorico",
|
||||||
|
},
|
||||||
|
];
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout>
|
<Layout>
|
||||||
@@ -35,9 +47,13 @@ import mulhercomepi from "~/assets/mulher-com-epi.png";
|
|||||||
<span>Cursos mais procurados</span>
|
<span>Cursos mais procurados</span>
|
||||||
</h2>
|
</h2>
|
||||||
<ul class="list-disc list-inside font-medium">
|
<ul class="list-disc list-inside font-medium">
|
||||||
<li>CIPA</li>
|
{
|
||||||
<li>Lei Lucas</li>
|
treands.map(({ label, href }) => (
|
||||||
<li>Noções em Primeiros Socorros</li>
|
<li>
|
||||||
|
<a href={href}>{label}</a>
|
||||||
|
</li>
|
||||||
|
))
|
||||||
|
}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user