@@ -61,7 +61,7 @@ const ProfilesDetails = ({ data, isOpen, onOpenChange }: ProfilesDetailsProps) =
61
61
} , [ data ] )
62
62
63
63
return (
64
- < Drawer isOpen = { isOpen } onOpenChange = { onOpenChange } size = "full " >
64
+ < Drawer isOpen = { isOpen } onOpenChange = { onOpenChange } size = "5xl " >
65
65
< DrawerContent >
66
66
{ ( onClose ) => (
67
67
< >
@@ -72,7 +72,7 @@ const ProfilesDetails = ({ data, isOpen, onOpenChange }: ProfilesDetailsProps) =
72
72
alt = { data . author }
73
73
height = { 60 }
74
74
radius = "sm"
75
- src = "/logo.png"
75
+ src = { data . avatar_pr_author }
76
76
width = { 60 }
77
77
className = "object-cover"
78
78
/>
@@ -134,21 +134,24 @@ const ProfilesDetails = ({ data, isOpen, onOpenChange }: ProfilesDetailsProps) =
134
134
</ div >
135
135
</ div >
136
136
< Divider className = "my-2" />
137
- < div className = "flex items-center justify-between" >
138
- < p className = " text-white/60" > 95.1k Downloads - 141.9k views</ p >
139
- < p className = "text-sm text-gray-500" > Last updated:</ p >
140
- < p className = "text-sm text-gray-500" > version: </ p >
141
- </ div >
142
- < Divider className = "my-2" />
143
137
< h2 className = "text-lg font-extrabold" > Description</ h2 >
144
- < article className = "markdown-body p-1 !bg-transparent" >
138
+ < article className = "markdown-body p-1 !bg-transparent" >
139
+ < div className = "flex justify-center" >
140
+ < Image
141
+ isBlurred
142
+ src = { data . logo }
143
+ alt = { data . title }
144
+ className = "animate-levitate aspect-video"
145
+ />
146
+ </ div >
147
+
145
148
{ isLoading ? (
146
149
< Spinner className = "items-center justify-center" />
147
150
) : (
148
151
< ReactMarkdown
149
152
remarkPlugins = { [ remarkGfm ] }
150
153
rehypePlugins = { [ rehypeRaw ] }
151
- className = "text-default-900 gap-4 w-auto p-4 mx-auto flex-col lg:flex-row rounded-md"
154
+ className = "text-default-900 gap-4 w-auto p-4 mx-auto flex-col lg:flex-row rounded-md dark:prose-invert prose "
152
155
>
153
156
{ markdownContent || 'No content available.' }
154
157
</ ReactMarkdown >
0 commit comments