-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
198 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ import { | |
Button, | ||
ButtonGroup, | ||
ControlGroup, | ||
Fieldset, | ||
FormSeparator, | ||
FormWrapper, | ||
Input, | ||
|
@@ -25,26 +26,24 @@ export const ProfileSettingsView = () => { | |
|
||
return ( | ||
<SandboxLayout.Content className="max-w-[476px] px-0"> | ||
<h1 className="text-2xl font-medium text-foreground-1">Account settings</h1> | ||
<h1 className="text-24 font-medium text-foreground-1">Account settings</h1> | ||
<Spacer size={10} /> | ||
{isLoadingUser ? ( | ||
<SkeletonForm /> | ||
) : ( | ||
<> | ||
<FormWrapper> | ||
<Legend title="Personal information" /> | ||
<ControlGroup> | ||
<Avatar size="20" className="size-20 shadow-md"> | ||
<AvatarImage src="/images/anon.jpg" /> | ||
<AvatarFallback> | ||
<span className="text-2xl font-medium text-foreground-3">TN</span> | ||
</AvatarFallback> | ||
</Avatar> | ||
</ControlGroup> | ||
<ControlGroup> | ||
<Avatar size="20" className="size-20 shadow-md"> | ||
<AvatarImage src="/images/anon.jpg" /> | ||
<AvatarFallback> | ||
<span className="text-2xl font-medium text-foreground-3">TN</span> | ||
</AvatarFallback> | ||
</Avatar> | ||
<Fieldset> | ||
<Input id="name" size="md" placeholder="Enter your name" label="Name" value="Test Name" /> | ||
</ControlGroup> | ||
<ControlGroup> | ||
</Fieldset> | ||
<Fieldset> | ||
<Input | ||
id="username" | ||
size="md" | ||
|
@@ -54,10 +53,10 @@ export const ProfileSettingsView = () => { | |
value="test-user" | ||
caption="This username will be shown across the platform." | ||
/> | ||
</ControlGroup> | ||
<ControlGroup> | ||
</Fieldset> | ||
<Fieldset> | ||
<Input id="email" size="md" value="[email protected]" placeholder="[email protected]" label="Account email" /> | ||
</ControlGroup> | ||
</Fieldset> | ||
|
||
<ControlGroup type="button"> | ||
<ButtonGroup> | ||
|
@@ -68,31 +67,31 @@ export const ProfileSettingsView = () => { | |
</ControlGroup> | ||
</FormWrapper> | ||
|
||
<FormSeparator className="my-7" /> | ||
<FormSeparator className="my-7 border-borders-4" /> | ||
|
||
<FormWrapper> | ||
<Legend | ||
title="Password settings" | ||
description="Minimum of 6 characters long containing at least one number and a mixture of uppercase and lowercase letters." | ||
/> | ||
<ControlGroup> | ||
<Fieldset> | ||
<Input | ||
id="newPassword" | ||
type="password" | ||
size="md" | ||
placeholder="Enter a new password" | ||
label="New password" | ||
/> | ||
</ControlGroup> | ||
<ControlGroup> | ||
</Fieldset> | ||
<Fieldset> | ||
<Input | ||
id="confirmPassword" | ||
type="password" | ||
size="md" | ||
placeholder="Confirm your new password" | ||
label="Confirm password" | ||
/> | ||
</ControlGroup> | ||
</Fieldset> | ||
|
||
<ControlGroup type="button"> | ||
<ButtonGroup> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.