mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-26 08:42:04 +05:30
fix #82
This commit is contained in:
parent
028b4293ab
commit
7cdf51f81f
@ -48,7 +48,6 @@
|
||||
</a>
|
||||
<div class="theme-toggle icon">
|
||||
<ThemeToggle />
|
||||
<span>Toggle theme</span>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -15,4 +15,7 @@
|
||||
|
||||
<DarkMode bind:theme />
|
||||
|
||||
<div on:click={toggle} class="i-fa6-solid:{theme === "dark" ? "sun" : "moon"} cursor-pointer flex items-center" />
|
||||
<div on:click={toggle} class="cursor-pointer flex items-center">
|
||||
<div class="i-fa6-solid:{theme === "dark" ? "sun" : "moon"}" />
|
||||
<span class="ml-1 sm:hidden">Toggle theme</span>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user