This commit is contained in:
Daniil
2026-04-04 14:51:40 +03:00
parent 10a1d28f77
commit 0523ef3d72
191 changed files with 12065 additions and 2658 deletions
+5
View File
@@ -0,0 +1,5 @@
import { StaticLoader } from "@shared/ui/Loader"
export default function ProtectedLoading() {
return <StaticLoader block />
}
+29
View File
@@ -0,0 +1,29 @@
import { Skeleton } from "@shared/ui/Skeleton"
export default function ProfileLoading() {
return (
<div
style={{
display: "flex",
justifyContent: "center",
padding: "32px 16px",
}}
>
<div
style={{
display: "flex",
flexDirection: "column",
alignItems: "center",
gap: "24px",
width: "100%",
maxWidth: "640px",
}}
>
<Skeleton width="120px" height="120px" borderRadius="50%" />
<Skeleton width="100%" height="200px" borderRadius="10px" />
<Skeleton width="100%" height="160px" borderRadius="10px" />
<Skeleton width="100%" height="140px" borderRadius="10px" />
</div>
</div>
)
}
@@ -1,11 +1,11 @@
import { JSX } from "react"
import { ProjectWorkspacePage } from "@pages/ProjectWorkspacePage"
import { ProjectWizardPage } from "@pages/ProjectWizardPage"
export default function Projects(): JSX.Element {
return (
<main>
<ProjectWorkspacePage />
<ProjectWizardPage />
</main>
)
}
+18
View File
@@ -0,0 +1,18 @@
import { ProjectCardSkeleton } from "@shared/ui/Skeleton"
export default function ProjectsLoading() {
return (
<div
style={{
padding: "28px 24px 40px",
display: "grid",
gridTemplateColumns: "repeat(auto-fill, minmax(320px, 1fr))",
gap: "20px",
}}
>
{Array.from({ length: 6 }).map((_, i) => (
<ProjectCardSkeleton key={i} />
))}
</div>
)
}