Skip to content

Commit

Permalink
QF-1105 remove hiring footer section (#2232)
Browse files Browse the repository at this point in the history
  • Loading branch information
osamasayed authored Nov 18, 2024
1 parent 8260a22 commit 4d75fbc
Showing 1 changed file with 0 additions and 22 deletions.
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

0 comments on commit 4d75fbc

Please sign in to comment.