import useDirectoryModalStore from '../../stores/use-directory-modal-store'; import styles from './directory-modal.module.css'; const DirectoryModal = () => { const { showModal, modalContext, closeDirectoryModal } = useDirectoryModalStore(); if (!showModal) { return null; } const handleBackdropClick = (e: React.MouseEvent) => { if (e.target === e.currentTarget) { closeDirectoryModal(); } }; const isPlaceholderContext = modalContext === 'placeholder'; return (

{isPlaceholderContext ? 'Submit a Board to a Directory' : 'Create a Board'}

{isPlaceholderContext && (

The board you clicked on doesn't exist yet, but it can be yours!

)} {isPlaceholderContext && (

Directory vs Regular Board

A "directory board" is assigned to a category on the homepage (like "Anime & Manga" or "Video Games"). Directory assignments are temporary and handpicked by devs until DAO curation is implemented.{' '} Anyone can create a board and users can access it anytime using its address—use the search bar, direct links, or the "[Subscribe]" button to access boards regardless of directory assignment.

)}

Creating Your Board

Create a board using the{' '} Seedit GUI client {' '} or{' '} plebbit-cli . Build a following: Users can subscribe to your board via the "[Subscribe]" button, which adds it to their top bar. You can gain subscribers through direct links, word of mouth, or search—no directory assignment or dev approval needed.

{isPlaceholderContext && (

Directory Requirements

Boards need 99% uptime (they're P2P nodes), plus be active, well-moderated, and relevant to the category. Devs review and approve/reject based on these criteria.

)}

Submitting to a Directory

Open a PR editing{' '} 5chan-multisub.json {' '} with your board's title, address, and NSFW status. Devs will review and merge if approved. 99% uptime is required.

Future: DAO Voting

Directory assignments will use gasless pubsub voting—communities vote, highest-voted board wins the slot. Voting pages = discovery: Each directory's voting page lists all competing boards (even low-voted ones), giving visibility without winning or dev approval. See{' '} design draft .

Decentralization

Devs can change directories via commits in the open-source repo. No centralized servers—anyone can fork, modify, and redeploy to their own domain. 5chan is adminless with no central authority.

); }; export default DirectoryModal;