Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

[WEB-6599] feat: instance not ready ui revamp (#8755)

Anmol Singh Bhatia588dc2927e45
diff --git a/apps/web/app/assets/auth/gradient-bg-logo.webp b/apps/web/app/assets/auth/gradient-bg-logo.webp
new file mode 100644
index 0000000000..47202e562c
Binary files /dev/null and b/apps/web/app/assets/auth/gradient-bg-logo.webp differ
diff --git a/apps/web/app/assets/auth/gradient-logo.webp b/apps/web/app/assets/auth/gradient-logo.webp
new file mode 100644
index 0000000000..674434ceef
Binary files /dev/null and b/apps/web/app/assets/auth/gradient-logo.webp differ
diff --git a/apps/web/core/components/instance/not-ready-view.tsx b/apps/web/core/components/instance/not-ready-view.tsx
index 5625a77e53..850d0af2eb 100644
--- a/apps/web/core/components/instance/not-ready-view.tsx
+++ b/apps/web/core/components/instance/not-ready-view.tsx
@@ -4,57 +4,55 @@
* See the LICENSE file for details.
*/
-import type { FC } from "react";
import Link from "next/link";
-import { useTheme } from "next-themes";
import { GOD_MODE_URL } from "@plane/constants";
-import { Button } from "@plane/propel/button";
-import { PlaneLockup } from "@plane/propel/icons";
// assets
-import PlaneBackgroundPatternDark from "@/app/assets/auth/background-pattern-dark.svg?url";
-import PlaneBackgroundPattern from "@/app/assets/auth/background-pattern.svg?url";
-import PlaneTakeOffImage from "@/app/assets/plane-takeoff.png?url";
+import GradientLogo from "@/app/assets/auth/gradient-logo.webp?url";
+import GradientBgLogo from "@/app/assets/auth/gradient-bg-logo.webp?url";
+import DefaultLayout from "@/layouts/default-layout";
+import { PlaneLockup } from "@plane/propel/icons";
+import { Button } from "@plane/propel/button";
export function InstanceNotReady() {
- const { resolvedTheme } = useTheme();
- const patternBackground = resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern;
-
return (
- <div className="relative">
- <div className="flex h-screen w-full flex-col overflow-hidden overflow-y-auto">
- <div className="z-50 container mx-auto flex h-[110px] flex-shrink-0 items-center justify-between gap-5 px-5 lg:px-0">
- <div className="flex items-center gap-x-2 py-10">
- <Link href={`/`}>
- <PlaneLockup className="h-7 w-auto text-primary" />
- </Link>
+ <DefaultLayout>
+ <div className="relative z-10 flex h-screen w-screen overflow-hidden">
+ {/* Background decorations */}
+ <img
+ src={GradientBgLogo}
+ className="pointer-events-none absolute -top-24 -left-32 h-56 w-96 opacity-15"
+ alt=""
+ aria-hidden="true"
+ />
+ <img
+ src={GradientBgLogo}
+ className="pointer-events-none absolute -right-20 -bottom-16 h-56 w-96 opacity-15"
+ alt=""
+ aria-hidden="true"
+ />
+ {/* Main content */}
+ <div className="flex h-full w-full flex-col items-center px-8 pt-6 pb-10">
+ <div className="sticky top-0 flex w-full shrink-0 items-center justify-between gap-6">
+ <PlaneLockup height={20} width={95} className="text-primary" />
</div>
- </div>
-
- <div className="absolute inset-0 z-0">
- <img src={patternBackground} className="h-full w-full object-cover" alt="Plane background pattern" />
- </div>
-
- <div className="relative z-10 mb-[110px] flex-grow">
- <div className="relative container mx-auto flex h-full w-full items-center justify-center px-5">
- <div className="relative w-auto max-w-2xl space-y-8 py-10">
- <div className="relative flex flex-col items-center justify-center space-y-4">
- <h1 className="pb-3 text-24 font-bold">Welcome aboard Plane!</h1>
- <img src={PlaneTakeOffImage} className="h-full w-full object-cover" alt="Plane Logo" />
- <p className="text-14 font-medium text-placeholder">
- Get started by setting up your instance and workspace
+ <div className="flex h-full w-full flex-col items-center justify-center gap-7">
+ <div className="flex flex-col items-center gap-11">
+ <img src={GradientLogo} className="h-24 w-40 object-contain" alt="Plane Logo" />
+ <div className="flex max-w-124 flex-col items-center gap-3">
+ <h1 className="text-h2-semibold text-primary">Welcome to Plane</h1>
+ <p className="text-center text-body-md-regular text-secondary">
+ Set up your instance and create your first workspace to begin managing projects and work.
</p>
</div>
- <div>
- <a href={GOD_MODE_URL}>
- <Button size="xl" className="w-full">
- Get started
- </Button>
- </a>
- </div>
</div>
+ <a href={GOD_MODE_URL} className="w-72">
+ <Button variant="primary" className="w-full" size="xl">
+ Get started
+ </Button>
+ </a>
</div>
</div>
</div>
- </div>
+ </DefaultLayout>
);
}