Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 34ac8af

Browse files
committed
Change CreateNewTeam path to /taas/createnewteam. Fix placholder alignment in Job Title input.
1 parent 1d1cc33 commit 34ac8af

File tree

8 files changed

+18
-13
lines changed

8 files changed

+18
-13
lines changed

src/root.component.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function Root() {
2525
<Router>
2626
<Redirect from="/taas" to="/taas/myteams" exact />
2727
<MyTeamsList path="/taas/myteams" />
28-
<CreateNewTeam path="/taas/myteams/createnewteam" />
28+
<CreateNewTeam path="/taas/createnewteam" />
2929
<MyTeamsDetails path="/taas/myteams/:teamId" />
3030
<JobDetails path="/taas/myteams/:teamId/positions/:jobId" />
3131
<JobForm path="/taas/myteams/:teamId/positions/:jobId/edit" />
@@ -34,9 +34,9 @@ export default function Root() {
3434
<ResourceBookingForm path="/taas/myteams/:teamId/rb/:resourceBookingId/edit" />
3535
<PositionDetails path="/taas/myteams/:teamId/positions/:positionId/candidates" />
3636
<TeamAccess path="/taas/myteams/:teamId/access" />
37-
<InputJobDescription path="/taas/myteams/createnewteam/jd/*" />
38-
<InputSkills path="/taas/myteams/createnewteam/skills/*" />
39-
<SelectRole path="/taas/myteams/createnewteam/role/*" />
37+
<InputJobDescription path="/taas/createnewteam/jd/*" />
38+
<InputSkills path="/taas/createnewteam/skills/*" />
39+
<SelectRole path="/taas/createnewteam/role/*" />
4040
</Router>
4141

4242
{/* Global config for Toastr popups */}

src/routes/CreateNewTeam/components/ItemList/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function ItemList({
3737
<div styleName="item-list">
3838
<PageHeader
3939
title={title}
40-
backTo="/taas/myteams/createnewteam"
40+
backTo="/taas/createnewteam"
4141
aside={
4242
<>
4343
<Input

src/routes/CreateNewTeam/components/NoMatchingProfilesResultCard/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function NoMatchingProfilesResultCard({ role }) {
3838
<p>/Week</p>
3939
</div>
4040
)}
41-
<Link to="/taas/myteams/createnewteam">
41+
<Link to="/taas/createnewteam">
4242
<Button type="secondary" styleName="button">
4343
Modify Search Criteria
4444
</Button>

src/routes/CreateNewTeam/components/SubmitContainer/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function SubmitContainer({
5151
// without adding any roles or delete all roles.
5252
useLayoutEffect(() => {
5353
if (!addedRoles || addedRoles.length === 0) {
54-
navigate("/taas/myteams/createnewteam");
54+
navigate("/taas/createnewteam");
5555
}
5656
}, [addedRoles]);
5757

@@ -61,7 +61,7 @@ function SubmitContainer({
6161
};
6262

6363
const addAnother = () => {
64-
navigate("/taas/myteams/createnewteam");
64+
navigate("/taas/createnewteam");
6565
};
6666

6767
const assembleTeam = (formData) => {

src/routes/CreateNewTeam/components/SuccessCard/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function SuccessCard() {
2626
Please use the button to the right to submit your request, or the
2727
button below to search for additional roles.
2828
</p>
29-
<Link to="/taas/myteams/createnewteam">
29+
<Link to="/taas/createnewteam">
3030
<Button type="secondary" styleName="button">
3131
Continue Search
3232
</Button>

src/routes/CreateNewTeam/index.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,21 @@ function CreateNewTeam() {
3131
description="You know you want a front end developer, or a full stack developer, mobile one or others."
3232
icon={<IconMultipleActionsCheck />}
3333
backgroundImage="linear-gradient(101.95deg, #8B41B0 0%, #EF476F 100%)"
34-
onClick={() => goToRoute("/taas/myteams/createnewteam/role")}
34+
onClick={() => goToRoute("/taas/createnewteam/role")}
3535
/>
3636
<LandingBox
3737
title="Input Skills"
3838
description="You know your developer has specific skills, such as for example: Java, Python, Oracle, etc."
3939
icon={<IconListQuill />}
4040
backgroundImage="linear-gradient(221.5deg, #2C95D7 0%, #9D41C9 100%)"
41-
onClick={() => goToRoute("/taas/myteams/createnewteam/skills")}
41+
onClick={() => goToRoute("/taas/createnewteam/skills")}
4242
/>
4343
<LandingBox
4444
title="Input Job Description"
4545
description="You would like to use a description to explain what you need."
4646
icon={<IconOfficeFileText />}
4747
backgroundImage="linear-gradient(135deg, #2984BD 0%, #0AB88A 100%)"
48-
onClick={() => goToRoute("/taas/myteams/createnewteam/jd")}
48+
onClick={() => goToRoute("/taas/createnewteam/jd")}
4949
/>
5050
</Page>
5151
);

src/routes/CreateNewTeam/pages/InputJobDescription/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function InputJobDescription() {
6464
<div styleName="edit-container">
6565
<PageHeader
6666
title="Input Job Description"
67-
backTo="/taas/myteams/createnewteam"
67+
backTo="/taas/createnewteam"
6868
/>
6969
<div styleName="job-title">
7070
<TextInput

src/routes/CreateNewTeam/pages/InputJobDescription/styles.module.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@
1010

1111
.job-title {
1212
margin-bottom: 15px;
13+
14+
input:not([type="checkbox"]) {
15+
line-height: normal;
16+
padding: 8px 15px;
17+
}
1318
}

0 commit comments

Comments
 (0)