diff --git a/components/UploadComponent.tsx b/components/UploadComponent.tsx index fdf9149..9a41485 100644 --- a/components/UploadComponent.tsx +++ b/components/UploadComponent.tsx @@ -6,7 +6,7 @@ import type React from "react" import { type ChangeEvent, type FormEvent, useState, useEffect, useCallback } from "react" import { Button } from "./ui/button" import { Textarea } from "./ui/textarea" -import { ReloadIcon } from "@radix-ui/react-icons" +import { ReloadIcon, UploadIcon, ImageIcon } from "@radix-ui/react-icons" import { Input } from "./ui/input" import { encode } from "blurhash" import { @@ -22,6 +22,8 @@ import { signEvent } from "@/utils/utils" import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select" import { Label } from "@/components/ui/label" import { Switch } from "@/components/ui/switch" +import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card" +import { Separator } from "@/components/ui/separator" // Function to strip metadata from image files async function stripImageMetadata(file: File): Promise { @@ -344,56 +346,112 @@ const UploadComponent: React.FC = () => { return ( <> -
-
- -
- + + + Share Content + Upload an image with your description to the Nostr network + + + +
+ +