javascript – Where to put anchor tags in Angular CSR Applications such that routes get indexed?


I built this site with Angular 10:

https://fireflysemantics.com/

And when the top level domain is visited it reroutes to this:

https://fireflysemantics.com/welcome

However There’s no link to that from anywhere within the app, so I don’t think Google has any way of indexing that page.

What would be the best way of telling Google to index the page. From my research it seems I could do something like this:

<body>
  <a class="hidden" href="https://fireflysemantics.com/welcome" title="Welcome to Fireflysematnics.com">Welcome to Fireflys Semantics!</a>
  <app-root></app-root>
</body>

Thoughts?

Also any thoughts on the max number of links that this would work with and any other approaches?