We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc0d49e commit 6c59e14Copy full SHA for 6c59e14
next/src/components/themeToggleButton.tsx
@@ -9,14 +9,11 @@ export const ThemeToggleButton = () => {
9
const { theme, toggleTheme } = useTheme();
10
11
return (
12
- <div className="fixed right-4 bottom-6 text-sm"> {/* fixed 위치를 조정 */}
+ <div className="fixed right-4 bottom-4 text-sm"> {/* fixed 위치를 조정 */}
13
<button
14
onClick={toggleTheme}
15
className="flex items-center gap-2 px-4 py-2 rounded-md bg-gray-200 dark:bg-gray-800 text-black dark:text-white shadow-lg transition-colors duration-200"
16
>
17
- {/* 텍스트 */}
18
- {theme === "light" ? "Switch to Dark Mode" : "Switch to Light Mode"}
19
-
20
{/* 아이콘 */}
21
{theme === "light" ? (
22
<SunIcon className="h-5 w-5"/>
0 commit comments