import { AspectRatio, Center, Code, Container, Flex, Icon, Link, ListItem, UnorderedList, VStack, } from "@chakra-ui/react"; import { BsFillCloudUploadFill } from "react-icons/bs"; import { Heading, Text } from "tw-components"; interface UploadStepProps { getRootProps: any; getInputProps: any; noFile: boolean; isDragActive: boolean; } export const UploadStep: React.FC = ({ getRootProps, noFile, isDragActive, getInputProps, }) => { return (
{isDragActive ? ( Drop the files here ) : ( {noFile ? "No CSV or valid JSON file found, please try again" : "Drag & Drop files or folders here, or click to select files"} )}
Requirements Files must contain one .csv or .json file with metadata. -{" "} Download example.csv .{" "} Download example.json . The csv must have a name column, which defines the name of the NFT. Asset names must be sequential 0,1,2,3...n.[extension]. It doesn't matter at what number you begin. (Example:{" "} 131.png, 132.png). Options Images and other file types can be used in combination.
They both have to follow the asset naming convention above. (Example: 0.png and 0.mp4,{" "} 1.png and 1.glb, etc.)
When uploading files, we will upload them and pin them to IPFS automatically for you. If you already have the files uploaded, you can add an image and/or{" "} animation_url column and add the IPFS hashes there.{" "} Download example.csv If you want to make your media files map to your NFTs, you can add add the name of your files to the image and{" "} animation_url column.{" "} Download example.csv
); };