@@ -83,7 +83,7 @@ export function CreateAppAnimation(): React.ReactElement {
83
83
} }
84
84
>
85
85
{ tick > timeWindowOpen && (
86
- < LaunchAppWindow className = "absolute bottom-5 right-4 z-10 animate-in fade-in slide-in-from-top-10" />
86
+ < LaunchAppWindow className = "animate-in fade-in slide-in-from-top-10 absolute bottom-5 right-4 z -10" />
87
87
) }
88
88
< pre className = "overflow-hidden rounded-xl border text-xs" >
89
89
< div className = "flex flex-row items-center gap-2 border-b px-4 py-2" >
@@ -92,7 +92,7 @@ export function CreateAppAnimation(): React.ReactElement {
92
92
< div className = "grow" />
93
93
< div className = "size-2 rounded-full bg-red-400" />
94
94
</ div >
95
- < div className = "min-h-[200px] bg-gradient-to-b from-fd-secondary [mask-image:linear-gradient(to_bottom,white,transparent)]" >
95
+ < div className = "from-fd-secondary min-h-[200px] bg-gradient-to-b [mask-image:linear-gradient(to_bottom,white,transparent)]" >
96
96
< code className = "grid p-4" > { lines } </ code >
97
97
</ div >
98
98
</ pre >
@@ -103,7 +103,7 @@ export function CreateAppAnimation(): React.ReactElement {
103
103
function UserMessage ( { children } : { children : ReactNode } ) {
104
104
return (
105
105
< div className = "group relative flex items-start" >
106
- < div className = "flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md border shadow-sm bg-background " >
106
+ < div className = "bg-background flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md border shadow-sm" >
107
107
< IconUser />
108
108
</ div >
109
109
< div className = "ml-4 flex-1 space-y-2 overflow-hidden px-1" >
@@ -122,7 +122,7 @@ function BotMessage({
122
122
} ) {
123
123
return (
124
124
< div className = { cn ( "group relative flex items-start" , className ) } >
125
- < div className = "flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md border shadow-sm bg-primary text-primary-foreground " >
125
+ < div className = "bg-primary text-primary-foreground flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md border shadow-sm" >
126
126
< IconAI />
127
127
</ div >
128
128
< div className = "ml-4 flex-1 space-y-2 overflow-hidden px-1" >
@@ -164,7 +164,7 @@ export function ChatExample() {
164
164
165
165
return (
166
166
< div className = "max-w-64" >
167
- < div className = "flex flex-col px-4 gap-2" >
167
+ < div className = "flex flex-col gap-2 px-4 " >
168
168
{ userMessageLength === userMessageFull . length && (
169
169
< UserMessage >
170
170
< span > { userMessageFull } </ span >
@@ -204,11 +204,11 @@ function LaunchAppWindow(
204
204
< div
205
205
{ ...props }
206
206
className = { cn (
207
- "overflow-hidden rounded-md border bg-fd-background shadow-xl" ,
207
+ "bg-fd-background overflow-hidden rounded-md border shadow-xl" ,
208
208
props . className ,
209
209
) }
210
210
>
211
- < div className = "relative flex h-6 flex-row items-center border-b bg-fd-muted px-4 text-xs text-fd-muted-foreground " >
211
+ < div className = "bg-fd-muted text-fd-muted-foreground relative flex h-6 flex-row items-center border-b px-4 text-xs" >
212
212
< p className = "absolute inset-x-0 text-center" > localhost:8080</ p >
213
213
</ div >
214
214
< div className = "p-4 text-sm" >
0 commit comments