first commit

This commit is contained in:
2026-05-31 14:22:39 +03:30
commit 98af7d639b
54 changed files with 11545 additions and 0 deletions

9
app/(form)/form/page.tsx Normal file
View File

@@ -0,0 +1,9 @@
import MultiStepForm from "@/ui/MultiForm";
export default function Page() {
return (
<div>
<MultiStepForm />
</div>
);
}

BIN
app/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

26
app/globals.css Normal file
View File

@@ -0,0 +1,26 @@
@import "tailwindcss";
/* :root {
--background: #ffffff;
--foreground: #171717;
} */
/* @theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
} */
/* @media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
} */
body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-vazir);
}

40
app/layout.tsx Normal file
View File

@@ -0,0 +1,40 @@
"use client";
import "./globals.css";
import { FontVazir } from "@/config/font.config";
import ThemeRegistry from "@/ui/providers/ThemeRegitstry";
import { CacheProvider } from "@emotion/react";
import rtlCache from "@/core/theme/rtlCache";
import { LocalizationProvider } from "@mui/x-date-pickers";
import { AdapterDateFnsJalali } from "@mui/x-date-pickers/AdapterDateFnsJalali";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { useState } from "react";
import { Toaster } from "sonner";
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
const [queryClient] = useState(() => new QueryClient());
return (
<html
lang="fa"
dir="rtl"
className={`${FontVazir.variable} ${FontVazir.className} h-full antialiased`}
style={{ fontFamily: FontVazir.style.fontFamily }}
>
<body className="min-h-full flex flex-col">
<QueryClientProvider client={queryClient}>
<CacheProvider value={rtlCache}>
<ThemeRegistry>
<LocalizationProvider dateAdapter={AdapterDateFnsJalali}>
{children}
<Toaster position="bottom-right" richColors />
</LocalizationProvider>
</ThemeRegistry>
</CacheProvider>
</QueryClientProvider>
</body>
</html>
);
}

18
app/page.tsx Normal file
View File

@@ -0,0 +1,18 @@
"use client";
import LoginForm from "@/ui/forms/LoginForm";
export default function Home() {
return (
<div
style={{
minHeight: "100vh",
display: "flex",
alignItems: "center",
backgroundColor: "#f8fafc",
paddingTop: 4,
}}
>
<LoginForm />
</div>
);
}