M96820 commited on
Commit
804ef79
·
unverified ·
1 Parent(s): 84dafc9

feat: change design

Browse files
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 ? "Stop Recording" : "Start Recording"}>
678
- <IconButton
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
- </IconButton>
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