🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { createStaticStyles } from '@lobehub/ui';
import { memo } from 'react';
import { densityVars } from '@/styles/densityVars';
const styles = createStaticStyles(({ css, cssVar }) => ({
summary: css`
position: relative;
padding-block: ${densityVars.cardPadding};
padding-inline: 20px;
border-radius: 8px;
font-size: 15px;
font-style: italic;
line-height: 1.6;
color: ${cssVar.colorText};
background: ${cssVar.colorFillQuaternary};
&::before {
content: '"';
position: absolute;
inset-block-start: 8px;
inset-inline-start: 12px;
font-family: Georgia, serif;
font-size: 28px;
font-style: normal;
line-height: 1;
color: ${cssVar.colorTextQuaternary};
}
`,
}));
interface PersonaSummaryProps {
children: string;
}
const PersonaSummary = memo<PersonaSummaryProps>(({ children }) => {
return <div className={styles.summary}>{children}</div>;
});
export default PersonaSummary;