feat: banner

This commit is contained in:
mozzie 2024-08-11 04:11:37 +08:00
parent 681f48d1dd
commit fa986a0db5
2 changed files with 4 additions and 8 deletions

BIN
public/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 MiB

View File

@ -2,14 +2,10 @@ import { Button } from "@/components/ui/button";
const Aorta = () => {
return (
<div className="p-2">
<div className="grid w-full max-w-sm items-center gap-1.5">
<Button
onClick={() => {
}}
>
</Button>
<div className="p-4">
<div className="w-full h-[200px] rounded-md" style={{ backgroundImage: `url('/banner.png')`, backgroundPosition: 'center center', backgroundSize: 'cover' }}>
<h2></h2>
<span></span>
</div>
</div>
);