[fix] reorganize some modules

This commit is contained in:
PrinOrange
2024-08-16 10:41:36 +08:00
parent 7534b81eb4
commit 9198482c46
18 changed files with 17 additions and 17 deletions

View File

@@ -0,0 +1,14 @@
export const PostCover = (props: { coverURL: string }) => {
return (
<div
className="mt-0 mb-8 flex w-full justify-center rounded-md"
style={{
aspectRatio: "5/2",
background: `url(${props.coverURL})`,
backgroundSize: "cover",
backgroundRepeat: "no-repeat",
backgroundPosition: "center",
}}
/>
);
};