Introduces `characterName` to the `Scenario` type, enabling AI personas to be explicitly named. This change also updates the `ScenarioCard` component to display the character name and adds foundational support for potential future scenario deletion functionality. The README has been updated with a new AI Studio link.
13 lines
428 B
TypeScript
13 lines
428 B
TypeScript
|
|
import React from 'react';
|
|
import { Loader2 } from 'lucide-react';
|
|
|
|
const ConnectionState: React.FC = () => (
|
|
<div className="flex flex-col items-center justify-center h-full text-slate-800 animate-pulse">
|
|
<Loader2 size={48} className="animate-spin text-teal-600 mb-4" />
|
|
<p className="font-bold uppercase tracking-widest text-xs">Opening Neural Bridge...</p>
|
|
</div>
|
|
);
|
|
|
|
export default React.memo(ConnectionState);
|