]> git.morado.dev Git - telluride.page/commitdiff
Request/Register main
authorRoberto Morado <roramigator@duck.com>
Tue, 14 Apr 2026 20:31:56 +0000 (16:31 -0400)
committerRoberto Morado <roramigator@duck.com>
Tue, 14 Apr 2026 20:31:56 +0000 (16:31 -0400)
src/interfaces/http/views/home_page.ts

index ff7cf428d8d49f45155485d89bfbc5b19c4e6472..f10fd2ebf21a7ef18ee606572fcb819884eae24e 100644 (file)
@@ -438,31 +438,35 @@ export const renderHomePage = (options: RenderHomePageOptions): string => {
     h(
       "p",
       { class: "muted" },
-      `Create an account below to unlock the private /${options.memberBoard.slug}/ board.`,
+      "Exclusive invite-only community, participate in the /g/ board",
+      //`Create an account below to unlock the private /${options.memberBoard.slug}/ board.`,
     ),
-    h("section", { class: "board-requests" }, [
-      h(
-        "details",
-        { class: "request-panel", open: requestDetailsOpen || options.requests.length > 0 },
-        [
-          h("summary", null, "Community board requests"),
-          h("div", { class: "requests-body" }, [
-            h(BoardRequestForm, { defaults: options.requestFormDefaults }),
-            h("div", { class: "request-list-container" }, [
-              h("h2", null, "Active requests"),
-              h(BoardRequestList, { requests: options.requests }),
-            ]),
-          ]),
-        ],
-      ),
-    ]),
-    h(AuthPanel, {
-      currentUser: options.currentUser,
-      memberBoard: options.memberBoard,
-      activeForm: options.activeAuthForm,
-      loginPrefill: options.loginPrefill,
-      registerPrefill: options.registerPrefill,
-    }),
+    // REQUEST FORM (TEMPORARILY HIDDEN)
+    // h("section", { class: "board-requests" }, [
+    //   h(
+    //     "details",
+    //     { class: "request-panel", open: requestDetailsOpen || options.requests.length > 0 },
+    //     [
+    //       h("summary", null, "Community board requests"),
+    //       h("div", { class: "requests-body" }, [
+    //         h(BoardRequestForm, { defaults: options.requestFormDefaults }),
+    //         h("div", { class: "request-list-container" }, [
+    //           h("h2", null, "Active requests"),
+    //           h(BoardRequestList, { requests: options.requests }),
+    //         ]),
+    //       ]),
+    //     ],
+    //   ),
+    // ]),
+
+    // SIGN IN / REGISTER FOR MEMBER BOARD (TEMPORARILY HIDDEN)
+    // h(AuthPanel, {
+    //   currentUser: options.currentUser,
+    //   memberBoard: options.memberBoard,
+    //   activeForm: options.activeAuthForm,
+    //   loginPrefill: options.loginPrefill,
+    //   registerPrefill: options.registerPrefill,
+    // }),
     h(PopularPosts, { posts: options.popularPosts }),
     h(
       "footer",