Link inside of a link

Hello, I am fairly new to live view and front end development. I want to create a clickable card which will redirect to link A let’s say. The same card should have a button or link inside it which should redirect to link B on click. I did similar thing in javascript by dividing the card in multiple sections and assigning relevant link to each section. Now I want to do same thing in phoenix live view. I am not experienced in front end development so I know that there must be a better approach to achieve this. Any resources or relevant thread links would be helpful.
Thanks.

As well as the documentation: Phoenix.LiveView — Phoenix LiveView v0.17.5 I also found this article very helpful: Understanding LiveView Navigation | by Sophie DeBenedetto | The Pragmatic Programmers | Medium with regards to navigation.

Hope it’s of some help.