docus icon indicating copy to clipboard operation
docus copied to clipboard

[Components] External links in footer

Open otabekoff opened this issue 2 years ago • 2 comments

How I can make the footer credits link open at the same page not by a new tab? It is now footer.credits.href you should implement something like footer.credits.to. No, the best way is not href or to. Let's change it to link. If the first character of value it will be to otherwise link.

There is another way of doing it like footer.credits.extrenal boolean value. This sound more better than checking for if the first character is / or not.

otabekoff avatar Jan 21 '23 19:01 otabekoff

@bdrtsky ; should we shape a stable definition for a "link" type in our themes?

Maybe move these types to Elements?

Tahul avatar Jan 25 '23 02:01 Tahul

As far as I know, latest NuxtLink support both internally and no need to differ href/to. We can try just to replace a with NuxtLink

bdrtsky avatar Jan 25 '23 10:01 bdrtsky