From 064f7e48ca15689706eebbfc3514d80e6ab2c27f Mon Sep 17 00:00:00 2001 From: sabaimran Date: Mon, 16 Dec 2024 16:40:46 -0800 Subject: [PATCH] Update various copy texts for OG metadata and such --- src/interface/web/app/agents/layout.tsx | 4 ++-- src/interface/web/app/automations/layout.tsx | 5 ++-- src/interface/web/app/chat/layout.tsx | 4 ++-- .../components/loginPrompt/loginPrompt.tsx | 24 ++++++++++--------- src/interface/web/app/layout.tsx | 6 +++-- src/interface/web/app/settings/layout.tsx | 2 +- src/interface/web/app/share/chat/layout.tsx | 4 ++-- src/khoj/interface/email/magic_link.html | 2 +- src/khoj/routers/auth.py | 4 ++-- src/khoj/routers/email.py | 2 +- 10 files changed, 31 insertions(+), 26 deletions(-) diff --git a/src/interface/web/app/agents/layout.tsx b/src/interface/web/app/agents/layout.tsx index a11ede79..04855b43 100644 --- a/src/interface/web/app/agents/layout.tsx +++ b/src/interface/web/app/agents/layout.tsx @@ -6,7 +6,7 @@ import { ContentSecurityPolicy } from "../common/layoutHelper"; export const metadata: Metadata = { title: "Khoj AI - Agents", description: - "Find or create a specialized agent that can help you address more specific needs.", + "Find or create agents with custom knowledge, tools and personalities to help address your specific needs.", icons: { icon: "/static/assets/icons/khoj_lantern.ico", apple: "/static/assets/icons/khoj_lantern_256x256.png", @@ -15,7 +15,7 @@ export const metadata: Metadata = { siteName: "Khoj AI", title: "Khoj AI - Agents", description: - "Find or create a specialized agent that can help you address more specific needs.", + "Find or create agents with custom knowledge, tools and personalities to help address your specific needs.", url: "https://app.khoj.dev/agents", type: "website", images: [ diff --git a/src/interface/web/app/automations/layout.tsx b/src/interface/web/app/automations/layout.tsx index c57e26c2..2d97af5c 100644 --- a/src/interface/web/app/automations/layout.tsx +++ b/src/interface/web/app/automations/layout.tsx @@ -6,7 +6,8 @@ import { ContentSecurityPolicy } from "../common/layoutHelper"; export const metadata: Metadata = { title: "Khoj AI - Automations", - description: "Use Automations with Khoj to simplify the process of running repetitive tasks.", + description: + "Use Khoj Automations to get tailored research and event based notifications directly in your inbox.", icons: { icon: "/static/assets/icons/khoj_lantern.ico", apple: "/static/assets/icons/khoj_lantern_256x256.png", @@ -15,7 +16,7 @@ export const metadata: Metadata = { siteName: "Khoj AI", title: "Khoj AI - Automations", description: - "Use Automations with Khoj to simplify the process of running repetitive tasks.", + "Use Khoj Automations to get tailored research and event based notifications directly in your inbox.", url: "https://app.khoj.dev/automations", type: "website", images: [ diff --git a/src/interface/web/app/chat/layout.tsx b/src/interface/web/app/chat/layout.tsx index fa31d2cd..25579510 100644 --- a/src/interface/web/app/chat/layout.tsx +++ b/src/interface/web/app/chat/layout.tsx @@ -6,7 +6,7 @@ import { ContentSecurityPolicy } from "../common/layoutHelper"; export const metadata: Metadata = { title: "Khoj AI - Chat", description: - "Ask anything. Khoj will use the internet and your docs to answer, paint and even automate stuff for you.", + "Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.", icons: { icon: "/static/assets/icons/khoj_lantern.ico", apple: "/static/assets/icons/khoj_lantern_256x256.png", @@ -15,7 +15,7 @@ export const metadata: Metadata = { siteName: "Khoj AI", title: "Khoj AI - Chat", description: - "Ask anything. Khoj will use the internet and your docs to answer, paint and even automate stuff for you.", + "Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.", url: "https://app.khoj.dev/chat", type: "website", images: [ diff --git a/src/interface/web/app/components/loginPrompt/loginPrompt.tsx b/src/interface/web/app/components/loginPrompt/loginPrompt.tsx index b372a6ef..6af02f9b 100644 --- a/src/interface/web/app/components/loginPrompt/loginPrompt.tsx +++ b/src/interface/web/app/components/loginPrompt/loginPrompt.tsx @@ -150,7 +150,7 @@ export default function LoginPrompt(props: LoginPromptProps) {
- {useEmailSignIn && ( + {useEmailSignIn ? ( - )} - {!useEmailSignIn && ( + ) : (
- {useEmailSignIn && ( + {useEmailSignIn ? ( - )} - {!useEmailSignIn && ( + ) : ( {isLoading ? ( diff --git a/src/interface/web/app/layout.tsx b/src/interface/web/app/layout.tsx index af16b2e2..3d2cd4f7 100644 --- a/src/interface/web/app/layout.tsx +++ b/src/interface/web/app/layout.tsx @@ -6,17 +6,19 @@ import { ContentSecurityPolicy } from "./common/layoutHelper"; export const metadata: Metadata = { title: "Khoj AI - Ask Anything", description: - "Khoj is a model-agnostic, open-source personal research assistant. It helps you understand, create, and generate faster.", + "Khoj is a personal research assistant. It helps you understand better and create faster.", icons: { icon: "/static/assets/icons/khoj_lantern.ico", apple: "/static/assets/icons/khoj_lantern_256x256.png", }, manifest: "/static/khoj.webmanifest", + keywords: + "research assistant, productivity, AI, Khoj, open source, model agnostic, research, productivity tool, personal assistant, personal research assistant, personal productivity assistant", openGraph: { siteName: "Khoj AI", title: "Khoj AI", description: - "Khoj is a model-agnostic, open-source personal research assistant. It helps you understand, create, and generate faster.", + "Khoj is a personal research assistant. It helps you understand better and create faster.", url: "https://app.khoj.dev", type: "website", images: [ diff --git a/src/interface/web/app/settings/layout.tsx b/src/interface/web/app/settings/layout.tsx index ea6ce710..7a33477c 100644 --- a/src/interface/web/app/settings/layout.tsx +++ b/src/interface/web/app/settings/layout.tsx @@ -15,7 +15,7 @@ export const metadata: Metadata = { openGraph: { siteName: "Khoj AI", title: "Khoj AI - Settings", - description: "Setup, configure, and personalize Khoj. your AI-powered research assistant.", + description: "Setup, configure, and personalize Khoj, your AI research assistant.", url: "https://app.khoj.dev/settings", type: "website", images: [ diff --git a/src/interface/web/app/share/chat/layout.tsx b/src/interface/web/app/share/chat/layout.tsx index 3be67eb5..17433009 100644 --- a/src/interface/web/app/share/chat/layout.tsx +++ b/src/interface/web/app/share/chat/layout.tsx @@ -6,7 +6,7 @@ import { ContentSecurityPolicy } from "@/app/common/layoutHelper"; export const metadata: Metadata = { title: "Khoj AI - Ask Anything", description: - "Ask anything. Khoj will use the internet and your docs to answer, paint and even automate stuff for you.", + "Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.", icons: { icon: "/static/assets/icons/khoj_lantern.ico", apple: "/static/assets/icons/khoj_lantern_256x256.png", @@ -15,7 +15,7 @@ export const metadata: Metadata = { siteName: "Khoj AI", title: "Khoj AI - Ask Anything", description: - "Ask anything. Khoj will use the internet and your docs to answer, paint and even automate stuff for you.", + "Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents.", url: "https://app.khoj.dev/chat", type: "website", images: [ diff --git a/src/khoj/interface/email/magic_link.html b/src/khoj/interface/email/magic_link.html index 3f7a54f5..305c5fba 100644 --- a/src/khoj/interface/email/magic_link.html +++ b/src/khoj/interface/email/magic_link.html @@ -29,7 +29,7 @@

You're about to get a whole lot more productive.

-
- The Khoj Team
+
- The Khoj Team