Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Merge branch 'main' into improve-accessibility

Amruth Pillaia55bea1e07d3
diff --cc apps/client/src/components/locale-switch.tsx
index cd8161726,50f1c68b6..d4bdc7951
--- a/apps/client/src/components/locale-switch.tsx
+++ b/apps/client/src/components/locale-switch.tsx
@@@ -1,6 -1,5 +1,6 @@@
+import { t } from "@lingui/macro";
import { useLingui } from "@lingui/react";
- import { Translate } from "@phosphor-icons/react";
+ import { TranslateIcon } from "@phosphor-icons/react";
import { Button, Popover, PopoverContent, PopoverTrigger } from "@reactive-resume/ui";
import { useState } from "react";
@@@ -14,8 -13,8 +14,8 @@@ export const LocaleSwitch = () =>
return (
<Popover open={open} onOpenChange={setOpen}>
<PopoverTrigger asChild>
- <Button size="icon" variant="ghost">
+ <Button size="icon" variant="ghost" aria-label={t`Change Language`}>
- <Translate size={20} />
+ <TranslateIcon size={20} />
</Button>
</PopoverTrigger>
<PopoverContent align="end" className="p-0">
diff --cc apps/client/src/components/theme-switch.tsx
index 8c01b74fa,37f7501b3..2525cf230
--- a/apps/client/src/components/theme-switch.tsx
+++ b/apps/client/src/components/theme-switch.tsx
@@@ -1,5 -1,4 +1,5 @@@
+import { t } from "@lingui/macro";
- import { CloudSun, Moon, Sun } from "@phosphor-icons/react";
+ import { CloudSunIcon, MoonIcon, SunIcon } from "@phosphor-icons/react";
import { useTheme } from "@reactive-resume/hooks";
import { Button } from "@reactive-resume/ui";
import type { Variants } from "framer-motion";
@@@ -26,9 -25,9 +26,9 @@@ export const ThemeSwitch = ({ size = 20
<Button size="icon" variant="ghost" className={className} onClick={toggleTheme}>
<div className="cursor-pointer overflow-hidden" style={{ width: size, height: size }}>
<motion.div animate={theme} variants={variants} className="flex">
- <Sun size={size} className="shrink-0" aria-label={t`Switch to Light Mode`} />
- <CloudSun size={size} className="shrink-0" aria-label={t`Use System Theme`} />
- <Moon size={size} className="shrink-0" aria-label={t`Switch to Dark Mode`} />
- <SunIcon size={size} className="shrink-0" />
- <CloudSunIcon size={size} className="shrink-0" />
- <MoonIcon size={size} className="shrink-0" />
++ <SunIcon size={size} className="shrink-0" aria-label={t`Switch to Light Mode`} />
++ <CloudSunIcon size={size} className="shrink-0" aria-label={t`Use System Theme`} />
++ <MoonIcon size={size} className="shrink-0" aria-label={t`Switch to Dark Mode`} />
</motion.div>
</div>
</Button>