diff --git a/Frontend/components/FastPocketBadge.tsx b/Frontend/components/FastPocketBadge.tsx
new file mode 100644
index 0000000..ee462e0
--- /dev/null
+++ b/Frontend/components/FastPocketBadge.tsx
@@ -0,0 +1,47 @@
+import * as React from "react";
+const SvgComponent = (props: any) => (
+
+
+
+);
+export default SvgComponent;
diff --git a/Frontend/components/Modals/ModalSignIn.tsx b/Frontend/components/Modals/ModalSignIn.tsx
index bf3b47a..ac090d4 100644
--- a/Frontend/components/Modals/ModalSignIn.tsx
+++ b/Frontend/components/Modals/ModalSignIn.tsx
@@ -1,3 +1,5 @@
+"use client";
+
import React from "react";
import Icon from "@/components/Icons/Icon";
import { useForm } from "react-hook-form";
@@ -5,9 +7,11 @@ import { yupResolver } from "@hookform/resolvers/yup";
import { signInValidationSchema } from "@/utils/form";
import { login } from "@/app/actions";
import { toast } from "react-toastify";
-import pb from "@/lib/pocketbase";
+import { useRouter } from "next/navigation";
function ModalSignIn() {
+ const router = useRouter();
+
const {
register,
handleSubmit,
@@ -25,6 +29,7 @@ function ModalSignIn() {
) {
reset();
document.getElementById("sign-in-modal")?.click();
+ router.push("/account");
}
} catch (error) {
if (error instanceof Error) {
@@ -96,14 +101,31 @@ function ModalSignIn() {
-
+
+
+
+
+ Dont have an account?{" "}
+
+
+ {
+ document.getElementById("sign-in-modal")?.click();
+ document.getElementById("sign-up-modal")?.click();
+ }}
+ className="text-primary hover:text-primary/60 cursor-pointer "
+ >
+ Sign up
+
+
+
-
+
+
+
+
+ Already have an account?{" "}
+
+
+ {
+ document.getElementById("sign-up-modal")?.click();
+ document.getElementById("sign-in-modal")?.click();
+ }}
+ className="text-primary hover:text-primary/60 cursor-pointer "
+ >
+ Sign in
+
+
+