Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ondřej Bazala
PV247
Commits
ac98c53c
Commit
ac98c53c
authored
Nov 28, 2021
by
Benjamín Balun
Browse files
added image url for one of the pokeballs
parent
54c4839e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/data/pokeballs.ts
View file @
ac98c53c
...
...
@@ -9,7 +9,13 @@ export type Pokeball = {
};
export
const
pokeballs
:
Pokeball
[]
=
[
{
id
:
1
,
name
:
'
Pokeball 1
'
,
price
:
12
,
catches
:
1
},
{
id
:
1
,
name
:
'
Pokeball 1
'
,
price
:
12
,
catches
:
1
,
image
:
'
https://www.downloadclipart.net/large/pokeball-png-photos.png
'
},
{
id
:
2
,
name
:
'
Pokeball 2
'
,
price
:
48
,
catches
:
2
},
{
id
:
3
,
name
:
'
Pokeball 3
'
,
price
:
19
,
catches
:
3
}
];
...
...
src/pages/Store/ItemCard.tsx
View file @
ac98c53c
...
...
@@ -20,7 +20,7 @@ const ItemCard = ({
item
.
image
?
(
<
img
alt
=
{
item
.
name
}
src
=
{
item
.
image
}
/>
)
:
(
<
QuestionCircleOutlined
style
=
{
{
fontSize
:
'
1
5
0px
'
}
}
/>
<
QuestionCircleOutlined
style
=
{
{
fontSize
:
'
1
9
0px
'
}
}
/>
)
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment