remove game from activeGames immediately on end
This commit is contained in:
@@ -1,15 +1,18 @@
|
||||
import { IconUser } from "@tabler/icons-react";
|
||||
import Link from "next/link";
|
||||
import ThemeToggle from "./ThemeToggle";
|
||||
import Image from "next/image";
|
||||
import icon from "../../public/images/chessu_icon.svg";
|
||||
|
||||
export default function Header() {
|
||||
return (
|
||||
<header className="navbar mx-1 w-auto justify-center drop-shadow-sm md:mx-16 lg:mx-40">
|
||||
<div className="flex flex-1 items-center gap-1">
|
||||
<div className="flex flex-1 items-center gap-2">
|
||||
<Link
|
||||
href="/"
|
||||
className="btn btn-ghost no-animation p-0 text-xl normal-case hover:bg-transparent"
|
||||
className="btn btn-ghost no-animation gap-1 p-0 text-2xl normal-case hover:bg-transparent"
|
||||
>
|
||||
<Image src={icon} alt="chessu icon" height={30} />
|
||||
chessu
|
||||
</Link>
|
||||
<div className="dropdown dropdown-right hover:dropdown-open">
|
||||
|
||||
Reference in New Issue
Block a user