more JamTrack page fixes

This commit is contained in:
Nuwan 2024-12-03 19:35:38 +05:30
parent d3a9a7c1e5
commit 3245024925
2 changed files with 29 additions and 12 deletions

View File

@ -1,7 +1,7 @@
import React, { useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import { useResponsive } from '@farfetch/react-context-responsive';
import { useParams, Link } from 'react-router-dom';
import { useParams } from 'react-router-dom';
import { Card, CardBody, Row, Col } from 'reactstrap';
import FalconCardHeader from '../common/FalconCardHeader';
import { getUserDetail, postUserEvent, userOpenedJamTrackWebPlayer } from '../../helpers/rest';
@ -84,24 +84,41 @@ const JKJamTrack = () => {
<Card className="mx-auto">
<FalconCardHeader title={t('jamtrack.help_resources.title')} titleClass="font-weight-semi-bold" />
<CardBody className="pt-3">
<div className='mb-3'>
<div><a target='_blank' href="https://jamkazam.freshdesk.com/support/solutions/articles/66000501472">{t('jamtrack.help_resources.using_overview.title')}</a></div>
<div className="mb-3">
<div>
<a target="_blank" href="https://jamkazam.freshdesk.com/support/solutions/articles/66000501472">
{t('jamtrack.help_resources.using_overview.title')}
</a>
</div>
{t('jamtrack.help_resources.using_overview.description')}
</div>
<div className='mb-3'>
<div><a target='_blank' href="https://jamkazam.freshdesk.com/support/solutions/articles/66000125792">{t('jamtrack.help_resources.using_mac_windows.title')}</a></div>
<div className="mb-3">
<div>
<a target="_blank" href="https://jamkazam.freshdesk.com/support/solutions/articles/66000125792">
{t('jamtrack.help_resources.using_mac_windows.title')}
</a>
</div>
{t('jamtrack.help_resources.using_mac_windows.description')}
</div>
<div className='mb-3'>
<div className="mb-3">
<div>
<Link to="/my-jamtracks">{t('jamtrack.help_resources.jamtracks_home.title')}</Link>
</div>
<a href="https://www.jamkazam.com/client#/jamtrack">
{t('jamtrack.help_resources.jamtracks_home.title')}
</a>
</div>
{t('jamtrack.help_resources.jamtracks_home.description')}
</div>
<div className='mb-3'>
<div className="mb-3">
<div>
<Link to="/jamtracks">{t('jamtrack.help_resources.see_more.title')}</Link>
</div>
<a
href={`https://www.jamkazam.com/client?artist=${encodeURIComponent(
jamTrack.original_artist
)}#/jamtrack/search`}
target="_blank"
>
{t('jamtrack.help_resources.see_more.description')}
</a>
</div>
{t('jamtrack.help_resources.see_more.description')}
</div>
</CardBody>

View File

@ -15,7 +15,7 @@ const JKCheckoutSuccess = () => {
Click the button below to start using your new JamTracks.
</p>
<p>
<Link to="/jamtracks/my" className="btn btn-primary">
<Link to="/my-jamtracks" className="btn btn-primary">
{t('my_jamtracks')}
</Link>
</p>