mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 04:47:27 +00:00
fix: add splashscreens back in live + records
This commit is contained in:
parent
a26acc675e
commit
b8414791e1
2 changed files with 3 additions and 3 deletions
|
|
@ -280,7 +280,7 @@ export default {
|
|||
getCSSVars(championId) {
|
||||
return {
|
||||
'--bg-img': `linear-gradient(90deg, rgba(42, 67, 101, 0.3) 0%, rgba(42, 67, 101, 0.8) 40%, rgba(42, 67, 101, 1) 100%),
|
||||
url('https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/champion-splashes/${championId}/${championId}000.jpg')`,
|
||||
url('https://cdn.communitydragon.org/latest/champion/${championId}/splash-art/centered/skin/0')`,
|
||||
}
|
||||
},
|
||||
selectRunes(player) {
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
@mouseleave="hover = false"
|
||||
:style="{
|
||||
backgroundImage: `${hover ? gradientHover : gradient},
|
||||
url('https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/champion-splashes/${
|
||||
url('https://cdn.communitydragon.org/latest/champion/${
|
||||
record.champion_id
|
||||
}/${record.champion_id}000.jpg')`,
|
||||
}/splash-art/centered/skin/0')`,
|
||||
}"
|
||||
:class="borderColor"
|
||||
class="record-card relative mx-2 mt-6 w-full rounded-lg border bg-cover bg-center p-4 leading-none"
|
||||
|
|
|
|||
Loading…
Reference in a new issue