refactor: respect names' capitalization on profile page

This commit is contained in:
Valentin Kaelin 2020-09-26 22:10:14 +02:00
parent d1323307fb
commit 9f7c33ffc7

View file

@ -52,12 +52,11 @@
<template v-else-if="summonerFound"> <template v-else-if="summonerFound">
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
<div> <div>
<div class="flex items-center"> <div class="flex items-center mt-2">
<Tooltip> <Tooltip>
<template v-slot:trigger> <template v-slot:trigger>
<h1 class="text-4xl font-extrabold uppercase"> <h1 class="text-4xl font-extrabold">
<span class="text-5xl">{{ basic.account.name[0] }}</span> {{ basic.account.name }}
<span>{{ basic.account.name.substring(1) }}</span>
</h1> </h1>
</template> </template>
<template v-slot:default> <template v-slot:default>
@ -94,7 +93,7 @@
<div class="ml-1 text-xs font-bold text-teal-200">Favorite</div> <div class="ml-1 text-xs font-bold text-teal-200">Favorite</div>
</div> </div>
</div> </div>
<div class="flex"> <div class="flex mt-2">
<div :class="{'playing': playing}" class="relative w-24 h-24"> <div :class="{'playing': playing}" class="relative w-24 h-24">
<div <div
:class="{'border-2': !playing}" :class="{'border-2': !playing}"