File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,26 @@ const EXAMPLE_PROMPTS = [
10
10
11
11
export function ExamplePrompts ( sendMessage ?: { ( event : React . UIEvent , messageInput ?: string ) : void | undefined } ) {
12
12
return (
13
- < div id = "examples" className = "relative w-full max-w-xl mx-auto mt-8 flex justify-center" >
14
- < div className = "flex flex-col space-y-2 [mask-image:linear-gradient(to_bottom,black_0%,transparent_180%)] hover:[mask-image:none]" >
13
+ < div
14
+ id = "examples"
15
+ className = "relative flex flex-col gap-9 w-full max-w-3xl mx-auto flex justify-center mt-6"
16
+ >
17
+ < div
18
+ className = "flex flex-wrap justify-center gap-2"
19
+ style = { {
20
+ animation : '.25s ease-out 0s 1 _fade-and-move-in_g2ptj_1 forwards' ,
21
+ } }
22
+ >
15
23
{ EXAMPLE_PROMPTS . map ( ( examplePrompt , index : number ) => {
16
24
return (
17
25
< button
18
26
key = { index }
19
27
onClick = { ( event ) => {
20
28
sendMessage ?.( event , examplePrompt . text ) ;
21
29
} }
22
- className = "group flex items-center w -full gap-2 justify-center bg-transparent text-bolt-elements-textTertiary hover:text-bolt-elements-textPrimary transition-theme"
30
+ className = "border border-bolt-elements-borderColor rounded -full bg-gray-50 hover:bg-gray-100 dark: bg-gray-950 dark:hover:bg-gray-900 text-bolt-elements-textSecondary hover:text-bolt-elements-textPrimary px-3 py-1 text-xs transition-theme"
23
31
>
24
32
{ examplePrompt . text }
25
- < div className = "i-ph:arrow-bend-down-left" />
26
33
</ button >
27
34
) ;
28
35
} ) }
You can’t perform that action at this time.
0 commit comments