Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QF-1105 remove hiring footer section #2232

Open
wants to merge 1 commit into
base: testing
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions src/components/dls/Footer/TitleAndDescription.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
import Trans from 'next-translate/Trans';
import useTranslation from 'next-translate/useTranslation';

import styles from './Footer.module.scss';

import Link, { LinkVariant } from '@/dls/Link/Link';
import QuranTextLogo from '@/icons/quran-text-logo.svg';
import { logButtonClick } from '@/utils/eventLogger';

const TitleAndDescription = () => {
const { t } = useTranslation('common');

const onHiringAnnouncementClicked = () => {
logButtonClick('footer_hiring_announcement');
};

return (
<div className={styles.titleAndDescriptionContainer}>
<div className={styles.headingContainer}>
Expand All @@ -23,21 +16,6 @@ const TitleAndDescription = () => {
<div className={styles.title}>{t('footer.title')}</div>
</div>
<p className={styles.description}>{t('footer.description')}</p>
<div className={styles.hiringAnnouncementContainer}>
<Trans
components={{
link: (
<Link
href="https://www.quran.foundation/careers"
variant={LinkVariant.Blend}
onClick={onHiringAnnouncementClicked}
isNewTab
/>
),
}}
i18nKey="common:footer.hiring"
/>
</div>
</div>
);
};
Expand Down