@@ -3,7 +3,6 @@ import { InlineCode } from "@/components/ui/inline-code";
33import { cn } from "@/lib/utils" ;
44import { UploadIcon } from "lucide-react" ;
55import Link from "next/link" ;
6- import { Heading , Text } from "tw-components" ;
76
87interface UploadStepProps {
98 // biome-ignore lint/suspicious/noExplicitAny: FIXME
@@ -39,50 +38,44 @@ export const UploadStep: React.FC<UploadStepProps> = ({
3938 ) }
4039 />
4140 { isDragActive ? (
42- < Heading
43- as = { Text }
44- size = "label.md"
45- color = "gray.600"
46- textAlign = "center"
47- >
41+ < p className = "text-center text-muted-foreground" >
4842 Drop the files here
49- </ Heading >
43+ </ p >
5044 ) : (
51- < Heading
52- as = { Text }
53- size = "label.md"
54- lineHeight = { 1.2 }
55- color = { hasFailed ? "red.500" : "gray.600" }
56- textAlign = "center"
45+ < p
46+ className = { cn (
47+ "text-center leading-[1.2]" ,
48+ hasFailed ? "text-red-500" : "text-muted-foreground" ,
49+ ) }
5750 >
5851 { hasFailed
5952 ? `No valid CSV or JSON file found. Please make sure your NFT metadata includes at least a "name" field and try again.`
6053 : "Drag & Drop files or folders here, or click to select files" }
61- </ Heading >
54+ </ p >
6255 ) }
6356 </ div >
6457 </ div >
6558 </ div >
6659 < div className = "flex w-full flex-col gap-2 md:w-1/2" >
67- < Heading size = "subtitle.sm "> Requirements</ Heading >
60+ < p className = "text-lg "> Requirements</ p >
6861 < UnorderedList >
6962 < li >
7063 Files < em > must</ em > contain one .csv or .json file with metadata. -{ " " }
71- < Link
64+ < a
7265 download
7366 className = "text-link-foreground hover:text-foreground"
7467 href = "/example.csv"
7568 >
7669 Download example.csv
77- </ Link >
70+ </ a >
7871 .{ " " }
79- < Link
80- download
72+ < a
73+ download = "example.json"
8174 className = "text-link-foreground hover:text-foreground"
8275 href = "/example.json"
8376 >
8477 Download example.json
85- </ Link >
78+ </ a >
8679 .
8780 </ li >
8881 < li >
@@ -100,9 +93,7 @@ export const UploadStep: React.FC<UploadStepProps> = ({
10093 < strong > at the same time</ strong > .
10194 </ li >
10295 </ UnorderedList >
103- < Heading size = "subtitle.sm" mt = { 4 } >
104- Options
105- </ Heading >
96+ < p className = "mt-4 text-lg" > Options</ p >
10697 < UnorderedList >
10798 < li >
10899 Images and other file types can be used in combination.
0 commit comments