chore: fix build errors

This commit is contained in:
daniyal 2024-08-08 22:28:28 +05:00
parent f06801d80b
commit 4b6b0b73d6
3 changed files with 83 additions and 5 deletions

View File

@ -154,16 +154,31 @@ export const HomePage = () => {
title='This is a mod title for an awesome game that will make everyone happy! The happiest!' title='This is a mod title for an awesome game that will make everyone happy! The happiest!'
summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.' summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
backgroundLink='https://image.nostr.build/65a11a00bb99c11561735f861c51b498cf9dc07d02beff7303fe7f7ab52f3987.jpg' backgroundLink='https://image.nostr.build/65a11a00bb99c11561735f861c51b498cf9dc07d02beff7303fe7f7ab52f3987.jpg'
handleClick={() => {
alert(
'these are dummy mods. So navigation on these are not implemented yet'
)
}}
/> />
<ModCard <ModCard
title='This is a mod title for an awesome game that will make everyone happy! The happiest!' title='This is a mod title for an awesome game that will make everyone happy! The happiest!'
summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.' summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
backgroundLink='https://web.archive.org/web/20240215093752im_/https://staticdelivery.nexusmods.com/mods/6144/images/headers/13_1707966408.jpg' backgroundLink='https://web.archive.org/web/20240215093752im_/https://staticdelivery.nexusmods.com/mods/6144/images/headers/13_1707966408.jpg'
handleClick={() => {
alert(
'these are dummy mods. So navigation on these are not implemented yet'
)
}}
/> />
<ModCard <ModCard
title='This is a mod title for an awesome game that will make everyone happy! The happiest!' title='This is a mod title for an awesome game that will make everyone happy! The happiest!'
summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.' summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
backgroundLink='https://steamuserimages-a.akamaihd.net/ugc/2013708095892656347/39A93A2B1EB05E725214373849F8E37FCEB4C2EA/?imw=512&amp;imh=256&amp;ima=fit&amp;impolicy=Letterbox&amp;imcolor=%23000000&amp;letterbox=true' backgroundLink='https://steamuserimages-a.akamaihd.net/ugc/2013708095892656347/39A93A2B1EB05E725214373849F8E37FCEB4C2EA/?imw=512&amp;imh=256&amp;ima=fit&amp;impolicy=Letterbox&amp;imcolor=%23000000&amp;letterbox=true'
handleClick={() => {
alert(
'these are dummy mods. So navigation on these are not implemented yet'
)
}}
/> />
</div> </div>
<div className='IBMSMAction'> <div className='IBMSMAction'>
@ -185,21 +200,41 @@ export const HomePage = () => {
title='This is a mod title for an awesome game that will make everyone happy! The happiest!' title='This is a mod title for an awesome game that will make everyone happy! The happiest!'
summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.' summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
backgroundLink='https://image.nostr.build/65a11a00bb99c11561735f861c51b498cf9dc07d02beff7303fe7f7ab52f3987.jpg' backgroundLink='https://image.nostr.build/65a11a00bb99c11561735f861c51b498cf9dc07d02beff7303fe7f7ab52f3987.jpg'
handleClick={() => {
alert(
'these are dummy mods. So navigation on these are not implemented yet'
)
}}
/> />
<ModCard <ModCard
title='This is a mod title for an awesome game that will make everyone happy! The happiest!' title='This is a mod title for an awesome game that will make everyone happy! The happiest!'
summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.' summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
backgroundLink='https://web.archive.org/web/20240215093752im_/https://staticdelivery.nexusmods.com/mods/6144/images/headers/13_1707966408.jpg' backgroundLink='https://web.archive.org/web/20240215093752im_/https://staticdelivery.nexusmods.com/mods/6144/images/headers/13_1707966408.jpg'
handleClick={() => {
alert(
'these are dummy mods. So navigation on these are not implemented yet'
)
}}
/> />
<ModCard <ModCard
title='This is a mod title for an awesome game that will make everyone happy! The happiest!' title='This is a mod title for an awesome game that will make everyone happy! The happiest!'
summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.' summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
backgroundLink='https://steamuserimages-a.akamaihd.net/ugc/2013708095892656347/39A93A2B1EB05E725214373849F8E37FCEB4C2EA/?imw=512&amp;imh=256&amp;ima=fit&amp;impolicy=Letterbox&amp;imcolor=%23000000&amp;letterbox=true' backgroundLink='https://steamuserimages-a.akamaihd.net/ugc/2013708095892656347/39A93A2B1EB05E725214373849F8E37FCEB4C2EA/?imw=512&amp;imh=256&amp;ima=fit&amp;impolicy=Letterbox&amp;imcolor=%23000000&amp;letterbox=true'
handleClick={() => {
alert(
'these are dummy mods. So navigation on these are not implemented yet'
)
}}
/> />
<ModCard <ModCard
title='This is a mod title for an awesome game that will make everyone happy! The happiest!' title='This is a mod title for an awesome game that will make everyone happy! The happiest!'
summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.' summary='Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
backgroundLink='/assets/img/DEGMods%20Placeholder%20Img.png' backgroundLink='/assets/img/DEGMods%20Placeholder%20Img.png'
handleClick={() => {
alert(
'these are dummy mods. So navigation on these are not implemented yet'
)
}}
/> />
</div> </div>

View File

@ -254,21 +254,44 @@ const ProfileSettings = () => {
</div> </div>
</div> </div>
<div className='IBMSMSMBSS_ProfileEdit'> <div className='IBMSMSMBSS_ProfileEdit'>
<InputField label='Name' placeholder='' name='name' /> <InputField
<InputField label='Bio' placeholder='' name='bio' type='textarea' /> label='Name'
placeholder=''
name='name'
value=''
onChange={() => {}}
/>
<InputField
label='Bio'
placeholder=''
name='bio'
type='textarea'
value=''
onChange={() => {}}
/>
<InputField <InputField
label='Profile picture URL' label='Profile picture URL'
placeholder='' placeholder=''
name='profilePicture' name='profilePicture'
inputMode='url' inputMode='url'
value=''
onChange={() => {}}
/> />
<InputField <InputField
label='Banner picture URL' label='Banner picture URL'
placeholder='' placeholder=''
name='bannerPicture' name='bannerPicture'
inputMode='url' inputMode='url'
value=''
onChange={() => {}}
/>
<InputField
label='Nip-05 address'
placeholder=''
name='nip05'
value=''
onChange={() => {}}
/> />
<InputField label='Nip-05 address' placeholder='' name='nip05' />
</div> </div>
<div <div
className='IBMSMSMBSS_ProfileActions' className='IBMSMSMBSS_ProfileActions'
@ -304,6 +327,8 @@ const RelaySettings = () => {
placeholder='wss://some-relay.com' placeholder='wss://some-relay.com'
type='text' type='text'
name='relay' name='relay'
value=''
onChange={() => {}}
/> />
<button className='btn btnMain' type='button'> <button className='btn btnMain' type='button'>

View File

@ -15,23 +15,41 @@ export const WritePage = () => {
<h2 className='IBMSMTitleMainHeading'>Write a blog post</h2> <h2 className='IBMSMTitleMainHeading'>Write a blog post</h2>
</div> </div>
<div className='IBMSMSMBS_Write'> <div className='IBMSMSMBS_Write'>
<InputField label='Title' placeholder='' name='title' /> <InputField
<InputField label='Body' placeholder='' name='body' /> label='Title'
placeholder=''
name='title'
value=''
onChange={() => {}}
/>
<InputField
label='Body'
placeholder=''
name='body'
value=''
onChange={() => {}}
/>
<InputField <InputField
label='Featured Image URL' label='Featured Image URL'
placeholder='' placeholder=''
name='imageUrl' name='imageUrl'
inputMode='url' inputMode='url'
value=''
onChange={() => {}}
/> />
<InputField <InputField
label='Summary' label='Summary'
placeholder='' placeholder=''
name='summary' name='summary'
type='textarea' type='textarea'
value=''
onChange={() => {}}
/> />
<CheckboxField <CheckboxField
label='This mod not safe for work (NSFW)' label='This mod not safe for work (NSFW)'
name='nsfw' name='nsfw'
isChecked={false}
handleChange={() => {}}
/> />
<div className='IBMSMSMBS_WriteAction'> <div className='IBMSMSMBS_WriteAction'>
<button className='btn btnMain' type='button'> <button className='btn btnMain' type='button'>