Multiple changes
- backend: add summoner spells - backend: add build variants - backend: builds are now storing full tree with runes (keystones) - backend: build trees are split on starter items and merged on runes - frontend: computing core tree now - frontend: variant selectors
This commit is contained in:
@@ -41,8 +41,8 @@ const championDescription = computed(() => championData.value?.title || '')
|
||||
<div style="display: flex; width: fit-content">
|
||||
<div class="champion-title-img-container">
|
||||
<NuxtImg
|
||||
width="160"
|
||||
height="160"
|
||||
width="100"
|
||||
height="100"
|
||||
class="champion-title-img"
|
||||
:src="
|
||||
CDRAGON_BASE +
|
||||
@@ -54,13 +54,15 @@ const championDescription = computed(() => championData.value?.title || '')
|
||||
</div>
|
||||
|
||||
<div id="ct-info-container">
|
||||
<h1>{{ championName }}</h1>
|
||||
<h3 id="ct-desc">{{ championDescription }}</h3>
|
||||
<h1 style="font-size: 1.5rem">{{ championName }}</h1>
|
||||
<h3 id="ct-desc" style="font-size: 1rem">{{ championDescription }}</h3>
|
||||
|
||||
<div id="ct-basic-stat-container">
|
||||
<h2 class="ct-basic-stat">{{ winrate }}% win.</h2>
|
||||
<h2 class="ct-basic-stat ct-basic-stat-margin">{{ pickrate }}% pick.</h2>
|
||||
<h2 class="ct-basic-stat">{{ gameCount }} games</h2>
|
||||
<h2 style="font-size: 1.2rem" class="ct-basic-stat">{{ winrate }}% win.</h2>
|
||||
<h2 style="font-size: 1.2rem" class="ct-basic-stat ct-basic-stat-margin">
|
||||
{{ pickrate }}% pick.
|
||||
</h2>
|
||||
<h2 style="font-size: 1.2rem" class="ct-basic-stat">{{ gameCount }} games</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -68,15 +70,15 @@ const championDescription = computed(() => championData.value?.title || '')
|
||||
|
||||
<style>
|
||||
.champion-title-img-container {
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
overflow: hidden;
|
||||
|
||||
border: 1px solid var(--color-on-surface);
|
||||
}
|
||||
.champion-title-img {
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
transform: translate(4px, 4px) scale(1.2, 1.2);
|
||||
|
||||
user-select: none;
|
||||
@@ -93,7 +95,7 @@ const championDescription = computed(() => championData.value?.title || '')
|
||||
margin-top: 5px;
|
||||
}
|
||||
#ct-basic-stat-container {
|
||||
margin-top: 30px;
|
||||
margin-top: 16px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user