Bugs fixed
parent
9f6b2d744c
commit
0fee5b0379
|
|
@ -1,15 +1,12 @@
|
||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Inter } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { Toaster } from "@/components/ui/toaster";
|
import { Toaster } from "@/components/ui/toaster";
|
||||||
import Navbar from "@/components/Navbar";
|
import Navbar from "@/components/Navbar";
|
||||||
import NavbarSm from "@/components/NavbarSm";
|
|
||||||
import Provider from "../utils/Provider";
|
import Provider from "../utils/Provider";
|
||||||
import { Toaster as SonnerToaster } from "@/components/ui/sonner";
|
import { Toaster as SonnerToaster } from "@/components/ui/sonner";
|
||||||
import ProgressBarProviders from "@/components/ProgressBar";
|
import ProgressBarProviders from "@/components/ProgressBar";
|
||||||
import { unstable_noStore as noStore } from "next/cache";
|
import { unstable_noStore as noStore } from "next/cache";
|
||||||
import { EnvScript, PublicEnvScript } from "next-runtime-env";
|
import { EnvScript, PublicEnvScript } from "next-runtime-env";
|
||||||
const inter = Inter({ subsets: ["latin"] });
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "عیون",
|
title: "عیون",
|
||||||
|
|
|
||||||
|
|
@ -159,17 +159,18 @@ export default function ComplainsDetails({
|
||||||
<AlertDialogContent dir="rtl" className="">
|
<AlertDialogContent dir="rtl" className="">
|
||||||
<AlertDialogHeader dir="rtl">
|
<AlertDialogHeader dir="rtl">
|
||||||
<AlertDialogTitle dir="rtl">رمز عبور</AlertDialogTitle>
|
<AlertDialogTitle dir="rtl">رمز عبور</AlertDialogTitle>
|
||||||
<AlertDialogDescription>
|
<AlertDialogDescription className=" w-full mx-auto">
|
||||||
برای مشاهده درخواست پسورد خود را وارد نمایید.
|
برای مشاهده درخواست رمز عبور خود را وارد نمایید.
|
||||||
</AlertDialogDescription>
|
</AlertDialogDescription>
|
||||||
</AlertDialogHeader>
|
</AlertDialogHeader>
|
||||||
<div className="grid items-center gap-1.5 w-full max-w-sm mx-auto">
|
<div className="grid items-center gap-1.5 w-full px-10 mx-auto">
|
||||||
{/* <Label htmlFor="picture">Picture</Label> */}
|
{/* <Label htmlFor="picture">Picture</Label> */}
|
||||||
<Input
|
<Input
|
||||||
dir="rtl"
|
dir="ltr"
|
||||||
id="picture"
|
id="picture"
|
||||||
|
autoFocus
|
||||||
onChange={(e) => setPassword(e.target.value)}
|
onChange={(e) => setPassword(e.target.value)}
|
||||||
className="bg-white hover:bg-white focus:bg-white"
|
className="bg-white hover:bg-white focus:bg-white text-center"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<AlertDialogFooter className=" gap-y-2 max-md:w-full max-md:flex max-md:flex-col">
|
<AlertDialogFooter className=" gap-y-2 max-md:w-full max-md:flex max-md:flex-col">
|
||||||
|
|
|
||||||
|
|
@ -149,25 +149,7 @@ export default function RequestStep1() {
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<FormField
|
|
||||||
control={form.control}
|
|
||||||
name="nationalId"
|
|
||||||
render={({ field }) => (
|
|
||||||
<FormItem className="w-full sm:w-[48%]">
|
|
||||||
<FormLabel className="text-[#7C838A] text-sm font-medium mt-7">
|
|
||||||
کد ملی
|
|
||||||
</FormLabel>
|
|
||||||
<FormControl>
|
|
||||||
<Input
|
|
||||||
type="text"
|
|
||||||
placeholder="کد ملی خود را وارد نمایید "
|
|
||||||
{...field}
|
|
||||||
/>
|
|
||||||
</FormControl>
|
|
||||||
<FormMessage />
|
|
||||||
</FormItem>
|
|
||||||
)}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex justify-center w-full gap-2 mt-8 sm:justify-end">
|
<div className="flex justify-center w-full gap-2 mt-8 sm:justify-end">
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ const AlertDialogFooter = ({
|
||||||
}: React.HTMLAttributes<HTMLDivElement>) => (
|
}: React.HTMLAttributes<HTMLDivElement>) => (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex flex-row justify-center sm:justify-end px-14 pb-6 sm:pb-12 ",
|
"flex flex-row justify-center sm:justify-end px-10 pb-6 sm:pb-12 ",
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|
@ -96,7 +96,7 @@ const AlertDialogDescription = React.forwardRef<
|
||||||
>(({ className, ...props }, ref) => (
|
>(({ className, ...props }, ref) => (
|
||||||
<AlertDialogPrimitive.Description
|
<AlertDialogPrimitive.Description
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={cn("text-sm text-muted-foreground flex flex-col items-start text-justify px-10 py-4 sm:px-28 sm:pt-9 ", className)}
|
className={cn("text-sm text-muted-foreground flex flex-col items-start text-justify px-10 py-4 sm:pt-9 ", className)}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
))
|
))
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "sootzani",
|
"name": "sootzani",
|
||||||
"version": "0.1.16",
|
"version": "0.1.17",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "sootzani",
|
"name": "sootzani",
|
||||||
"version": "0.1.16",
|
"version": "0.1.17",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hookform/resolvers": "^3.3.2",
|
"@hookform/resolvers": "^3.3.2",
|
||||||
"@radix-ui/react-alert-dialog": "^1.0.5",
|
"@radix-ui/react-alert-dialog": "^1.0.5",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "sootzani",
|
"name": "sootzani",
|
||||||
"version": "0.1.16",
|
"version": "0.1.17",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue