Skip to content

Commit

Permalink
add image
Browse files Browse the repository at this point in the history
  • Loading branch information
JollyGrin committed Mar 25, 2024
1 parent 7ffd414 commit 43718eb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pages/connect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ const SelectedDeckContainer = () => {
w="100px"
h="100px"
bg={starredDeck.deck_data.appearance.highlightColour}
bgImage={starredDeck.deck_data?.appearance?.cardbackUrl}
bgSize="125%"
bgPosition="center"
border={`0.5rem solid ${starredDeck.deck_data.appearance.borderColour}`}
justifyContent="center"
alignItems="center"
Expand All @@ -238,6 +241,11 @@ const SelectedDeckContainer = () => {
cursor="pointer"
>
<Text
display={
starredDeck?.deck_data?.appearance?.cardbackUrl
? "none"
: "inline"
}
fontSize="4xl"
fontFamily={"monospace"}
color={starredDeck.deck_data.appearance.borderColour}
Expand Down

0 comments on commit 43718eb

Please sign in to comment.