@@ -1,10 +1,11 @@
1import Link from "next/link";
1import Link from "next/link";
2import { useState } from "react";
2import { useState } from "react";
3−import { encode } from "html-entities";
4import Container from "../../components/Container";
3import Container from "../../components/Container";
5import Section from "../../components/Section";
4import Section from "../../components/Section";
6import SingleColumn from "../../components/SingleColumn";
5import SingleColumn from "../../components/SingleColumn";
7import { useInputChange } from "../../lib/hooks";
6import { useInputChange } from "../../lib/hooks";
7+import Head from "next/head";
8+import Meta from "../../components/Meta";
9const SubmissionPage = () => {
10const SubmissionPage = () => {
10 const [form, handleFormChange] = useInputChange();
11 const [form, handleFormChange] = useInputChange();
@@ -26,6 +27,10 @@ ${form?.description || ""}`
28 <Container>
29 <Container>
31+ <title>Submit a group • Urbit.org</title>
29 <SingleColumn>
34 <SingleColumn>
30 <Section narrow className="space-y-12">
35 <Section narrow className="space-y-12">
31 <div className="flex flex-col space-y-4">
36 <div className="flex flex-col space-y-4">
@@ -60,6 +65,7 @@ ${form?.description || ""}`
61 className="bg-wall-100 p-2"
66 className="bg-wall-100 p-2"
62 name="groupName"
67 name="groupName"
68+ placeholder="Urbit Community"
63 onChange={handleFormChange}
69 onChange={handleFormChange}
@@ -91,34 +97,29 @@ ${form?.description || ""}`
93 <div className="flex flex-col">
99 <div className="flex flex-col">
95− Shortcode (e.g. <code>~bitbet-bolbel/urbit-community</code>)
96− (required)
100+ <p>Shortcode (required)</p>
99 className="bg-wall-100 p-2"
102 className="bg-wall-100 p-2"
100 name="shortcode"
103 name="shortcode"
104+ placeholder="~bitbet-bolbel/urbit-community"
101 onChange={handleFormChange}
105 onChange={handleFormChange}
104 <div className="flex flex-col">
108 <div className="flex flex-col">
106− Group image URL (e.g. <code>https://...</code>) or color (e.g.{" "}
109+ <p>Group image URL or color</p>
107− <code>#FFCED0</code>)
110 className="bg-wall-100 p-2"
111 className="bg-wall-100 p-2"
111 name="imageUrl"
112 name="imageUrl"
113+ placeholder="https://... or #FFCDE0"
112 onChange={handleFormChange}
114 onChange={handleFormChange}
115 <div className="flex flex-col">
117 <div className="flex flex-col">
117− Members (e.g. <code>1000+</code>)
118+ <p>Members</p>
120 className="bg-wall-100 p-2"
120 className="bg-wall-100 p-2"
121 name="members"
121 name="members"
122 onChange={handleFormChange}
123 onChange={handleFormChange}