chore: first commit
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
import HomePage from "./ui/HomePage"
|
||||
import HomePage from "./HomePage"
|
||||
|
||||
export { HomePage }
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
} from "@shared/lib/constants"
|
||||
import { Button, Form, TextField } from "@shared/ui"
|
||||
|
||||
import { ILoginPageProps } from "../model/LoginPage.d"
|
||||
import { ILoginPageProps } from "./LoginPage.d"
|
||||
import styles from "./LoginPage.module.scss"
|
||||
|
||||
interface ILoginFormData {
|
||||
@@ -1 +1 @@
|
||||
export * from "./ui/LoginPage"
|
||||
export * from "./LoginPage"
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export interface IProjectWorkspacePageProps {
|
||||
message?: string
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
.root {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import type { JSX } from "react"
|
||||
|
||||
import { FunctionComponent } from "react"
|
||||
|
||||
import { IProjectWorkspacePageProps } from "./ProjectWorkspacePage.d"
|
||||
import styles from "./ProjectWorkspacePage.module.scss"
|
||||
|
||||
export const ProjectWorkspacePage: FunctionComponent<
|
||||
IProjectWorkspacePageProps
|
||||
> = (): JSX.Element => {
|
||||
return (
|
||||
<div className={styles.root} data-testid="ProjectWorkspacePage">
|
||||
ProjectWorkspacePage Component
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export * from "./ProjectWorkspacePage"
|
||||
+5
-2
@@ -10,14 +10,16 @@ import { CreateProjectModal } from "@features/CreateProjectModal"
|
||||
import api from "@shared/api"
|
||||
import { Button } from "@shared/ui"
|
||||
import { StaticLoader } from "@shared/ui/Loader"
|
||||
import { ProjectsHeader } from "@widgets/Projects/ProjectsHeader/ui/ProjectsHeader"
|
||||
import { ProjectsHeader } from "@widgets/Projects/ProjectsHeader"
|
||||
|
||||
import { IProjectsPageProps } from "../model/ProjectsPage.d"
|
||||
import { IProjectsPageProps } from "./ProjectsPage.d"
|
||||
import styles from "./ProjectsPage.module.scss"
|
||||
import { useRouter } from "next/navigation"
|
||||
|
||||
export const ProjectsPage: FunctionComponent<
|
||||
IProjectsPageProps
|
||||
> = (): JSX.Element => {
|
||||
const router = useRouter();
|
||||
const [isCreateModalOpen, setIsCreateModalOpen] = useState(false)
|
||||
|
||||
const {
|
||||
@@ -67,6 +69,7 @@ export const ProjectsPage: FunctionComponent<
|
||||
currentAction={
|
||||
project.status === "PROCESSING" ? "Rendering" : undefined
|
||||
}
|
||||
onClick={() => router.push(`/projects/${project.id}`)}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
@@ -1 +1 @@
|
||||
export * from "./ui/ProjectsPage"
|
||||
export * from "./ProjectsPage"
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ import { useHookFormMask } from "use-mask-input"
|
||||
import api from "@shared/api"
|
||||
import { Button, Form, TextField } from "@shared/ui"
|
||||
|
||||
import { IRegisterPageProps } from "../model/RegisterPage.d"
|
||||
import { IRegisterPageProps } from "./RegisterPage.d"
|
||||
import styles from "./RegisterPage.module.scss"
|
||||
|
||||
interface IRegisterFormData {
|
||||
@@ -1 +1 @@
|
||||
export * from "./ui/RegisterPage"
|
||||
export * from "./RegisterPage"
|
||||
|
||||
Reference in New Issue
Block a user