Changed nickname change modal styling and added link in add party modal

This commit is contained in:
Mitchell McCaffrey
2020-04-06 15:51:05 +10:00
parent bd5cfbbd4b
commit 9cf4c14c14
2 changed files with 14 additions and 6 deletions

View File

@@ -30,10 +30,14 @@ function AddPartyMemberButton({ gameId }) {
</Flex>
<Modal isOpen={isAddModalOpen} onRequestClose={closeModal}>
<Box>
<Label p={2}>Other people can join using your ID ʕʔ</Label>
<Label p={2}>Other people can join using your ID</Label>
<Box p={2} bg="hsla(230, 20%, 0%, 20%)">
<Text>{gameId}</Text>
</Box>
<Label p={2}>Or by using this link</Label>
<Box p={2} bg="hsla(230, 20%, 0%, 20%)">
<Text>{window.location.href}</Text>
</Box>
</Box>
</Modal>
</>