From 0aa127b9b4871163cb5d2839f72915414cb69c1b Mon Sep 17 00:00:00 2001 From: Harish Vishwakarma Date: Fri, 19 Sep 2025 12:49:25 +0530 Subject: [PATCH] updated meta and description (#55) --- index.html | 38 +++++++++++++++++++++-- src/pages/login/Login.tsx | 13 +++++++- src/pages/login/forms/Form.tsx | 56 +++++++++++++--------------------- vite.config.ts | 7 +++-- 4 files changed, 73 insertions(+), 41 deletions(-) diff --git a/index.html b/index.html index 5f090a16..060e8b73 100644 --- a/index.html +++ b/index.html @@ -4,9 +4,43 @@ - PepChat + PepChat – Home of the Peptide Community + + + + + + + + + + + + + + + + - + {
{alert.actions?.map((action) => action.type === "internal" ? null : action.type === - "external" ? ( + "external" ? ( { )}
+ PepChat – Home of the Peptide Community + + + + + + + + + + { {(page === "login" || page === "create" || page === "reset") && ( - - )} + + )} {configuration?.features.invite_only && page === "create" && ( { page === "create" ? "login.register" : page === "login" - ? "login.title" - : page === "reset" - ? "login.set_password" - : page === "resend" - ? "login.resend" - : "login.reset" + ? "login.title" + : page === "reset" + ? "login.set_password" + : page === "resend" + ? "login.resend" + : "login.reset" } /> @@ -231,20 +231,6 @@ export const Form = observer(({ page, callback }: Props) => { {!IS_REVOLT && ( <>
- - - You{" "} - cannot use your login from the - official instance.  -
- - - - )} @@ -270,14 +256,14 @@ export const Form = observer(({ page, callback }: Props) => { {(page === "reset" || page === "resend" || page === "send_reset") && ( - <> - - - - - - - )} + <> + + + + + + + )}
); }); diff --git a/vite.config.ts b/vite.config.ts index 45f8d543..8549c134 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -54,9 +54,10 @@ export default defineConfig({ filename: "sw.ts", strategies: "injectManifest", manifest: { - name: "Revolt", - short_name: "Revolt", - description: "User-first, privacy-focused chat platform.", + name: "PepChat – Home of the Peptide Community", + short_name: "PepChat", + description: + "Join the only chat built for unrestricted peptide discussion. Connect with group buys, Chinese manufacturers, and fellow researchers. No gatekeepers. No censorship. 100% open-source, powered by Revolt.", categories: ["communication", "chat", "messaging"], start_url: "/", orientation: "portrait",