huge changes
diff --git a/Components/ThemeChangeButton.js b/Components/ThemeChangeButton.js
index 0a2151b..616c14a 100644
--- a/Components/ThemeChangeButton.js
+++ b/Components/ThemeChangeButton.js
@@ -13,16 +13,16 @@
});
return (
- <header>
+ <>
<a className={Styles.icon + " " + Styles.ThemeChangeButton} onClick={(e) => {
e.preventDefault();
setColorMode(colorMode === 'light' ? 'dark' : 'light');
- }}>
- {
- !render ? null : (colorMode == 'light' ? <img alt="Light" src="https://assets.clicksminuteper.net/web/icons/light.svg" /> : <img alt="Dark" src="https://assets.clicksminuteper.net/web/icons/dark.svg" />)
- }
+ }} href="#">
+ <img className={Styles.icon} alt="Theme" src={"https://assets.clicks.codes/web/icons/" + (
+ colorMode == 'light' ? "light-white" : "dark"
+ ) + ".svg"} />
</a>
- </header>
+ </>
)
}