fix: lucide react and offline

This commit is contained in:
Julien Froidefond
2025-04-03 10:23:54 +02:00
parent 9b130f2056
commit fff45628ba
6 changed files with 25 additions and 8 deletions

View File

@@ -1,3 +1,5 @@
"use client";
import { useTranslate } from "@/hooks/useTranslate";
import { Filter } from "lucide-react";

View File

@@ -35,8 +35,6 @@ export function HeroSection({ series }: HeroSectionProps) {
<SeriesCover
series={series as KomgaSeries}
alt={t("home.hero.coverAlt", { title: series.metadata.title })}
quality={25}
sizes="(max-width: 640px) 50vw, (max-width: 1024px) 33vw, 16.666vw"
showProgressUi={false}
/>
</div>

5
src/types/lucide-react.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
declare module "lucide-react/dist/esm/icons/funnel" {
import { LucideIcon } from "lucide-react";
const Filter: LucideIcon;
export default Filter;
}