| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  | export const PostCover = (props: { coverURL: string }) => { | 
					
						
							|  |  |  |   return ( | 
					
						
							|  |  |  |     <div | 
					
						
							| 
									
										
										
										
											2024-08-14 12:57:22 +08:00
										 |  |  |       className="mt-0 mb-8 flex w-full justify-center rounded-md" | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  |       style={{ | 
					
						
							| 
									
										
										
										
											2024-09-28 00:18:55 +08:00
										 |  |  |         aspectRatio: "5/1", | 
					
						
							| 
									
										
										
										
											2023-12-25 17:21:39 +08:00
										 |  |  |         background: `url(${props.coverURL})`, | 
					
						
							|  |  |  |         backgroundSize: "cover", | 
					
						
							|  |  |  |         backgroundRepeat: "no-repeat", | 
					
						
							|  |  |  |         backgroundPosition: "center", | 
					
						
							|  |  |  |       }} | 
					
						
							|  |  |  |     /> | 
					
						
							|  |  |  |   ); | 
					
						
							|  |  |  | }; |