style: profile settings, activity theming (#951)
This commit is contained in:
parent
7d96adcb70
commit
c9f866e538
4 changed files with 33 additions and 31 deletions
|
|
@ -147,8 +147,8 @@ const Profile: NextPage = () => {
|
|||
<div className="space-y-8 sm:space-y-12">
|
||||
<div className="grid grid-cols-12 gap-4 sm:gap-16">
|
||||
<div className="col-span-12 sm:col-span-6">
|
||||
<h4 className="text-xl font-semibold text-brand-base">Profile Picture</h4>
|
||||
<p className="text-brand-secondary">
|
||||
<h4 className="text-lg font-semibold text-brand-base">Profile Picture</h4>
|
||||
<p className="text-sm text-brand-secondary">
|
||||
Max file size is 5MB. Supported file types are .jpg and .png.
|
||||
</p>
|
||||
</div>
|
||||
|
|
@ -156,7 +156,7 @@ const Profile: NextPage = () => {
|
|||
<div className="flex items-center gap-4">
|
||||
<button type="button" onClick={() => setIsImageUploadModalOpen(true)}>
|
||||
{!watch("avatar") || watch("avatar") === "" ? (
|
||||
<div className="bg-brand-surface-2 h-12 w-12 p-2 rounded-md">
|
||||
<div className="h-12 w-12 rounded-md bg-brand-surface-2 p-2">
|
||||
<UserIcon className="h-full w-full text-brand-secondary" />
|
||||
</div>
|
||||
) : (
|
||||
|
|
@ -195,12 +195,12 @@ const Profile: NextPage = () => {
|
|||
</div>
|
||||
<div className="grid grid-cols-12 gap-4 sm:gap-16">
|
||||
<div className="col-span-12 sm:col-span-6">
|
||||
<h4 className="text-xl font-semibold text-brand-base">Full Name</h4>
|
||||
<p className="text-brand-secondary">
|
||||
<h4 className="text-lg font-semibold text-brand-base">Full Name</h4>
|
||||
<p className="text-sm text-brand-secondary">
|
||||
This name will be reflected on all the projects you are working on.
|
||||
</p>
|
||||
</div>
|
||||
<div className="col-span-12 sm:col-span-6 flex items-center gap-2">
|
||||
<div className="col-span-12 flex items-center gap-2 sm:col-span-6">
|
||||
<Input
|
||||
name="first_name"
|
||||
id="first_name"
|
||||
|
|
@ -224,8 +224,8 @@ const Profile: NextPage = () => {
|
|||
</div>
|
||||
<div className="grid grid-cols-12 gap-4 sm:gap-16">
|
||||
<div className="col-span-12 sm:col-span-6">
|
||||
<h4 className="text-xl font-semibold text-brand-base">Email</h4>
|
||||
<p className="text-brand-secondary">The email address that you are using.</p>
|
||||
<h4 className="text-lg font-semibold text-brand-base">Email</h4>
|
||||
<p className="text-sm text-brand-secondary">The email address that you are using.</p>
|
||||
</div>
|
||||
<div className="col-span-12 sm:col-span-6">
|
||||
<Input
|
||||
|
|
@ -241,8 +241,8 @@ const Profile: NextPage = () => {
|
|||
</div>
|
||||
<div className="grid grid-cols-12 gap-4 sm:gap-16">
|
||||
<div className="col-span-12 sm:col-span-6">
|
||||
<h4 className="text-xl font-semibold text-brand-base">Role</h4>
|
||||
<p className="text-brand-secondary">Add your role.</p>
|
||||
<h4 className="text-lg font-semibold text-brand-base">Role</h4>
|
||||
<p className="text-sm text-brand-secondary">Add your role.</p>
|
||||
</div>
|
||||
<div className="col-span-12 sm:col-span-6">
|
||||
<Controller
|
||||
|
|
@ -270,8 +270,10 @@ const Profile: NextPage = () => {
|
|||
</div>
|
||||
<div className="grid grid-cols-12 gap-4 sm:gap-16">
|
||||
<div className="col-span-12 sm:col-span-6">
|
||||
<h4 className="text-xl font-semibold text-brand-base">Theme</h4>
|
||||
<p className="text-brand-secondary">Select or customize your interface color scheme.</p>
|
||||
<h4 className="text-lg font-semibold text-brand-base">Theme</h4>
|
||||
<p className="text-sm text-brand-secondary">
|
||||
Select or customize your interface color scheme.
|
||||
</p>
|
||||
</div>
|
||||
<div className="col-span-12 sm:col-span-6">
|
||||
<ThemeSwitch />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue