import '../styles/styles.css'
export const ModForm = () => {
return (
<>
You can upload your game mod to Github, as an example, and keep
updating it there. Also, its advisable that you hash your package as
well with your nostr public key.
>
)
}
interface InputFieldProps {
label: string
description?: string
type?: 'text' | 'textarea'
placeholder: string
name: string
inputMode?: 'url'
}
const InputField = ({
label,
description,
type = 'text',
placeholder,
name,
inputMode
}: InputFieldProps) => (
{label}
{description &&
{description}
}
{type === 'textarea' ? (
) : (
)}
)
interface CheckboxFieldProps {
label: string
name: string
}
const CheckboxField = ({ label, name }: CheckboxFieldProps) => (
{label}
)
interface ImageUploadFieldProps {
label: string
description: string
}
const ImageUploadField = ({ label, description }: ImageUploadFieldProps) => (
{label}
{description &&
{description}
}
)
const DownloadUrlFields = () => {
return (
)
}