improve seacrh

This commit is contained in:
2025-04-26 11:47:16 -03:00
parent a33fc0a34a
commit b27c164c2d
4 changed files with 63 additions and 21 deletions

View File

@@ -5,7 +5,7 @@ import Layout from "~/layouts/Layout.astro";
import Container from "~/components/Container.astro";
import { Clients } from "~/components/Course";
import Search from "./_components/Search.astro";
//import Search from "astro-pagefind/components/Search";
// import Search from "astro-pagefind/components/Search";
import mulhercomepi from "~/assets/mulher-com-epi.png";
---
@@ -28,15 +28,23 @@ import mulhercomepi from "~/assets/mulher-com-epi.png";
</label>
<div
class="flex gap-2.5 border border-black bg-white w-full rounded-lg relative"
class="border border-black bg-white w-full rounded-lg relative"
>
<label for="search" class="py-3.5 pl-3">
<!-- <label for="search" class="py-3.5 pl-3">
<Icon
name="magnifying-glass"
class="size-6"
/>
</label>
<Search uiOptions={{ showImages: false, resetStyles: true }} />
</label> -->
<Search
className="pagefind-ui"
uiOptions={{
showImages: false,
resetStyles: false,
pageSize: 5,
excerptLength: 0,
}}
/>
</div>
</div>