diff --git a/app/layout.tsx b/app/layout.tsx
index 2438630..7b00466 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -19,7 +19,7 @@ export default function RootLayout({
return (
- {/* */}
+
{children}
diff --git a/components/FollowResult.tsx b/components/FollowResult.tsx
new file mode 100644
index 0000000..c214323
--- /dev/null
+++ b/components/FollowResult.tsx
@@ -0,0 +1,37 @@
+import React from "react";
+import Image from "next/image";
+import Resultimg from "../public/img/followResult.png";
+import Link from "next/link";
+
+export default function FollowResult() {
+ return (
+
+
+
+ درخواست شما با کد رهگیری 1243230783 و رمز عبور 12422 در دست بررسی و
+ اقدام می باشد. در صورت تمایل می توانید با شماره تلفن 0353286545 جهت
+ پشتیبانی تماس حاصل کنید.
+
+
+
+
+ ارسال درخواست
+
+
+
+
+
+
+ );
+}
diff --git a/components/FollowUp.tsx b/components/FollowUp.tsx
new file mode 100644
index 0000000..3b36041
--- /dev/null
+++ b/components/FollowUp.tsx
@@ -0,0 +1,122 @@
+"use client";
+import React from "react";
+
+import { zodResolver } from "@hookform/resolvers/zod";
+import { useForm } from "react-hook-form";
+import * as z from "zod";
+
+import { Button } from "@/components/ui/button";
+import {
+ Form,
+ FormControl,
+ FormDescription,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from "@/components/ui/form";
+import { Input } from "@/components/ui/input";
+import { toast } from "@/components/ui/use-toast";
+import { Textarea } from "@/components/ui/textarea";
+
+import Image from "next/image";
+import Link from "next/link";
+import FollowResult from "./FollowResult";
+
+const FormSchema = z.object({
+ fllowCode: z.string().min(2, {
+ message: "fllowCode must be at least 2 characters.",
+ }),
+ password: z.string().min(4, {
+ message: "Password must be at least 4 characters.",
+ }),
+});
+
+export default function FollowUp() {
+ const form = useForm>({
+ resolver: zodResolver(FormSchema),
+ defaultValues: {
+ fllowCode: "",
+ password: "",
+ },
+ });
+
+ function onSubmit(data: z.infer) {
+ toast({
+ title: "You submitted the following values:",
+ description: (
+
+ {JSON.stringify(data, null, 2)}
+
+ ),
+ });
+ console.log(data);
+ }
+ return (
+
+
+
+ لطفا جهت پیگیری درخواست و مشاهده وضعیت آن کد رهگیری و رمز عبور خود را
+ وارد نمایید.
+
+
+
+
+
+
+ );
+}
diff --git a/components/Navbar.tsx b/components/Navbar.tsx
index b31ccab..a4ffa53 100644
--- a/components/Navbar.tsx
+++ b/components/Navbar.tsx
@@ -1,3 +1,5 @@
+"use client";
+
import React from "react";
import { Input } from "./ui/input";
import Image from "next/image";
@@ -5,15 +7,20 @@ import { menuItems } from "@/constants";
import Link from "next/link";
import Login from "./Login";
import { Button } from "./ui/button";
+import { usePathname } from 'next/navigation'
+
export default function Navbar() {
+ const pathname = usePathname()
+
return (
-
+
سال 1402 | مهارم تورم، رشد تولید
+ {/*
Current pathname: {pathname}
*/}
-
-
+
(
- توضیحات
+
+ توضیحات
+
-
+ {/* */}
diff --git a/components/RequestResult.tsx b/components/RequestResult.tsx
new file mode 100644
index 0000000..e9afa6d
--- /dev/null
+++ b/components/RequestResult.tsx
@@ -0,0 +1,24 @@
+import React from "react";
+import Image from "next/image";
+import Resultimg from "../public/img/result.png";
+
+export default function Result() {
+ return (
+
+
+
+
با تشکر از شما
+
+
+ درخواست شما با کد پیگیری 258945885 و رمز عبور 5845 در سامانه سوت زنی
+ ثبت شده و شما می توانید نتیجه درخواست خود را از صفحه پیگیری درخواست،
+ با استفاده از کد رهگیری و رمز عبور مشاهده کنید.
+