veryfront 0.0.46 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/components.js +3 -3
- package/dist/ai/components.js.map +2 -2
- package/dist/ai/index.d.ts +7 -2
- package/dist/ai/index.js +11 -1
- package/dist/ai/index.js.map +2 -2
- package/dist/cli.js +4 -7
- package/dist/components.js +1 -1
- package/dist/components.js.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/data.js +1 -1
- package/dist/data.js.map +1 -1
- package/dist/index.js +32 -34
- package/dist/index.js.map +2 -2
- package/dist/templates/ai/app/page.tsx +4 -4
- package/dist/templates/ai/tsconfig.json +1 -0
- package/package.json +1 -1
|
@@ -8,15 +8,15 @@ export default function ChatPage() {
|
|
|
8
8
|
|
|
9
9
|
return (
|
|
10
10
|
<div className="flex flex-col h-screen bg-white dark:bg-neutral-900">
|
|
11
|
-
{/* Header -
|
|
12
|
-
<header className="flex-shrink-0 border-b border-neutral-200 dark:border-neutral-800">
|
|
11
|
+
{/* Header - sticky at top */}
|
|
12
|
+
<header className="sticky top-0 z-10 flex-shrink-0 border-b border-neutral-200 dark:border-neutral-800 bg-white dark:bg-neutral-900">
|
|
13
13
|
<div className="max-w-2xl mx-auto px-4 py-3 flex items-center justify-center">
|
|
14
14
|
<h1 className="font-medium text-neutral-900 dark:text-white">AI Assistant</h1>
|
|
15
15
|
</div>
|
|
16
16
|
</header>
|
|
17
17
|
|
|
18
|
-
{/* Chat */}
|
|
19
|
-
<Chat {...chat} className="flex-1" placeholder="Message" />
|
|
18
|
+
{/* Chat - fills remaining space with scrollable content */}
|
|
19
|
+
<Chat {...chat} className="flex-1 min-h-0" placeholder="Message" />
|
|
20
20
|
</div>
|
|
21
21
|
)
|
|
22
22
|
}
|