matrix-moderation-widget

A widget for moderating with mjolnir. Highly WIP. Use at your own risk!
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-moderation-widget.git
Log | Files | Refs | README | LICENSE

Home.tsx (1150B)


      1 import { PureComponent } from 'react';
      2 import BanForm from './forms/BanForm';
      3 import KickForm from './forms/KickForm';
      4 import RedactForm from './forms/RedactForm';
      5 
      6 type Props = Record<string, unknown>;
      7 type State = Record<string, unknown>;
      8 class Home extends PureComponent<Props, State> {
      9 
     10 
     11     render() {
     12         return (
     13             <main className="m-8">
     14                 <h1 className="text-3xl font-bold underline text-gray-900 dark:text-gray-200 mb-4">Home</h1>
     15                 <div className='flex flex-row justify-center items-center flex-wrap'>
     16                     <div className='flex flex-row flex-wrap'>
     17                         <section className='mr-16 mb-16 max-w-full'>
     18                             <BanForm />
     19                         </section>
     20                         <section className='mr-16 mb-16 max-w-full'>
     21                             <KickForm />
     22                         </section>
     23                         <section className="max-w-full">
     24                             <RedactForm />
     25                         </section>
     26                     </div>
     27                 </div>
     28             </main>
     29         );
     30     }
     31 }
     32 
     33 export default Home;