gbif / gbif-web

Apache License 2.0
6 stars 9 forks source link

Phylogeny on occurrence page #575

Open MortenHofft opened 2 months ago

MortenHofft commented 2 months ago

Some pages have phylogenies. E.g. /occurrence/4527469336 That hasn't been implemented yet. Currently there is just a hello world stub that shows a tree. But styling is missing and it needs to load the correct tree and link to search from the leafs

danielvdm2000 commented 2 weeks ago

I think the issue with the css not being loaded is because the path is wrong.

When looking at the module in node_modules i think we should load the styles from phylotree/dist/phylotree.css

https://github.com/gbif/gbif-web/blob/master/packages/gbif-org/src/routes/occurrence/key/phylogenies.tsx