Capitalize categories, show and italicize answer for host
This commit is contained in:
parent
96cba06c60
commit
95056dbf92
@ -15,7 +15,9 @@ const ClueDisplay = ({ activeClue }: Props) => {
|
|||||||
}, []);
|
}, []);
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="text-center fs-1">{activeClue.question}</div>
|
<div className="text-center fs-1 text-uppercase">
|
||||||
|
{activeClue.question}
|
||||||
|
</div>
|
||||||
<Timer startTime={startTime} length={5000} />
|
<Timer startTime={startTime} length={5000} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
@ -30,6 +30,7 @@ const ActiveClue = ({ activeClue }: Props) => {
|
|||||||
return (
|
return (
|
||||||
<Container>
|
<Container>
|
||||||
<p>{activeClue.question}</p>
|
<p>{activeClue.question}</p>
|
||||||
|
<p className="fst-italic">{activeClue.answer}</p>
|
||||||
<Stack gap={3} className="text-center">
|
<Stack gap={3} className="text-center">
|
||||||
{mode === "reading" && (
|
{mode === "reading" && (
|
||||||
<Button onClick={startTimer}>Start Timer</Button>
|
<Button onClick={startTimer}>Start Timer</Button>
|
||||||
|
@ -18,7 +18,7 @@ const CluesDisplay = () => {
|
|||||||
<Stack gap={3} className="text-center">
|
<Stack gap={3} className="text-center">
|
||||||
{categories.map(({ name }) => (
|
{categories.map(({ name }) => (
|
||||||
<Fragment key={name}>
|
<Fragment key={name}>
|
||||||
<h2>{name}</h2>
|
<h2 className="text-uppercase">{name}</h2>
|
||||||
{[200, 400, 600, 800, 1000].map((value) => (
|
{[200, 400, 600, 800, 1000].map((value) => (
|
||||||
<Button key={value} onClick={() => activateClue(name, value)}>
|
<Button key={value} onClick={() => activateClue(name, value)}>
|
||||||
{value}
|
{value}
|
||||||
|
Loading…
Reference in New Issue
Block a user