mau + themecontext that will soothe my eyes soon
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import useTitle from "../../utils/TitleHook";
|
||||
import useTitle from "../../utils/hooks/TitleHook";
|
||||
import Card from "../components/Card";
|
||||
|
||||
const ROOM_URL = `http://${process.env.REACT_APP_API_URL}/room`;
|
||||
@@ -22,13 +22,16 @@ const MainLobby = () => {
|
||||
|
||||
return (
|
||||
<div className={"main-lobby"}>
|
||||
<div className={"main-lobby__button clickable"} onClick={handleCreateRoom}>
|
||||
<h2>Host Game</h2>
|
||||
<Card cardString={'SPADES ACE'} isClickable />
|
||||
</div>
|
||||
<div className={"main-lobby__button clickable"} onClick={gotoRooms}>
|
||||
<h2>Join Game</h2>
|
||||
<Card cardString={'SPADES ACE'} isHidden isClickable />
|
||||
<h1 className={"main-lobby__title mau"}>MauMau</h1>
|
||||
<div className={"main-lobby__container"}>
|
||||
<div className={"main-lobby__container-button clickable"} onClick={handleCreateRoom}>
|
||||
<h2 className={"mau"}>Host Game</h2>
|
||||
<Card cardString={'SPADES ACE'} isClickable />
|
||||
</div>
|
||||
<div className={"main-lobby__container-button clickable"} onClick={gotoRooms}>
|
||||
<h2 className={"mau"}>Join Game</h2>
|
||||
<Card cardString={'SPADES ACE'} isHidden isClickable />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -2,7 +2,7 @@ import useWebSocket from "react-use-websocket";
|
||||
import React from "react";
|
||||
import {useParams} from "react-router";
|
||||
import {GHButton} from "../components/Button";
|
||||
import useTitle from "../../utils/TitleHook";
|
||||
import useTitle from "../../utils/hooks/TitleHook";
|
||||
import Hand from "../components/Hand";
|
||||
import Deck from "../components/Deck";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import useTitle from "../../utils/TitleHook";
|
||||
import useTitle from "../../utils/hooks/TitleHook";
|
||||
import React from "react";
|
||||
import {Link} from "react-router-dom";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user