MCPcopy Create free account
hub / github.com/experdot/pointer / WelcomePage

Function WelcomePage

src/renderer/src/components/editors/WelcomePage.tsx:13–32  ·  view source on GitHub ↗
({ onNewChat, onOpenSettings }: WelcomePageProps)

Source from the content-addressed store, hash-verified

11}
12
13export function WelcomePage({ onNewChat, onOpenSettings }: WelcomePageProps): React.JSX.Element {
14 return (
15 <Flex className="welcome-page" vertical align="center" justify="center">
16 <Title level={2} className="welcome-title">
17 欢迎使用 Pointer
18 </Title>
19 <Text type="secondary" className="welcome-subtitle">
20 智能 AI 聊天助手
21 </Text>
22 <Flex gap={12} className="welcome-actions">
23 <Button type="primary" icon={<PlusOutlined />} size="large" onClick={onNewChat}>
24 新建对话
25 </Button>
26 <Button icon={<SettingOutlined />} size="large" onClick={onOpenSettings}>
27 设置
28 </Button>
29 </Flex>
30 </Flex>
31 )
32}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected