parent
9a145cb785
commit
ecb9de8a40
5 changed files with 85 additions and 150 deletions
@ -1,53 +0,0 @@ |
|||||||
<form> |
|
||||||
<h2 class='text-3xl font-bold sm:text-4xl'>Password</h2> |
|
||||||
<p class='mt-2'>Manage settings for your account passwords</p> |
|
||||||
<div class='mt-8 space-y-4'> |
|
||||||
<div class='flex w-full flex-col'> |
|
||||||
<label for='current-password' class='text-sm leading-none text-slate-500' |
|
||||||
>Current Password</label |
|
||||||
> |
|
||||||
<input |
|
||||||
type='password' |
|
||||||
name='current-password' |
|
||||||
id='current-password' |
|
||||||
class='mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1' |
|
||||||
required |
|
||||||
placeholder='Current password' |
|
||||||
/> |
|
||||||
</div> |
|
||||||
<div class='flex w-full flex-col'> |
|
||||||
<label for='new-password' class='text-sm leading-none text-slate-500' |
|
||||||
>New Password</label |
|
||||||
> |
|
||||||
<input |
|
||||||
type='password' |
|
||||||
name='new-password' |
|
||||||
id='new-password' |
|
||||||
class='mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1' |
|
||||||
required |
|
||||||
placeholder='New password' |
|
||||||
/> |
|
||||||
</div> |
|
||||||
<div class='flex w-full flex-col'> |
|
||||||
<label |
|
||||||
for='new-password-confirmation' |
|
||||||
class='text-sm leading-none text-slate-500'>New Password Confirm</label |
|
||||||
> |
|
||||||
<input |
|
||||||
type='password' |
|
||||||
name='new-password-confirmation' |
|
||||||
id='new-password-confirmation' |
|
||||||
class='mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1' |
|
||||||
required |
|
||||||
placeholder='New password confirm' |
|
||||||
/> |
|
||||||
</div> |
|
||||||
|
|
||||||
<button |
|
||||||
class='!mt-5 inline-flex h-10 items-center justify-center rounded-lg border border-slate-300 bg-black p-2 px-4 text-sm font-medium text-white outline-none transition duration-150 ease-in-out focus:ring-2 focus:ring-black focus:ring-offset-1 disabled:opacity-60' |
|
||||||
type='button' |
|
||||||
> |
|
||||||
Change |
|
||||||
</button> |
|
||||||
</div> |
|
||||||
</form> |
|
@ -1,83 +0,0 @@ |
|||||||
<form> |
|
||||||
<h2 class='text-3xl font-bold sm:text-4xl'>Update Profile</h2> |
|
||||||
<p class='mt-2'>Manage settings for your roadmap.sh profile</p> |
|
||||||
<div class='mt-8 space-y-4'> |
|
||||||
<div class='flex w-full flex-col'> |
|
||||||
<label |
|
||||||
for='name' |
|
||||||
class='text-sm leading-none text-slate-500 after:text-red-400 after:content-["*"]' |
|
||||||
>Name</label |
|
||||||
> |
|
||||||
<input |
|
||||||
type='text' |
|
||||||
name='name' |
|
||||||
id='name' |
|
||||||
class='mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1' |
|
||||||
required |
|
||||||
placeholder='Arik Chakma' |
|
||||||
/> |
|
||||||
</div> |
|
||||||
<div class='flex w-full flex-col'> |
|
||||||
<label |
|
||||||
for='email' |
|
||||||
class='text-sm leading-none text-slate-500 after:text-red-400 after:content-["*"]' |
|
||||||
>Email</label |
|
||||||
> |
|
||||||
<input |
|
||||||
type='email' |
|
||||||
name='email' |
|
||||||
id='email' |
|
||||||
class='mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1' |
|
||||||
required |
|
||||||
placeholder='arik@roadmap.sh' |
|
||||||
/> |
|
||||||
</div> |
|
||||||
|
|
||||||
<!-- Github --> |
|
||||||
<div class='flex w-full flex-col'> |
|
||||||
<label for='github' class='text-sm leading-none text-slate-500' |
|
||||||
>Github Username</label |
|
||||||
> |
|
||||||
<input |
|
||||||
type='text' |
|
||||||
name='github' |
|
||||||
id='github' |
|
||||||
class='mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1' |
|
||||||
placeholder='arikchakma' |
|
||||||
/> |
|
||||||
</div> |
|
||||||
<!-- LinkedIn --> |
|
||||||
<div class='flex w-full flex-col'> |
|
||||||
<label for='linkedin' class='text-sm leading-none text-slate-500' |
|
||||||
>LinkedIn Url</label |
|
||||||
> |
|
||||||
<input |
|
||||||
type='text' |
|
||||||
name='linkedin' |
|
||||||
id='linkedin' |
|
||||||
class='mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1' |
|
||||||
placeholder='https://www.linkedin.com/in/arikchakma/' |
|
||||||
/> |
|
||||||
</div> |
|
||||||
<!-- Website --> |
|
||||||
<div class='flex w-full flex-col'> |
|
||||||
<label for='website' class='text-sm leading-none text-slate-500' |
|
||||||
>Website</label |
|
||||||
> |
|
||||||
<input |
|
||||||
type='text' |
|
||||||
name='website' |
|
||||||
id='website' |
|
||||||
class='mt-2 block w-full appearance-none rounded-lg border border-gray-300 px-3 py-2 shadow-sm outline-none transition duration-150 ease-in-out placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1' |
|
||||||
placeholder='https://arikko.dev' |
|
||||||
/> |
|
||||||
</div> |
|
||||||
|
|
||||||
<button |
|
||||||
class='!mt-5 inline-flex h-10 items-center justify-center rounded-lg border border-slate-300 bg-black p-2 px-4 text-sm font-medium text-white outline-none transition duration-150 ease-in-out focus:ring-2 focus:ring-black focus:ring-offset-1 disabled:opacity-60' |
|
||||||
type='button' |
|
||||||
> |
|
||||||
Update |
|
||||||
</button> |
|
||||||
</div> |
|
||||||
</form> |
|
@ -1,11 +1,11 @@ |
|||||||
--- |
--- |
||||||
import SettingSidebar from '../../components/Setting/SettingSidebar.astro'; |
import SettingSidebar from '../../components/Setting/SettingSidebar.astro'; |
||||||
import UpdateProfile from '../../components/Setting/UpdateProfile.astro'; |
import UpdateProfileForm from '../../components/Setting/UpdateProfileForm'; |
||||||
import SettingLayout from '../../layouts/SettingLayout.astro'; |
import SettingLayout from '../../layouts/SettingLayout.astro'; |
||||||
--- |
--- |
||||||
|
|
||||||
<SettingLayout title='Update Profile'> |
<SettingLayout title='Update Profile'> |
||||||
<SettingSidebar pageUrl='profile' name='Profile'> |
<SettingSidebar pageUrl='profile' name='Profile'> |
||||||
<UpdateProfile /> |
<UpdateProfileForm client:load /> |
||||||
</SettingSidebar> |
</SettingSidebar> |
||||||
</SettingLayout> |
</SettingLayout> |
||||||
|
Loading…
Reference in new issue