-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmethods.js
66 lines (66 loc) · 2.2 KB
/
methods.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
export default function matchPlayerImage(player) {
switch (player) {
case "Auston Matthews":
return "/img/Auston_Matthews.svg";
break;
case "Artemi Panarin":
return "/img/Artemi_Panarin.svg";
break;
case "Connor McDavid":
return "/img/Connor_Mcdavid.svg";
break;
case "Alex Ovechkin":
return "/img/ovi.svg";
break;
case "William Nylander":
return "/img/William_Nylander.svg";
break;
case "John Tavares":
return "/img/John_Tavares.svg";
break;
case "Johnny Gaudreau":
return "/img/johnny_g.svg";
break;
case "Sidney Crosby":
return "/img/crosby.svg";
break;
case "Sean Monahan":
return "/img/Sean Monahan.svg";
break;
case "Mitch Marner":
return "/img/Mitch_Marner.svg";
break;
case "Erik Karlsson":
return "/img/karlsson.png";
break;
case "Nikita Kucherov":
return "/img/Nikita_Kucherov.svg";
break;
case "Winnipeg":
return "/img/Skates-Fighter-Jet.svg";
break;
case "Toronto":
return "/img/FlapjackBag.svg";
break;
case "New Jersey":
return "/img/PlumbersJersey.svg";
break;
case "Buffalo":
return "/img/Nippers.png";
break;
case "Steven Stamkos":
return "/img/Steven_Stamkos.svg";
break;
case "Carey Price":
return "/img/Carey_Price.svg";
break;
case "David Pastrnak":
return "/img/DavidPastrnak.png";
break;
case "Brady Tkachuk":
return "/img/BradyTkachuk.png";
break;
default:
return "/img/Skates-Retro-Pink-2.svg";
}
}