import React from 'react'; import './Footer.sass'; import {Link} from "react-router-dom"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faDiscord, faVk, faTelegramPlane } from '@fortawesome/free-brands-svg-icons'; const Footer: React.FC = () => { const secretChangeTheme = () => { const theme = localStorage.getItem('theme'); if(theme == null) { localStorage.setItem('theme', 'light'); document.body.setAttribute('theme', 'light') } else if(theme === 'light') { localStorage.setItem('theme', 'dark'); document.body.setAttribute('theme', 'dark') } else if(theme === 'dark') { localStorage.setItem('theme', 'light'); document.body.setAttribute('theme', 'light') } if(theme !== 'light') { console.log('Светлая тема находится в разработке! Не все может корректно отображаться.\nК тому же, эта кнопка секретная. Ты знал, на что шел ;)'); } } return (
Unmei © 2019-2020
); }; export default Footer;