mirror of https://github.com/kortix-ai/suna.git
wip
This commit is contained in:
parent
025fa969f2
commit
5afeacfc45
|
@ -925,18 +925,18 @@ export default function ThreadPage({ params }: { params: Promise<ThreadParams> }
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (projectName) {
|
if (projectName) {
|
||||||
// Update document title when project name changes
|
// Update document title when project name changes
|
||||||
document.title = `${projectName} | Kortix Manus`;
|
document.title = `${projectName} | Kortix Suna`;
|
||||||
|
|
||||||
// Update meta tags for SEO
|
// Update meta tags for SEO
|
||||||
const metaDescription = document.querySelector('meta[name="description"]');
|
const metaDescription = document.querySelector('meta[name="description"]');
|
||||||
if (metaDescription) {
|
if (metaDescription) {
|
||||||
metaDescription.setAttribute('content', `${projectName} - Interactive agent conversation powered by Kortix Manus`);
|
metaDescription.setAttribute('content', `${projectName} - Interactive agent conversation powered by Kortix Suna`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update OpenGraph tags if they exist
|
// Update OpenGraph tags if they exist
|
||||||
const ogTitle = document.querySelector('meta[property="og:title"]');
|
const ogTitle = document.querySelector('meta[property="og:title"]');
|
||||||
if (ogTitle) {
|
if (ogTitle) {
|
||||||
ogTitle.setAttribute('content', `${projectName} | Kortix Manus`);
|
ogTitle.setAttribute('content', `${projectName} | Kortix Suna`);
|
||||||
}
|
}
|
||||||
|
|
||||||
const ogDescription = document.querySelector('meta[property="og:description"]');
|
const ogDescription = document.querySelector('meta[property="og:description"]');
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { Metadata } from "next";
|
import { Metadata } from "next";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Agent Conversation | Kortix Manus",
|
title: "Agent Conversation | Kortix Suna",
|
||||||
description: "Interactive agent conversation powered by Kortix Manus",
|
description: "Interactive agent conversation powered by Kortix Suna",
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Agent Conversation | Kortix Manus",
|
title: "Agent Conversation | Kortix Suna",
|
||||||
description: "Interactive agent conversation powered by Kortix Manus",
|
description: "Interactive agent conversation powered by Kortix Suna",
|
||||||
type: "website",
|
type: "website",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,7 +5,7 @@ export const metadata: Metadata = {
|
||||||
description: 'View a shared AI conversation',
|
description: 'View a shared AI conversation',
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: 'Shared AI Conversation',
|
title: 'Shared AI Conversation',
|
||||||
description: 'View a shared AI conversation from Kortix Manus',
|
description: 'View a shared AI conversation from Kortix Suna',
|
||||||
images: ['/kortix-logo.png'],
|
images: ['/kortix-logo.png'],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -1080,7 +1080,7 @@ export default function ThreadPage({ params }: { params: Promise<ThreadParams> }
|
||||||
|
|
||||||
const metaDescription = document.querySelector('meta[name="description"]');
|
const metaDescription = document.querySelector('meta[name="description"]');
|
||||||
if (metaDescription) {
|
if (metaDescription) {
|
||||||
metaDescription.setAttribute('content', `${projectName} - Public AI conversation shared from Kortix Manus`);
|
metaDescription.setAttribute('content', `${projectName} - Public AI conversation shared from Kortix Suna`);
|
||||||
}
|
}
|
||||||
|
|
||||||
const ogTitle = document.querySelector('meta[property="og:title"]');
|
const ogTitle = document.querySelector('meta[property="og:title"]');
|
||||||
|
|
Loading…
Reference in New Issue