'use client' import Icon from '@hackclub/icons' import { useState } from 'react' import { Box, Card, Text, Image, Heading, Button } from 'theme-ui' const TokenInstructions = () => { const [currentStep, setCurrentStep] = useState(0) const tokenSteps = [ { image: '/replit/replit-homepage.png', desc: 'Go to replit.com, and sign in.' }, { image: '/replit/aarc1.gif', desc: "Open your browser's developer tools. You can do this by right-clicking on the page and selecting 'Inspect' or by pressing F12 on your keyboard." }, { image: '/replit/aarc2.gif', desc: 'Select the application tab in the devtools' }, { image: '/replit/aarc3.gif', desc: "Make sure replit.com cookies are selected, then scroll down to find 'connect.sid'. Copy the entire token & paste it in the form at the top of this page." } ] return ( Step {currentStep + 1} of {tokenSteps.length} {tokenSteps[currentStep].desc} {`Step ) } export default TokenInstructions