---
import type { SearchableEntry } from "@/types";
import BaseLayout from "@components/base/BaseLayout.astro";
import Search from "@components/search/Search";

interface Props {
  searchList: SearchableEntry[];
}

const { searchList } = Astro.props;
---

<BaseLayout title="Search" description="Search for content on this site">
  <Search client:load searchList={searchList} />
</BaseLayout>
