Skip to content

Commit 02ccac5

Browse files
committed
fix: merge-conflict regressions
1 parent 865b47b commit 02ccac5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ pnpm events-import # Import community events
179179
- `@radix-ui/*` - Accessible component primitives
180180
- `tailwind-variants` - Component variant patterns
181181
- `framer-motion` - Animation library
182-
- `react-icons` - Icon library
182+
- `lucide-react` - Icon library
183183

184184
### Content & Data
185185

src/components/Nav/Client/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import { useRef } from "react"
44
import dynamic from "next/dynamic"
55
import { useLocale } from "next-intl"
6-
import { BsTranslate } from "react-icons/bs"
76

7+
import Translate from "@/components/icons/translate.svg"
88
import SearchButton from "@/components/Search/SearchButton"
99
import SearchInputButton from "@/components/Search/SearchInputButton"
1010
import { Skeleton } from "@/components/ui/skeleton"
@@ -145,7 +145,7 @@ const ClientSideNav = () => {
145145
variant="ghost"
146146
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"
147147
>
148-
<BsTranslate className="me-2 align-middle text-2xl" />
148+
<Translate className="me-2 align-middle text-2xl" />
149149
<span className="max-lg:hidden">{t("languages")}&nbsp;</span>
150150
{locale!.toUpperCase()}
151151
</Button>

src/components/Nav/useThemeToggle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import { Moon, Sun } from "lucide-react"
12
import { useTheme } from "next-themes"
2-
import { MdBrightness2, MdWbSunny } from "react-icons/md"
33

44
import { trackCustomEvent } from "@/lib/utils/matomo"
55

@@ -10,7 +10,7 @@ import useTranslation from "@/hooks/useTranslation"
1010
export const useThemeToggle = () => {
1111
const { t } = useTranslation("common")
1212
const { setTheme, resolvedTheme } = useTheme()
13-
const ThemeIcon = useColorModeValue(MdBrightness2, MdWbSunny)
13+
const ThemeIcon = useColorModeValue(Moon, Sun)
1414

1515
const toggleColorMode = () => {
1616
const targetTheme = resolvedTheme === "dark" ? "light" : "dark"

0 commit comments

Comments
 (0)