Skip to content

Commit 218c473

Browse files
committed
fix: football emblem creator icons
1 parent 6bbee9a commit 218c473

File tree

1 file changed

+102
-102
lines changed

1 file changed

+102
-102
lines changed

src/pages/apps/FootballEmblemCreatorPage.js

Lines changed: 102 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -2,56 +2,56 @@ import React, { useState, useRef } from 'react';
22
import { Link } from 'react-router-dom';
33
import {
44
ArrowLeftIcon,
5-
Trophy,
6-
Star,
7-
Heart,
8-
Skull,
9-
PawPrint,
10-
Atom,
11-
Lightning,
12-
SoccerBall,
13-
Crown,
14-
Fire,
15-
Sword,
16-
Anchor,
17-
DownloadSimple,
18-
TextAa,
19-
Alien,
20-
Ghost,
21-
Robot,
22-
Smiley,
23-
Shield,
24-
GameController,
25-
Basketball,
26-
Baseball,
27-
Volleyball,
28-
Football,
29-
TennisBall,
30-
Hockey,
31-
Bird,
32-
Cat,
33-
Dog,
34-
Fish,
35-
Bug,
36-
Tree,
37-
Leaf,
38-
Sun,
39-
Moon,
40-
Snowflake,
41-
Rocket,
42-
Boat,
43-
Airplane,
44-
Car,
45-
Bicycle,
46-
Pizza,
47-
Hamburger,
48-
Coffee,
49-
MusicNote,
50-
Headphones,
51-
GlobeHemisphereWest,
52-
Lightbulb,
53-
Infinity,
54-
Brain,
5+
TrophyIcon,
6+
StarIcon,
7+
HeartIcon,
8+
SkullIcon,
9+
PawPrintIcon,
10+
AtomIcon,
11+
LightningIcon,
12+
SoccerBallIcon,
13+
CrownIcon,
14+
FireIcon,
15+
SwordIcon,
16+
AnchorIcon,
17+
DownloadSimpleIcon,
18+
TextAaIcon,
19+
AlienIcon,
20+
GhostIcon,
21+
RobotIcon,
22+
SmileyIcon,
23+
ShieldIcon,
24+
GameControllerIcon,
25+
BasketballIcon,
26+
BaseballIcon,
27+
VolleyballIcon,
28+
FootballIcon,
29+
TennisBallIcon,
30+
HockeyIcon,
31+
BirdIcon,
32+
CatIcon,
33+
DogIcon,
34+
FishIcon,
35+
BugIcon,
36+
TreeIcon,
37+
LeafIcon,
38+
SunIcon,
39+
MoonIcon,
40+
SnowflakeIcon,
41+
RocketIcon,
42+
BoatIcon,
43+
AirplaneIcon,
44+
CarIcon,
45+
BicycleIcon,
46+
PizzaIcon,
47+
HamburgerIcon,
48+
CoffeeIcon,
49+
MusicNoteIcon,
50+
HeadphonesIcon,
51+
GlobeHemisphereWestIcon,
52+
LightbulbIcon,
53+
InfinityIcon,
54+
BrainIcon,
5555
} from '@phosphor-icons/react';
5656
import CustomDropdown from '../../components/CustomDropdown'; // Add this line
5757
import colors from '../../config/colors';
@@ -96,54 +96,54 @@ const FootballEmblemCreatorPage = () => {
9696
const buttonStyle = `px-6 py-2 rounded-md text-lg font-arvo font-normal transition-colors duration-300 ease-in-out roll-button`;
9797

9898
const icons = {
99-
soccer: <SoccerBall weight="fill" />,
100-
trophy: <Trophy weight="fill" />,
101-
star: <Star weight="fill" />,
102-
heart: <Heart weight="fill" />,
103-
skull: <Skull weight="fill" />,
104-
paw: <PawPrint weight="fill" />,
105-
atom: <Atom weight="fill" />,
106-
lightning: <Lightning weight="fill" />,
107-
crown: <Crown weight="fill" />,
108-
fire: <Fire weight="fill" />,
109-
sword: <Sword weight="fill" />,
110-
anchor: <Anchor weight="fill" />,
111-
alien: <Alien weight="fill" />,
112-
ghost: <Ghost weight="fill" />,
113-
robot: <Robot weight="fill" />,
114-
smiley: <Smiley weight="fill" />,
115-
shield: <Shield weight="fill" />,
116-
game: <GameController weight="fill" />,
117-
basketball: <Basketball weight="fill" />,
118-
baseball: <Baseball weight="fill" />,
119-
volleyball: <Volleyball weight="fill" />,
120-
football: <Football weight="fill" />,
121-
tennis: <TennisBall weight="fill" />,
122-
hockey: <Hockey weight="fill" />,
123-
bird: <Bird weight="fill" />,
124-
cat: <Cat weight="fill" />,
125-
dog: <Dog weight="fill" />,
126-
fish: <Fish weight="fill" />,
127-
bug: <Bug weight="fill" />,
128-
tree: <Tree weight="fill" />,
129-
leaf: <Leaf weight="fill" />,
130-
sun: <Sun weight="fill" />,
131-
moon: <Moon weight="fill" />,
132-
snowflake: <Snowflake weight="fill" />,
133-
rocket: <Rocket weight="fill" />,
134-
boat: <Boat weight="fill" />,
135-
airplane: <Airplane weight="fill" />,
136-
car: <Car weight="fill" />,
137-
bicycle: <Bicycle weight="fill" />,
138-
pizza: <Pizza weight="fill" />,
139-
hamburger: <Hamburger weight="fill" />,
140-
coffee: <Coffee weight="fill" />,
141-
music: <MusicNote weight="fill" />,
142-
headphones: <Headphones weight="fill" />,
143-
globe: <GlobeHemisphereWest weight="fill" />,
144-
lightbulb: <Lightbulb weight="fill" />,
145-
infinity: <Infinity weight="fill" />,
146-
brain: <Brain weight="fill" />,
99+
soccer: <SoccerBallIcon weight="fill" />,
100+
trophy: <TrophyIcon weight="fill" />,
101+
star: <StarIcon weight="fill" />,
102+
heart: <HeartIcon weight="fill" />,
103+
skull: <SkullIcon weight="fill" />,
104+
paw: <PawPrintIcon weight="fill" />,
105+
atom: <AtomIcon weight="fill" />,
106+
lightning: <LightningIcon weight="fill" />,
107+
crown: <CrownIcon weight="fill" />,
108+
fire: <FireIcon weight="fill" />,
109+
sword: <SwordIcon weight="fill" />,
110+
anchor: <AnchorIcon weight="fill" />,
111+
alien: <AlienIcon weight="fill" />,
112+
ghost: <GhostIcon weight="fill" />,
113+
robot: <RobotIcon weight="fill" />,
114+
smiley: <SmileyIcon weight="fill" />,
115+
shield: <ShieldIcon weight="fill" />,
116+
game: <GameControllerIcon weight="fill" />,
117+
basketball: <BasketballIcon weight="fill" />,
118+
baseball: <BaseballIcon weight="fill" />,
119+
volleyball: <VolleyballIcon weight="fill" />,
120+
football: <FootballIcon weight="fill" />,
121+
tennis: <TennisBallIcon weight="fill" />,
122+
hockey: <HockeyIcon weight="fill" />,
123+
bird: <BirdIcon weight="fill" />,
124+
cat: <CatIcon weight="fill" />,
125+
dog: <DogIcon weight="fill" />,
126+
fish: <FishIcon weight="fill" />,
127+
bug: <BugIcon weight="fill" />,
128+
tree: <TreeIcon weight="fill" />,
129+
leaf: <LeafIcon weight="fill" />,
130+
sun: <SunIcon weight="fill" />,
131+
moon: <MoonIcon weight="fill" />,
132+
snowflake: <SnowflakeIcon weight="fill" />,
133+
rocket: <RocketIcon weight="fill" />,
134+
boat: <BoatIcon weight="fill" />,
135+
airplane: <AirplaneIcon weight="fill" />,
136+
car: <CarIcon weight="fill" />,
137+
bicycle: <BicycleIcon weight="fill" />,
138+
pizza: <PizzaIcon weight="fill" />,
139+
hamburger: <HamburgerIcon weight="fill" />,
140+
coffee: <CoffeeIcon weight="fill" />,
141+
music: <MusicNoteIcon weight="fill" />,
142+
headphones: <HeadphonesIcon weight="fill" />,
143+
globe: <GlobeHemisphereWestIcon weight="fill" />,
144+
lightbulb: <LightbulbIcon weight="fill" />,
145+
infinity: <InfinityIcon weight="fill" />,
146+
brain: <BrainIcon weight="fill" />,
147147
};
148148

149149
const handleDownload = () => {
@@ -315,7 +315,7 @@ const FootballEmblemCreatorPage = () => {
315315
value={foundedYearFontSize}
316316
onChange={setFoundedYearFontSize}
317317
label="Select Year Size"
318-
icon={TextAa}
318+
icon={TextAaIcon}
319319
/>
320320
</div>
321321
<div className="flex items-center mt-2">
@@ -367,7 +367,7 @@ const FootballEmblemCreatorPage = () => {
367367
value={shieldShape}
368368
onChange={setShieldShape}
369369
label="Select Shield Shape"
370-
icon={Trophy} // Reusing Trophy icon
370+
icon={TrophyIcon} // Reusing Trophy icon
371371
/>
372372
</div>
373373
<div>
@@ -386,7 +386,7 @@ const FootballEmblemCreatorPage = () => {
386386
value={pattern}
387387
onChange={setPattern}
388388
label="Select Pattern"
389-
icon={SoccerBall} // Reusing SoccerBall icon
389+
icon={SoccerBallIcon} // Reusing SoccerBall icon
390390
/>
391391
</div>
392392
</div>
@@ -460,7 +460,7 @@ const FootballEmblemCreatorPage = () => {
460460
onClick={handleDownload}
461461
className="px-6 py-2 rounded-md text-lg font-arvo font-normal transition-colors duration-300 ease-in-out border bg-tb text-app border-app-alpha-50 hover:bg-app/15"
462462
>
463-
<DownloadSimple size={20} className="inline-block mr-2" />
463+
<DownloadSimpleIcon size={20} className="inline-block mr-2" />
464464
Download Emblem
465465
</button>
466466

0 commit comments

Comments
 (0)