[WEB-5086] fix: instance setup screen asset #7914
This commit is contained in:
parent
c3e8ce8f28
commit
f5eb13f66f
1 changed files with 3 additions and 6 deletions
|
|
@ -5,29 +5,26 @@ import Image from "next/image";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { useTheme } from "next-themes";
|
import { useTheme } from "next-themes";
|
||||||
import { GOD_MODE_URL } from "@plane/constants";
|
import { GOD_MODE_URL } from "@plane/constants";
|
||||||
|
import { PlaneLockup } from "@plane/propel/icons";
|
||||||
import { Button } from "@plane/propel/button";
|
import { Button } from "@plane/propel/button";
|
||||||
// helpers
|
// helpers
|
||||||
// images
|
// images
|
||||||
// assets
|
// assets
|
||||||
import PlaneBackgroundPatternDark from "@/public/auth/background-pattern-dark.svg";
|
import PlaneBackgroundPatternDark from "@/public/auth/background-pattern-dark.svg";
|
||||||
import PlaneBackgroundPattern from "@/public/auth/background-pattern.svg";
|
import PlaneBackgroundPattern from "@/public/auth/background-pattern.svg";
|
||||||
import BlackHorizontalLogo from "@/public/plane-logos/black-horizontal-with-blue-logo.png";
|
|
||||||
import WhiteHorizontalLogo from "@/public/plane-logos/white-horizontal-with-blue-logo.png";
|
|
||||||
import PlaneTakeOffImage from "@/public/plane-takeoff.png";
|
import PlaneTakeOffImage from "@/public/plane-takeoff.png";
|
||||||
|
|
||||||
export const InstanceNotReady: FC = () => {
|
export const InstanceNotReady: FC = () => {
|
||||||
const { resolvedTheme } = useTheme();
|
const { resolvedTheme } = useTheme();
|
||||||
const patternBackground = resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern;
|
const patternBackground = resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern;
|
||||||
|
|
||||||
const logo = resolvedTheme === "light" ? BlackHorizontalLogo : WhiteHorizontalLogo;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative">
|
<div className="relative">
|
||||||
<div className="h-screen w-full overflow-hidden overflow-y-auto flex flex-col">
|
<div className="h-screen w-full overflow-hidden overflow-y-auto flex flex-col">
|
||||||
<div className="container h-[110px] flex-shrink-0 mx-auto px-5 lg:px-0 flex items-center justify-between gap-5 z-50">
|
<div className="container h-[110px] flex-shrink-0 mx-auto px-5 lg:px-0 flex items-center justify-between gap-5 z-50">
|
||||||
<div className="flex items-center gap-x-2 py-10">
|
<div className="flex items-center gap-x-2 py-10">
|
||||||
<Link href={`/`} className="h-[30px] w-[133px]">
|
<Link href={`/`}>
|
||||||
<Image src={logo} alt="Plane logo" />
|
<PlaneLockup className="h-7 w-auto text-custom-text-100" />
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue