add search component
This commit is contained in:
@@ -17,14 +17,13 @@ const ThemeSwitch = () => {
|
||||
return (
|
||||
<button
|
||||
aria-label="Toggle Dark Mode"
|
||||
className="ml-1 mr-1 h-8 w-8 rounded p-1 sm:ml-4"
|
||||
onClick={() => setTheme(theme === 'dark' ? 'light' : 'dark')}
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 20 20"
|
||||
fill="currentColor"
|
||||
className="text-gray-900 dark:text-gray-100"
|
||||
className="text-gray-900 dark:text-gray-100 h-6 w-6"
|
||||
>
|
||||
{mounted && theme === 'dark' ? (
|
||||
<path
|
||||
|
||||
Reference in New Issue
Block a user