import Link from "next/link"; import { useState } from "react"; import Container from "../../components/Container"; import Section from "../../components/Section"; import SingleColumn from "../../components/SingleColumn"; import { useInputChange } from "../../lib/hooks"; import Head from "next/head"; import Meta from "../../components/Meta"; const SubmissionPage = () => { const [form, handleFormChange] = useInputChange(); const [publicGroup, setPublicGroup] = useState(true); const href = `https://github.com/urbit/urbit.org/new/master?filename=/content/groups/${ form?.shortcode }.md&value=${encodeURIComponent( `+++ title = "${form?.groupName}" shortcode = "${form?.shortcode}" type = "${publicGroup ? "Public" : "Private"}" tile = "${form?.tile || ""}" participant_range = "${form?.members || ""}" +++ ${form?.description || ""}` )}`; return ( Submit a group • Urbit.org {Meta}

Submit your group

Groups submissions are accomplished through a GitHub pull request.

You’ll need a GitHub account{" "} before you get started to submit your group.

First, enter your information and then click “Submit with GitHub.” You’ll be directed to a GitHub pull request page with a pre-populated markdown file. Click “Propose new file,” and then “Create pull request” on the following page.

Then, to validate that you operate this group, send a DM to{" "} ~haddef-sigwen {" "} from your group host @p with a link to the pull request on GitHub. We’ll approve the pull request and your page will be online shortly.

Enter your group information

Group name (required)

Group type

setPublicGroup(true)} > null} checked={publicGroup} />

Public

setPublicGroup(false)} > null} checked={!publicGroup} />

Private

Shortcode (required)

Group image URL or color

Members

Description