@@ -24,25 +24,18 @@ const QuoteCard = (props: Props) => {
2424
2525 return ( < div className = {
2626 cn (
27- "bg-white rounded-xl p-5 flex justify-between items-start gap-4" ,
28- "shadow-[0_2px_8px_rgba (0,0,0,0.08 )]" ,
29- "hover:shadow-[0_4px_12px_rgba(0,0,0,0.12 )]" ,
27+ "bg-white rounded-xl p-5 flex flex-col justify-between items-start gap-4" ,
28+ "shadow-[0_2px_12px_rgba (0,0,0,0.1 )]" ,
29+ "hover:shadow-[0_4px_12px_rgba(0,0,0,0.2 )]" ,
3030 "transition-shadow duration-200"
3131 )
3232 } >
33+
34+ < p className = "text-xl font-bold text-purple-700" > "{ quote . text } "</ p >
35+ < p className = "text-base w-full text-right" > -- Pritam</ p >
36+
37+ < div className = "flex w-full items-end justify-between" >
3338 < div className = "" >
34- < p className = "" > { quote . text } </ p >
35- { /* {(q.author || q.book) && (
36- <p className="quote-attribution">
37- {q.author && q.book
38- ? `- ${q.author}, ${q.book}`
39- : q.author
40- ? `- ${q.author}`
41- : q.book
42- ? `- ${q.book}`
43- : ''}
44- </p>
45- )} */ }
4639 { /* {q.tags && q.tags.length > 0 && (
4740 <div className="quote-tags">
4841 {q.tags.map((tag, index) => (
@@ -52,8 +45,15 @@ const QuoteCard = (props: Props) => {
5245 ))}
5346 </div>
5447 )} */ }
48+ < span className = "text-purple-400" > #tag</ span >
49+ < span className = "text-purple-400" > #tag</ span >
50+ < span className = "text-purple-400" > #tag</ span >
51+ < span className = "text-purple-400" > #tag</ span >
52+ < span className = "text-purple-400" > #tag</ span >
53+ < span className = "text-purple-400" > #tag</ span >
54+ < span className = "text-purple-400" > #tag</ span >
5555 </ div >
56- < div className = "flex items-center gap-2" >
56+ < div className = "flex items-center gap-2 " >
5757 < Button
5858 className = "!bg-transparent border !border-gray-300"
5959 variant = { "ghost" }
@@ -80,6 +80,7 @@ const QuoteCard = (props: Props) => {
8080 { < Trash /> }
8181 </ Button >
8282 </ div >
83+ </ div >
8384 </ div >
8485 )
8586}
0 commit comments