mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: space app logo redirection updated (#4556)
This commit is contained in:
parent
2a83ac7376
commit
577996b34a
@ -7,7 +7,7 @@ import { useTheme } from "next-themes";
|
|||||||
// ui
|
// ui
|
||||||
import { Button } from "@plane/ui";
|
import { Button } from "@plane/ui";
|
||||||
// helper
|
// helper
|
||||||
import { GOD_MODE_URL } from "@/helpers/common.helper";
|
import { GOD_MODE_URL, SPACE_BASE_PATH } from "@/helpers/common.helper";
|
||||||
// images
|
// images
|
||||||
import PlaneTakeOffImage from "@/public/instance/plane-takeoff.png";
|
import PlaneTakeOffImage from "@/public/instance/plane-takeoff.png";
|
||||||
import PlaneBackgroundPatternDark from "public/auth/background-pattern-dark.svg";
|
import PlaneBackgroundPatternDark from "public/auth/background-pattern-dark.svg";
|
||||||
@ -26,7 +26,7 @@ export const InstanceNotReady: FC = () => {
|
|||||||
<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={`/spaces`} className="h-[30px] w-[133px]">
|
<Link href={`${SPACE_BASE_PATH}/`} className="h-[30px] w-[133px]">
|
||||||
<Image src={logo} alt="Plane logo" />
|
<Image src={logo} alt="Plane logo" />
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,6 +6,8 @@ import Link from "next/link";
|
|||||||
import { useTheme } from "next-themes";
|
import { useTheme } from "next-themes";
|
||||||
// components
|
// components
|
||||||
import { AuthRoot } from "@/components/account";
|
import { AuthRoot } from "@/components/account";
|
||||||
|
// helpers
|
||||||
|
import { SPACE_BASE_PATH } from "@/helpers/common.helper";
|
||||||
// images
|
// images
|
||||||
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";
|
||||||
@ -30,7 +32,7 @@ export const AuthView = observer(() => {
|
|||||||
<div className="relative z-10 w-screen h-screen overflow-hidden overflow-y-auto flex flex-col">
|
<div className="relative z-10 w-screen h-screen overflow-hidden overflow-y-auto flex flex-col">
|
||||||
<div className="container mx-auto px-10 lg:px-0 flex-shrink-0 relative flex items-center justify-between pb-4 transition-all">
|
<div className="container mx-auto px-10 lg:px-0 flex-shrink-0 relative flex items-center justify-between pb-4 transition-all">
|
||||||
<div className="flex items-center gap-x-2 py-10">
|
<div className="flex items-center gap-x-2 py-10">
|
||||||
<Link href={`/spaces`} className="h-[30px] w-[133px]">
|
<Link href={`${SPACE_BASE_PATH}/`} className="h-[30px] w-[133px]">
|
||||||
<Image src={logo} alt="Plane logo" />
|
<Image src={logo} alt="Plane logo" />
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
@ -9,6 +9,8 @@ import useSWR from "swr";
|
|||||||
// components
|
// components
|
||||||
import { LogoSpinner } from "@/components/common";
|
import { LogoSpinner } from "@/components/common";
|
||||||
import { InstanceFailureView } from "@/components/instance";
|
import { InstanceFailureView } from "@/components/instance";
|
||||||
|
// helpers
|
||||||
|
import { SPACE_BASE_PATH } from "@/helpers/common.helper";
|
||||||
// hooks
|
// hooks
|
||||||
import { useInstance, useUser } from "@/hooks/store";
|
import { useInstance, useUser } from "@/hooks/store";
|
||||||
// assets
|
// assets
|
||||||
@ -45,7 +47,7 @@ export const InstanceProvider = observer(({ children }: { children: ReactNode })
|
|||||||
<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={`/spaces`} className="h-[30px] w-[133px]">
|
<Link href={`${SPACE_BASE_PATH}/`} className="h-[30px] w-[133px]">
|
||||||
<Image src={logo} alt="Plane logo" />
|
<Image src={logo} alt="Plane logo" />
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user