Skip to content

Commit

Permalink
feat: restructured workspace add form
Browse files Browse the repository at this point in the history
Signed-off-by: Karthik Ayangar <karthik.ayangar7118@gmail.com>
  • Loading branch information
kituuu committed May 19, 2024
1 parent 0f58c67 commit 11414c3
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 153 deletions.
4 changes: 2 additions & 2 deletions frontend/src/features/AddProject/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const AddProject = () => {
autoComplete='off'
noValidate
>
<div className='input-title'>Name</div>
<div className='input-title'>Name<span style={{color:'red',paddingLeft:'4px'}}>*</span></div>
<input
type='text'
placeholder='Project name'
Expand All @@ -158,7 +158,7 @@ const AddProject = () => {
required
/>
{formErrors.name && <p className='form-error'>{formErrors.name}</p>}
<div className='input-title'>Project link</div>
<div className='input-title'>Project link<span style={{color:'red',paddingLeft:'4px'}}>*</span></div>
<input
type='text'
value={form.link}
Expand Down
8 changes: 8 additions & 0 deletions frontend/src/features/AddWorkspace/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ $breakpoint-tablet: 768px;
gap: 2rem;
.submit {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 10px;
padding: 1rem 2rem;
align-self: flex-end;
font-size: 1.5rem;
Expand Down Expand Up @@ -120,6 +124,10 @@ $breakpoint-tablet: 768px;
border-radius: 2.3125rem;
background: #402aa4;
}
.add-member-button:disabled {
background-color: grey;

}
}

.added-members {
Expand Down
Loading

0 comments on commit 11414c3

Please sign in to comment.