import React, { ReactElement } from "react"; import { observer } from "mobx-react"; import Image from "next/image"; import Link from "next/link"; // ui import { useTheme } from "next-themes"; // components import { SignUpAuthRoot } from "@/components/account"; import { PageHead } from "@/components/core"; // constants import { NAVIGATE_TO_SIGNIN } from "@/constants/event-tracker"; // helpers import { EPageTypes } from "@/helpers/authentication.helper"; // hooks import { useEventTracker } from "@/hooks/store"; // layouts import DefaultLayout from "@/layouts/default-layout"; // types import { NextPageWithLayout } from "@/lib/types"; // wrappers import { AuthenticationWrapper } from "@/lib/wrappers"; // assets import PlaneBackgroundPatternDark from "public/auth/background-pattern-dark.svg"; import PlaneBackgroundPattern from "public/auth/background-pattern.svg"; import BluePlaneLogoWithoutText from "public/plane-logos/blue-without-text.png"; const HomePage: NextPageWithLayout = observer(() => { const { resolvedTheme } = useTheme(); // hooks const { captureEvent } = useEventTracker(); return (
Plane background pattern
Plane Logo Plane
Already have an account?{" "} captureEvent(NAVIGATE_TO_SIGNIN, {})} className="font-semibold text-custom-primary-100 hover:underline" > Sign In
); }); HomePage.getLayout = function getLayout(page: ReactElement) { return ( {page} ); }; export default HomePage;