chore: some updates
All checks were successful
Deploy to SFTP Server / build (push) Successful in 28m3s
All checks were successful
Deploy to SFTP Server / build (push) Successful in 28m3s
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
$: search(searchTerm);
|
||||
$: search();
|
||||
</script>
|
||||
|
||||
<div class="search-wrapper my-4 noise relative">
|
||||
|
||||
@@ -48,6 +48,7 @@ const {
|
||||
} = Astro.props;
|
||||
|
||||
const imageOk = await checkImage(image);
|
||||
console.log({ ok: imageOk, image });
|
||||
|
||||
const { thumbhash, exif } = imageOk
|
||||
? await getProcessedImage(image)
|
||||
@@ -96,6 +97,6 @@ const sizes = thumbnail
|
||||
<slot />
|
||||
</AstroImage>
|
||||
) : (
|
||||
<div>{JSON.stringify({ "imageOk":imageOk, image })}</div>
|
||||
<div>{JSON.stringify({ imageOk: imageOk, image })}</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ function buildSearchTerm(res: any) {
|
||||
<h1 class="text-4xl mb-4">{t(resourceType)}</h1>
|
||||
<p>{t(`${resourceType as "articles"}.description`)}</p>
|
||||
|
||||
<ClientSearch resourceType={resourceType} client:load />
|
||||
<ClientSearch client:load />
|
||||
|
||||
<div id="resource-list-static" class="flex flex-col gap-6">
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user