accessibility & seo improvements
This commit is contained in:
@@ -52,7 +52,9 @@ export default function CreateGame() {
|
||||
</select>
|
||||
<button
|
||||
className={
|
||||
"btn" + (buttonLoading ? " loading" : "") + (!session?.user?.id ? " btn-disabled" : "")
|
||||
"btn" +
|
||||
(buttonLoading ? " loading" : "") +
|
||||
(!session?.user?.id ? " btn-disabled text-base-content" : "")
|
||||
}
|
||||
type="submit"
|
||||
>
|
||||
|
||||
@@ -57,7 +57,7 @@ export default function JoinGame() {
|
||||
className={
|
||||
"btn btn-square" +
|
||||
(buttonLoading ? " loading" : "") +
|
||||
(!session?.user?.id ? " btn-disabled" : "")
|
||||
(!session?.user?.id ? " btn-disabled text-base-content" : "")
|
||||
}
|
||||
type="submit"
|
||||
>
|
||||
|
||||
@@ -16,6 +16,7 @@ export default function RefreshButton() {
|
||||
|
||||
return (
|
||||
<button
|
||||
aria-label="Refresh public games"
|
||||
className={"btn btn-sm btn-ghost" + (isLoading ? " loading" : "")}
|
||||
onClick={handleRefresh}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user