A Flarum extension. Allows you to display discussions in the form of cards, the first image of the first post is used as a preview, if there are no images, a stub is displayed
composer require dem13n/discussion-cards
composer update dem13n/discussion-cards
php flarum cache:clear