mirror of
https://github.com/movie-web/movie-web.git
synced 2024-06-03 05:58:46 +02:00
32 lines
890 B
TypeScript
32 lines
890 B
TypeScript
import { useHistory } from "react-router-dom";
|
|
|
|
import { Button } from "@/components/Button";
|
|
import { SolidSettingsCard } from "@/components/layout/SettingsCard";
|
|
import { Heading3 } from "@/components/utils/Text";
|
|
|
|
export function RegisterCalloutPart() {
|
|
const history = useHistory();
|
|
|
|
return (
|
|
<div>
|
|
<SolidSettingsCard
|
|
paddingClass="px-6 py-12"
|
|
className="grid grid-cols-2 gap-12"
|
|
>
|
|
<div>
|
|
<Heading3>Sync to the cloud</Heading3>
|
|
<p className="text-type-text">
|
|
Instantly share your watch progress between devices and keep them
|
|
synced.
|
|
</p>
|
|
</div>
|
|
<div className="flex justify-end items-center">
|
|
<Button theme="purple" onClick={() => history.push("/register")}>
|
|
Get started
|
|
</Button>
|
|
</div>
|
|
</SolidSettingsCard>
|
|
</div>
|
|
);
|
|
}
|