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/band-by-uuid.tsx | 77 ++++++++++++++------------------------------- 1 file changed, 23 insertions(+), 54 deletions(-) (limited to 'app/routes/band-by-uuid.tsx') diff --git a/app/routes/band-by-uuid.tsx b/app/routes/band-by-uuid.tsx index 9cb4d33..99a8b5c 100644 --- a/app/routes/band-by-uuid.tsx +++ b/app/routes/band-by-uuid.tsx @@ -26,50 +26,33 @@ const STATUS_LABEL: Record = { export default function BandDetail() { const { band, links, artists, latest } = useLoaderData(); return ( -
-
-
-

{band.name}

-
+
+
+
+

{band.name}

+
{band.area && {band.area}} {STATUS_LABEL[band.status] ?? band.status}
{band.description && ( -

{band.description}

+

{band.description}

)}
-
- - 履歴 - - - 編集 - +
+ 履歴 + 編集
{artists.length > 0 && ( -
-

- メンバー -

-
    +
    +

    メンバー

    +
      {artists.map((a) => ( -
    • - - {a.artist_name} - +
    • + {a.artist_name} {a.role && a.role.split(", ").filter(Boolean).map((r, i) => ( - {r} + {r} ))}
    • ))} @@ -78,19 +61,12 @@ export default function BandDetail() { )} {links.length > 0 && ( -
      -

      - リンク -

      -
        +
        +

        リンク

        +
        )} -
        -
        +
        +

        /bands/of/{band.id}

        - - /bands/named/{band.slug} - + /bands/named/{band.slug}

        {latest && ( -

        - 最終更新: {latest.created_at} — {latest.message} -

        +

        最終更新: {latest.created_at} — {latest.message}

        )}
-- cgit v1.2.3