@@ -53,8 +53,11 @@ function NoMatchingProfilesResultCard({ role }) {
: "Custom Role"}
- We will be looking internally for members matching your requirements
- and be back at them in about 2 weeks.
+ We did not get a perfect match to your requirements on the first pass,
+ but we are confident they are out there. We'd like to dig a little
+ deeper into our community to find someone who can fit your needs. This
+ may take up to two weeks. Please continue to submit your request, and
+ a Topcoder representative will reach out to you soon with next steps.
+ Input a Job Description for your opening and the Topcoder Platform
+ will identify the skills required to perform the job duties and find
+ the best matching freelancers for your job opening. After inputting
+ the Job Description click on the "Search" button to see the skills
+ identified.
+
- Description
+ View Description & Skills
);
From 81ab3ee6ddfb952290a492ff39cd9c128ae615c1 Mon Sep 17 00:00:00 2001
From: Michael Baghel
Date: Wed, 14 Jul 2021 13:47:12 +0400
Subject: [PATCH 03/22] feat: Integrate Customer Scroll
- Add Customer Scroll to all pages under createnewteam route
- Refactor Create New Team Landing Page to its own component
- Change createnewteam routes to nested routes to facilitate
code sharing
- Change height on ItemList and Job Description input
components to avoid overlapping with Customer Scroll
Resolves: #355
---
src/assets/images/customer-logos.svg | 139 ++++++++++++++++++
src/components/CustomerScroll/index.jsx | 13 ++
.../CustomerScroll/styles.module.scss | 45 ++++++
src/root.component.jsx | 11 +-
.../components/ItemList/styles.module.scss | 2 +-
src/routes/CreateNewTeam/index.jsx | 62 ++------
.../pages/CreateTeamLanding/index.jsx | 58 ++++++++
.../CreateTeamLanding/styles.module.scss | 3 +
.../pages/InputJobDescription/index.jsx | 2 +-
src/routes/CreateNewTeam/styles.module.scss | 20 ++-
10 files changed, 296 insertions(+), 59 deletions(-)
create mode 100644 src/assets/images/customer-logos.svg
create mode 100644 src/components/CustomerScroll/index.jsx
create mode 100644 src/components/CustomerScroll/styles.module.scss
create mode 100644 src/routes/CreateNewTeam/pages/CreateTeamLanding/index.jsx
create mode 100644 src/routes/CreateNewTeam/pages/CreateTeamLanding/styles.module.scss
diff --git a/src/assets/images/customer-logos.svg b/src/assets/images/customer-logos.svg
new file mode 100644
index 00000000..0719e61e
--- /dev/null
+++ b/src/assets/images/customer-logos.svg
@@ -0,0 +1,139 @@
+
+
\ No newline at end of file
diff --git a/src/components/CustomerScroll/index.jsx b/src/components/CustomerScroll/index.jsx
new file mode 100644
index 00000000..bc89cecf
--- /dev/null
+++ b/src/components/CustomerScroll/index.jsx
@@ -0,0 +1,13 @@
+import React from "react";
+import "./styles.module.scss";
+
+function CustomerScroll() {
+ return (
+
+
Trusted By
+
+
+ );
+}
+
+export default CustomerScroll;
diff --git a/src/components/CustomerScroll/styles.module.scss b/src/components/CustomerScroll/styles.module.scss
new file mode 100644
index 00000000..35c004fb
--- /dev/null
+++ b/src/components/CustomerScroll/styles.module.scss
@@ -0,0 +1,45 @@
+@import "styles/include";
+
+.title {
+ @include font-barlow;
+ font-weight: 600;
+ font-size: 22px;
+ color: #7f7f7f;
+ text-align: center;
+ text-transform: uppercase;
+ margin-bottom: 30px;
+}
+
+@keyframes scroll {
+ from {background-position: 0 0;}
+ to {background-position: -7701px 0;}
+}
+
+.scrolling-logos {
+ background-image: url("../../assets/images/customer-logos.svg");
+ height: 60px;
+ width: 100%;
+ animation: scroll 300s linear infinite;
+ position: relative;
+
+ &:before {
+ background: linear-gradient(to right, #F4F5F6 0%, rgba(255, 255, 255, 0) 100%);
+ content: '';
+ height: 60px;
+ left: 0;
+ position: absolute;
+ top: 0;
+ width: 60px;
+ z-index: 2;
+ }
+ &:after {
+ background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #F4F5F6 100%);
+ content: '';
+ height: 60px;
+ position: absolute;
+ right: 0;
+ top: 0;
+ width: 60px;
+ z-index: 2;
+ }
+}
\ No newline at end of file
diff --git a/src/root.component.jsx b/src/root.component.jsx
index bdd3b79b..4392f546 100644
--- a/src/root.component.jsx
+++ b/src/root.component.jsx
@@ -10,6 +10,7 @@ import JobDetails from "./routes/JobDetails";
import JobForm from "./routes/JobForm";
import TeamAccess from "./routes/TeamAccess";
import CreateNewTeam from "./routes/CreateNewTeam";
+import CreateTeamLanding from "./routes/CreateNewTeam/pages/CreateTeamLanding";
import InputSkills from "./routes/CreateNewTeam/pages/InputSkills";
import InputJobDescription from "./routes/CreateNewTeam/pages/InputJobDescription";
import SelectRole from "./routes/CreateNewTeam/pages/SelectRole";
@@ -25,7 +26,6 @@ export default function Root() {
-
@@ -34,9 +34,12 @@ export default function Root() {
-
-
-
+
+
+
+
+
+
{/* Global config for Toastr popups */}
diff --git a/src/routes/CreateNewTeam/components/ItemList/styles.module.scss b/src/routes/CreateNewTeam/components/ItemList/styles.module.scss
index cf201197..3ee04ddc 100644
--- a/src/routes/CreateNewTeam/components/ItemList/styles.module.scss
+++ b/src/routes/CreateNewTeam/components/ItemList/styles.module.scss
@@ -6,7 +6,7 @@
width: 100%;
margin-right: 20px;
position: relative;
- height: 80vh;
+ height: 70vh;
overflow-y: auto;
.title {
diff --git a/src/routes/CreateNewTeam/index.jsx b/src/routes/CreateNewTeam/index.jsx
index 570bd41a..44c07e6c 100644
--- a/src/routes/CreateNewTeam/index.jsx
+++ b/src/routes/CreateNewTeam/index.jsx
@@ -1,59 +1,19 @@
/**
* Create New Team
*
- * Landing page for creating new teams
- * by selecting a role, inputting skills,
- * or inputting a job description
+ * Container for Create New Team subroutes
*/
-import React, { useEffect } from "react";
-import { useDispatch } from "react-redux";
-import { navigate } from "@reach/router";
-import _ from "lodash";
-import Page from "components/Page";
-import PageHeader from "components/PageHeader";
-import LandingBox from "./components/LandingBox";
-import { clearMatchingRole } from "./actions";
-import IconMultipleActionsCheck from "../../assets/images/icon-multiple-actions-check-2.svg";
-import IconListQuill from "../../assets/images/icon-list-quill.svg";
-import IconOfficeFileText from "../../assets/images/icon-office-file-text.svg";
+import React from "react";
+import CustomerScroll from "components/CustomerScroll";
import "./styles.module.scss";
-function CreateNewTeam() {
- const dispatch = useDispatch();
- const goToRoute = (path) => {
- dispatch(clearMatchingRole());
- navigate(path);
- };
-
- return (
-
- Create New Team} />
-
- Please select how you want to find members that match your requirements.
-