diff --git a/app/components/biz/gallery/image-box/index.tsx b/app/components/biz/gallery/image-box/index.tsx index cf0e036..af6a3a8 100644 --- a/app/components/biz/gallery/image-box/index.tsx +++ b/app/components/biz/gallery/image-box/index.tsx @@ -142,12 +142,9 @@ function LightBox({ className, list }: LightBoxProps, ref: Ref) { "fixed inset-0 z-50 flex flex-col bg-orange-50 overflow-auto animate-fade-in", state.fadeOut && "animate-fade-out", state.loading && "loading", - className + className, )} > -
-

{title}

-
) {
{list.map((item, index) => ( open(index)} > - {item.title} + {item.title} {item.content && ( -
+
{item.content}
)} diff --git a/app/routes/index.tsx b/app/routes/index.tsx index fe47d9f..1c2d085 100644 --- a/app/routes/index.tsx +++ b/app/routes/index.tsx @@ -115,9 +115,9 @@ export default function Index({ loaderData }: Route.ComponentProps) { {data.data.media.map((item) => (
- {item.title} + {item.title}

{item.title}

{item.take_time.substring(0, 10)}

diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs index 74f61ff..c186852 100644 --- a/ecosystem.config.cjs +++ b/ecosystem.config.cjs @@ -2,10 +2,9 @@ module.exports = { apps: [ { name: "cupcake", - script: "pnpm", - args: "start", + script: "./node_modules/@react-router/serve/bin.js", + args: "./build/server/index.js", cwd: __dirname, - interpreter: "none", instances: 1, exec_mode: "fork", autorestart: true,