[upgrade] Abstract components on the page into subcomponents
This commit is contained in:
@@ -3,7 +3,7 @@ export const PostCover = (props: { coverURL: string }) => {
|
||||
<div
|
||||
className="mt-0 mb-8 flex w-full justify-center rounded-md"
|
||||
style={{
|
||||
aspectRatio: "5/2",
|
||||
aspectRatio: "5/1",
|
||||
background: `url(${props.coverURL})`,
|
||||
backgroundSize: "cover",
|
||||
backgroundRepeat: "no-repeat",
|
||||
|
||||
Reference in New Issue
Block a user