import { FC, ReactNode, useContext } from 'react'; import { Box, Container, IconButton } from '@mui/material'; import { GlobalAppState } from '../../core/shareObject/globalAppState'; import { Theme } from '../../core/theme/types'; import { Color } from '../../palette'; import { FooterFlag } from './FooterFlag'; import { BrjLogo } from '../BrjLogo'; import { FooterServiceStatus } from './FooterServiceStatus'; import { FooterSwitcher } from './FooterSwitcher'; import GitHubIcon from '@mui/icons-material/GitHub'; import FacebookIcon from '@mui/icons-material/Facebook'; import YouTubeIcon from '@mui/icons-material/YouTube'; type FooterProps = { children: ReactNode; }; export const Footer: FC = ({ children }) => { const { getContext } = useContext(GlobalAppState); const { theme, locale } = getContext(); return ( {children} {new Date().getFullYear()} window.open('https://github.com/janbarasek', '_blank')}> window.open('https://facebook.com/janbarasek', '_blank')}> window.open('https://www.youtube.com/@JanBarasek5249/videos', '_blank')}> ); };