"use client"; import { observer } from "mobx-react-lite"; import Image from "next/image"; import Link from "next/link"; import { useTheme } from "next-themes"; // components import { AuthRoot } from "@/components/account"; // helpers import { SPACE_BASE_PATH } from "@/helpers/common.helper"; // images import PlaneBackgroundPatternDark from "@/public/auth/background-pattern-dark.svg"; import PlaneBackgroundPattern from "@/public/auth/background-pattern.svg"; import BlackHorizontalLogo from "public/plane-logos/black-horizontal-with-blue-logo.svg"; import WhiteHorizontalLogo from "public/plane-logos/white-horizontal-with-blue-logo.svg"; export const AuthView = observer(() => { // hooks const { resolvedTheme } = useTheme(); const logo = resolvedTheme === "light" ? BlackHorizontalLogo : WhiteHorizontalLogo; return (
Plane background pattern
Plane logo
); });