feat: update workspace settings general page
This commit is contained in:
parent
c7d67960b7
commit
600ed2de35
@ -72,8 +72,8 @@ export default function GeneralTab({ projectName }: { projectName: string }) {
|
|||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<div>
|
<div>
|
||||||
<label className="text-sm font-medium text-foreground" htmlFor={nameId}>Name</label>
|
<label className="text-sm font-medium text-foreground" htmlFor={nameId}>Name</label>
|
||||||
<Input className="mt-2 h-10 text-sm" defaultValue={workspace?.name ?? ""} id={nameId} name="name" />
|
<Input className="mt-1 h-9 text-sm" defaultValue={workspace?.name ?? ""} id={nameId} name="name" />
|
||||||
<p className="mt-1.5 text-xs text-muted-foreground">Changing the name will also change the workspace URL.</p>
|
<p className="mt-1 text-xs text-muted-foreground">Changing the name will also change the workspace URL.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@ -81,7 +81,7 @@ export default function GeneralTab({ projectName }: { projectName: string }) {
|
|||||||
Description <span className="font-normal text-muted-foreground">— optional</span>
|
Description <span className="font-normal text-muted-foreground">— optional</span>
|
||||||
</label>
|
</label>
|
||||||
<Textarea
|
<Textarea
|
||||||
className="mt-2 min-h-[80px] text-sm"
|
className="mt-1 min-h-[72px] text-sm"
|
||||||
defaultValue={workspace?.description ?? ""}
|
defaultValue={workspace?.description ?? ""}
|
||||||
id={descId}
|
id={descId}
|
||||||
name="description"
|
name="description"
|
||||||
@ -93,7 +93,7 @@ export default function GeneralTab({ projectName }: { projectName: string }) {
|
|||||||
<label className="text-sm font-medium text-foreground" htmlFor={avatarId}>
|
<label className="text-sm font-medium text-foreground" htmlFor={avatarId}>
|
||||||
Avatar <span className="font-normal text-muted-foreground">— optional</span>
|
Avatar <span className="font-normal text-muted-foreground">— optional</span>
|
||||||
</label>
|
</label>
|
||||||
<div className="mt-2">
|
<div className="mt-1">
|
||||||
<AvatarUploader
|
<AvatarUploader
|
||||||
currentUrl={workspace?.avatar_url}
|
currentUrl={workspace?.avatar_url}
|
||||||
label="Workspace avatar"
|
label="Workspace avatar"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user