Skip to content

Commit

Permalink
app components header: add number of rounds and copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnord committed Jul 25, 2023
1 parent 9276b8c commit 5664338
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,17 @@ function GameSettings({ game, url }: { game: Game; url: string }) {
<DropdownMenu.Label className="p-1 font-bold">
{game.title}
</DropdownMenu.Label>
<DropdownMenu.Label className="p-1">
by {game.author}
<DropdownMenu.Label className="p-1 text-slate-700">
{game.author} &middot; {game.copyright}
</DropdownMenu.Label>
{game.note && (
<DropdownMenu.Label>
<p className="break-words p-1 text-sm">{game.note}</p>
</DropdownMenu.Label>
)}
<DropdownMenu.Label className="p-1 text-sm text-slate-700">
{game.boards.length} round{game.boards.length === 1 ? "" : "s"}
</DropdownMenu.Label>

<DropdownMenu.Separator className="m-1 h-px bg-slate-200" />

Expand Down

1 comment on commit 5664338

@vercel
Copy link

@vercel vercel bot commented on 5664338 Jul 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.