feat: init
This commit is contained in:
15
apps/space/core/components/views/auth.tsx
Normal file
15
apps/space/core/components/views/auth.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
"use client";
|
||||
|
||||
// components
|
||||
import { AuthRoot } from "@/components/account/auth-forms";
|
||||
import { PoweredBy } from "@/components/common/powered-by";
|
||||
// local imports
|
||||
import { AuthHeader } from "./header";
|
||||
|
||||
export const AuthView = () => (
|
||||
<div className="relative z-10 flex flex-col items-center w-screen h-screen overflow-hidden overflow-y-auto pt-6 pb-10 px-8">
|
||||
<AuthHeader />
|
||||
<AuthRoot />
|
||||
<PoweredBy />
|
||||
</div>
|
||||
);
|
||||
13
apps/space/core/components/views/header.tsx
Normal file
13
apps/space/core/components/views/header.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
"use client";
|
||||
|
||||
import React from "react";
|
||||
import Link from "next/link";
|
||||
import { PlaneLockup } from "@plane/propel/icons";
|
||||
|
||||
export const AuthHeader = () => (
|
||||
<div className="flex items-center justify-between gap-6 w-full flex-shrink-0 sticky top-0">
|
||||
<Link href="/">
|
||||
<PlaneLockup height={20} width={95} className="text-custom-text-100" />
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
1
apps/space/core/components/views/index.ts
Normal file
1
apps/space/core/components/views/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./auth";
|
||||
Reference in New Issue
Block a user