import { default as LearnFooterMobileCustom } from "../../ui-components/LearnFooterMobileCustom"; import { default as LearnFooterCustom } from "../../ui-components/LearnFooterCustom"; import { SocialMediaButton } from "../SocialMediaButton"; import { SocialMediaPlatform } from "../../models"; import { createGithubIssueLink } from "../../utils"; import { View } from "@aws-amplify/ui-react"; import ExternalIconCustom from "../../ui-components/ExternalIconCustom"; import styles from "./LearnFooter.module.scss"; import { trackExternalLink } from "../../utils/track"; export function LearnFooter({ isMobile }: { isMobile: boolean }) { let learnFooter; const iconSize = isMobile ? "26px" : "38px"; const socialMediaButtons = [ , , , , ]; const githubIssueUrl = createGithubIssueLink(); const submitGithubIssueLink = ( { trackExternalLink(githubIssueUrl); }} > Submit issue on GitHub ); if (!isMobile) { learnFooter = ( ); } else { learnFooter = ( ); } return ; }