Update LoginDoc.vue

pull/6050/head
tugcekucukoglu 2024-07-11 15:17:46 +03:00
parent 2b2c8bd7c9
commit e04cb4cdea
1 changed files with 27 additions and 21 deletions

View File

@ -37,16 +37,18 @@ export default {
basic: `
<div class="flex flex-col md:flex-row">
<div class="w-full md:w-5/12 flex flex-col items-center justify-center gap-3 py-5">
<div class="flex flex-wrap justify-center items-center gap-2">
<label class="w-[6rem]">Username</label>
<InputText id="username" type="text" class="w-[12rem]" />
<div class="flex flex-col gap-2">
<label for="username">Username</label>
<InputText id="username" type="text" />
</div>
<div class="flex flex-wrap justify-center items-center gap-2">
<label class="w-[6rem]">Password</label>
<InputText id="password" type="password" class="w-[12rem]" />
<div class="flex flex-col gap-2">
<label for="password">Password</label>
<InputText id="password" type="password" />
</div>
<div class="flex">
<Button label="Login" icon="pi pi-user" class="w-full max-w-[17.35rem] mx-auto"></Button>
</div>
</div>
<div class="w-full md:w-2/12">
<Divider layout="vertical" class="hidden md:flex"><b>OR</b></Divider>
<Divider layout="horizontal" class="flex md:hidden" align="center"><b>OR</b></Divider>
@ -61,16 +63,18 @@ export default {
<div class="card">
<div class="flex flex-col md:flex-row">
<div class="w-full md:w-5/12 flex flex-col items-center justify-center gap-3 py-5">
<div class="flex flex-wrap justify-center items-center gap-2">
<label class="w-[6rem]">Username</label>
<InputText id="username" type="text" class="w-[12rem]" />
<div class="flex flex-col gap-2">
<label for="username">Username</label>
<InputText id="username" type="text" />
</div>
<div class="flex flex-wrap justify-center items-center gap-2">
<label class="w-[6rem]">Password</label>
<InputText id="password" type="password" class="w-[12rem]" />
<div class="flex flex-col gap-2">
<label for="password">Password</label>
<InputText id="password" type="password" />
</div>
<div class="flex">
<Button label="Login" icon="pi pi-user" class="w-full max-w-[17.35rem] mx-auto"></Button>
</div>
</div>
<div class="w-full md:w-2/12">
<Divider layout="vertical" class="hidden md:flex"><b>OR</b></Divider>
<Divider layout="horizontal" class="flex md:hidden" align="center"><b>OR</b></Divider>
@ -90,16 +94,18 @@ export default {
<div class="card">
<div class="flex flex-col md:flex-row">
<div class="w-full md:w-5/12 flex flex-col items-center justify-center gap-3 py-5">
<div class="flex flex-wrap justify-center items-center gap-2">
<label class="w-[6rem]">Username</label>
<InputText id="username" type="text" class="w-[12rem]" />
<div class="flex flex-col gap-2">
<label for="username">Username</label>
<InputText id="username" type="text" />
</div>
<div class="flex flex-wrap justify-center items-center gap-2">
<label class="w-[6rem]">Password</label>
<InputText id="password" type="password" class="w-[12rem]" />
<div class="flex flex-col gap-2">
<label for="password">Password</label>
<InputText id="password" type="password" />
</div>
<div class="flex">
<Button label="Login" icon="pi pi-user" class="w-full max-w-[17.35rem] mx-auto"></Button>
</div>
</div>
<div class="w-full md:w-2/12">
<Divider layout="vertical" class="hidden md:flex"><b>OR</b></Divider>
<Divider layout="horizontal" class="flex md:hidden" align="center"><b>OR</b></Divider>