debug: size unique on home
This commit is contained in:
@@ -97,7 +97,7 @@ function MediaCard({ item, onClick }: MediaCardProps) {
|
|||||||
type={isSeries ? "series" : "book"}
|
type={isSeries ? "series" : "book"}
|
||||||
id={item.id}
|
id={item.id}
|
||||||
alt={`Couverture de ${title}`}
|
alt={`Couverture de ${title}`}
|
||||||
sizes="200px"
|
sizes="100vh"
|
||||||
quality={100}
|
quality={100}
|
||||||
/>
|
/>
|
||||||
{/* Overlay avec les informations au survol */}
|
{/* Overlay avec les informations au survol */}
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ export class BookService extends BaseApiService {
|
|||||||
return new Response(response.buffer, {
|
return new Response(response.buffer, {
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": response.contentType || "image/jpeg",
|
"Content-Type": response.contentType || "image/jpeg",
|
||||||
// "Cache-Control": "public, max-age=31536000, immutable",
|
"Cache-Control": "public, max-age=31536000, immutable",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ export class SeriesService extends BaseApiService {
|
|||||||
return new Response(response.buffer, {
|
return new Response(response.buffer, {
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": response.contentType || "image/jpeg",
|
"Content-Type": response.contentType || "image/jpeg",
|
||||||
// "Cache-Control": "public, max-age=31536000, immutable",
|
"Cache-Control": "public, max-age=31536000, immutable",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user