diff --git a/routes/submit.tsx b/routes/submit.tsx index f14f6302..83722afd 100644 --- a/routes/submit.tsx +++ b/routes/submit.tsx @@ -25,8 +25,10 @@ export const handler: Handlers = { const url = form.get("url"); if ( - typeof url !== "string" || !URL.canParse(url) || - typeof title !== "string" || title === "" + typeof url !== "string" || + !URL.canParse(url) || + typeof title !== "string" || + title === "" ) { return redirect("/submit?error"); } @@ -48,9 +50,7 @@ export default defineRoute((_req, ctx) => {
-

- Share your project -

+

Share your project

Let the community know about your Deno-related blog post, video or module! @@ -69,18 +69,12 @@ export default defineRoute((_req, ctx) => {

Do include a description with your title. -
E.g. “Deno Hunt: the best place to share your Deno project”
-

-

-
+
diff --git a/routes/welcome.tsx b/routes/welcome.tsx index dffc37ac..aaefd078 100644 --- a/routes/welcome.tsx +++ b/routes/welcome.tsx @@ -38,13 +38,14 @@ function SetupInstruction() { and{" "} GITHUB_CLIENT_SECRET - , this message will disappear. + + , this message will disappear.

); } -export default defineRoute((req, ctx) => { +export default defineRoute((_req, ctx) => { return ( <>