import Link from "next/link";

export default function BlogAsideContent({ item }) {
    return (
        <>
            <div className="sidebar__post-item">
                <div className="sidebar__post-thumb">
                    <Link href="/blog-details">
                        <img src={`/assets/img/blogging/${item.img}`} alt="" />
                    </Link>
                </div>
                <div className="sidebar__post-content">
                    <h5 className="title">
                        <Link href={`/blog/${item.slug}`}>{item.title}</Link>
                    </h5>
                    <span className="date">
                        <i className="flaticon-time" />
                        {item.date}
                    </span>
                </div>
            </div>
        </>
    );
}
