freedomofpress / securethenews

An automated scanner and web dashboard for tracking TLS deployment across news organizations
https://securethe.news
GNU Affero General Public License v3.0
102 stars 25 forks source link

Add the onion service URL to footer of home page #271

Closed maeve-fpf closed 4 years ago

maeve-fpf commented 4 years ago

With https://github.com/freedomofpress/k8s-configs/pull/135, we will be ready for the onion service URL to be advertised. In addition to an Onion-Location header, I thought it'd be nice to have the URL in the footer as we do on some other sites in case the ".onion available" URL bar thing doesn't appear or isn't noticed by the user.

Leaving this as a draft since the Tor deployment change is not actually live yet, but wanted to give enough time for review. I'm not very good with CSS but this seemed to look OK in my dev environment (I tested by adding the DJANGO_ONION_HOSTNAME env var that exists in production to my docker-compose.yaml).

maeve-fpf commented 4 years ago

http://stn5vfgxtewbcpqexolnlk6edfyfgekscqllkyhhmtiujd4splaoo6yd.onion/ is generally available, so I'm marking this as ready for review. Thanks!

harrislapiroff commented 4 years ago

Agree with @chigby that we could probably have a more prominent design for the link, but for now this looks totally great. I've made a small change to make the link styles distinct from browser default (and fit into the site better) and will merge when tests pass.