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) {
|
||||
@@ -72,21 +72,12 @@ if (route.path.startsWith('/tierlist/')) {
|
||||
|
||||
<h2
|
||||
:class="
|
||||
'sidebar-link ' + (state == 'runes' && laneState == i ? 'sidebar-link-selected' : '')
|
||||
'sidebar-link ' + (state == 'build' && laneState == i ? 'sidebar-link-selected' : '')
|
||||
"
|
||||
style="margin-top: 10px; font-size: 1.9rem; padding-left: 35px"
|
||||
@click="handleStateChange('runes', i)"
|
||||
@click="handleStateChange('build', i)"
|
||||
>
|
||||
Runes
|
||||
</h2>
|
||||
<h2
|
||||
:class="
|
||||
'sidebar-link ' + (state == 'items' && laneState == i ? 'sidebar-link-selected' : '')
|
||||
"
|
||||
style="margin-top: 10px; font-size: 1.9rem; padding-left: 35px"
|
||||
@click="handleStateChange('items', i)"
|
||||
>
|
||||
Items
|
||||
Build
|
||||
</h2>
|
||||
|
||||
<h2
|
||||
|
||||
Reference in New Issue
Block a user