Skip to content
Merged
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
19 changes: 2 additions & 17 deletions src/features/common/Layout/Footer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import React, { useEffect, useState } from 'react';
import AppleIcon from '../../../../../public/assets/images/footer/AppStore';
import GooglePlayIcon from '../../../../../public/assets/images/footer/GooglePlay';
import React, { ReactElement, useEffect, useState } from 'react';
import UNEPLogo from '../../../../../public/assets/images/footer/UNEPLogo';
import World from '../../../../../public/assets/images/footer/World';
import getLanguageName from '../../../../utils/language/getLanguageName';
Expand All @@ -15,7 +13,7 @@ import DarkModeSwitch from '../DarkModeSwitch.tsx';
const { useTranslation } = i18next;

// let styles = require('./Footer.module.css');
export default function Footer() {
export default function Footer(): ReactElement | null {
const { t, i18n, ready } = useTranslation(['common']);
const config = tenantConfig();

Expand Down Expand Up @@ -118,19 +116,6 @@ export default function Footer() {
{`${getLanguageName(language)} · ${selectedCurrency}`}
</p>
</button>
<a href="https://play.google.com/store/apps/details?id=org.pftp">
<button id={'googleIcon'} className={styles.footer_button}>
<GooglePlayIcon />
<p className={styles.selected_language_bold}>Google Play</p>
</button>
</a>
<a href="https://apps.apple.com/us/app/plant-for-the-planet/id1444740626">
<button id={'appleIcon'} className={styles.footer_button}>
<AppleIcon />
<p className={styles.selected_language_bold}>App Store</p>
</button>
</a>

<div className={styles.footer_social_container}>
<button id={'facebookIcon'}>
<a
Expand Down