Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
car-crushers-portal/app/routes/data-transfer/start.tsx
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
36 lines (35 sloc)
929 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Button, | |
Container, | |
Heading, | |
HStack, | |
Radio, | |
RadioGroup, | |
Text, | |
Textarea, | |
} from "@chakra-ui/react"; | |
import { useState } from "react"; | |
export default function () { | |
const [showCookieBox, setShowCookieBox] = useState(false); | |
return ( | |
<Container maxW="container.md"> | |
<Heading pt="36px">Let's get started</Heading> | |
<Text pt="128px"> | |
Are you able to log in to the account you are transferring from? | |
</Text> | |
<RadioGroup onChange={(val) => setShowCookieBox(JSON.parse(val))}> | |
<HStack> | |
<Radio value="false">No</Radio> | |
<Radio value="true">Yes</Radio> | |
</HStack> | |
</RadioGroup> | |
<Textarea | |
id="cookie-box" | |
placeholder="Paste your .ROBLOSECURITY cookie here" | |
pt="16px" | |
style={{ display: showCookieBox ? "initial" : "unset" }} | |
/> | |
<Button pt="32px">Continue</Button> | |
</Container> | |
); | |
} |