initial commit
This commit is contained in:
12
components/utils/PageCover.tsx
Normal file
12
components/utils/PageCover.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
export const PageCover = (props: { coverURL: string }) => {
|
||||
return (
|
||||
<div
|
||||
className="my-5 mt-0 flex w-full justify-center rounded-xl"
|
||||
style={{
|
||||
aspectRatio: "4/1",
|
||||
background: `url(${props.coverURL})`,
|
||||
backgroundSize: "cover",
|
||||
}}
|
||||
/>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user