improve seacrh
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user