import React from 'react' import { Desktop, DeviceTabletSpeaker, DeviceMobileCamera, } from 'phosphor-react' import { Box, HStack } from '../elements/LayoutPrimitives' import { StyledText, StyledImg, StyledAnchor } from '../elements/StyledText' import { TooltipWrapped } from './Tooltip' import Link from 'next/link' import { InstallationIcon } from './images/InstallationIcon' const TooltipStyle = { backgroundColor: '#F9D354', color: '#0A0806', } export default function MobileInstallHelp(): JSX.Element { const [selectedTooltip, setSelectedTooltip] = React.useState('Available for Mac') const platformSizes = [ { label: 'Available for Mac', icon: , }, { label: 'Available for iPad', icon: , }, { label: 'Available for iPhone', icon: , }, ] return ( Learn more Install Omnivore for iOS With the Omnivore iOS app installed you can save any link using our share extension.
Learn more about the share extension here.
Download on the App Store {platformSizes.map((item, idx) => ( setSelectedTooltip(item.label)} css={{ mx: 'auto', borderRadius: '50%', display: 'inline-flex', alignItems: 'center', justifyContent: 'center', height: 35, width: 35, cursor: 'pointer', backgroundColor: '$tooltipIcons', ...(selectedTooltip !== item.label && { filter: 'grayscale(1)', }), '&:focus': { filter: 'grayscale(0)', }, '&:active': { filter: 'grayscale(0)', }, '@lg': { transition: 'filter .3s linear', '&:hover': { filter: 'grayscale(0)', }, }, }} > {item.icon} ))}
) }