feat: remove typesense
This commit is contained in:
@ -65,7 +65,9 @@ const Image = (
|
||||
style={props.style}
|
||||
srcset={responsiveAttributes.srcset}
|
||||
sizes={responsiveAttributes.sizes}
|
||||
src={`/api/images?image=${asset(props.src)}`}
|
||||
src={`/api/images?image=${asset(props.src)}${
|
||||
props.width ? `&width=${props.width}` : ""
|
||||
}${props.height ? `&height=${props.height}` : ""}`}
|
||||
width={props.width}
|
||||
height={props.height}
|
||||
class={props.class}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { ComponentChildren } from "preact";
|
||||
import Search from "@islands/Search.tsx";
|
||||
import { SearchResult } from "@lib/types.ts";
|
||||
import { GenericResource, SearchResult } from "@lib/types.ts";
|
||||
|
||||
export type Props = {
|
||||
children: ComponentChildren;
|
||||
@ -9,7 +9,7 @@ export type Props = {
|
||||
url: URL;
|
||||
description?: string;
|
||||
context?: { type: string };
|
||||
searchResults?: SearchResult;
|
||||
searchResults?: GenericResource[];
|
||||
};
|
||||
|
||||
export const MainLayout = (
|
||||
|
Reference in New Issue
Block a user