Skip to content

STAR WARS app#1

Open
ioanadin wants to merge 41 commits intomasterfrom
implementation
Open

STAR WARS app#1
ioanadin wants to merge 41 commits intomasterfrom
implementation

Conversation

@ioanadin
Copy link
Owner

No description provided.

@@ -0,0 +1,30 @@
import episode1url from '../sw-covers/Star-Wars-Episode-I-The-Phantom-Menace.jpg';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can use an array with the paths of the cover images and based on episodeId we can return the element in the array at the position episodeId-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants