1eb25d1e72
All checks were successful
Release to Staging / build_and_release (push) Successful in 41s
68 lines
2.1 KiB
TypeScript
68 lines
2.1 KiB
TypeScript
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 (WIP)</h2>
|
|
</div>
|
|
<div className='IBMSMSMBS_Write'>
|
|
<InputField
|
|
label='Title'
|
|
placeholder=''
|
|
name='title'
|
|
value=''
|
|
onChange={() => {}}
|
|
/>
|
|
<InputField
|
|
label='Body'
|
|
placeholder=''
|
|
name='body'
|
|
value=''
|
|
onChange={() => {}}
|
|
/>
|
|
<InputField
|
|
label='Featured Image URL'
|
|
placeholder=''
|
|
name='imageUrl'
|
|
inputMode='url'
|
|
value=''
|
|
onChange={() => {}}
|
|
/>
|
|
<InputField
|
|
label='Summary'
|
|
placeholder=''
|
|
name='summary'
|
|
type='textarea'
|
|
value=''
|
|
onChange={() => {}}
|
|
/>
|
|
<CheckboxField
|
|
label='This mod not safe for work (NSFW)'
|
|
name='nsfw'
|
|
isChecked={false}
|
|
handleChange={() => {}}
|
|
/>
|
|
<div className='IBMSMSMBS_WriteAction'>
|
|
<button className='btn btnMain' type='button'>
|
|
Publish
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ProfileSection />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|