mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
refactor: comment out '2XKO' game option and related character data in fighting-characters module
This commit is contained in:
@@ -31,7 +31,7 @@ const gameInput = ref('');
|
|||||||
const allFightingGameOptions = [
|
const allFightingGameOptions = [
|
||||||
'Street Fighter 6',
|
'Street Fighter 6',
|
||||||
'TEKKEN 8',
|
'TEKKEN 8',
|
||||||
'2XKO',
|
// '2XKO',
|
||||||
].map((game) => ({
|
].map((game) => ({
|
||||||
label: game,
|
label: game,
|
||||||
value: game,
|
value: game,
|
||||||
@@ -1075,20 +1075,16 @@ watch(
|
|||||||
.scoreboard-preview__image-wrap {
|
.scoreboard-preview__image-wrap {
|
||||||
width: min(100%, 320px);
|
width: min(100%, 320px);
|
||||||
aspect-ratio: 4 / 4;
|
aspect-ratio: 4 / 4;
|
||||||
border-radius: 10px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.14);
|
background: #1D1D1D;
|
||||||
background: #2f3a4f;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.scoreboard-preview__image {
|
.scoreboard-preview__image {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: contain;
|
object-fit: cover;
|
||||||
object-position: center;
|
object-position: center;
|
||||||
transform: scale(2);
|
|
||||||
transform-origin: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.scoreboard-preview__empty {
|
.scoreboard-preview__empty {
|
||||||
|
|||||||
@@ -7,13 +7,13 @@ export interface FightingCharacterOption {
|
|||||||
const characterNamesByGame: Record<string, string[]> = {
|
const characterNamesByGame: Record<string, string[]> = {
|
||||||
'Street Fighter 6': ['A.K.I.', 'Akuma', 'Alex', 'Bison', 'Blanka', 'Cammy', 'Chun-Li', 'Dee Jay', 'Dhalsim', 'E. Honda', 'Ed', 'Elena', 'Guile', 'Jamie', 'JP', 'Juri', 'Ken', 'Kimberly', 'Lily', 'Luke', 'Mai', 'Manon', 'Marisa', 'Rashid', 'Ryu', 'Sagat', 'Terry', 'Viper', 'Zangief'],
|
'Street Fighter 6': ['A.K.I.', 'Akuma', 'Alex', 'Bison', 'Blanka', 'Cammy', 'Chun-Li', 'Dee Jay', 'Dhalsim', 'E. Honda', 'Ed', 'Elena', 'Guile', 'Jamie', 'JP', 'Juri', 'Ken', 'Kimberly', 'Lily', 'Luke', 'Mai', 'Manon', 'Marisa', 'Rashid', 'Ryu', 'Sagat', 'Terry', 'Viper', 'Zangief'],
|
||||||
'TEKKEN 8': ['Alisa', 'Anna', 'Armor King', 'Asuka', 'Azucena', 'Bob', 'Bryan', 'Claudio', 'Clive', 'Devil Jin', 'Dragunov', 'Eddy', 'Fahkumram', 'Feng', 'Heihachi', 'Hwoarang', 'Jack-8', 'Jin', 'Jun', 'Kazuya', 'King', 'Kuma', 'Kunimitsu', 'Lars', 'Law', 'Lee', 'Leo', 'Leroy', 'Lidia', 'Lili', 'Miary Zo', 'Nina', 'Panda', 'Paul', 'Raven', 'Reina', 'Roger Jr', 'Shaheen', 'Steve', 'Victor', 'Xiaoyu', 'Yoshimitsu', 'Zafina'],
|
'TEKKEN 8': ['Alisa', 'Anna', 'Armor King', 'Asuka', 'Azucena', 'Bob', 'Bryan', 'Claudio', 'Clive', 'Devil Jin', 'Dragunov', 'Eddy', 'Fahkumram', 'Feng', 'Heihachi', 'Hwoarang', 'Jack-8', 'Jin', 'Jun', 'Kazuya', 'King', 'Kuma', 'Kunimitsu', 'Lars', 'Law', 'Lee', 'Leo', 'Leroy', 'Lidia', 'Lili', 'Miary Zo', 'Nina', 'Panda', 'Paul', 'Raven', 'Reina', 'Roger Jr', 'Shaheen', 'Steve', 'Victor', 'Xiaoyu', 'Yoshimitsu', 'Zafina'],
|
||||||
'2XKO': ['Ahri', 'Akali', 'Blitzcrank', 'Braum', 'Caitlyn', 'Darius', 'Ekko', 'Illaoi', 'Jinx', 'Senna', 'Teemo', 'Vi', 'Warwick', 'Yasuo'],
|
// '2XKO': ['Ahri', 'Akali', 'Blitzcrank', 'Braum', 'Caitlyn', 'Darius', 'Ekko', 'Illaoi', 'Jinx', 'Senna', 'Teemo', 'Vi', 'Warwick', 'Yasuo'],
|
||||||
};
|
};
|
||||||
|
|
||||||
const paletteByGame: Record<string, [string, string]> = {
|
const paletteByGame: Record<string, [string, string]> = {
|
||||||
'Street Fighter 6': ['#f97316', '#b91c1c'],
|
'Street Fighter 6': ['#f97316', '#b91c1c'],
|
||||||
'TEKKEN 8': ['#2563eb', '#111827'],
|
'TEKKEN 8': ['#2563eb', '#111827'],
|
||||||
'2XKO': ['#22d3ee', '#0f766e'],
|
// '2XKO': ['#22d3ee', '#0f766e'],
|
||||||
};
|
};
|
||||||
|
|
||||||
const toSlug = (value: string) => value.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/(^-|-$)/g, '');
|
const toSlug = (value: string) => value.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/(^-|-$)/g, '');
|
||||||
|
|||||||
Reference in New Issue
Block a user