Skip to content

Commit

Permalink
feat: do note display faq on lmel #1209
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregoire committed Jan 7, 2022
1 parent de518fd commit 1984359
Showing 1 changed file with 38 additions and 27 deletions.
65 changes: 38 additions & 27 deletions src/app/content/App/Help/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,44 @@ export const Help = () => {
const { t } = useTranslation();
return (
<Container>
<ContentTitle>{t('faq.title')}</ContentTitle>
<List>
<li>
<ExternalLink href={`https://${WEBSITE_DOMAIN}${t('path.appear')}/`}>
{t('faq.notices.where_appear')}
</ExternalLink>
</li>
<li>
<ExternalLink
href={`https://${WEBSITE_DOMAIN}${t(
'path.problem_post_appearing'
)}/`}
>
{t('faq.notices.dont_appear')}
</ExternalLink>
</li>
<li>
<ExternalLink href={`https://${WEBSITE_DOMAIN}${t('path.privacy')}/`}>
{t('faq.privacy.used_data')}
</ExternalLink>
</li>
<li>
<ExternalLink href={`https://${WEBSITE_DOMAIN}${t('path.help')}/`}>
{t('faq.other_questions.title')}
</ExternalLink>
</li>
</List>
{process.env.FACET !== 'lmel' && (
<>
{' '}
<ContentTitle>{t('faq.title')}</ContentTitle>
<List>
<li>
<ExternalLink
href={`https://${WEBSITE_DOMAIN}${t('path.appear')}/`}
>
{t('faq.notices.where_appear')}
</ExternalLink>
</li>
<li>
<ExternalLink
href={`https://${WEBSITE_DOMAIN}${t(
'path.problem_post_appearing'
)}/`}
>
{t('faq.notices.dont_appear')}
</ExternalLink>
</li>
<li>
<ExternalLink
href={`https://${WEBSITE_DOMAIN}${t('path.privacy')}/`}
>
{t('faq.privacy.used_data')}
</ExternalLink>
</li>
<li>
<ExternalLink
href={`https://${WEBSITE_DOMAIN}${t('path.help')}/`}
>
{t('faq.other_questions.title')}
</ExternalLink>
</li>
</List>
</>
)}

<ContentTitle>{t('view.help.contact_support')}</ContentTitle>
<Content>
Expand Down

0 comments on commit 1984359

Please sign in to comment.