M96820
commited on
feat: change design
Browse files- client/pnpm-lock.yaml +0 -0
- client/src/pages/game/App.jsx +6 -7
client/pnpm-lock.yaml
ADDED
The diff for this file is too large to render.
See raw diff
|
|
client/src/pages/game/App.jsx
CHANGED
@@ -674,24 +674,23 @@ function App() {
|
|
674 |
gap: 1,
|
675 |
}}
|
676 |
>
|
677 |
-
<Tooltip title={isRecording ? "
|
678 |
-
<
|
679 |
onClick={isRecording ? stopRecording : startRecording}
|
|
|
680 |
sx={{
|
681 |
-
border: "1px solid",
|
682 |
borderColor: isRecording ? "error.main" : "primary.main",
|
683 |
-
borderRadius: "8px",
|
684 |
backgroundColor: isRecording ? "error.main" : "transparent",
|
685 |
color: isRecording ? "white" : "primary.main",
|
686 |
-
padding: "8px",
|
687 |
"&:hover": {
|
688 |
backgroundColor: isRecording ? "error.dark" : "primary.main",
|
689 |
color: "background.paper",
|
|
|
690 |
},
|
691 |
}}
|
692 |
>
|
693 |
-
{isRecording ? "
|
694 |
-
</
|
695 |
</Tooltip>
|
696 |
<Tooltip title="Sauvegarder en PNG">
|
697 |
<IconButton
|
|
|
674 |
gap: 1,
|
675 |
}}
|
676 |
>
|
677 |
+
<Tooltip title={isRecording ? "Sarah's being convinced" : "Try to convince Sarah"}>
|
678 |
+
<Button
|
679 |
onClick={isRecording ? stopRecording : startRecording}
|
680 |
+
variant="outlined"
|
681 |
sx={{
|
|
|
682 |
borderColor: isRecording ? "error.main" : "primary.main",
|
|
|
683 |
backgroundColor: isRecording ? "error.main" : "transparent",
|
684 |
color: isRecording ? "white" : "primary.main",
|
|
|
685 |
"&:hover": {
|
686 |
backgroundColor: isRecording ? "error.dark" : "primary.main",
|
687 |
color: "background.paper",
|
688 |
+
borderColor: isRecording ? "error.dark" : "primary.main",
|
689 |
},
|
690 |
}}
|
691 |
>
|
692 |
+
{isRecording ? "Sarah's being convinced" : "Try to convince Sarah"}
|
693 |
+
</Button>
|
694 |
</Tooltip>
|
695 |
<Tooltip title="Sauvegarder en PNG">
|
696 |
<IconButton
|