From e2f492ccae9afcc98ae7eb76bb94dc973aed60d8 Mon Sep 17 00:00:00 2001 From: yyamashita Date: Sat, 9 May 2026 14:11:33 +0900 Subject: simplize css --- app/routes/home.tsx | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) (limited to 'app/routes/home.tsx') diff --git a/app/routes/home.tsx b/app/routes/home.tsx index 5600645..5aa7de1 100644 --- a/app/routes/home.tsx +++ b/app/routes/home.tsx @@ -14,32 +14,23 @@ const STATUS_LABEL: Record = { export default function Home() { const { bands } = useLoaderData(); return ( -
+
{bands.length === 0 ? ( -

+

バンドがまだありません。{" "} - - 追加する - + 追加する

) : ( -
    +
      {bands.map((band) => ( -
    • -
      - - {band.name} - +
    • +
      + {band.name} {band.description && ( -

      - {band.description} -

      +

      {band.description}

      )}
      -
      +
      {band.area && {band.area}} {STATUS_LABEL[band.status] ?? band.status}
      -- cgit v1.2.3