openreplay/frontend/app/components/Signup/Signup.js
2021-05-01 15:12:01 +05:30

75 lines
2.7 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import withPageTitle from 'HOCs/withPageTitle';
import { Icon } from 'UI';
import stl from './signup.css';
import cn from 'classnames';
import SignupForm from './SignupForm';
const BulletItem = ({ text }) => (
<div className="flex items-center mb-4">
<div className="mr-3 h-8 w-8 rounded-full bg-white shadow flex items-center justify-center">
<Icon name="check" size="26"/>
</div>
<div>{text}</div>
</div>
)
@withPageTitle('Signup - OpenReplay')
export default class Signup extends React.Component {
render() {
return (
<div className="flex" style={{ height: '100vh'}}>
<div className={cn("w-6/12", stl.left)}>
<div className="px-6 pt-10">
<img src="/logo-white.svg" />
</div>
<div className="color-white text-lg flex items-center px-20 pt-32">
<div>
<div className="flex items-center text-3xl font-bold mb-6">
OpenReplay Cloud <div className="ml-2"><Icon name="signup" size="28" color="white" /></div>
</div>
<div>OpenReplay Cloud is the hosted version of our open source package.</div>
<div>Well manage hosting, scaling and upgrades.</div>
<div className="mt-8">
<BulletItem text="First 1K sessions free every month." />
<BulletItem text="Pay per use, cancel anytime" />
<BulletItem text="Community, Slack & email support" />
</div>
</div>
</div>
<div className={cn(stl.bottom, 'absolute bottom-0 w-full py-16 px-20 color-white')}>
<div className="text-4xl mb-10">Want to self-host?</div>
<div className="flex items-start">
<div className="mr-4">
<Icon name="cloud-fog2-fill" size="26" color="white" />
</div>
<div className="text-left">
<div className="text-xl font-bold">Private Cloud</div>
<div className="text-lg">Managed deployments, maximum scalability</div>
</div>
</div>
<div className="border-b bg-white my-6 opacity-25" />
<div className="flex items-start">
<div className="mr-4">
<Icon name="integrations/github" size="26" color="white" />
</div>
<div className="text-left">
<div className="text-xl font-bold">Open source</div>
<div className="text-lg">Deploy on your own infrastructure. Free forever.</div>
</div>
</div>
</div>
</div>
<div className="w-6/12 flex items-center justify-center">
<div className="">
<SignupForm />
</div>
</div>
</div>
);
}
}