Add url field lmao

This commit is contained in:
MeowcaTheoRange 2023-09-25 22:21:36 -05:00
parent 00eb688c54
commit 67114bafeb

View file

@ -30,6 +30,7 @@ export default function ClanFormTemplate({
({ ({
name: "", name: "",
description: "", description: "",
url: "",
members: [ members: [
{ {
name: "", name: "",
@ -480,7 +481,7 @@ export default function ClanFormTemplate({
<div className={form_globals.horizlist}> <div className={form_globals.horizlist}>
<span className={globals.icon}>image</span> <span className={globals.icon}>image</span>
<Field <Field
type="text" type="url"
name="pfp" name="pfp"
placeholder="https://example.com/" placeholder="https://example.com/"
className={` className={`
@ -494,6 +495,29 @@ export default function ClanFormTemplate({
render={ErrorHandler} render={ErrorHandler}
/> />
</div> </div>
<hr className={globals.invisep} />
<div className={globals.verticalListTop}>
<div className={form_globals.verticalListCrunch}>
<p className={globals.titleSmall}>URL</p>
<span className={globals.text}>A link to your clan's main resource on the interwebs.</span>
</div>
<div className={form_globals.horizlist}>
<span className={globals.icon}>link</span>
<Field
type="url"
name="url"
placeholder="https://example.com/"
className={`
${form_globals.textLikeInput}
${form_globals.textLikeInputTight}
`}
/>
</div>
<ErrorMessage
name="url"
render={ErrorHandler}
/>
</div>
</Box> </Box>
<Box properties={{ title: { text: "More" } }}> <Box properties={{ title: { text: "More" } }}>
<span className={globals.text}>Clan preferences, et cetera.</span> <span className={globals.text}>Clan preferences, et cetera.</span>