mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-22 13:33:37 +00:00
refactor: place /login & /register tooltip in heading
This commit is contained in:
parent
16fc717a62
commit
8c8858f095
@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<h1 v-t="'titles.login'" class="my-4 text-center font-bold" />
|
||||
<div class="flex justify-center">
|
||||
<h1 v-t="'titles.login'" class="my-4 text-center font-bold" />
|
||||
<TooltipIcon class="mb-6" icon="i-fa6-solid:circle-info" :tooltip="$t('info.login_note')" />
|
||||
</div>
|
||||
<hr />
|
||||
<div class="w-full flex items-center justify-center text-center">
|
||||
<form class="w-min children:pb-3">
|
||||
@ -25,9 +28,8 @@
|
||||
@keyup.enter="login"
|
||||
/>
|
||||
</div>
|
||||
<div class="flex justify-center">
|
||||
<div>
|
||||
<a v-t="'titles.login'" class="btn w-auto" @click="login" />
|
||||
<TooltipIcon icon="i-fa6-solid:circle-info" :tooltip="$t('info.login_note')" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<h1 v-t="'titles.register'" class="my-4 text-center font-bold" />
|
||||
<div class="flex justify-center">
|
||||
<h1 v-t="'titles.register'" class="my-4 text-center font-bold" />
|
||||
<TooltipIcon class="mb-6" icon="i-fa6-solid:circle-info" :tooltip="$t('info.register_note')" />
|
||||
</div>
|
||||
<hr />
|
||||
<div class="flex flex-col items-center justify-center text-center">
|
||||
<form class="w-max items-center px-3 children:pb-3">
|
||||
@ -42,9 +45,8 @@
|
||||
<div class="i-fa6-solid:eye" />
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex justify-center">
|
||||
<div>
|
||||
<a v-t="'titles.register'" class="btn w-auto" @click="register" />
|
||||
<TooltipIcon icon="i-fa6-solid:circle-info" :tooltip="$t('info.register_note')" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user