export default function Home() {
return (
<div className=" flex flex-col py-10">
{[1, 2, 3, 4, 5].map((_, i) => (
<div
key={i}
className=" flex px-4 border-b justify-between cursor-pointer py-2"
>
{/* 아이템 정보 */}
<div className="flex space-x-4">
<div className=" flex flex-row w-24 h-24 bg-gray-400 rounded-md" />
<div className=" flex flex-col justify-center ">
<h3 className=" text-sm font-medium text-gray-900">한국시</h3>
<span className="text-xs text-gray-500">한국동</span>
<span className="font-medium mt-2 text-xs text-gray-900">
203제곱미터
</span>
<span className="font-medium mt-1 text-xs text-gray-900">
2023.01.01.
</span>
</div>
</div>
{/* 좋아요 */}
<div className="flex space-x-2 items-end justify-end ">
<div className="flex space-x-0.5 items-center text-sm text-gray-600">
<svg
className="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"
></path>
</svg>
<span>1</span>
</div>
<div className="flex space-x-0.5 items-center text-sm text-gray-600">
<svg
className="w-4 h-4"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
></path>
</svg>
<span>1</span>
</div>
</div>
</div>
))}
{/* 플로팅 버튼 */}
<button className=" fixed bottom-24 right-5 transition-colors hover:bg-green-400 bg-green-500 rounded-full text-white p-4">
<svg
className="h-6 w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M12 6v6m0 0v6m0-6h6m-6 0H6"
/>
</svg>
</button>
</div>
);
}