updated meta and description (#55)

pull/1167/head
Harish Vishwakarma 2025-09-19 12:49:25 +05:30 committed by GitHub
parent 23993e1064
commit 0aa127b9b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 73 additions and 41 deletions

View File

@ -4,9 +4,43 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<!--App Title--> <!--App Title-->
<title>PepChat</title> <title>PepChat Home of the Peptide Community</title>
<meta name="apple-mobile-web-app-title" content="PepChat" /> <meta name="apple-mobile-web-app-title" content="PepChat" />
<!--SEO Meta Tags-->
<meta
name="description"
content="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."
/>
<meta
name="keywords"
content="peptide, chat, community, group buy, research, discussion, open source"
/>
<!--Open Graph Meta Tags-->
<meta
property="og:title"
content="PepChat Home of the Peptide Community"
/>
<meta
property="og:description"
content="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."
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://peptide.chat" />
<meta property="og:site_name" content="PepChat" />
<!--Twitter Card Meta Tags-->
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:title"
content="PepChat Home of the Peptide Community"
/>
<meta
name="twitter:description"
content="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."
/>
<!--App Scaling--> <!--App Scaling-->
<meta <meta
name="viewport" name="viewport"
@ -19,7 +53,7 @@
rel="apple-touch-icon" rel="apple-touch-icon"
href="public/assets/icons/apple-touch.png" href="public/assets/icons/apple-touch.png"
/> />
<link rel="icon" href="/assets/logo_round.svg" type="image/svg+xml"/> <link rel="icon" href="/assets/logo_round.svg" type="image/svg+xml" />
<!--Splash Screens for iOS Devices--> <!--Splash Screens for iOS Devices-->
<link <link
href="public/assets/splashscreens/iphone5_splash.png" href="public/assets/splashscreens/iphone5_splash.png"

View File

@ -36,7 +36,7 @@ export default observer(() => {
<div className="actions"> <div className="actions">
{alert.actions?.map((action) => {alert.actions?.map((action) =>
action.type === "internal" ? null : action.type === action.type === "internal" ? null : action.type ===
"external" ? ( "external" ? (
<a <a
href={action.href} href={action.href}
target="_blank" target="_blank"
@ -50,6 +50,17 @@ export default observer(() => {
)} )}
<div className={styles.login}> <div className={styles.login}>
<Helmet> <Helmet>
<title>PepChat Home of the Peptide Community</title>
<meta name="description" content="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." />
<meta name="keywords" content="peptide, chat, community, group buy, research, discussion, open source" />
<meta property="og:title" content="PepChat Home of the Peptide Community" />
<meta property="og:description" content="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." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://peptide.chat" />
<meta property="og:site_name" content="PepChat" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="PepChat Home of the Peptide Community" />
<meta name="twitter:description" content="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." />
<meta <meta
name="theme-color" name="theme-color"
content={theme.getVariable("background")} content={theme.getVariable("background")}

View File

@ -180,13 +180,13 @@ export const Form = observer(({ page, callback }: Props) => {
{(page === "login" || {(page === "login" ||
page === "create" || page === "create" ||
page === "reset") && ( page === "reset") && (
<FormField <FormField
type="password" type="password"
register={register} register={register}
showOverline showOverline
error={errors.password?.message} error={errors.password?.message}
/> />
)} )}
{configuration?.features.invite_only && page === "create" && ( {configuration?.features.invite_only && page === "create" && (
<FormField <FormField
type="invite" type="invite"
@ -208,12 +208,12 @@ export const Form = observer(({ page, callback }: Props) => {
page === "create" page === "create"
? "login.register" ? "login.register"
: page === "login" : page === "login"
? "login.title" ? "login.title"
: page === "reset" : page === "reset"
? "login.set_password" ? "login.set_password"
: page === "resend" : page === "resend"
? "login.resend" ? "login.resend"
: "login.reset" : "login.reset"
} }
/> />
</Button> </Button>
@ -231,20 +231,6 @@ export const Form = observer(({ page, callback }: Props) => {
{!IS_REVOLT && ( {!IS_REVOLT && (
<> <>
<br /> <br />
<Tip palette="primary">
<span>
<Text id="login.unofficial_instance" /> You{" "}
<b>cannot</b> use your login from the
official instance.&ensp;
<a
href="https://developers.revolt.chat/faq.html#admonition-what-can-i-do-with-revolt-and-how-do-i-self-host"
style={{ color: "var(--accent)" }}
target="_blank"
rel="noreferrer">
<Text id="general.learn_more" />
</a>
</span>
</Tip>
</> </>
)} )}
<span className={styles.create}> <span className={styles.create}>
@ -270,14 +256,14 @@ export const Form = observer(({ page, callback }: Props) => {
{(page === "reset" || {(page === "reset" ||
page === "resend" || page === "resend" ||
page === "send_reset") && ( page === "send_reset") && (
<> <>
<span className={styles.create}> <span className={styles.create}>
<Link to="/login"> <Link to="/login">
<Text id="login.remembered" /> <Text id="login.remembered" />
</Link> </Link>
</span> </span>
</> </>
)} )}
</div> </div>
); );
}); });

View File

@ -54,9 +54,10 @@ export default defineConfig({
filename: "sw.ts", filename: "sw.ts",
strategies: "injectManifest", strategies: "injectManifest",
manifest: { manifest: {
name: "Revolt", name: "PepChat Home of the Peptide Community",
short_name: "Revolt", short_name: "PepChat",
description: "User-first, privacy-focused chat platform.", 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"], categories: ["communication", "chat", "messaging"],
start_url: "/", start_url: "/",
orientation: "portrait", orientation: "portrait",