skohub-io / skohub-vocabs

A lightweight tool to publish SKOS Vocabularies
https://skohub.io/
Apache License 2.0
32 stars 25 forks source link

248 fonts #250

Closed sroertgen closed 1 year ago

sroertgen commented 1 year ago

Fonts were not loading correctly, i.e. the wanted Ubuntu fonts were not loaded in production.

I noticed this working on #185 thinking about how fonts can be configurable.

I solved it moving the fonts to static folder and using withPrefix from gatsby to correctly resolve using the BASEURL.

Phu2 commented 1 year ago

Interestingly, this seems to work in development mode.

sroertgen commented 1 year ago

Yes that is also the reason why I did not notice...