Skip to content

Commit

Permalink
Added Citlali, Mavuika, Lanyan and Pyro Traveler
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil Bui committed Jan 6, 2025
1 parent 46dc2b1 commit 26cf7fa
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 3 deletions.
Binary file added public/img/characters/citlali.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/characters/lanyan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/characters/mavuika.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions src/components/Card/Card.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
border-top-right-radius: var(--size-border-radius);
border-bottom-right-radius: 20px;
background-image: url(/img/icons/card-bg.svg),
linear-gradient(to bottom, var(--color-card-start), var(--color-card-end));
linear-gradient(to bottom, var(--color-card-start), var(--color-card-end));
}

.emptyImage {
Expand Down Expand Up @@ -92,6 +92,10 @@

.no_click {pointer-events: none;}

.element:nth-child(n + 2) {
margin-left: -0.25rem;
}

.element[src*='anemo'] {
--color-element: var(--color-anemo);
}
Expand Down Expand Up @@ -143,4 +147,4 @@
.collab {
--color-card-start: var(--color-collab-start);
--color-card-end: var(--color-collab-end);
}
}
35 changes: 34 additions & 1 deletion src/data/characters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,17 @@ export const characters: GenshinCharacter[] = [
selected: false,
collab: false,
},
{
id: 94,
fullName: 'Citlali',
shortName: 'Citlali',
stars: 5,
elements: ['cryo'],
weapon: 'catalyst',
gender: ['F'],
selected: false,
collab: false,
},
{
id: 82,
fullName: 'Clorinde',
Expand Down Expand Up @@ -507,6 +518,17 @@ export const characters: GenshinCharacter[] = [
selected: false,
collab: false,
},
{
id: 92,
fullName: 'Lanyan',
shortName: 'Lanyan',
stars: 4,
elements: ['anemo'],
weapon: 'catalyst',
gender: ['F'],
selected: false,
collab: false,
},
{
id: 58,
fullName: 'Layla',
Expand Down Expand Up @@ -551,6 +573,17 @@ export const characters: GenshinCharacter[] = [
selected: false,
collab: false,
},
{
id: 93,
fullName: 'Mavuika',
shortName: 'Mavuika',
stars: 5,
elements: ['pyro'],
weapon: 'claymore',
gender: ['F'],
selected: false,
collab: false,
},
{
id: 65,
fullName: 'Mika',
Expand Down Expand Up @@ -820,7 +853,7 @@ export const characters: GenshinCharacter[] = [
fullName: 'Traveler',
shortName: 'Traveler',
stars: 5,
elements: ['anemo', 'geo', 'electro', 'dendro', 'hydro'],
elements: ['anemo', 'geo', 'electro', 'dendro', 'hydro', 'pyro'],
weapon: 'sword',
gender: ['M', 'F'],
selected: true,
Expand Down

0 comments on commit 26cf7fa

Please sign in to comment.