Skip to content

Commit

Permalink
Merge pull request #6997 from topcoder-platform/TOP-2194
Browse files Browse the repository at this point in the history
TOP-2194 bring back main viewport
  • Loading branch information
kkartunov authored Jul 24, 2024
2 parents 0d4cfdb + 2f23ed4 commit 6302f22
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/shared/containers/GigsPages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import React from 'react';
import PT from 'prop-types';
import Header from 'containers/TopcoderHeader';
import Footer from 'components/TopcoderFooter';
import Viewport from 'components/Contentful/Viewport';
import { config, isomorphy } from 'topcoder-react-utils';
import RecruitCRMJobDetails from 'containers/Gigs/RecruitCRMJobDetails';
import { Helmet } from 'react-helmet';
Expand Down Expand Up @@ -64,7 +65,7 @@ function GigsPagesContainer(props) {
}), config.GROWSURF_COOKIE_SETTINGS);
}
}
const { id } = match.params;
const { id, type } = match.params;
const isApply = `${config.GIGS_PAGES_PATH}/${id}/apply` === match.url;
const title = 'Find Freelance Work | Gigs | Topcoder';
const description = 'Compete and build up your profiles and skills! Topcoder members become eligible to work on Gig Work projects by first proving themselves in various skill sets through Topcoder competitions.';
Expand Down Expand Up @@ -100,6 +101,16 @@ window._chatlio = window._chatlio||[];
/>
) : null
}
{
!id && !type ? (
<React.Fragment>
<Viewport
id="3X6GfJZl3eDU0m4joSJZpN"
baseUrl={config.GIGS_PAGES_PATH}
/>
</React.Fragment>
) : null
}
<Footer />
</div>
);
Expand Down

0 comments on commit 6302f22

Please sign in to comment.