degmods.com/src/pages/write.tsx

50 lines
1.6 KiB
TypeScript
Raw Normal View History

2024-07-12 09:22:31 +00:00
import { CheckboxField, InputField } from '../components/Inputs'
import { ProfileSection } from '../components/ProfileSection'
import '../styles/innerPage.css'
import '../styles/styles.css'
import '../styles/write.css'
export const WritePage = () => {
return (
<div className='InnerBodyMain'>
<div className='ContainerMain'>
<div className='IBMSecMainGroup IBMSecMainGroupAlt'>
<div className='IBMSMSplitMain'>
<div className='IBMSMSplitMainBigSide'>
<div className='IBMSMTitleMain'>
<h2 className='IBMSMTitleMainHeading'>Write a blog post</h2>
</div>
<div className='IBMSMSMBS_Write'>
<InputField label='Title' placeholder='' name='title' />
<InputField label='Body' placeholder='' name='body' />
<InputField
label='Featured Image URL'
placeholder=''
name='imageUrl'
inputMode='url'
/>
<InputField
label='Summary'
placeholder=''
name='summary'
type='textarea'
/>
<CheckboxField
label='This mod not safe for work (NSFW)'
name='nsfw'
/>
<div className='IBMSMSMBS_WriteAction'>
<button className='btn btnMain' type='button'>
Publish
</button>
</div>
</div>
</div>
<ProfileSection />
</div>
</div>
</div>
</div>
)
}