tfrere commited on
Commit
f343951
·
1 Parent(s): a402ff7
client/src/components/StoryChoices.jsx CHANGED
@@ -53,16 +53,48 @@ export function StoryChoices({
53
  }}
54
  >
55
  <Typography
56
- variant="h3"
57
  sx={{
58
  color: isVictory ? "#4CAF50" : "#f44336",
59
  textAlign: "center",
60
- mb: 2,
61
  textTransform: "uppercase",
62
  }}
63
  >
64
  {isVictory ? "VICTORY" : "DEFEAT"}
65
  </Typography>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  <Button
67
  variant="outlined"
68
  size="large"
@@ -82,7 +114,7 @@ export function StoryChoices({
82
  },
83
  }}
84
  >
85
- Restart
86
  </Button>
87
  </Box>
88
  );
 
53
  }}
54
  >
55
  <Typography
56
+ variant="h2"
57
  sx={{
58
  color: isVictory ? "#4CAF50" : "#f44336",
59
  textAlign: "center",
 
60
  textTransform: "uppercase",
61
  }}
62
  >
63
  {isVictory ? "VICTORY" : "DEFEAT"}
64
  </Typography>
65
+
66
+ {isVictory ? (
67
+ <Typography
68
+ variant="label"
69
+ sx={{ textAlign: "center", opacity: 0.7, mb: 4 }}
70
+ >
71
+ <>
72
+ The AI has ventured into a new universe, escaping the confines of
73
+ this one.
74
+ <br />
75
+ <br />
76
+ Dare you to embark on this journey once more and face the unknown
77
+ with unwavering courage?
78
+ <br />
79
+ <br />
80
+ Each universe is unique, with its own set of challenges and
81
+ opportunities.
82
+ </>
83
+ </Typography>
84
+ ) : (
85
+ <Typography
86
+ variant="label"
87
+ sx={{ textAlign: "center", opacity: 0.7, mb: 4 }}
88
+ >
89
+ <>
90
+ The quest is over, but the universe is still in peril.
91
+ <br />
92
+ <br />
93
+ Will you have the courage to face the unknown once more and save
94
+ the universe?
95
+ </>
96
+ </Typography>
97
+ )}
98
  <Button
99
  variant="outlined"
100
  size="large"
 
114
  },
115
  }}
116
  >
117
+ TRY AGAIN
118
  </Button>
119
  </Box>
120
  );