import React from "react"; import { isMobile } from "../../modules/toolbox/devices"; const URL_FAQ = "https://medgo.crisp.help/fr/", URL_IMAGES = "https://medgostatic.s3.eu-west-3.amazonaws.com/"; import "../../scss/components/FooterComponent.scss"; const moment = require("moment"); function FooterLanding({ telText, emailText, urlBase }: { telText: string; emailText: string; urlBase?: string; }): JSX.Element { let num = {telText}; let mail = {emailText}; /* fix for android standard browser which sometimes wrongly detects phone numbers somewhere */ if (isMobile()) { num = ( {telText} ); mail = ( {emailText} ); } const leftElements: JSX.Element[] = [ Clients/Partenaires , Solution , À propos , Contact , Blog , Livres Blancs ]; const contactElements: JSX.Element[] = [
{mail}
,
{num}
, FAQ ]; const weAreConnectedElements = [ , , ]; return (
Trust
); } function Link({ text, style }: { text: JSX.Element; style?: React.CSSProperties }): JSX.Element { return (
{text}
); } function Liste({ title, elements, style }: { title: string; elements: JSX.Element[]; style?: React.CSSProperties; }): JSX.Element { return (
{title}
{elements.map((e, i) => { return ; })}
); } export default FooterLanding;