PokeAPI / pokeapi.co

The PokéAPI documentation website
https://pokeapi.co
BSD 3-Clause "New" or "Revised" License
138 stars 52 forks source link

Drop Updown and link to StatusPage #111

Closed Naramsim closed 2 years ago

Naramsim commented 2 years ago

Hello,

our status service, Updown.io, isn't free. These days I connected our GCP alerts to PagerDuty and then to StatusPage. All for free.

This PR removes the link to the page listing the two Updown links and replaces it with a link to StatusPage. https://pokeapi.statuspage.io/

https://staging.pokeapi.co/


Additional changes

Naramsim commented 2 years ago

Hi @cmmartti, can I ask you a thing? I integrated https://github.com/PokeAPI/pokeapi.co/pull/113 into staging, but when running npm run build the copy to clipboard button has an opacity of 1%.

When running npm start the opacity is correctly set to 75%. I suspect it's something to do with React Static and its prod build, maybe somewhere here:

https://github.com/PokeAPI/pokeapi.co/blob/0c0ef61325edf07f333b432841f2573b0ceda5ad/node.api.js#L61

Any clues?

Naramsim commented 2 years ago

Ok, I found the culprit:

https://stackoverflow.com/questions/58853844/the-opacity-value-was-changed-to-1-after-building-the-reacjs-project https://github.com/NMFR/optimize-css-assets-webpack-plugin/issues/118

That's super odd btw.

Naramsim commented 2 years ago

I'm going to force merge this.