import { FC } from 'react'; import { useRecoilValue } from 'recoil'; import styles from './Footer.module.scss'; import { ServerStatus } from '../../../interfaces/server-status.model'; import { serverStatusState } from '../../stores/ClientConfigStore'; export type FooterProps = { dynamicPaddingValue?: string; }; export const Footer: FC = ({ dynamicPaddingValue }) => { const clientStatus = useRecoilValue(serverStatusState); const { versionNumber } = clientStatus; const dynamicPaddingStyle = dynamicPaddingValue ? { paddingRight: `calc(${dynamicPaddingValue} + var(--footer-padding-x)` } : null; return ( ); };