Question about link a page to hover box

I’m trying to use the dev mode adding a link to a hover box, the code actually works fine before, now I’m doing the same to another hover and it just doesn’t work this time.

The reason I chose to use coding is the pre-built hover box is not the kind that I want, I need to link another page to the hover box without any button or text.
I made sure I changed the SEC Basics correctly.
First time using Velo, not sure if this is the right place for this question.

You should only have one import statement, at the top of the code, which is used everywhere:

import wixlocation from 'wix-location;

export function hoverBox8_click(event) {
    wixLocation.to('/15thpeak'); 
}

export function hoverBox9_click(event) {
    wixLocation.to('/unspoken'); 
}