made all pages

This commit is contained in:
Alibek committed 2024-02-13 19:18:07 +06:00
1 parent f6ceb252b2
commit d6c6504d1f
57 files changed
+2260 -43

No files matched your search

@@ -0,0 +1,26 @@
import { signOut } from "next-auth/react";
import "./LogoutButton.scss";
interface ILogoutButtonProps {
className?: string;
}
const LogoutButton: React.FC<ILogoutButtonProps> = ({
className,
}: ILogoutButtonProps) => {
return (
<button
type="button"
className={`logout-btn ${className}`}
onClick={() =>
signOut({
callbackUrl: "/",
})
}
>
Выйти из аккаунта
</button>
);
};
export default LogoutButton;