diff --git a/client/src/App.tsx b/client/src/App.tsx index 30811c4..0282717 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -2,6 +2,7 @@ import { Route, Routes } from "react-router-dom"; import { ForgotPasswordPage } from "@/pages/forgot-password/page"; import { ResetPasswordPage } from "@/pages/reset-password/page"; +import { ChangePasswordPage } from "@/pages/change-password/page"; import VerifyEmailPage from "@/pages/verify-email/page"; import PrivateGuard from "@/guards/private-guard"; import { AppRoutes } from "@/constants/routes"; @@ -16,20 +17,24 @@ function App() { }> } /> + } + /> }> } /> } /> } /> + } + /> + } + /> - } - /> - } - /> ); diff --git a/client/src/components/hint.tsx b/client/src/components/hint.tsx index 0cc62c6..b40da3e 100644 --- a/client/src/components/hint.tsx +++ b/client/src/components/hint.tsx @@ -22,8 +22,9 @@ const Hint = ({ id, content, isSecondary, isAccent }: HintProps) => { & React.RefAttributes >; - size?: number; onClick: () => void; disabled?: boolean; loading?: boolean; @@ -12,14 +13,19 @@ interface IconButtonProps { const IconButton = ({ icon: Icon, - size = 22, onClick, disabled, loading, }: IconButtonProps) => { + const { width } = useResize(); + + const lg = width > 1024; + + const size = lg ? 22 : 16; + return (