func Link(route, text string, opts LinkOptions) *vecty.HTML {
	return elem.Anchor(
		vecty.Markup(
			prop.Href(route),
			vecty.MarkupIf(opts.ID != "", prop.ID(opts.ID)),
			vecty.MarkupIf(opts.Class != "", vecty.Class(opts.Class)),
			event.Click(onClick(route)).PreventDefault(),
		),
		vecty.Text(text),
	)
}
Link implements a frontend history Anchor tag.
package router
import (
	"github.com/hexops/vecty"
	"github.com/hexops/vecty/elem"
	"github.com/hexops/vecty/event"
	"github.com/hexops/vecty/prop"
)
type EventCallback func(e *vecty.Event)
type LinkOptions struct {
	ID    string
	Class string
}