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:
@@ -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 }]"
|
||||
|
||||
Reference in New Issue
Block a user