File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ pnpm events-import # Import community events
179
179
- ` @radix-ui/* ` - Accessible component primitives
180
180
- ` tailwind-variants ` - Component variant patterns
181
181
- ` framer-motion ` - Animation library
182
- - ` react-icons ` - Icon library
182
+ - ` lucide-react ` - Icon library
183
183
184
184
### Content & Data
185
185
Original file line number Diff line number Diff line change 3
3
import { useRef } from "react"
4
4
import dynamic from "next/dynamic"
5
5
import { useLocale } from "next-intl"
6
- import { BsTranslate } from "react-icons/bs"
7
6
7
+ import Translate from "@/components/icons/translate.svg"
8
8
import SearchButton from "@/components/Search/SearchButton"
9
9
import SearchInputButton from "@/components/Search/SearchInputButton"
10
10
import { Skeleton } from "@/components/ui/skeleton"
@@ -145,7 +145,7 @@ const ClientSideNav = () => {
145
145
variant = "ghost"
146
146
className = "animate-fade-in gap-0 px-2 text-body transition-transform duration-500 active:bg-primary-low-contrast active:text-primary-hover data-[state='open']:bg-primary-low-contrast data-[state='open']:text-primary-hover max-md:hidden xl:px-3 [&_svg]:transition-transform [&_svg]:duration-500 [&_svg]:hover:rotate-12"
147
147
>
148
- < BsTranslate className = "me-2 align-middle text-2xl" />
148
+ < Translate className = "me-2 align-middle text-2xl" />
149
149
< span className = "max-lg:hidden" > { t ( "languages" ) } </ span >
150
150
{ locale ! . toUpperCase ( ) }
151
151
</ Button >
Original file line number Diff line number Diff line change
1
+ import { Moon , Sun } from "lucide-react"
1
2
import { useTheme } from "next-themes"
2
- import { MdBrightness2 , MdWbSunny } from "react-icons/md"
3
3
4
4
import { trackCustomEvent } from "@/lib/utils/matomo"
5
5
@@ -10,7 +10,7 @@ import useTranslation from "@/hooks/useTranslation"
10
10
export const useThemeToggle = ( ) => {
11
11
const { t } = useTranslation ( "common" )
12
12
const { setTheme, resolvedTheme } = useTheme ( )
13
- const ThemeIcon = useColorModeValue ( MdBrightness2 , MdWbSunny )
13
+ const ThemeIcon = useColorModeValue ( Moon , Sun )
14
14
15
15
const toggleColorMode = ( ) => {
16
16
const targetTheme = resolvedTheme === "dark" ? "light" : "dark"
You can’t perform that action at this time.
0 commit comments