Advanced query view formatting for task list

I am trying to figure out how to create a list of tasks but to have a different formatting (rather than group by page, which is great for some things).

I would like to aim for a format similar to this one (different software) where the page/block breadcrumbs show up beside it and everything is in one line (and without the page grouping):

I started to try with the “:view” which I believe is the correct place to do it but can’t see how to redo the formatting.

{:title "next 7 days' deadline or schedule"
:query [:find (pull ?block [*])
        :in $ ?start
          [?block :block/scheduled ?d]
          [?block :block/deadline ?d])
        [(< ?d ?start)]]
:inputs [:today ]
:view (fn [result]
      (for [tt flatten result]
        [:a {:href (str "#/page/" tt/page-ref )} 
:collapsed? false}

The “this” above was me playing around trying to see how to do the formatting. But I couldn’t figure it out.

Hi. Did you get any further with this? I’m looking for a similar solution.