import Image from 'next/image'; import styles from '@/styles/ThemeInfo.module.css'; interface ThemeInfoProps { icon: string; name: string; publisher: string; theme: string; } const ThemeInfo = ({ icon, name, publisher, theme }: ThemeInfoProps) => { const setTheme = (theme: string) => { document.documentElement.setAttribute('data-theme', theme); localStorage.setItem('theme', theme); }; return (