Update LoginDoc.vue

pull/6050/head
tugcekucukoglu 2024-07-11 15:16:12 +03:00
parent ad758bc150
commit 2b2c8bd7c9
1 changed files with 44 additions and 42 deletions

View File

@ -4,23 +4,25 @@
</DocSectionText>
<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-4 py-8">
<div class="flex flex-wrap justify-center items-center gap-2">
<label class="w-24">Username</label>
<InputText id="username" type="text" class="w-48" />
<div class="w-full md:w-5/12 flex flex-col items-center justify-center gap-3 py-5">
<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-24">Password</label>
<InputText id="password" type="password" class="w-48" />
<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>
<Button label="Login" icon="pi pi-user" class="w-40 mx-auto"></Button>
</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>
<Divider layout="vertical" class="hidden md:flex"><b>OR</b></Divider>
<Divider layout="horizontal" class="flex md:hidden" align="center"><b>OR</b></Divider>
</div>
<div class="w-full md:w-5/12 flex items-center justify-center py-8">
<Button label="Sign Up" icon="pi pi-user-plus" severity="success" class="w-40"></Button>
<div class="w-full md:w-5/12 flex items-center justify-center py-5">
<Button label="Sign Up" icon="pi pi-user-plus" severity="success" class="w-full max-w-[17.35rem] mx-auto"></Button>
</div>
</div>
</div>
@ -34,23 +36,23 @@ export default {
code: {
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-4 py-8">
<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-24">Username</label>
<InputText id="username" type="text" class="w-48" />
<label class="w-[6rem]">Username</label>
<InputText id="username" type="text" class="w-[12rem]" />
</div>
<div class="flex flex-wrap justify-center items-center gap-2">
<label class="w-24">Password</label>
<InputText id="password" type="password" class="w-48" />
<label class="w-[6rem]">Password</label>
<InputText id="password" type="password" class="w-[12rem]" />
</div>
<Button label="Login" icon="pi pi-user" class="w-40 mx-auto"></Button>
<Button label="Login" icon="pi pi-user" class="w-full max-w-[17.35rem] mx-auto"></Button>
</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>
<Divider layout="vertical" class="hidden md:flex"><b>OR</b></Divider>
<Divider layout="horizontal" class="flex md:hidden" align="center"><b>OR</b></Divider>
</div>
<div class="w-full md:w-5/12 flex items-center justify-center py-8">
<Button label="Sign Up" icon="pi pi-user-plus" severity="success" class="w-40"></Button>
<div class="w-full md:w-5/12 flex items-center justify-center py-5">
<Button label="Sign Up" icon="pi pi-user-plus" severity="success" class="w-full max-w-[17.35rem] mx-auto"></Button>
</div>
</div>
`,
@ -58,23 +60,23 @@ export default {
<template>
<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-4 py-8">
<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-24">Username</label>
<InputText id="username" type="text" class="w-48" />
<label class="w-[6rem]">Username</label>
<InputText id="username" type="text" class="w-[12rem]" />
</div>
<div class="flex flex-wrap justify-center items-center gap-2">
<label class="w-24">Password</label>
<InputText id="password" type="password" class="w-48" />
<label class="w-[6rem]">Password</label>
<InputText id="password" type="password" class="w-[12rem]" />
</div>
<Button label="Login" icon="pi pi-user" class="w-40 mx-auto"></Button>
<Button label="Login" icon="pi pi-user" class="w-full max-w-[17.35rem] mx-auto"></Button>
</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>
<Divider layout="vertical" class="hidden md:flex"><b>OR</b></Divider>
<Divider layout="horizontal" class="flex md:hidden" align="center"><b>OR</b></Divider>
</div>
<div class="w-full md:w-5/12 flex items-center justify-center py-8">
<Button label="Sign Up" icon="pi pi-user-plus" severity="success" class="w-40"></Button>
<div class="w-full md:w-5/12 flex items-center justify-center py-5">
<Button label="Sign Up" icon="pi pi-user-plus" severity="success" class="w-full max-w-[17.35rem] mx-auto"></Button>
</div>
</div>
</div>
@ -87,23 +89,23 @@ export default {
<template>
<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-4 py-8">
<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-24">Username</label>
<InputText id="username" type="text" class="w-48" />
<label class="w-[6rem]">Username</label>
<InputText id="username" type="text" class="w-[12rem]" />
</div>
<div class="flex flex-wrap justify-center items-center gap-2">
<label class="w-24">Password</label>
<InputText id="password" type="password" class="w-48" />
<label class="w-[6rem]">Password</label>
<InputText id="password" type="password" class="w-[12rem]" />
</div>
<Button label="Login" icon="pi pi-user" class="w-40 mx-auto"></Button>
<Button label="Login" icon="pi pi-user" class="w-full max-w-[17.35rem] mx-auto"></Button>
</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>
<Divider layout="vertical" class="hidden md:flex"><b>OR</b></Divider>
<Divider layout="horizontal" class="flex md:hidden" align="center"><b>OR</b></Divider>
</div>
<div class="w-full md:w-5/12 flex items-center justify-center py-8">
<Button label="Sign Up" icon="pi pi-user-plus" severity="success" class="w-40"></Button>
<div class="w-full md:w-5/12 flex items-center justify-center py-5">
<Button label="Sign Up" icon="pi pi-user-plus" severity="success" class="w-full max-w-[17.35rem] mx-auto"></Button>
</div>
</div>
</div>