Frontend updates and changes

- Remove items/runes separate pages, put everything into a "build" page.
- Show summoner spells.
- Add a build variant selector, that for now only selects runes
This commit is contained in:
2026-02-25 14:59:42 +01:00
parent 564de90ecb
commit dc09d10f07
7 changed files with 782 additions and 53 deletions

View File

@@ -10,7 +10,7 @@ const emit = defineEmits<{
stateChange: [state: string, lane: number]
}>()
const state = ref('runes')
const state = ref('build')
const laneState = ref(0)
function handleStateChange(newState: string, newLane: number) {
@@ -49,16 +49,10 @@ if (route.path.startsWith('/tierlist/')) {
/>
<div class="nav-buttons">
<button
:class="['nav-button', { active: state == 'runes' && laneState == i }]"
@click="handleStateChange('runes', i)"
:class="['nav-button', { active: state == 'build' && laneState == i }]"
@click="handleStateChange('build', i)"
>
Runes
</button>
<button
:class="['nav-button', { active: state == 'items' && laneState == i }]"
@click="handleStateChange('items', i)"
>
Items
Build
</button>
<button
:class="['nav-button', { active: state == 'alternatives' && laneState == i }]"