Rename
This commit is contained in:
@@ -31,7 +31,7 @@ function App() {
|
||||
<div className="logo-image-container">
|
||||
<img src="/app/logo_2.png" alt="Logo" className="logo-image" />
|
||||
</div>
|
||||
{/* <span className="logo-text">LocalAgent</span> */}
|
||||
{/* <span className="logo-text">LocalAGI</span> */}
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -15,9 +15,9 @@ function ActionsPlayground() {
|
||||
|
||||
// Update document title
|
||||
useEffect(() => {
|
||||
document.title = 'Actions Playground - LocalAgent';
|
||||
document.title = 'Actions Playground - LocalAGI';
|
||||
return () => {
|
||||
document.title = 'LocalAgent'; // Reset title when component unmounts
|
||||
document.title = 'LocalAGI'; // Reset title when component unmounts
|
||||
};
|
||||
}, []);
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@ function AgentSettings() {
|
||||
// Update document title
|
||||
useEffect(() => {
|
||||
if (name) {
|
||||
document.title = `Agent Settings: ${name} - LocalAgent`;
|
||||
document.title = `Agent Settings: ${name} - LocalAGI`;
|
||||
}
|
||||
return () => {
|
||||
document.title = 'LocalAgent'; // Reset title when component unmounts
|
||||
document.title = 'LocalAGI'; // Reset title when component unmounts
|
||||
};
|
||||
}, [name]);
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@ function AgentStatus() {
|
||||
// Update document title
|
||||
useEffect(() => {
|
||||
if (name) {
|
||||
document.title = `Agent Status: ${name} - LocalAgent`;
|
||||
document.title = `Agent Status: ${name} - LocalAGI`;
|
||||
}
|
||||
return () => {
|
||||
document.title = 'LocalAgent'; // Reset title when component unmounts
|
||||
document.title = 'LocalAGI'; // Reset title when component unmounts
|
||||
};
|
||||
}, [name]);
|
||||
|
||||
|
||||
@@ -96,9 +96,9 @@ function AgentsList() {
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
document.title = 'Agents - LocalAgent';
|
||||
document.title = 'Agents - LocalAGI';
|
||||
return () => {
|
||||
document.title = 'LocalAgent'; // Reset title when component unmounts
|
||||
document.title = 'LocalAGI'; // Reset title when component unmounts
|
||||
};
|
||||
}, []);
|
||||
|
||||
|
||||
@@ -23,10 +23,10 @@ function Chat() {
|
||||
// Update document title
|
||||
useEffect(() => {
|
||||
if (name) {
|
||||
document.title = `Chat with ${name} - LocalAgent`;
|
||||
document.title = `Chat with ${name} - LocalAGI`;
|
||||
}
|
||||
return () => {
|
||||
document.title = 'LocalAgent'; // Reset title when component unmounts
|
||||
document.title = 'LocalAGI'; // Reset title when component unmounts
|
||||
};
|
||||
}, [name]);
|
||||
|
||||
|
||||
@@ -11,9 +11,9 @@ function CreateAgent() {
|
||||
const [formData, setFormData] = useState({});
|
||||
|
||||
useEffect(() => {
|
||||
document.title = 'Create Agent - LocalAgent';
|
||||
document.title = 'Create Agent - LocalAGI';
|
||||
return () => {
|
||||
document.title = 'LocalAgent'; // Reset title when component unmounts
|
||||
document.title = 'LocalAGI'; // Reset title when component unmounts
|
||||
};
|
||||
}, []);
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@ function GroupCreate() {
|
||||
|
||||
// Update document title
|
||||
useEffect(() => {
|
||||
document.title = 'Create Agent Group - LocalAgent';
|
||||
document.title = 'Create Agent Group - LocalAGI';
|
||||
return () => {
|
||||
document.title = 'LocalAgent'; // Reset title when component unmounts
|
||||
document.title = 'LocalAGI'; // Reset title when component unmounts
|
||||
};
|
||||
}, []);
|
||||
|
||||
|
||||
@@ -16,9 +16,9 @@ function Home() {
|
||||
|
||||
// Update document title
|
||||
useEffect(() => {
|
||||
document.title = 'Agent Dashboard - LocalAgent';
|
||||
document.title = 'Agent Dashboard - LocalAGI';
|
||||
return () => {
|
||||
document.title = 'LocalAgent'; // Reset title when component unmounts
|
||||
document.title = 'LocalAGI'; // Reset title when component unmounts
|
||||
};
|
||||
}, []);
|
||||
|
||||
@@ -57,10 +57,10 @@ function Home() {
|
||||
return (
|
||||
<div>
|
||||
<div className="image-container">
|
||||
<img src="/app/logo_1.png" width="250" alt="LocalAgent Logo" />
|
||||
<img src="/app/logo_1.png" width="250" alt="LocalAGI Logo" />
|
||||
</div>
|
||||
|
||||
{/*<h1 className="dashboard-title">LocalAgent</h1>*/}
|
||||
{/*<h1 className="dashboard-title">LocalAGI</h1>*/}
|
||||
|
||||
{/* Dashboard Stats */}
|
||||
<div className="dashboard-stats">
|
||||
|
||||
@@ -10,9 +10,9 @@ function ImportAgent() {
|
||||
|
||||
// Update document title
|
||||
useEffect(() => {
|
||||
document.title = 'Import Agent - LocalAgent';
|
||||
document.title = 'Import Agent - LocalAGI';
|
||||
return () => {
|
||||
document.title = 'LocalAgent'; // Reset title when component unmounts
|
||||
document.title = 'LocalAGI'; // Reset title when component unmounts
|
||||
};
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user