-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathLoginPageLayout.tsx
More file actions
46 lines (45 loc) · 1.85 KB
/
LoginPageLayout.tsx
File metadata and controls
46 lines (45 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { LogoType } from "./LogoType";
import { LinkButton } from "./primitives/Buttons";
import { Paragraph } from "./primitives/Paragraph";
import { TextLink } from "./primitives/TextLink";
import { BookOpenIcon } from "@heroicons/react/20/solid";
export function LoginPageLayout({ children }: { children: React.ReactNode }) {
return (
<main className="grid h-full grid-cols-1 md:grid-cols-2">
<div className="border-r border-grid-bright bg-background-bright">
<div className="flex h-full flex-col items-center justify-between p-6">
<div className="flex w-full items-center justify-between">
<a href="/">
<LogoType className="w-36" />
</a>
<LinkButton
to="/docs"
variant={"tertiary/small"}
LeadingIcon={BookOpenIcon}
>
Documentation
</LinkButton>
</div>
<div className="flex h-full max-w-sm items-center justify-center">{children}</div>
<Paragraph variant="small" className="text-center">
Having login issues?{" "}
<TextLink href="mailto:support@airtrigger.dev">Email us</TextLink>
</Paragraph>
</div>
</div>
<div className="hidden grid-rows-[1fr_auto] pb-6 md:grid">
<div className="flex h-full flex-col items-center justify-center px-16">
<div className="flex flex-col items-center gap-4">
<h2 className="text-center text-2xl font-semibold text-text-bright">
Background jobs, simplified.
</h2>
<p className="max-w-md text-center text-text-dimmed">
Run reliable background tasks with zero infrastructure overhead. Build, deploy, and
monitor your workflows from one place.
</p>
</div>
</div>
</div>
</main>
);
}