diff --git a/components/switch-theme.js b/components/switch-theme.js index c8a8b4c..2ef3614 100644 --- a/components/switch-theme.js +++ b/components/switch-theme.js @@ -1,9 +1,11 @@ import PropTypes from 'prop-types' +import Image from 'next/image' import {styled} from '@mui/material/styles' -import LightModeIcon from '@mui/icons-material/LightMode' -import DarkModeIcon from '@mui/icons-material/DarkMode' import {Box} from '@mui/material' +import lightSwitch from '../public/theme-switch/light.png' +import darkSwitch from '../public/theme-switch/dark.png' + const PREFIX = 'switch-theme' const classes = { @@ -38,9 +40,25 @@ export default function SwitchTheme({switchFixed, mode, setMode}) {
{mode === 'dark' ? ( - handleClick('light')} /> + Logo #OKi handleClick('light')} + /> ) : ( - handleClick('dark')} /> + Logo #OKi handleClick('dark')} + /> )}