This commit is contained in:
Ettore Di Giacinto
2025-04-08 22:18:32 +02:00
parent 894dde9256
commit e7111c6554
97 changed files with 329 additions and 329 deletions

View File

@@ -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>

View File

@@ -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
};
}, []);

View File

@@ -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]);

View File

@@ -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]);

View File

@@ -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
};
}, []);

View File

@@ -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]);

View File

@@ -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
};
}, []);

View File

@@ -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
};
}, []);

View File

@@ -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">

View File

@@ -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
};
}, []);